/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, box-shadow 0.15s;
    text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    opacity: 0.85;
    color: #fff;
}

.btn-ghost {
    background: var(--bg-raised);
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--text); }

/* .btn-sm intentionally undefined to match old UI — inline font-size on call sites controls the look */
.btn-lg { padding: 9px 18px; font-size: 14px; font-weight: 500; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-compact {
    min-height: auto;
    padding: 32px 0 16px;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
    user-select: none;
    -webkit-user-select: none;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--accent-subtle);
    font-family: ui-monospace, 'SF Mono', 'Fira Code', Menlo, monospace;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 12px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.hero-compact .hero-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.hero-sub {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.hero-mono {
    font-family: ui-monospace, 'SF Mono', 'Fira Code', Menlo, monospace;
    font-weight: 600;
}
.hero-brand {
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.hero-version {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-family: ui-monospace, 'SF Mono', 'Fira Code', Menlo, monospace;
}
.hero-version a { color: var(--text-muted); }
.hero-version a:hover { color: var(--text); }
.hero-link {
    font-size: 14px;
    margin-top: 24px;
}
.hero-link a {
    color: var(--text-secondary);
    transition: color 0.2s;
}
.hero-link a:hover { color: var(--text); }
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Wallfacer Brand ===== */
.wallfacer-brand {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #d97757 0%, #c4623f 60%, #a84e2e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.15em;
}
.wallfacer-hero-icon {
    display: block;
    margin: 0 auto 8px;
}
.product-icon-img {
    display: block;
    margin-bottom: 16px;
}

/* ===== Cella Brand ===== */
.cella-brand {
    font-family: 'Instrument Serif', Georgia, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    background: linear-gradient(135deg, #8fb894 0%, #6b9e7c 60%, #4a7558 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.15em;
}

/* ===== Product Hero ===== */
.product-hero {
    padding: 40px 0 24px;
    text-align: center;
    position: relative;
}
.product-hero-text {
    margin: 0 auto 32px;
}
.product-hero-text h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 8px;
}
.product-hero-text p {
    font-size: 14px;
    color: var(--text-muted);
}
.product-hero-img {
    display: block;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
}

/* ===== Download Row ===== */
.download-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.download-icons {
    display: flex;
    gap: 4px;
}
.download-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    transition: color 0.15s, border-color 0.15s;
}
.download-icon-btn:hover {
    color: var(--text);
    border-color: var(--accent);
}
.download-icon-btn svg { display: inline-block; }
.download-or {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Install Inline ===== */
.install-inline {
    margin-top: 24px;
    text-align: center;
}
.install-inline .install-steps {
    margin-top: 8px;
}

/* ===== Definition List ===== */
.def-list {
    max-width: 720px;
    margin: 0 auto;
}
.def-list dt {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-top: 20px;
}
.def-list dt:first-child { margin-top: 0; }
.def-list dd {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 4px 0 0 0;
}
.def-list-compact dt { margin-top: 16px; }
.def-list-compact dd { font-size: 12px; color: var(--text-muted); }

