/* ═══════════════════════════════════════════════════════════
   FISCALIA - Home Page Styles
   Anthropic/Claude-inspired design (Jan 2026)
   ═══════════════════════════════════════════════════════════ */

/* Home page specific variables - scoped to page body class */
body.page-home {
    --font-display: "Sora", system-ui, sans-serif;
    --container-max: 1120px;
    --section-padding: 80px;
    --section-padding-mobile: 56px;

    /* Type Scale - 7 standardized sizes */
    --text-4xl: clamp(32px, 5vw, 48px);   /* Hero h1 */
    --text-3xl: clamp(26px, 4vw, 34px);   /* Section h2 */
    --text-2xl: 22px;                      /* Card h3 */
    --text-xl: 18px;                       /* Large body */
    --text-base: 16px;                     /* Body text */
    --text-sm: 14px;                       /* Secondary text */
    --text-xs: 12px;                       /* Meta/labels */

    /* Anthropic color tokens */
    --paper: #FAF9F5;
    --paper-muted: #F0EEE6;
    --paper-deep: #E8E6DC;
    --surface: #FFFFFF;
    --ink: #141413;
    --ink2: #3D3D3A;
    --ink-muted: #5E5D59;
    --ink-faint: #B0AEA5;
    --accent-base: #0F766E;
    --accent-hover: #115E59;
    --accent-subtle: rgba(15, 118, 110, 0.08);
    --border-subtle: rgba(20, 20, 19, 0.10);
    --border-medium: rgba(20, 20, 19, 0.15);

    /* Map to existing variable names */
    --bg-primary: var(--paper);
    --bg-elevated: var(--paper-muted);
    --bg-card: var(--surface);
    --text-primary: var(--ink);
    --text-secondary: var(--ink2);
    --text-tertiary: var(--ink-muted);
    --border: var(--border-subtle);
    --border-hover: var(--border-medium);
    --accent: var(--accent-base);
    --teal-mid: var(--accent-hover);
    --teal-deep: var(--accent-hover);
    --teal-pale: var(--accent-subtle);

    /* Announcement bar */
    --announce-bg: var(--ink);
    --announce-text: #ffffff;
    --announce-accent: var(--accent-base);

    /* Chat card (solid, no gradient) */
    --chat-card-bg: var(--surface);
    --chat-user-bg: var(--paper-muted);
    --chat-assistant-bg: var(--paper-muted);
    --chat-input-bg: var(--paper-muted);

    /* Prevent word hyphenation globally */
    hyphens: none;
    -webkit-hyphens: none;

    background: #faf9f6;
}

/* TEST: Force all sections to same background */
.page-home .site-nav,
.page-home .hero,
.page-home .section,
.page-home .comparison-section,
.page-home .kb-updates-section,
.page-home .demo-section,
.page-home .for-whom,
.page-home .pricing,
.page-home .faq,
.page-home .final-cta {
    background: #faf9f6 !important;
}

[data-theme="dark"] body.page-home {
    --paper: #141413;
    --paper-muted: #1C1C1A;
    --paper-deep: #242422;
    --surface: #1C1C1A;
    --ink: #FAF9F5;
    --ink2: #E8E6DC;
    --ink-muted: #B0AEA5;
    --ink-faint: #5E5D59;
    --accent-base: #14B8A6;
    --accent-hover: #2DD4BF;
    --accent-subtle: rgba(20, 184, 166, 0.12);
    --border-subtle: rgba(250, 249, 245, 0.10);
    --border-medium: rgba(250, 249, 245, 0.15);

    --bg-primary: var(--paper);
    --bg-elevated: var(--paper-muted);
    --bg-card: var(--surface);
    --text-primary: var(--ink);
    --text-secondary: var(--ink2);
    --text-tertiary: var(--ink-muted);
    --border: var(--border-subtle);
    --border-hover: var(--border-medium);
    --accent: var(--accent-base);
    --teal-mid: var(--accent-hover);
    --teal-deep: var(--accent-hover);
    --teal-pale: var(--accent-subtle);

    --announce-bg: var(--paper-deep);
    --chat-card-bg: var(--surface);
    --chat-user-bg: var(--paper-deep);
    --chat-assistant-bg: var(--paper-muted);
    --chat-input-bg: var(--paper-deep);

    background: var(--paper);
}

/* ═══════════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════ */
.page-home .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 24px);
}

@media (min-width: 1024px) {
    .page-home .container {
        padding: 0 80px;
    }
}

.page-home .section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .page-home .section {
        padding: var(--section-padding) 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════ */
.announcement-bar {
    background: var(--announce-bg);
    color: var(--announce-text);
    padding: 10px 0;
    font-size: var(--text-sm);
    position: relative;
    z-index: 100;
}

.announcement-bar.hidden {
    display: none;
}

.announcement-bar__container {
    max-width: var(--container-max, 1120px);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.announcement-bar__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.announcement-bar__pill {
    background: var(--accent-base);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.announcement-bar__text {
    opacity: 0.95;
}

.announcement-bar__link {
    color: var(--accent-base);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

[data-theme="dark"] .announcement-bar__link {
    color: var(--accent-base);
}

.announcement-bar__link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 12px 0;
    }
    .announcement-bar__text {
        display: inline;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   SITE-NAV SCROLLED STATE
   ═══════════════════════════════════════════════════════════ */
.page-home .site-nav.scrolled {
    box-shadow: none;
    border-bottom: 1px solid var(--border-subtle);
}

/* Navbar uses Sora font on home page (except logo) */
.page-home .site-nav__links a,
.page-home .site-nav__cta,
.page-home .site-nav__right .btn {
    font-family: var(--font-display);
}

/* Logo uses Sora on home page */
.page-home .site-nav__logo {
    font-family: var(--font-display) !important;
    font-size: 1.625rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.page-home .hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 123px;
}

@supports (height: 100svh) {
    .page-home .hero {
        min-height: calc(100svh - 64px);
    }
}

@supports (height: 100dvh) {
    .page-home .hero {
        min-height: calc(100dvh - 64px);
    }
}

.page-home .hero .container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.page-home .hero-content {
    display: block;
    width: 100%;
    margin: 0 auto 8px;
    text-align: center;
}

/* Hero Eyebrow */
.page-home .hero-eyebrow {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--accent-base);
    margin-bottom: 48px;
    letter-spacing: 0.01em;
}

.page-home .hero-eyebrow u {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.page-home .hero-eyebrow strong {
    color: var(--accent-base);
}

.page-home .hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

@media (max-width: 420px) {
    .page-home .hero h1 {
        white-space: normal;
    }
}

.page-home .hero-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin: 0 auto 16px;
    max-width: 680px;
    line-height: 1.7;
}

.page-home .hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.page-home .hero-cta-text {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-top: 48px;
    margin-bottom: 12px;
}

/* Hero Support Line (smaller) */
.page-home .hero-support {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin: 0 auto 32px;
    max-width: 600px;
    line-height: 1.6;
}

/* Hero Disclaimer */
.page-home .hero-disclaimer {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 16px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   CHAT LAUNCHER (Search Bar Style)
   ═══════════════════════════════════════════════════════════ */
.chat-launcher {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 28px;
    padding: 6px 6px 6px 24px;
    background: var(--paper-muted);
    transition: border-color 200ms ease;
}

[data-theme="dark"] .search-bar {
    background: var(--bg-elevated);
}

.search-bar:focus-within {
    border-color: var(--accent-base);
}

.search-bar:hover {
    border-color: var(--accent-base);
}

.search-bar:focus-within:hover {
    border-color: var(--accent-base);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: var(--text-base);
    font-family: var(--font-display);
    color: var(--text-primary);
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    padding: 12px 12px 12px 0;
    min-width: 0;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
}

.search-bar input::placeholder {
    color: var(--text-tertiary);
}

.page-home .search-bar button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    border-radius: 24px;
    background: var(--accent-base);
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: var(--font-display);
    border: none;
    cursor: pointer;
    transition: background 200ms ease, transform 120ms ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-home .search-bar button:hover {
    background: var(--accent-hover);
    transform: translateY(1px);
}

.page-home .search-bar button .search-btn-arrow {
    font-size: 18px;
    line-height: 1;
}

/* Mobile: Show icon only */
@media (max-width: 640px) {
    .search-bar {
        padding: 5px 5px 5px 18px;
    }

    .search-bar input {
        font-size: 16px;
        padding: 10px 8px 10px 0;
    }

    .page-home .search-bar button {
        padding: 12px 16px;
    }

    .page-home .search-bar button .search-btn-label {
        display: none;
    }

    .page-home .search-bar button .search-btn-arrow {
        font-size: 20px;
    }
}

.chat-launcher-microcopy {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   DOMAIN SELECTOR CARDS
   ═══════════════════════════════════════════════════════════ */
.domain-cards {
    display: none; /* Temporarily hidden */
    /* display: flex; */
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.domain-card {
    flex: 1;
    max-width: 240px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 200ms ease;
}

.domain-card:hover {
    border-color: var(--accent-base);
}

.domain-card:focus-visible {
    outline: 2px solid var(--accent-base);
    outline-offset: 4px;
}

.domain-card__icon {
    width: 56px;
    height: 56px;
    background: var(--accent-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent-base);
    transition: all 200ms ease;
}

.domain-card:hover .domain-card__icon {
    background: var(--accent-base);
    color: #ffffff;
}

.domain-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.domain-card__subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.4;
}

.domain-cards-microcopy {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 24px;
    text-align: center;
}

/* Space between search bar and domain cards */
.chat-launcher + .domain-cards {
    margin-top: 32px;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
    .domain-cards {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .domain-card {
        max-width: 320px;
        width: 100%;
        padding: 24px 20px;
    }
}

/* Tablet: 2+1 layout */
@media (min-width: 769px) and (max-width: 920px) {
    .domain-cards {
        flex-wrap: wrap;
        max-width: 520px;
    }

    .domain-card {
        flex: 0 1 calc(50% - 12px);
        max-width: none;
    }

    .domain-card:last-child {
        flex: 0 1 calc(50% - 12px);
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-header p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   KNOWLEDGE BASE UPDATES SECTION
   ═══════════════════════════════════════════════════════════ */

.kb-updates-section {
    background: var(--bg-elevated);
}

.kb-updates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .kb-updates-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.kb-update-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 200ms ease, transform 150ms ease;
    text-decoration: none;
    color: inherit;
    font-family: var(--font-display);
}

.kb-update-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.kb-update-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.kb-update-card__date {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-family: var(--font-body);
}

.kb-update-card__domain {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-base);
}

.kb-update-card__badge {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--accent-base);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kb-update-card__law {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.kb-update-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0;
}

.kb-updates-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-tertiary);
}


/* ═══════════════════════════════════════════════════════════
   COMPARISON SECTION
   ═══════════════════════════════════════════════════════════ */
.comparison-section {
    background: var(--bg-elevated);
}

.table-overflow {
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-table thead {
    background: #F0EEE6;
}

.page-home .comparison-table thead th {
    background: #F0EEE6;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: var(--text-base);
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table tbody th {
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    width: 160px;
}

.comparison-table tbody td {
    color: var(--text-secondary);
    background: transparent;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Fiscalia column highlight (now second column) */
.comparison-table tbody td:first-of-type {
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-closing {
    text-align: center;
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-top: 40px;
    margin-bottom: 32px;
}

.comparison-closing strong {
    color: var(--accent-base);
}

.section-disclaimer {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   DEMO SECTION
   ═══════════════════════════════════════════════════════════ */
.demo-section {
    background: var(--bg-primary);
}

.demo-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .demo-cards {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 200ms ease;
}

.demo-card:hover {
    border-color: var(--border-medium);
}

.demo-card__label {
    padding: 12px 20px;
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #141413;
    text-align: center;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.demo-card__content {
    padding: 24px;
}

.demo-card--input .demo-card__label {
    color: #141413;
}

.demo-card--output .demo-card__label {
    color: #141413;
}

.demo-question {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.demo-output-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-output-list li {
    position: relative;
    padding-left: 24px;
    padding-bottom: 12px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.demo-output-list li:last-child {
    padding-bottom: 0;
}

.demo-output-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background: #141413;
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════
   FOR WHOM (Audience list - bullets)
   ═══════════════════════════════════════════════════════════ */
.for-whom {
    background: var(--bg-elevated);
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    font-family: var(--font-display);
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
    flex-shrink: 0;
    margin-top: 3px;
}

.audience-list li span {
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.5;
}

.audience-list li strong {
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.feature-block {
    text-align: center;
}

.feature-block h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-block p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   TAX REFORM SECTION
   ═══════════════════════════════════════════════════════════ */
.tax-reform-section {
    background: var(--bg-primary);
}

.tax-reform-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.tax-reform-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tax-reform-content p strong {
    color: var(--text-primary);
}

.tax-reform-note {
    font-size: var(--text-xs) !important;
    color: var(--text-tertiary) !important;
    margin-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   DELIVERABLES SECTION (list style)
   ═══════════════════════════════════════════════════════════ */
.deliverables-section {
    background: var(--bg-elevated);
}

.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 640px;
}

.deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.deliverables-list li:last-child {
    border-bottom: none;
}

.deliverables-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.deliverables-list li span {
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════════════ */
.social-proof {
    background: var(--bg-primary);
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    margin: 0;
    position: relative;
    transition: border-color 200ms ease;
}

.testimonial:hover {
    border-color: var(--border-medium);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 56px;
    color: var(--accent-subtle);
    line-height: 1;
}

.testimonial p {
    font-size: var(--text-sm);
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial cite {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    font-style: normal;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.page-home .faq {
    background: var(--bg-elevated);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 200ms ease;
}

@media (max-width: 480px) {
    .faq-question {
        font-size: var(--text-base);
    }
}

.faq-question:hover {
    color: var(--accent-base);
    background: transparent;
}

.faq-question:focus {
    outline: none;
    color: var(--accent-base);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-base);
    outline-offset: 4px;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 200ms ease;
    stroke: var(--text-tertiary);
}

.faq-question:hover svg {
    stroke: var(--accent-base);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 24px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--text-primary);
}

.faq-item.open .faq-answer {
    display: block;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.page-home .pricing {
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: border-color 200ms ease;
}

.pricing-card:hover {
    border-color: var(--border-medium);
}

.pricing-card.featured {
    border-color: var(--accent-base);
    border-width: 2px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-base);
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pricing-price span {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.pricing-price-small {
    font-size: 28px;
}

.pricing-desc {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.pricing-features li svg {
    stroke: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-disclaimer {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.page-home .final-cta {
    background: var(--bg-primary);
    text-align: center;
}

.page-home .final-cta h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.3;
}

.final-cta-microcopy {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 20px;
    margin-bottom: 16px;
}

.final-cta-disclaimer {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    max-width: 480px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   SECTION CTAS
   ═══════════════════════════════════════════════════════════ */
.section-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS (home page specific)
   ═══════════════════════════════════════════════════════════ */
.page-home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 200ms ease, transform 120ms ease;
}

.page-home .btn:hover {
    transform: translateY(1px);
}

.page-home .btn:active {
    transform: scale(0.995) translateY(1px);
}

.page-home .btn:focus-visible {
    outline: 2px solid var(--accent-base);
    outline-offset: 4px;
}

.page-home .btn-primary {
    background: var(--accent-base);
    color: #FFFFFF;
}

.page-home .btn-primary:hover {
    background: var(--accent-hover);
}

.page-home .btn-lg {
    padding: 16px 32px;
    font-size: var(--text-base);
    border-radius: 12px;
}

.page-home .btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.page-home .site-nav__links .btn-secondary {
    padding: 0;
}

.page-home .btn-secondary:hover {
    color: var(--text-primary);
}

.page-home .btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.page-home .btn-ghost:hover {
    border-color: var(--ink-muted);
    background: var(--accent-subtle);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER (Dark Background)
   ═══════════════════════════════════════════════════════════ */
.page-home .footer {
    background: #141413;
    border-top: 1px solid rgba(250, 249, 245, 0.12);
    padding: 48px 0 32px;
    font-family: var(--font-display);
}

.page-home .footer .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .page-home .footer .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 12px;
    display: inline-block;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FAF9F5;
    text-decoration: none;
}

.footer-brand p {
    font-size: var(--text-sm);
    color: rgba(250, 249, 245, 0.70);
}

.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .footer-links {
        gap: 24px;
    }
}

.footer-col h4 {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(250, 249, 245, 0.50);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(250, 249, 245, 0.70);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 200ms ease;
}

.footer-col a:hover {
    color: #FAF9F5;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(250, 249, 245, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: var(--text-xs);
    color: rgba(250, 249, 245, 0.50);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(250, 249, 245, 0.50);
    text-decoration: none;
}

.footer-legal a:hover {
    color: rgba(250, 249, 245, 0.70);
}

/* Dark mode footer */
[data-theme="dark"] .page-home .footer {
    background: #0A0A09;
    border-top: 1px solid rgba(250, 249, 245, 0.08);
}
