/* ========================================
   橙子造价审计助手 V2 — HP Design System
   Pure white canvas · Single accent color
   Sharp buttons (4px) · Soft cards (16px)
   Dark ink slabs · 80px section rhythm
   ======================================== */

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand & Accent — Orange replaces HP Blue */
    --primary: #FF6B00;
    --primary-bright: #FF8533;
    --primary-deep: #CC5500;
    --primary-soft: #FFE0CC;
    --on-primary: #ffffff;

    /* Surface */
    --canvas: #ffffff;
    --paper: #ffffff;
    --cloud: #f7f7f7;
    --fog: #e8e8e8;
    --steel: #c2c2c2;
    --hairline: #e8e8e8;
    --hairline-strong: #c2c2c2;

    /* Text */
    --ink: #1a1a1a;
    --ink-deep: #000000;
    --ink-soft: #292929;
    --on-ink: #ffffff;
    --charcoal: #3d3d3d;
    --graphite: #636363;

    /* Semantic */
    --red: #d93025;
    --red-soft: #fce8e6;
    --yellow: #f9ab00;
    --yellow-soft: #fef7e0;
    --green: #1e8e3e;
    --green-soft: #e6f4ea;

    /* Radius — Two-tier split */
    --r-none: 0px;
    --r-xs: 2px;
    --r-sm: 3px;
    --r-md: 4px;
    --r-lg: 8px;
    --r-xl: 16px;
    --r-pill: 9999px;

    /* Spacing */
    --s-xxs: 4px;
    --s-xs: 8px;
    --s-sm: 12px;
    --s-md: 16px;
    --s-lg: 20px;
    --s-xl: 24px;
    --s-xxl: 32px;
    --s-section: 80px;

    /* Shadow */
    --shadow-soft: 0 2px 8px rgba(26, 26, 26, 0.08);
    --shadow-float: 0 8px 24px rgba(26, 26, 26, 0.12);

    /* Container */
    --maxw: 1366px;

    /* Transition */
    --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.38;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--s-xl);
}

/* ===== Utility Strip ===== */
.utility-strip {
    background: var(--ink);
    color: var(--on-ink);
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
}

.utility-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--s-xl);
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--s-sm);
}

.utility-divider { color: var(--steel); }
.utility-spacer { flex: 1; }

/* ===== Top Nav ===== */
.nav-bar-top {
    background: var(--canvas);
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--t);
}

.nav-bar-top.scrolled {
    box-shadow: var(--shadow-soft);
}

.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--s-xl);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--s-xs);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
    flex-shrink: 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: var(--s-xs);
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    padding: var(--s-xs) var(--s-md);
    border-radius: var(--r-md);
    transition: color var(--t);
    position: relative;
}

.nav-link:hover { color: var(--primary); }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: var(--s-md);
    right: var(--s-md);
    height: 2px;
    background: var(--primary);
    border-radius: var(--r-pill);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--s-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--t);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-xs);
    height: 44px;
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: all var(--t);
    cursor: pointer;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
}

.btn-primary:hover {
    background: var(--primary-deep);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--canvas);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-ink {
    background: var(--ink);
    color: var(--on-primary);
}

.btn-ink:hover { background: var(--ink-soft); }

.btn-lg { height: 52px; padding: 14px 32px; font-size: 15px; }
.btn-nav { height: 40px; padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: var(--s-section) var(--s-xl) 64px;
    max-width: var(--maxw);
    margin: 0 auto;
    overflow: hidden;
}

/* Chevron Decorations — HP signature */
.chevron {
    position: absolute;
    width: 48px;
    background: var(--primary);
    border-radius: var(--r-none);
    z-index: 0;
}

.chevron-left {
    top: 80px;
    left: -42px;
    height: 320px;
    transform: skewX(-15deg);
}

.chevron-right {
    top: 120px;
    right: -12px;
    height: 280px;
    transform: skewX(-15deg);
    opacity: 0.85;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-xs);
    padding: 6px 14px;
    background: var(--primary-soft);
    border-radius: var(--r-lg);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-deep);
    margin-bottom: var(--s-lg);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.hero-headline {
    font-size: clamp(44px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: var(--s-lg);
}

.headline-accent { color: var(--primary); }

.hero-lead {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--charcoal);
    margin-bottom: var(--s-xxl);
}

.hero-cta-row {
    display: flex;
    gap: var(--s-md);
    margin-bottom: var(--s-xxl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--s-lg);
    flex-wrap: wrap;
}

.hs-item { text-align: center; }

.hs-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.0;
    display: block;
}

.hs-label {
    font-size: 14px;
    color: var(--graphite);
    margin-top: var(--s-xxs);
    display: block;
}

.hs-divider {
    width: 1px;
    height: 40px;
    background: var(--hairline-strong);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 480px;
}

.hero-mockup {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-float);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--s-xs);
    padding: 12px var(--s-md);
    border-bottom: 1px solid var(--hairline);
    background: var(--cloud);
}

.mockup-dots { display: flex; gap: 6px; }

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-title {
    margin-left: var(--s-xs);
    font-size: 14px;
    color: var(--graphite);
    flex: 1;
}

.mockup-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 8px;
    border-radius: var(--r-sm);
}

.mockup-body { padding: var(--s-md); }

.mockup-row {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
}

.mockup-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--r-xs);
    white-space: nowrap;
}

.tag-p0 { background: var(--red-soft); color: var(--red); }
.tag-p1 { background: var(--yellow-soft); color: #b06000; }
.tag-p2 { background: var(--green-soft); color: var(--green); }

.mockup-text {
    font-size: 14px;
    color: var(--charcoal);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mockup-summary {
    display: flex;
    gap: var(--s-lg);
    margin-top: var(--s-md);
    padding-top: var(--s-md);
    border-top: 1px solid var(--hairline);
}

.ms-cell { text-align: center; flex: 1; }

.ms-num {
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1.0;
}

.ms-num.ms-red { color: var(--red); }
.ms-num.ms-yellow { color: #b06000; }
.ms-num.ms-green { color: var(--green); }

.ms-label {
    font-size: 12px;
    color: var(--graphite);
    margin-top: var(--s-xxs);
}

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-float);
    padding: 14px var(--s-lg);
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    z-index: 3;
}

.hfc-1 {
    bottom: 60px;
    left: -24px;
    animation: floatGentle 5s ease-in-out infinite;
}

.hfc-2 {
    bottom: -10px;
    right: -20px;
    animation: floatGentle 5s ease-in-out infinite 1.5s;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hfc-icon { font-size: 24px; }

.hfc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.hfc-sub {
    font-size: 12px;
    color: var(--graphite);
    display: block;
}

/* ===== Sections ===== */
.section {
    padding: var(--s-section) 0;
}

.section-cloud { background: var(--cloud); }
.section-fog { background: var(--fog); }
.section-ink { background: var(--ink); }

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-soft);
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: var(--s-md);
}

.section-ink .section-eyebrow {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary-bright);
}

.section-headline {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: var(--s-sm);
}

.section-ink .section-headline { color: var(--on-ink); }

.section-sub {
    font-size: 18px;
    color: var(--charcoal);
    line-height: 1.5;
}

.section-ink .section-sub { color: var(--steel); }

.text-accent { color: var(--primary); }
.text-soft { color: var(--graphite); font-weight: 400; }

/* ===== Pain Comparison ===== */
.pain-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--s-xxl);
    align-items: center;
}

.pain-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xxl);
    box-shadow: var(--shadow-soft);
}

.pain-old { border-color: var(--red-soft); }

.pain-new {
    border-top: 3px solid var(--primary);
}

.pain-card-head {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    margin-bottom: var(--s-xl);
}

.pain-emoji { font-size: 28px; }

.pain-card-head h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
}

.pain-li {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.4;
}

.pain-li.bad { color: var(--charcoal); }
.pain-li.good { color: var(--ink); font-weight: 500; }

.pain-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.pain-li.bad .pain-mark {
    background: var(--red-soft);
    color: var(--red);
}

.pain-li.good .pain-mark {
    background: var(--green-soft);
    color: var(--green);
}

.pain-vs-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--ink);
    color: var(--on-ink);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

/* ===== Bento Grid ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: var(--s-lg);
}

.bento-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
    box-shadow: var(--shadow-soft);
    transition: all var(--t);
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}

.bento-card:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-2px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: var(--s-xxl);
}

.bento-wide { grid-column: span 2; }

.bento-highlight {
    background: var(--ink);
    color: var(--on-ink);
    border-color: var(--ink);
}

.bento-highlight .bento-card-title { color: var(--on-ink); }
.bento-highlight .bento-card-desc { color: var(--steel); }

.bento-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-xxs);
}

.bento-icon-highlight {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary-bright);
}

.bento-card-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.17;
}

.bento-card-desc {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.5;
    flex: 1;
}

.bento-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-xxs);
    margin-top: auto;
}

.chip {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--cloud);
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    color: var(--charcoal);
}

.chip-red { background: var(--red-soft); color: var(--red); border-color: transparent; }
.chip-yellow { background: var(--yellow-soft); color: #b06000; border-color: transparent; }
.chip-green { background: var(--green-soft); color: var(--green); border-color: transparent; }

/* ===== Steps ===== */
.steps-row {
    display: flex;
    align-items: stretch;
    gap: var(--s-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.step-tile {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    padding: var(--s-xxl) var(--s-xl);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all var(--t);
    position: relative;
}

.step-tile:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-2px);
}

.step-num {
    position: absolute;
    top: var(--s-lg);
    right: var(--s-xl);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-soft);
    line-height: 1.0;
}

.step-icon-box {
    color: var(--primary);
    margin-bottom: var(--s-lg);
}

.step-tile-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--s-sm);
}

.step-tile-desc {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.5;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--primary);
    opacity: 0.5;
}

/* ===== Pricing ===== */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-lg);
}

.pricing-tile {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
    box-shadow: var(--shadow-soft);
    transition: all var(--t);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-tile:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-2px);
}

.pricing-featured {
    border-top: 3px solid var(--primary);
}

.pt-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--r-sm);
    white-space: nowrap;
}

.pt-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--s-xs);
}

.pt-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: var(--s-xs);
}

.pt-currency { font-size: 18px; font-weight: 500; color: var(--charcoal); }
.pt-amount { font-size: 32px; font-weight: 500; color: var(--ink); line-height: 1.0; }
.pt-amount-accent { color: var(--primary); }
.pt-period { font-size: 15px; color: var(--graphite); }

.pt-desc {
    font-size: 14px;
    color: var(--graphite);
    margin-bottom: var(--s-lg);
    padding-bottom: var(--s-lg);
    border-bottom: 1px solid var(--hairline);
}

.pt-features {
    flex: 1;
    margin-bottom: var(--s-lg);
}

.pt-features li {
    display: flex;
    align-items: center;
    gap: var(--s-xs);
    padding: 7px 0;
    font-size: 14px;
    color: var(--charcoal);
}

.pt-check {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Trust Band (Dark Ink Slab) ===== */
.trust-band {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: var(--s-xxl) var(--s-xl);
    background: var(--ink-soft);
    border-radius: var(--r-xl);
    flex-wrap: wrap;
    gap: var(--s-lg);
}

.trust-cell { text-align: center; }

.trust-big {
    font-size: 44px;
    font-weight: 500;
    color: var(--on-ink);
    line-height: 1.0;
    display: block;
}

.trust-sm {
    font-size: 20px;
    color: var(--steel);
    font-weight: 500;
}

.trust-cap {
    font-size: 14px;
    color: var(--steel);
    margin-top: var(--s-xs);
    display: block;
}

.trust-sep {
    width: 1px;
    height: 60px;
    background: var(--charcoal);
}

/* ===== Download Hero ===== */
.download-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-section);
    align-items: center;
    padding: var(--s-xxl);
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-soft), transparent 70%);
    pointer-events: none;
}

.dh-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--green-soft);
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: var(--s-lg);
}

.dh-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: var(--s-md);
}

.dh-desc {
    font-size: 16px;
    color: var(--charcoal);
    margin-bottom: var(--s-xl);
}

.dh-features {
    display: flex;
    flex-direction: column;
    gap: var(--s-xs);
}

.dh-feat {
    display: flex;
    align-items: center;
    gap: var(--s-xs);
    font-size: 15px;
    color: var(--ink);
}

.dh-feat-mark {
    width: 24px;
    height: 24px;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.dh-right { position: relative; }

.dh-download-btn {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    padding: var(--s-lg) var(--s-xl);
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--r-lg);
    transition: all var(--t);
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}

.dh-download-btn:hover {
    background: var(--primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}

.dh-btn-text { display: flex; flex-direction: column; text-align: left; }

.dh-btn-small { font-size: 12px; opacity: 0.85; }

.dh-btn-big {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dh-note {
    margin-top: var(--s-lg);
    padding: var(--s-lg);
    background: var(--cloud);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
}

.dh-note p {
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: var(--s-xs);
}

.dh-note p:last-child { margin-bottom: 0; }

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-row {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    margin-bottom: var(--s-sm);
    overflow: hidden;
    transition: box-shadow var(--t);
}

.faq-row.active {
    box-shadow: var(--shadow-soft);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-lg) var(--s-xl);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    transition: color var(--t);
}

.faq-q:hover { color: var(--primary); }

.faq-chevron {
    font-size: 24px;
    font-weight: 300;
    color: var(--graphite);
    transition: transform var(--t);
    flex-shrink: 0;
}

.faq-row.active .faq-chevron { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-row.active .faq-a {
    max-height: 300px;
    padding: 0 var(--s-xl) var(--s-lg);
}

.faq-a p {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.6;
}

/* ===== Footer (Dark Ink Slab) ===== */
.footer-dark {
    background: var(--ink);
    color: var(--on-ink);
    padding: var(--s-xxl) 0 var(--s-xl);
}

.footer-dark .logo-text { color: var(--on-ink); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--s-xxl);
    margin-bottom: var(--s-xxl);
}

.footer-brand-col { max-width: 300px; }

.footer-tagline {
    font-size: 14px;
    color: var(--steel);
    margin-top: var(--s-md);
    line-height: 1.5;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--on-ink);
    margin-bottom: var(--s-md);
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--steel);
    margin-bottom: var(--s-xs);
    transition: color var(--t);
}

.footer-link:hover { color: var(--primary-bright); }

.footer-link-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.footer-link-static {
    cursor: default;
    pointer-events: none;
}

.footer-copy {
    font-size: 13px;
    color: var(--graphite);
    margin-top: var(--s-xs);
}

.footer-bottom {
    padding-top: var(--s-xl);
    border-top: 1px solid var(--charcoal);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s-sm);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--graphite);
}

/* ===== Scroll Reveal ===== */
.reveal-hp {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--d, 0s);
}

.reveal-hp.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Selection ===== */
::selection {
    background: var(--primary-soft);
    color: var(--primary-deep);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cloud); }
::-webkit-scrollbar-thumb {
    background: var(--steel);
    border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--graphite); }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    .hero-inner {
        grid-template-columns: 1fr 400px;
        gap: var(--s-xxl);
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .chevron { display: none; }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: var(--s-md);
    }

    .pain-vs-pill {
        margin: 0 auto;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide { grid-column: span 2; }

    .pricing-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-hero {
        grid-template-columns: 1fr;
        gap: var(--s-xxl);
        padding: var(--s-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-xl);
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--canvas);
        padding: var(--s-md) var(--s-xl);
        border-bottom: 1px solid var(--hairline);
        box-shadow: var(--shadow-soft);
        gap: var(--s-xs);
    }

    .utility-strip { font-size: 12px; }

    .hero { padding: 48px var(--s-md) 48px; }

    .hero-headline { font-size: 40px; }

    .hero-stats { gap: var(--s-sm); }
    .hs-divider { display: none; }

    .section { padding: 48px 0; }
    .section-header { margin-bottom: 40px; }
    .section-headline { font-size: 28px; }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large, .bento-wide { grid-column: span 1; }

    .steps-row {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow { transform: rotate(90deg); }

    .pricing-row { grid-template-columns: 1fr; }

    .trust-band {
        flex-direction: column;
        gap: var(--s-md);
        padding: var(--s-xl) var(--s-md);
    }

    .trust-sep { display: none; }

    .download-hero { padding: var(--s-md); }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--s-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
