/* ============================================================
   A1 — VibeCodeDoktor, edition 2026-08.
   Near-black canvas, one electric lime accent, Inter for text and
   JetBrains Mono for anything that names a file, a number or a
   label. Hairline borders, soft elevation, fast hovers.
   No gradient blobs, no glassmorphism, no emoji.

   Loaded last on every page: the token block below re-points the
   older stylesheets (styles.css) at the dark palette, so pages
   that were never rebuilt still speak the same language.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
    /* Native form controls (checkboxes, select arrows, scrollbars) follow this,
       so they render dark instead of punching white holes into the page. */
    color-scheme: dark;

    --bg: #090a0d;
    --bg2: #0c0e11;
    --surface: #101318;
    --surface2: #14181d;
    --line: rgba(255, 255, 255, .07);
    --line-strong: rgba(255, 255, 255, .13);
    --text: #eceef1;
    --muted: #9aa3ad;
    --muted2: #6d7580;
    --accent: #BFFF3C;
    --accent-soft: rgba(191, 255, 60, .12);
    --accent-line: rgba(191, 255, 60, .35);
    --ink-on-accent: #0b0d07;
    --warn: #ffab9d;
    --warn-line: rgba(255, 107, 94, .5);
    --warn-soft: rgba(255, 107, 94, .06);
    --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .7, .3, 1);

    /* Re-point the older stylesheet's palette at the dark one, so the
       checkout, the legal pages and the account area follow along. */
    --color-primary: #BFFF3C;
    --color-primary-dark: #a8e62f;
    --color-primary-light: #d2ff70;
    --color-primary-darker: #8fc522;
    --color-accent: #BFFF3C;
    --color-accent-light: #d2ff70;
    --color-accent-dark: #a8e62f;
    --color-accent-soft: rgba(191, 255, 60, .12);
    --color-border-soft: rgba(191, 255, 60, .35);
    --color-warning: #ffc35c;
    --color-error: #ff6b5e;
    --color-success: #BFFF3C;
    --color-success-dark: #a8e62f;
    --shadow-glow-green: 0 10px 25px -5px rgba(191, 255, 60, .18);
    --color-white: #eceef1;
    --color-bg: #090a0d;
    --color-bg-alt: #0c0e11;
    --color-bg-elevated: #101318;
    --color-bg-card: #101318;
    --color-bg-dark: #14181d;
    --color-bg-darker: #0c0e11;
    --color-text: #eceef1;
    --color-text-secondary: #9aa3ad;
    --color-text-light: #6d7580;
    --color-text-muted: #6d7580;
    --color-border: rgba(255, 255, 255, .07);
    --color-border-light: rgba(255, 255, 255, .13);
    --gradient-primary: #BFFF3C;
    --gradient-accent: #BFFF3C;
    --gradient-dark: #090a0d;
    --gradient-surface: #101318;
    --font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

    /* werkstatt.css tokens, for any page that still loads it */
    --w-paper: #090a0d;
    --w-paper-deep: #0c0e11;
    --w-card: #101318;
    --w-ink: #eceef1;
    --w-ink-soft: #9aa3ad;
    --w-ink-faint: #6d7580;
    --w-rule: rgba(255, 255, 255, .13);
    --w-rule-faint: rgba(255, 255, 255, .07);
    --w-seal: #BFFF3C;
    --w-seal-soft: rgba(191, 255, 60, .12);
    --w-seal-deep: #a8e62f;
    --w-serif: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --w-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --w-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html, body { overflow-x: clip; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    margin: 0;
}

body h1, body h2, body h3, body h4, body h5 {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--text);
    text-wrap: balance;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(191, 255, 60, .25); }

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.03em; }

/* ---------- focus / a11y ---------- */
a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-to-content {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 200;
    background: var(--accent);
    color: var(--ink-on-accent);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    transition: top 140ms var(--ease);
}
.skip-to-content:focus { top: 16px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
}

/* ---------- layout ---------- */
.container { max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 40px); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 9vw, 120px); }

.kicker {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
}

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; max-width: none; }
.section-head p b { color: var(--text); font-weight: 600; }

/* ---------- buttons ---------- */
.btn,
body .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    transition: transform 140ms var(--ease), background-color 140ms var(--ease),
                border-color 140ms var(--ease), box-shadow 140ms var(--ease), color 140ms var(--ease);
}

.btn-primary,
body .btn--primary,
body button[type="submit"].btn {
    background: var(--accent);
    color: var(--ink-on-accent);
    border-color: var(--accent);
    box-shadow: none;
}
.btn-primary:hover,
body .btn--primary:hover,
body button[type="submit"].btn:hover {
    background: #d2ff70;
    border-color: #d2ff70;
    color: var(--ink-on-accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(191, 255, 60, .16);
}

.btn-ghost,
body .btn--ghost,
body .btn--secondary,
body .btn--outline {
    background: rgba(255, 255, 255, .02);
    border-color: var(--line-strong);
    color: var(--text);
}
.btn-ghost:hover,
body .btn--ghost:hover,
body .btn--secondary:hover,
body .btn--outline:hover {
    border-color: var(--accent-line);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    transform: translateY(-1px);
}

.btn .mono-note { font-family: var(--mono); font-size: 12px; font-weight: 500; color: inherit; opacity: .75; }

/* ---------- nav ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(9, 10, 13, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}
.nav__container {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4.5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
}
.nav__logo,
.footer__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo-text {
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: 16px;
    color: var(--text);
}
/* The wordmark is one word. The older stylesheets set it in italic with a
   colour on the middle syllable and a gap around it; A1 wants it tight. */
.nav__logo-code,
.footer__logo-code {
    color: inherit;
    font-style: normal;
    margin: 0;
}
.nav__logo-mark {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 12px;
    color: var(--ink-on-accent);
    background: var(--accent);
    width: 26px; height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav__logo-doktor,
.footer__logo-doktor {
    color: var(--accent);
    font-style: normal;
    font-family: inherit;
    margin: 0;
}

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__link {
    position: relative;
    padding-block: 4px;
    font-size: 14px;
    color: var(--muted);
    transition: color 140ms var(--ease);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    height: 1px; width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 140ms var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--muted);
    transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.nav__lang:hover { border-color: var(--accent-line); color: var(--text); }
.nav__lang-current { color: var(--accent); font-weight: 600; }
.nav__lang-divider { color: var(--muted2); }

.nav__cta { padding: 9px 16px; font-size: 14px; }
/* The older stylesheet swaps the CTA to a blue gradient once the page is
   scrolled. In A1 the accent never changes colour. */
.nav--scrolled .nav__cta,
.nav--scrolled .nav__cta:hover {
    background: var(--accent);
    color: var(--ink-on-accent);
    box-shadow: none;
}
.nav--scrolled .nav__cta:hover { background: #d2ff70; }
.nav--scrolled { box-shadow: none; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px 4px;
}
.nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 140ms var(--ease), opacity 140ms var(--ease);
}
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--line);
        padding: 8px clamp(20px, 4.5vw, 40px) 24px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 140ms var(--ease), transform 140ms var(--ease);
    }
    .nav__menu.is-active { opacity: 1; transform: none; pointer-events: auto; }
    .nav__link { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
    .nav__link::after { display: none; }
    .nav__lang { align-self: flex-start; margin-top: 16px; }
    .nav__cta { margin-top: 16px; }
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    padding-top: clamp(140px, 16vw, 190px);
    padding-bottom: clamp(56px, 7vw, 90px);
    overflow: clip;
    background:
        radial-gradient(1px 1px at center, rgba(255, 255, 255, .035) 1px, transparent 1.5px) 0 0/26px 26px,
        var(--bg);
}
.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(720px 380px at 72% 12%, rgba(191, 255, 60, .075), transparent 62%),
        radial-gradient(560px 420px at 12% 88%, rgba(255, 255, 255, .03), transparent 60%);
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
body .hero h1 {
    font-size: clamp(2.45rem, 5.4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.04em;
    font-weight: 800;
    margin: 0 0 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.13rem);
    max-width: 52ch;
    margin: 0 0 30px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--muted2);
    max-width: none;
}
.hero-meta span { display: inline-flex; align-items: center; }
.hero-meta span:not(:last-child)::after { content: "·"; margin-inline: 12px; color: var(--muted2); }

/* hero report-header card */
.hcard {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    overflow: hidden;
}
.hcard-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface2);
}
.hcard-bar .chip {
    color: var(--accent);
    border: 1px solid var(--accent-line);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: .14em;
}
.hcard-body { padding: 22px 22px 24px; }
.hcard-title {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted2);
    margin: 0 0 6px;
}
.hcard-project { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; }
.meta-rows { border-top: 1px solid var(--line); margin: 0 0 18px; }
.meta-rows div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.meta-rows dt {
    color: var(--muted2);
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.meta-rows dd { color: var(--text); font-weight: 500; text-align: right; overflow-wrap: anywhere; margin: 0; }
.sev-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sev-pill {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 5px;
}
.sev-pill.major { background: var(--accent); color: var(--ink-on-accent); }
.sev-pill.minor { border: 1px solid var(--line-strong); color: var(--muted); }
.hcard-priority { border-top: 1px solid var(--line); padding-top: 16px; }
.hcard-priority .lbl {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted2);
    display: block;
    margin-bottom: 8px;
}
.hcard-priority a { display: block; }
.hcard-priority a b { display: block; font-size: 14.5px; font-weight: 600; }
.hcard-priority a code { display: block; font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 4px; }
.hcard-priority a .go {
    display: inline-block;
    margin-top: 6px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--muted);
    transition: color 140ms var(--ease);
}
.hcard-priority a:hover .go { color: var(--accent); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hcard { max-width: 520px; }
}

/* ---------- reveal ---------- */
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .d1 { transition-delay: 70ms; }
html.js .d2 { transition-delay: 140ms; }
html.js .d3 { transition-delay: 210ms; }

/* ---------- live report ---------- */
.live { background: var(--bg2); border-block: 1px solid var(--line); overflow: clip; }
.live .section-head { max-width: 760px; }
.report {
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: var(--bg);
    box-shadow: 0 50px 120px rgba(0, 0, 0, .5);
    overflow: hidden;
}
.report-chrome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 14px clamp(18px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    background: var(--surface2);
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.report-chrome .doc { display: inline-flex; align-items: center; gap: 10px; }
.report-chrome .doc .nav__logo-mark { width: 22px; height: 22px; font-size: 10.5px; border-radius: 5px; }
.report-chrome .chips { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.report-inner { padding: clamp(24px, 4vw, 56px); }

.sum-block { margin-bottom: clamp(8px, 1vw, 16px); }
.sum-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: clamp(20px, 3vw, 32px);
}
.sum-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.025em; margin: 0; }
.sum-head .sub {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted2);
}
.sum-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(18px, 3vw, 36px);
    align-items: start;
}
.meta-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 8px 20px 12px;
}
.roadmap { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.roadmap-head {
    padding: 13px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, .015);
    margin: 0;
}
.roadmap a {
    display: grid;
    grid-template-columns: 30px auto minmax(0, 1fr);
    gap: 4px 14px;
    align-items: baseline;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    transition: background-color 140ms var(--ease);
}
.roadmap a:last-child { border-bottom: 0; }
.roadmap a:hover { background: var(--surface2); }
.roadmap .rm-idx { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted2); }
.roadmap .rm-sev { justify-self: start; }
.roadmap .rm-title { font-weight: 600; font-size: 15px; letter-spacing: -.01em; grid-column: 3; }
.roadmap .rm-path { grid-column: 3; font-family: var(--mono); font-size: 12px; color: var(--accent); overflow-wrap: anywhere; }
.rm-sev {
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
}
.rm-sev.major { background: var(--accent); color: var(--ink-on-accent); }
.rm-sev.minor { border: 1px solid var(--line-strong); color: var(--muted); }
@media (max-width: 900px) { .sum-grid { grid-template-columns: 1fr; } }

/* findings */
.findings { margin-top: clamp(36px, 5vw, 56px); }
.findings-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted2);
    margin: 0 0 8px;
    max-width: none;
}
.findings-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.finding { border-top: 1px solid var(--line); padding-block: clamp(36px, 4.5vw, 60px); }
.finding:first-of-type { border-top: 0; }
.f-head { margin-bottom: clamp(22px, 3vw, 34px); }
.f-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.sev {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 5px;
}
.sev.major { background: var(--accent); color: var(--ink-on-accent); }
.sev.minor { border: 1px solid var(--line-strong); color: var(--muted); }
.fpath { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); overflow-wrap: anywhere; }
body .finding h3 {
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    max-width: 26ch;
    margin: 0;
}
.f-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: clamp(24px, 3.5vw, 52px);
    align-items: start;
}
.f-main { min-width: 0; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.f-side { min-width: 0; }
@media (min-width: 1101px) { .f-side { position: sticky; top: 88px; } }
@media (max-width: 1100px) { .f-grid { grid-template-columns: 1fr; } }

.part-label {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
}
.f-what p { color: var(--text); font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.65; max-width: 62ch; margin: 0; }
.f-ignore {
    border-left: 2px solid var(--warn-line);
    background: linear-gradient(90deg, var(--warn-soft), transparent 62%);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px 18px;
}
.f-ignore .part-label { color: var(--warn); margin-bottom: 8px; }
.f-ignore p { color: var(--muted); font-size: .98rem; line-height: 1.6; max-width: 60ch; margin: 0; }
.f-fix {
    border-left: 2px solid var(--accent);
    background: linear-gradient(90deg, rgba(191, 255, 60, .05), transparent 58%);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px 18px;
}
.f-fix .part-label { color: var(--accent); margin-bottom: 10px; }
.fixsteps { counter-reset: step; max-width: 60ch; list-style: none; margin: 0; padding: 0; }
.fixsteps li {
    counter-increment: step;
    position: relative;
    padding-left: 38px;
    font-size: .98rem;
    color: var(--text);
    line-height: 1.55;
}
.fixsteps li:not(:last-child) { margin-bottom: 10px; }
.fixsteps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0; top: 2px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--accent-line);
    border-radius: 4px;
    width: 24px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fixsteps code,
.step p code,
.faq-list .answer code {
    font-family: var(--mono);
    font-size: .86em;
    color: var(--text);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
}

/* prompt block */
.prompt { border: 1px solid var(--accent-line); border-radius: 10px; background: #0b0d10; overflow: hidden; }
.prompt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-bottom: 1px solid rgba(191, 255, 60, .16);
    background: rgba(191, 255, 60, .045);
}
.prompt-head .part-label { margin: 0; color: var(--accent); }
.copybtn {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent-line);
    border-radius: 6px;
    padding: 7px 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 140ms var(--ease), color 140ms var(--ease), border-color 140ms var(--ease);
}
.copybtn:hover { background: var(--accent-soft); }
.copybtn.copied { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.prompt pre {
    margin: 0;
    padding: 16px 18px;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.7;
    color: #dfe6ec;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* code excerpt card */
.codecard { border: 1px solid var(--line); border-radius: 10px; background: #0b0d10; overflow: hidden; }
.codecard-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface2);
}
.codecard-bar .fname { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.codecard-bar .ftag {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted2);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 3px 7px;
    flex-shrink: 0;
}
.codebody {
    padding: 12px 0;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.75;
    color: #ccd4db;
}
.cl { display: flex; gap: 0; padding: 0 16px; min-width: max-content; }
.cl::before {
    content: attr(data-l);
    color: var(--muted2);
    flex: 0 0 4ch;
    text-align: right;
    padding-right: 16px;
    user-select: none;
}
.cl .txt { white-space: pre; }
.cl.key { background: rgba(255, 99, 80, .09); }
.cl.key::before { color: var(--warn); }

/* lesson */
.f-lesson {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(191, 255, 60, .045), transparent 70%), var(--surface);
    border-radius: 10px;
    padding: 16px 20px 18px;
}
.f-lesson .part-label { color: var(--accent); margin-bottom: 8px; }
.f-lesson p { font-size: 1.02rem; color: var(--text); max-width: 60ch; line-height: 1.6; margin: 0; }

.report-note {
    border-top: 1px solid var(--line);
    margin-top: clamp(8px, 1vw, 16px);
    padding-top: clamp(28px, 3.5vw, 40px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}
.report-note p { color: var(--muted); font-size: .98rem; max-width: 58ch; margin: 0; }
.report-note p b { color: var(--text); font-weight: 600; }

/* ---------- pdf section ---------- */
.browser {
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    background: #171b21;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #4a5158; }
.urlbar {
    flex: 1;
    max-width: 340px;
    margin-inline: auto;
    font-family: var(--mono);
    font-size: 12px;
    color: #b8c0c9;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 6px 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browser-body { background: var(--bg); }
.browser-body img { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-body img:last-of-type { border-bottom: 0; }
figure { margin: 0; }
.pdf-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted2);
}
.pdf-caption b { color: var(--muted); font-weight: 500; }

/* ---------- process ---------- */
.process { background: var(--bg2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 28px); list-style: none; margin: 0; padding: 0; }
.step { border-top: 1px solid var(--line-strong); padding-top: 22px; transition: border-color 140ms var(--ease); }
.step:hover { border-top-color: var(--accent); }
.step .num {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .1em;
    display: block;
    margin-bottom: 14px;
}
body .step h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 14px; margin: 0; max-width: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 18px); }
.area {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 20px 18px;
    transition: border-color 140ms var(--ease), background-color 140ms var(--ease), transform 140ms var(--ease);
}
.area:hover { border-color: var(--accent-line); background: var(--surface2); transform: translateY(-2px); }
.area .idx {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted2);
    letter-spacing: .14em;
    display: block;
    margin-bottom: 14px;
}
body .area h3 { font-size: 1rem; margin: 0 0 6px; letter-spacing: -.01em; }
.area p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; max-width: none; }
@media (max-width: 1000px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .areas-grid { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { background: var(--bg2); border-block: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 26px); align-items: stretch; }
.price-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    padding: clamp(26px, 3vw, 38px);
    display: flex;
    flex-direction: column;
    transition: border-color 140ms var(--ease), transform 140ms var(--ease);
}
.price-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.price-card.featured {
    border-color: var(--accent-line);
    background: linear-gradient(180deg, rgba(191, 255, 60, .05), transparent 42%), var(--surface);
}
.price-card.featured:hover { border-color: rgba(191, 255, 60, .6); }
.price-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.price-name {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.price-flag {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-on-accent);
    background: var(--accent);
    padding: 4px 9px;
    border-radius: 4px;
}
.price-flag.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-strong); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.price .amount { font-size: clamp(2.6rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.price .cur { font-family: var(--mono); font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price-note { color: var(--muted2); font-size: 13px; margin: 0 0 24px; max-width: none; }
.price-note b { color: var(--muted); font-weight: 600; }
.feat { border-top: 1px solid var(--line); margin: 0 0 28px; flex: 1; list-style: none; padding: 0; }
.feat li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
.feat li::before { content: "+"; font-family: var(--mono); font-weight: 600; color: var(--accent); flex: 0 0 12px; }
.feat li strong { color: var(--text); font-weight: 600; }
.price-card .btn { width: 100%; }
.call-banner {
    margin-top: clamp(22px, 3vw, 30px);
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    padding: 22px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, .015);
}
.call-banner p { color: var(--muted); font-size: 14.5px; max-width: 56ch; margin: 0; }
.call-banner p b { color: var(--text); font-weight: 600; }
.call-banner .btn { flex-shrink: 0; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: -.01em;
    transition: color 140ms var(--ease);
    list-style: none;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 18px;
    color: var(--muted2);
    flex-shrink: 0;
    transition: transform 140ms var(--ease), color 140ms var(--ease);
}
.faq-list details[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq-list .answer { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; max-width: 64ch; }
.faq-list .answer a { color: var(--accent); font-weight: 600; }
.faq-list .answer a:hover { opacity: .75; }

/* ---------- final CTA ---------- */
.final {
    border-top: 1px solid var(--line);
    background: radial-gradient(600px 300px at 50% 0%, rgba(191, 255, 60, .07), transparent 65%), var(--bg);
    text-align: center;
}
body .final h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.035em; margin: 0 0 14px; }
.final p { color: var(--muted); max-width: 46ch; margin: 0 auto 30px; }
.final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- upload block ---------- */
.order {
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
}
.order__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    padding: 18px clamp(20px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
    background: var(--surface2);
}
body .order__head h3 { font-size: 1.15rem; margin: 0; letter-spacing: -.02em; }
.order__price {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}
.order__body { padding: clamp(20px, 3vw, 32px); }
.order__note { color: var(--muted2); font-size: 13px; line-height: 1.6; margin: 16px 0 0; max-width: 72ch; }
.order__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.order__note a:hover { color: var(--accent); }

.upload-flow__dropzone {
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .015);
    padding: clamp(28px, 5vw, 48px) 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
.upload-flow__dropzone:hover,
.upload-flow__dropzone.dragover {
    border-color: var(--accent-line);
    background: rgba(191, 255, 60, .04);
}
.upload-flow__dropzone svg { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--muted2); }
.upload-flow__dropzone:hover svg { color: var(--accent); }
.upload-flow__dropzone p { font-size: 15px; color: var(--text); margin: 0 0 8px; max-width: none; }
.upload-flow__dropzone p strong { color: var(--accent); font-weight: 600; }
.upload-flow__hint { font-family: var(--mono); font-size: 12px; color: var(--muted2); }

.upload-flow__progress-bar { margin-top: 20px; }
.upload-flow__progress-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}
.upload-flow__progress-fill { height: 100%; background: var(--accent); transition: width 200ms var(--ease); }
.upload-flow__progress-text {
    display: block;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
}
.upload-flow__results { margin-top: 24px; }
.hidden { display: none !important; }

/* the widgets analysis-viz.js and pricing-ui.js inject */
.analysis-results,
.analysis-results__card,
.pricing-panel__content,
.order-summary {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px;
    color: var(--text);
}
.analysis-results__loc-number,
.order-summary__total-value,
.order-summary__price { color: var(--accent) !important; font-family: var(--mono); }
.pricing-panel__overlay { background: rgba(5, 6, 8, .78) !important; }
.notification { background: var(--surface) !important; border: 1px solid var(--line-strong) !important; color: var(--text) !important; }

/* ---------- forms: contact + newsletter ---------- */
.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    padding: clamp(22px, 3vw, 32px);
}
.panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 20px;
}
body .panel__head h3 { font-size: 1.1rem; margin: 0; letter-spacing: -.02em; }
.panel__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); }
.panel p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; max-width: 52ch; }
.panel__mail { font-family: var(--mono); font-size: 12.5px; color: var(--muted2); margin-top: 14px; }

body input[type="text"],
body input[type="email"],
body input[type="password"],
body input[type="tel"],
body input[type="url"],
body input[type="number"],
body input[type="search"],
body input:not([type]),
body select,
body textarea {
    width: 100%;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    transition: border-color 140ms var(--ease), background-color 140ms var(--ease);
}
body input::placeholder,
body textarea::placeholder { color: var(--muted2); }
body input[type="text"]:focus,
body input[type="email"]:focus,
body input[type="password"]:focus,
body input[type="tel"]:focus,
body input[type="url"]:focus,
body input[type="number"]:focus,
body input[type="search"]:focus,
body input:not([type]):focus,
body select:focus,
body textarea:focus {
    border-color: var(--accent-line);
    background: rgba(255, 255, 255, .04);
}
body select option { background: var(--surface); color: var(--text); }
body textarea { resize: vertical; min-height: 130px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; }
.consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px; height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.consent span { color: var(--muted2); font-size: 12.5px; line-height: 1.55; }
.consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: var(--accent); }

.lead {
    margin-top: clamp(22px, 3vw, 30px);
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    padding: 24px 26px;
    background: rgba(255, 255, 255, .015);
}
body .lead h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lead > p { color: var(--muted); font-size: 14px; margin: 0 0 18px; max-width: 60ch; }
.lead__row { display: flex; flex-wrap: wrap; gap: 12px; }
.lead__row input { flex: 1 1 260px; }
.lead__row .btn { flex-shrink: 0; }
/* main.js rewrites this element's class list on submit, so the styling hangs
   off the class names it writes. */
.lead-capture__message { margin-top: 14px; font-size: 14px; color: var(--accent); }
.lead-capture__message--error { color: var(--warn); }

.contact-form--success { text-align: left; }
body .contact-form--success h3 { font-size: 1.1rem; margin: 0 0 8px; }
.contact-form--success p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- footer ---------- */
.footer, footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__container {
    max-width: 1160px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4.5vw, 40px);
}
.footer__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding-block: 44px;
}
.footer__brand p { color: var(--muted2); font-size: 13px; margin-top: 10px; max-width: 30ch; }
.footer__logo-text { font-weight: 700; font-size: 16px; letter-spacing: -.02em; color: var(--text); }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
body .footer__col h5 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted2);
    margin: 0 0 14px;
}
.footer__col a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    padding-block: 4px;
    transition: color 140ms var(--ease);
}
.footer__col a:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--line); background: var(--bg); }
.footer__bottom .footer__container {
    padding-block: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.footer__copy { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted2); }

/* The payment-status panel after checkout hard-codes pale success/error/pending
   backgrounds. Same states, dark surfaces, colour carried by the left rule. */
.payment-status,
.payment-status--loading,
.payment-status--success,
.payment-status--error,
.payment-status--pending {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}
.payment-status--success { border-left: 3px solid var(--accent); }
.payment-status--error { border-left: 3px solid var(--color-error); }
.payment-status--pending { border-left: 3px solid var(--color-warning); }
.payment-status--success .payment-status__icon,
.payment-status--success .payment-status__message { color: var(--accent); }
.payment-status--error .payment-status__icon,
.payment-status--error .payment-status__message { color: var(--color-error); }
.payment-status--pending .payment-status__icon,
.payment-status--pending .payment-status__message { color: var(--color-warning); }

/* The trader block on the checkout is a legal requirement, so it has to be
   comfortably readable rather than a faint footnote. */
.order-trader {
    margin-bottom: 1.25rem;
    background: var(--surface2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
}
.order-trader a { color: var(--accent); }

/* ---------- pages that were not rebuilt: checkout, legal, account ----------
   They keep their own markup and get the dark canvas through the tokens
   above. These rules fix what the old stylesheet hard-codes in light. */
.legal-page, .legal-content, .page-content, .checkout, .auth-card, .account,
.card, .section-card, .content-box {
    background: var(--surface);
    color: var(--text);
    border-color: var(--line);
}
.legal-page h1, .legal-page h2, .legal-page h3,
.legal-content h1, .legal-content h2, .legal-content h3 { color: var(--text); }
.legal-content a, .legal-page a, .page-content a { color: var(--accent); }
table { border-color: var(--line); }
th, td { border-color: var(--line); color: var(--text); }
hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
}
