/* ================================================================
   VisionBlitz: Light editorial design, conversion-focused.
   Palette: warm paper + deep ink. Type: Fraunces serif + Geist sans.
   ================================================================ */

:root {
    /* Surface */
    --paper:        #FAFAF8;   /* warm off-white page bg */
    --paper-2:      #F4F3EE;   /* slightly deeper, alternating sections */
    --ink:          #0A0A0B;   /* near-black text */
    --ink-2:        #27272A;   /* secondary text */
    --mute:         #52525B;   /* muted body */
    --faint:        #A1A1AA;   /* captions, metadata */
    --line:         rgba(10, 10, 11, 0.08);
    --line-strong:  rgba(10, 10, 11, 0.16);

    /* Accent used sparingly: highlights, active states, one pop */
    --highlight:    #FDE68A;   /* amber-200, used like a marker */
    --highlight-ink:#713F12;   /* amber-900 on highlight */
    --positive:     #047857;   /* emerald-700 for ✓ checkmarks in compare table */
    --negative:     #B91C1C;   /* red-700 for ✗ (only used once, intentionally) */

    /* Typography */
    --font-serif:   'Fraunces', 'Iowan Old Style', 'Charter', Georgia, serif;
    --font-sans:    'Geist', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
    --font-mono:    'Geist Mono', 'SF Mono', ui-monospace, 'JetBrains Mono', monospace;

    /* Motion */
    --ease:         cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --w-page:       1180px;
    --w-narrow:     760px;
    --w-text:       62ch;

    /* Shadows */
    --shadow-card:  0 1px 2px rgba(10, 10, 11, 0.06),
                    0 8px 24px -8px rgba(10, 10, 11, 0.08);
    --shadow-hero:  0 2px 4px rgba(10, 10, 11, 0.05),
                    0 30px 60px -20px rgba(10, 10, 11, 0.18),
                    0 60px 120px -40px rgba(10, 10, 11, 0.12);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-feature-settings: 'ss01', 'cv11';
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100dvh;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- TYPE SCALE ---------- */
.display {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.02;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.h-xl { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; font-size: clamp(36px, 4.5vw, 56px); font-variation-settings: "opsz" 120; }
.h-lg { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em;  line-height: 1.1;  font-size: clamp(28px, 3vw,   40px); font-variation-settings: "opsz" 96;  }
.h-md { font-family: var(--font-sans);  font-weight: 600; letter-spacing: -0.015em; line-height: 1.2;  font-size: 20px; }
.h-sm { font-family: var(--font-sans);  font-weight: 600; letter-spacing: -0.01em;  line-height: 1.3;  font-size: 16px; }

.serif-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80; }

.lede {
    font-size: 18px;
    color: var(--mute);
    line-height: 1.55;
    max-width: 56ch;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 24px;
}

.mark {
    background: var(--highlight);
    color: var(--highlight-ink);
    padding: 0 4px;
    margin: 0 -2px;
    border-radius: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* ---------- LAYOUT ---------- */
.page {
    max-width: var(--w-page);
    margin: 0 auto;
    padding: 0 28px;
}

section { position: relative; }

.section-divider { border-top: 1px solid var(--line); }

.section-alt { background: var(--paper-2); }

/* ---------- NAV ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 248, 0.82);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--w-page);
    margin: 0 auto;
    padding: 14px 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.nav-icon { width: 26px; height: 26px; border-radius: 6px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a:not(.btn) {
    font-size: 14px;
    color: var(--mute);
    transition: color 0.2s var(--ease);
}

.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
                0 1px 2px rgba(10, 10, 11, 0.2),
                0 6px 16px -4px rgba(10, 10, 11, 0.25);
}

.btn-primary:hover {
    background: #18181B;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset,
                0 2px 4px rgba(10, 10, 11, 0.2),
                0 12px 24px -6px rgba(10, 10, 11, 0.3);
}

.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn-ghost:active { transform: scale(0.985); }

.btn-sm { padding: 9px 14px; font-size: 13px; border-radius: 8px; }

.nav .btn-primary { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }

/* ---------- HERO ---------- */
.hero {
    padding: 80px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: start;
}

.hero-content { max-width: 540px; padding-top: 20px; }

.hero h1 {
    font-size: clamp(40px, 5vw, 68px);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--mute);
    line-height: 1.55;
    max-width: 48ch;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12.5px;
    color: var(--faint);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.hero-trust .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust svg {
    width: 14px;
    height: 14px;
    color: var(--positive);
}

.hero-image {
    position: relative;
    max-height: 560px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hero);
    background: var(--paper-2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---------- COMPAT STRIP ---------- */
.compat {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.compat-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.compat-label {
    font-size: 12.5px;
    color: var(--mute);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    max-width: 18ch;
}

.compat-names {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: var(--ink-2);
    font-variation-settings: "opsz" 96;
}

.compat-names span { opacity: 0.7; }

/* ---------- PROBLEM SECTION ---------- */
.problem {
    padding: 112px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 80px;
    align-items: start;
}

.problem-copy .eyebrow { color: var(--negative); }

.problem-copy h2 { margin-bottom: 20px; }

.problem-list {
    list-style: none;
    margin-top: 8px;
}

.problem-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.5;
}

.problem-list li:last-child { border-bottom: 0; }

.problem-list svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--negative);
    margin-top: 2px;
}

.problem-list strong { color: var(--ink); font-weight: 600; display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- COMPARISON TABLE (the conversion hammer) ---------- */
.compare {
    padding: 112px 0;
    background: var(--paper-2);
}

.compare-head { margin-bottom: 48px; text-align: center; }
.compare-head h2 { max-width: 20ch; margin: 0 auto 16px; }
.compare-head p { color: var(--mute); font-size: 17px; max-width: 52ch; margin: 0 auto; line-height: 1.6; }

.compare-table {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
}

.compare-row:last-child { border-bottom: 0; }

.compare-row > div {
    padding: 18px 24px;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-row > div:not(:last-child) {
    border-right: 1px solid var(--line);
}

.compare-head-row {
    background: var(--paper-2);
    font-family: var(--font-mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mute);
}

.compare-head-row > div {
    padding: 14px 24px;
    font-size: 11.5px;
}

.compare-head-row .col-vb {
    color: var(--ink);
    font-weight: 600;
    background: var(--highlight);
    color: var(--highlight-ink);
}

.compare-row .col-vb { background: rgba(253, 230, 138, 0.12); }

.compare-label {
    font-weight: 500;
    color: var(--ink);
}

.compare-cell-ok, .compare-cell-no {
    font-family: var(--font-mono);
    font-size: 13px;
}

.compare-cell-ok { color: var(--positive); }
.compare-cell-no { color: var(--negative); }

.compare-cell-ok svg, .compare-cell-no svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- BENEFITS (3-row horizontal, not cards) ---------- */
.benefits { padding: 112px 0; }

.benefits-head { margin-bottom: 64px; max-width: 52ch; }
.benefits-head h2 { margin-bottom: 16px; }
.benefits-head p { color: var(--mute); font-size: 17px; line-height: 1.6; }

.benefit-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.benefit-row:last-child { border-bottom: 1px solid var(--line); }

.benefit-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--faint);
    letter-spacing: 0.04em;
    padding-top: 6px;
}

.benefit-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-variation-settings: "opsz" 96;
}

.benefit-body {
    color: var(--mute);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 46ch;
}

.benefit-body strong { color: var(--ink); font-weight: 600; }

/* ---------- DEMO (annotated screenshot) ---------- */
.demo { padding: 112px 0; background: var(--paper-2); }

.demo-head { margin-bottom: 48px; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.demo-head h2 { margin-bottom: 16px; }
.demo-head p { color: var(--mute); font-size: 17px; line-height: 1.6; }

.demo-shot {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hero);
    background: var(--paper-2);
    max-height: 640px;
}

.demo-shot img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ---------- METRICS STRIP ---------- */
.metrics { padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.metric {
    padding: 0 28px;
    border-right: 1px solid var(--line);
}

.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; padding-right: 0; }

.metric-value {
    font-family: var(--font-serif);
    font-size: clamp(40px, 4.5vw, 60px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
    font-variation-settings: "opsz" 144;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 13.5px;
    color: var(--mute);
    line-height: 1.4;
    max-width: 22ch;
}

/* ---------- OUTPUT STRUCTURE ---------- */
.output { padding: 112px 0; }

.output-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: center;
}

.output-copy h2 { margin-bottom: 16px; }
.output-copy p { color: var(--mute); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }

.code-block {
    background: var(--ink);
    color: #E4E4E7;
    border-radius: 14px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    box-shadow: var(--shadow-card);
}

.code-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: #71717A;
    letter-spacing: 0.02em;
}

.code-head .dots { display: flex; gap: 6px; margin-right: 8px; }
.code-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }

.code-body {
    padding: 20px 22px;
    overflow-x: auto;
    color: #D4D4D8;
}

.code-body .folder  { color: #FDE68A; }
.code-body .file    { color: #D4D4D8; }
.code-body .comment { color: #71717A; font-style: italic; }

/* ---------- PRICING ---------- */
.pricing { padding: 112px 0; background: var(--paper-2); }

.price-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.price-card .eyebrow { color: var(--ink-2); }
.price-card h2 { margin-bottom: 24px; }
.price-value {
    font-family: var(--font-serif);
    font-size: clamp(56px, 6vw, 84px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 8px 0 4px;
    font-variation-settings: "opsz" 144;
}
.price-note { color: var(--mute); font-size: 14px; margin-bottom: 28px; }

.price-features {
    list-style: none;
    text-align: left;
    max-width: 340px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-features li {
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.price-features svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--positive);
    margin-top: 1px;
}

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }

.faq-head { margin-bottom: 56px; max-width: 640px; }
.faq-head h2 { margin-bottom: 14px; }
.faq-head p { color: var(--mute); font-size: 16.5px; line-height: 1.6; }

.faq-list { border-top: 1px solid var(--line); }

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

.faq-item details { padding: 24px 0; }

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
    width: 24px;
    height: 24px;
    color: var(--mute);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), color 0.2s;
}

.faq-item details[open] .faq-toggle { transform: rotate(45deg); color: var(--ink); }

.faq-item details > div {
    padding-top: 16px;
    color: var(--mute);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: var(--w-text);
}

.faq-item details > div a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- FINAL CTA ---------- */
.final-cta { padding: 140px 0; text-align: center; background: var(--ink); color: var(--paper); }

.final-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    max-width: 18ch;
    margin: 0 auto 20px;
    font-variation-settings: "opsz" 144;
}

.final-cta p { max-width: 44ch; margin: 0 auto 36px; color: #D4D4D8; font-size: 17px; line-height: 1.6; }

.final-cta .btn-primary {
    background: var(--paper);
    color: var(--ink);
}

.final-cta .btn-primary:hover { background: #FFFFFF; }

.final-cta .btn-ghost {
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.2);
}

.final-cta .btn-ghost:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: #A1A1AA;
    padding: 56px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-brand img { width: 22px; height: 22px; border-radius: 5px; }

.footer-links { display: flex; gap: 24px; font-size: 13px; }

.footer-links a { color: #A1A1AA; transition: color 0.2s; }

.footer-links a:hover { color: var(--paper); }

/* ---------- DOC PAGES (privacy / support) ---------- */
.doc-page { padding: 100px 0; min-height: 60vh; }
.doc-inner { max-width: var(--w-narrow); }

.doc-page h1 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 56px);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 16px;
    font-variation-settings: "opsz" 120;
}

.doc-page .doc-sub { color: var(--mute); font-size: 16.5px; margin-bottom: 48px; line-height: 1.5; }

.doc-page h3 {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-top: 32px;
    margin-bottom: 10px;
}

.doc-page p {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.7;
    max-width: var(--w-text);
    margin-bottom: 14px;
}

.doc-page a:not(.btn):not(.samples-link) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- SAMPLE FILES (reviewer helper on support page) ---------- */
.samples-section {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 32px 28px;
    margin: 0 0 64px;
}

.samples-heading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    font-variation-settings: "opsz" 96;
    color: var(--ink);
}

.samples-sub {
    color: var(--mute);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 60ch;
}

.samples-all {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.samples-hint {
    font-size: 13px;
    color: var(--mute);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.samples-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

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

.samples-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    color: var(--ink);
    transition: color 0.15s var(--ease);
}

.samples-link:hover { color: var(--ink-2); }
.samples-link:hover .samples-name { text-decoration: underline; text-underline-offset: 3px; }

.samples-name {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.samples-meta {
    font-size: 13px;
    color: var(--mute);
    text-align: right;
    line-height: 1.5;
}

.samples-fmt {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-strong);
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-right: 2px;
}

.samples-tip {
    margin-top: 20px;
    font-size: 14px;
    color: var(--mute);
    line-height: 1.6;
    max-width: 68ch;
}

.samples-tip code {
    font-family: var(--font-mono);
    font-size: 12.5px;
    background: var(--paper);
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid var(--line);
}

@media (max-width: 620px) {
    .samples-section { padding: 24px 20px; }
    .samples-link { flex-direction: column; align-items: flex-start; gap: 4px; }
    .samples-meta { text-align: left; }
}
.doc-page strong { color: var(--ink); font-weight: 600; }
.doc-page code { font-family: var(--font-mono); font-size: 14px; background: var(--paper-2); padding: 2px 6px; border-radius: 4px; }

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; }
    .hero-image img { transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-image { order: 2; max-height: 460px; }
    .hero-image img { max-height: 460px; }
    .hero-content { padding-top: 0; }
    .problem-grid { grid-template-columns: 1fr; gap: 40px; }
    .output-grid { grid-template-columns: 1fr; gap: 40px; }
    .benefit-row { grid-template-columns: 44px minmax(0, 1fr); gap: 24px; }
    .benefit-row .benefit-body { grid-column: 2; max-width: 100%; }
    .compat-inner { justify-content: flex-start; gap: 24px; }
    .compat-names { font-size: 18px; gap: 28px; }
    .demo-shot, .demo-shot img { max-height: 480px; }
}

@media (max-width: 720px) {
    .page { padding: 0 20px; }
    .nav { padding: 12px 20px; gap: 12px; }
    .nav-links { gap: 16px; }
    .nav-links a:not(.btn) { display: none; }

    .hero { padding: 48px 0 64px; }
    .hero h1 { font-size: 40px; }
    .hero-sub { font-size: 16.5px; }

    .problem, .compare, .benefits, .demo, .output, .pricing, .faq { padding: 72px 0; }
    .final-cta { padding: 96px 0; }

    .compare-row { grid-template-columns: 1.3fr 1fr 1fr; }
    .compare-row > div { padding: 14px 14px; font-size: 13px; }
    .compare-head-row > div { padding: 12px 14px; }

    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
    .metric { padding: 0 16px; }
    .metric:nth-child(2) { border-right: 0; padding-right: 0; }
    .metric:nth-child(3) { padding-left: 0; }

    .price-card { padding: 32px 24px; }
    .footer-row { flex-direction: column; align-items: flex-start; }
}
