/* ==========================================================================
   Bookkeeping — Homepage
   Reuses design tokens from app.css. Adds landing-page-specific styles only.
   ========================================================================== */

.home-body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--content-max, 1280px);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ==========================================================================
   Top navigation
   ========================================================================== */
.home-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}
.home-nav[data-scrolled="true"] {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border-bottom-color: var(--border);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.home-nav-inner {
    width: 100%;
    max-width: var(--content-max, 1280px);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (min-width: 768px) { .home-nav-inner { padding: 16px 32px; } }

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    flex-shrink: 0;
}
.home-brand:hover { text-decoration: none; color: var(--text); }

.home-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--primary) 70%, transparent);
}
.home-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.home-brand-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.home-brand-sub { font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

.home-nav-links {
    display: none;
    gap: 4px;
    margin-left: 8px;
    flex: 1;
}
@media (min-width: 1024px) { .home-nav-links { display: inline-flex; } }
.home-nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: color 150ms ease, background 150ms ease;
}
.home-nav-links a:hover { color: var(--text); text-decoration: none; background: var(--surface-hover); }
.home-nav-links a[aria-current="true"] { color: var(--text); }

.home-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.home-link-secondary {
    display: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-md);
}
.home-link-secondary:hover { color: var(--text); text-decoration: none; }
@media (min-width: 640px) { .home-link-secondary { display: inline-flex; } }

.home-nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-md);
    cursor: pointer;
}
@media (min-width: 1024px) { .home-nav-toggle { display: none; } }
.home-nav-toggle:hover { background: var(--surface-hover); }

.home-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.home-nav-mobile[hidden] { display: none; }
.home-nav-mobile a {
    color: var(--text);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
}
.home-nav-mobile a:hover { background: var(--surface-hover); text-decoration: none; }
.home-nav-mobile hr { border: 0; border-top: 1px solid var(--border); margin: 8px 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    padding: 64px 0 48px;
    overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: 96px 0 72px; } }

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}
.hero-blob-1 {
    width: 460px; height: 460px;
    top: -120px; left: -120px;
    background: color-mix(in srgb, var(--primary) 35%, transparent);
}
.hero-blob-2 {
    width: 520px; height: 520px;
    bottom: -180px; right: -160px;
    background: color-mix(in srgb, var(--info) 30%, transparent);
}
:root[data-theme="dark"] .hero-blob { opacity: 0.35; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    background-position: -1px -1px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%);
            mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 70%);
    opacity: 0.35;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-soft-text);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
}

.hero-title {
    margin-top: 20px;
    font-size: clamp(36px, 5.5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--text);
}
.hero-title-accent {
    background: linear-gradient(120deg, var(--primary) 0%, var(--info) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

.hero-sub {
    margin-top: 18px;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
}

.hero-ctas {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }

.hero-bullets {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
}
.hero-bullets svg { width: 16px; height: 16px; color: var(--success); }

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 360px;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}
@media (min-width: 1024px) { .hero-visual { min-height: 460px; } }

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.hero-card-main { width: 100%; }

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}
.hero-card-dots { display: inline-flex; gap: 5px; }
.hero-card-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.hero-card-dots span:nth-child(1) { background: #ef4444; }
.hero-card-dots span:nth-child(2) { background: #f59e0b; }
.hero-card-dots span:nth-child(3) { background: #22c55e; }
.hero-card-title { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }

.hero-card-grid {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: var(--surface);
}
.hero-stat {
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
}
.hero-stat-label { font-size: 11.5px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat-value { margin-top: 6px; font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--text); }
.hero-stat-bar { margin-top: 10px; height: 4px; border-radius: 999px; background: var(--border); overflow: hidden; }
.hero-stat-bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.hero-stat-cash .hero-stat-bar span { background: var(--primary); }
.hero-stat-ar .hero-stat-bar span { background: var(--info); }
.hero-stat-ap .hero-stat-bar span { background: var(--warning); }
.hero-stat-profit .hero-stat-bar span { background: var(--success); }

.hero-card-table {
    border-top: 1px solid var(--border);
    padding: 12px 16px 16px;
    background: var(--surface-2);
}
.hero-card-table-head { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 10px; }
.hero-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 12.5px;
    color: var(--text);
    border-bottom: 1px dashed var(--border);
}
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row span:first-child { font-family: var(--font-mono); color: var(--text-muted); }
.hero-card-row span:nth-child(2) { color: var(--text); }
.hero-card-amt { font-family: var(--font-mono); font-weight: 600; }

.hero-card-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 2;
    font-size: 13px;
    min-width: 180px;
}
.hero-card-float svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.hero-card-float-1 {
    top: 14%; left: -28px;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-card-float-2 {
    bottom: 12%; right: -24px;
    animation: heroFloat 7s ease-in-out -2s infinite;
}
@media (max-width: 640px) {
    .hero-card-float-1 { left: 8px; top: 8px; }
    .hero-card-float-2 { right: 8px; bottom: 8px; }
}
.hero-float-title { font-weight: 600; color: var(--text); }
.hero-float-sub { font-size: 11.5px; color: var(--text-muted); }

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-card-float-1, .hero-card-float-2 { animation: none; }
}

/* ==========================================================================
   Pillbar (modules strip)
   ========================================================================== */
.pillbar {
    padding: 28px 0 4px;
}
.pillbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.pillbar-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.pillbar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.pillbar-list li {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   Section heads (shared)
   ========================================================================== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.section-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-soft-text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text);
}
.section-sub {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 640px;
}

/* ==========================================================================
   Problem → Solution
   ========================================================================== */
.ps { padding: 80px 0; }
.ps-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 1024px) { .ps-inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
.ps-col {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}
.ps-problem { background: color-mix(in srgb, var(--danger-soft) 50%, var(--surface)); }
.ps-solution { background: color-mix(in srgb, var(--success-soft) 40%, var(--surface)); }
@media (min-width: 1024px) { .ps-col { padding: 36px; } }

.ps-eyebrow {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}
.ps-eyebrow-warn { background: var(--danger-soft); color: var(--danger-soft-text); }
.ps-eyebrow-ok { background: var(--success-soft); color: var(--success-soft-text); }

.ps-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ps-list li { display: flex; gap: 12px; align-items: flex-start; }
.ps-list strong { display: block; color: var(--text); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ps-list p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.ps-list code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--neutral-soft);
    color: var(--neutral-soft-text);
    padding: 1px 6px;
    border-radius: 4px;
}
.ps-mark {
    width: 28px; height: 28px;
    flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.ps-mark-ok { background: var(--success); }
.ps-mark-ok svg { width: 16px; height: 16px; }

/* ==========================================================================
   Features grid
   ========================================================================== */
.features { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
    box-shadow: var(--shadow-md);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: grid; place-items: center;
    background: var(--primary-soft);
    color: var(--primary-soft-text);
    margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon[data-tone="success"] { background: var(--success-soft); color: var(--success-soft-text); }
.feature-icon[data-tone="warning"] { background: var(--warning-soft); color: var(--warning-soft-text); }
.feature-icon[data-tone="info"] { background: var(--info-soft); color: var(--info-soft-text); }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Showcase (real-looking dashboard)
   ========================================================================== */
.showcase { padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.showcase-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) {
    .showcase-inner { grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
}
.showcase-copy .section-eyebrow,
.showcase-head .section-eyebrow { align-self: flex-start; }
.showcase-copy { text-align: left; }
.showcase-copy .section-title { text-align: left; }
.showcase-copy .section-sub { text-align: left; }
.showcase-points { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.showcase-points li { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.showcase-points svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

.showcase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    min-width: 0;
}
.showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.showcase-stat {
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    min-width: 0;
}
.showcase-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.showcase-stat-value { font-family: var(--font-mono); font-size: 20px; font-weight: 700; margin-top: 6px; word-break: break-all; }
.showcase-stat-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.showcase-stat-cash .showcase-stat-value { color: var(--primary); }
.showcase-stat-ar .showcase-stat-value { color: var(--info); }
.showcase-stat-ap .showcase-stat-value { color: var(--warning); }
.showcase-stat-profit .showcase-stat-value { color: var(--success); }

.showcase-panel {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    min-width: 0;
}
.showcase-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.showcase-panel-title { font-weight: 600; color: var(--text); font-size: 14px; }
.showcase-panel-link { color: var(--primary); font-size: 12.5px; font-weight: 500; }

.showcase-table { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.showcase-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
}
.showcase-row:hover { background: var(--surface); }
.showcase-row-head { color: var(--text-muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.showcase-row-head:hover { background: transparent; }
.mono { font-family: var(--font-mono); }
.text-right { text-align: right; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.badge-posted { background: var(--success-soft); color: var(--success-soft-text); }
.badge-draft { background: var(--warning-soft); color: var(--warning-soft-text); }

/* Responsive table → cards */
@media (max-width: 720px) {
    .showcase-table { display: block; }
    .showcase-row { grid-template-columns: 1fr 1fr; padding: 12px 8px; border-bottom: 1px solid var(--border); }
    .showcase-row-head { display: none; }
    .showcase-row > * { min-width: 0; }
    .showcase-row .text-right { text-align: right; }
    .showcase-row .mono:first-child { grid-column: 1 / -1; color: var(--text-muted); }
    .showcase-row .badge { justify-self: start; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.how { padding: 80px 0; }
.how-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    counter-reset: how;
}
@media (min-width: 768px) { .how-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.how-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.how-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.how-num {
    width: 40px; height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--primary) 80%, transparent);
}
.how-step h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.how-step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.how-step code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--neutral-soft);
    color: var(--neutral-soft-text);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits { padding: 80px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.benefit {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
}
.benefit-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.benefit h3 { font-size: 16.5px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.benefit p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.benefit code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--neutral-soft);
    color: var(--neutral-soft-text);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: var(--content-max, 1280px);
    margin: 0 auto;
    align-items: stretch;
}
@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
    .pricing-grid { gap: 24px; }
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
}
@media (min-width: 768px) { .pricing-card { padding: 32px; } }
.pricing-card-feature {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 60%, var(--surface)) 0%, var(--surface) 80%);
    box-shadow: var(--shadow-md);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
}
.pricing-badge-neutral {
    background: var(--neutral-soft);
    color: var(--neutral-soft-text);
}
.pricing-card-feature .pricing-badge {
    background: var(--primary);
    color: #fff;
}
.pricing-title { font-size: 19px; font-weight: 700; color: var(--text); margin: 6px 0 12px; letter-spacing: -0.01em; }
.pricing-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 14px; }
.pricing-amount-currency { font-size: 22px; font-weight: 600; color: var(--text); }
.pricing-amount-value { font-size: 44px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.pricing-amount-cycle { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.pricing-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-features li { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; }
.pricing-features svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }
.pricing-card .btn { margin-top: auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 80px 0; }
.faq-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .faq-inner { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.faq-head { text-align: left; }
.faq-head .section-title { text-align: left; }
.faq-head .section-sub { text-align: left; }
.faq-head .section-eyebrow { display: inline-block; }

.faq-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.faq-item:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: 0;
    color: var(--text);
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.faq-q:hover { color: var(--primary); }
.faq-chev {
    width: 28px; height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    transition: transform 200ms ease, background 150ms ease, color 150ms ease;
}
.faq-chev svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); background: var(--primary-soft); color: var(--primary-soft-text); }
.faq-a {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.65;
}
.faq-a p { margin: 0; }
.faq-a code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--neutral-soft);
    color: var(--neutral-soft-text);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { padding: 64px 0 80px; }
.final-cta-inner {
    position: relative;
    text-align: center;
    padding: 64px 24px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.final-cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.final-cta-inner > * { position: relative; z-index: 1; }
.final-cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 12px;
}
.final-cta-sub {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 24px;
}
.final-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.home-footer {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    padding: 56px 0 0;
    margin-top: 40px;
}
.home-footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) { .home-footer-inner { grid-template-columns: 1.4fr 2.6fr; gap: 48px; } }

.home-footer-tag { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 320px; }

.home-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (min-width: 640px) { .home-footer-cols { grid-template-columns: repeat(4, 1fr); } }

.home-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}
.home-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.home-footer-col li { font-size: 13.5px; color: var(--text-muted); display: flex; flex-direction: column; gap: 2px; }
.home-footer-col a { color: var(--text-muted); }
.home-footer-col a:hover { color: var(--text); text-decoration: none; }
.home-footer-col .muted { color: var(--text-muted); font-size: 11.5px; }
.home-footer-col .small { font-size: 11.5px; }
.home-footer-col code { font-family: var(--font-mono); font-size: 12px; padding: 1px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }

.home-footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.home-footer-bottom-inner { font-size: 12.5px; color: var(--text-muted); text-align: center; }

/* ==========================================================================
   Reveal on scroll
   Subtle entrance only — content is never invisible. If JS fails
   or the observer doesn't fire, everything still renders.
   ========================================================================== */
.reveal { opacity: 0.55; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Container / button adjustments (reuse from app.css where possible)
   ========================================================================== */
.home-body .btn-primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.home-body .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    text-decoration: none;
    color: #fff;
}
.home-body .btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.home-body .btn-ghost:hover {
    background: var(--surface-hover);
    text-decoration: none;
    color: var(--text);
}
