@font-face {
  font-family: "RMF Grotesk";
  src: url("/fonts/space-grotesk-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RMF Mono";
  src: url("/fonts/ibm-plex-mono-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@media print {
  .site-theme {
    --display: "RMF Grotesk", sans-serif;
    --mono: "RMF Mono", monospace;
    font-family: var(--display);
  }
}

/* Screen-only overrides preserve the existing templates and printed reports. */
@media screen {
  html {
    scrollbar-gutter: stable;
  }

  .site-theme :is(.page-hero, .section, .site-footer, .final-cta) {
    animation: none;
    animation-timeline: auto;
    transform: none;
    translate: none;
    opacity: 1;
  }

  .site-theme {
    --ink: #f1f3ec;
    --text: #f1f3ec;
    --paper: #171c14;
    --paper-2: #11160e;
    --char: #0f150b;
    --surface: #11160e;
    --surface-soft: #171c14;
    --panel: #11160e;
    --muted: #a1ab97;
    --line: #2a3423;
    --acid: #ccff47;
    --ember-dark: var(--ember);
    --shadow: 0 24px 70px #0005;
    --display: "RMF Grotesk", sans-serif;
    --mono: "RMF Mono", monospace;
    --type-meta: .75rem;
    --type-support: .875rem;
    --type-body: 1rem;
    --type-control: .9375rem;
    --type-h1: clamp(2.375rem, 1.5rem + 3.5vw, 4.25rem);
    --type-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.5rem);
    --type-h3: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
    --type-price: clamp(2.5rem, 2rem + 1.4vw, 3.25rem);
    background: #090c08;
    color: var(--text);
    font-family: var(--display);
    font-size: var(--type-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
  }

  .site-theme ::selection { background: var(--acid); color: #11150d; }
  .site-theme :is(a, button, input, textarea, select, summary):focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 4px;
  }
  .site-theme :is(h1, h2, h3) { color: var(--text); font-weight: 500; text-wrap: balance; }
  .site-theme h1 { font-size: var(--type-h1); line-height: 1.06; letter-spacing: -.055em; }
  .site-theme h2 { font-size: var(--type-h2); line-height: 1.12; letter-spacing: -.045em; }
  .site-theme h3 { font-size: var(--type-h3); line-height: 1.4; letter-spacing: -.025em; }
  .site-theme p { font-size: var(--type-body); line-height: 1.65; }
  .site-theme strong, .site-theme b { font-weight: 600; }
  .site-theme .page-shell { width: min(1320px, calc(100% - 112px)); }
  .site-theme .section { margin-bottom: 100px; }
  .site-theme :is(.page-shell, main, section, article, form, fieldset) { min-width: 0; }

  .site-theme :is(.site-header, .dashboard-topbar) {
    min-height: 100px;
    gap: 30px;
    margin: 0 0 56px;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #090c08;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
  }
  .site-theme .site-header { position: relative; top: 0; }
  .site-theme .dashboard-topbar { top: 0; }
  .site-theme :is(.brand, .dashboard-brand) {
    gap: 10px;
    color: var(--text);
    font-size: var(--type-h3);
    font-weight: 600;
    letter-spacing: -.04em;
    white-space: nowrap;
  }
  .site-theme .brand-mark { width: 42px; height: 42px; border-radius: 0; }
  .site-theme .brand span:last-child { display: inline; }
  .site-theme .nav-links { gap: 32px; color: #a7ad9f; font-size: var(--type-control); font-weight: 400; }
  .site-theme .header-actions { gap: 26px; }
  .site-theme .nav-actions { display: flex; align-items: center; gap: 26px; font-size: var(--type-control); }
  .site-theme .nav-actions .text-link:hover { color: var(--ember); }
  .site-theme .nav-login { padding: 0; color: var(--text); font-size: var(--type-control); font-weight: 400; }
  .site-theme :is(.nav-links a, .nav-login, .footer-column a, .footer-email) { transition: color 180ms ease; }
  .site-theme :is(.nav-links a, .nav-login, .footer-column a, .footer-email):is(:hover, :focus-visible) { color: var(--ember); transform: none; }

  .site-theme :is(.nav-cta, .flow-card button, .stripe-button, .running-board a,
    .dashboard-hero a, .dashboard-card a, .plan-bottom-cta button,
    .persona-submit-bar button, .summary-edit-button, .article-cta a, .final-cta a,
    .success-actions a, .dashboard-mini-link, .button) {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 22px;
    border: 1px solid var(--acid);
    border-radius: 5px;
    background: var(--acid);
    box-shadow: none;
    color: #11150d;
    font-family: var(--display);
    font-size: var(--type-control);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    text-align: center;
    transform: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }
  .site-theme :is(.nav-cta, .flow-card button, .stripe-button, .running-board a,
    .dashboard-hero a, .dashboard-card a, .plan-bottom-cta button,
    .persona-submit-bar button, .summary-edit-button, .final-cta a)::after { display: none; }
  .site-theme :is(.nav-cta, .flow-card button, .stripe-button, .running-board a,
    .dashboard-hero a, .dashboard-card a, .plan-bottom-cta button,
    .persona-submit-bar button, .summary-edit-button, .article-cta a, .final-cta a,
    .success-actions a, .dashboard-mini-link, .button):is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]) {
    border-color: var(--ember);
    background: var(--ember);
    box-shadow: none;
    color: #11150d;
    transform: none;
  }
  .site-theme :is(button:disabled, a[aria-disabled="true"]) { cursor: not-allowed; opacity: .55; }
  .site-theme :is(.secondary-action, .summary-edit-button, .dashboard-mini-link) {
    border-color: #485a36;
    background: transparent;
    color: var(--text);
    box-shadow: none;
  }
  .site-theme :is(.dashboard-card, .running-board, .final-cta-actions) .secondary-action {
    border-color: #485a36;
    background: transparent;
    color: var(--text);
    box-shadow: none;
  }

  .site-theme :is(.mobile-nav-menu summary, .dashboard-menu summary) {
    width: 40px;
    height: 40px;
    border: 1px solid #39442d;
    border-radius: 5px;
    background: #171f11;
    box-shadow: none;
    transform: none;
  }
  .site-theme :is(.mobile-nav-menu summary span, .dashboard-menu summary span) { height: 1px; background: #d8e9bf; }
  .site-theme :is(.mobile-nav-menu nav, .dashboard-menu nav) {
    max-width: calc(100vw - 40px);
    padding: 12px;
    border: 1px solid #3d4c2f;
    border-radius: 7px;
    background: #131b0e;
    box-shadow: 0 15px 50px #0009;
    backdrop-filter: none;
  }
  .site-theme :is(.mobile-nav-menu nav a, .dashboard-menu nav a) {
    border-radius: 3px;
    color: #d5dfca;
    font-size: var(--type-control);
    font-weight: 400;
  }
  .site-theme :is(.mobile-nav-menu nav a, .dashboard-menu nav a):hover { background: var(--surface-soft); color: var(--ember); }
  .site-theme .mobile-nav-actions .mobile-nav-cta { border: 0; background: var(--acid); color: #11150d; box-shadow: none; }
  .homepage .mobile-nav-menu nav a:is(:hover, :focus-visible) { background: transparent; color: var(--ember); }
  :is(.homepage, .site-theme) .mobile-nav-actions .mobile-nav-cta:is(:hover, :focus-visible) { border-color: var(--ember); background: var(--ember); color: #11150d; }
  :is(.homepage, .site-theme) .footer-cookie-choices:is(:hover, :focus-visible) { color: var(--ember); }

  .site-theme .eyebrow {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--acid);
    font-family: var(--mono);
    font-size: var(--type-meta);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .08em;
  }
  .site-theme .eyebrow::before { width: 5px; height: 5px; flex: 0 0 5px; background: var(--acid); content: ""; }
  .site-theme .page-hero { margin-bottom: 64px; padding: 20px 0 10px; }
  .site-theme :is(.page-hero, .blog-hero, .article-hero, .legal-page, .magic-link-card, .error-card) h1 { font-size: var(--type-h1); line-height: 1.06; letter-spacing: -.055em; }
  .site-theme :is(.page-hero, .blog-hero, .article-hero, .dashboard-hero, .success-panel) p:not(.eyebrow):not(.form-note) {
    color: #a1ab97;
    font-size: clamp(1rem, .975rem + .1vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.65;
  }
  .site-theme :is(.flow-layout > .page-hero, .auth-layout > .page-hero, .flow-layout > .flow-card, .auth-layout > .flow-card) { animation: none; }

  .site-theme :is(.process-board article, .insight-list article, .sample-score,
    .faq-grid article, .plan-detail-card, .plan-bottom-cta, .comparison-card,
    .comparison-grid article, .selected-persona-grid article, .persona-depth-section,
    .persona-depth-grid article, .persona-profile-preview, .profile-card,
    .copy-grid article, .objection-table, .after-purchase, .legal-page,
    .blog-hero > div, .blog-hero aside, .blog-card, .article-hero,
    .article-featured-card, .table-of-contents, .article-page article section,
    .author-box, .dashboard-card, .flow-card, .stripe-panel, .order-summary,
    .running-board, .success-panel, .choose-for-me-card, .manual-choice-card,
    .persona-option, .persona-submit-bar, .report-card, .pipeline-card, .persona-card,
    .implementation-grid article, .error-card) {
    border: 1px solid #2d3825;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: none;
    color: var(--text);
    animation: none;
  }
  .site-theme :is(.process-board article, .insight-list article, .faq-grid article,
    .report-card, .pipeline-card, .persona-card):hover { box-shadow: none; translate: none; }
  .site-theme :is(.process-board, .insight-list, .sample-score, .faq-grid,
    .plan-bottom-cta, .selected-persona-grid, .persona-depth-section,
    .persona-profile-preview, .copy-grid, .comparison-card, .plan-detail-card,
    .legal-page, .persona-snapshot-card, .sample-overview-card, .dashboard-card,
    .order-summary, .running-board) p {
    color: #a9b39f;
    font-size: var(--type-body);
    line-height: 1.65;
  }
  .site-theme :is(.faq-grid, .process-board, .plan-detail-card, .comparison-card,
    .persona-depth-section, .persona-profile-preview, .dashboard-card, .report-row,
    .table-of-contents, .author-box) h2 { font-size: var(--type-h3); line-height: 1.4; letter-spacing: -.025em; }
  .site-theme .process-board article { min-height: 300px; padding: 28px; }
  .site-theme .process-board span { width: auto; height: auto; border: 0; background: transparent; color: var(--acid); font-family: var(--mono); font-size: var(--type-support); font-weight: 400; }
  .site-theme .insight-list strong { color: var(--text); font-size: var(--type-h3); font-weight: 500; }
  .site-theme .insight-card-link:hover strong { color: var(--ember); }
  .site-theme .section-heading { margin-bottom: 36px; }

  .site-theme :is(.final-cta, .article-page article section.article-cta, .after-purchase, .plan-bottom-cta) {
    border: 1px solid #3d5029;
    border-radius: 10px;
    background: radial-gradient(ellipse at 50% 120%, #ccff471a, transparent 65%), #0f150b !important;
    box-shadow: none;
    color: var(--text);
  }
  .site-theme :is(.final-cta, .article-page article section.article-cta, .after-purchase, .plan-bottom-cta) h2 { color: var(--text); }
  .site-theme .final-cta { padding: clamp(36px, 6vw, 80px); }
  .site-theme .final-cta h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem); }
  .site-theme :is(.final-cta, .article-cta, .after-purchase) .eyebrow { background: transparent; color: var(--acid); }
  .site-theme :is(.final-cta, .article-cta, .after-purchase) .eyebrow::before { background: var(--ember); }
  .site-theme .final-cta .eyebrow { margin-inline: auto; }
  .site-theme .cta-proof-line { color: #a1ab97; font-size: var(--type-support); font-weight: 400; letter-spacing: 0; }

  .site-theme .pricing-cards { gap: 16px; }
  .site-theme .pricing-cards article {
    --plan-bg: #11160e;
    --plan-title: #f1f3ec;
    --plan-copy: #a9b39f;
    --plan-border: #323e28;
    --plan-rule: #35442a;
    --plan-button: transparent;
    --plan-button-text: #f1f3ec;
    position: relative;
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--plan-border);
    border-radius: 8px;
    background: var(--plan-bg) !important;
    box-shadow: none;
    color: var(--plan-title);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  }
  .site-theme .pricing-cards .featured-plan {
    --plan-bg: var(--acid);
    --plan-title: #152008;
    --plan-copy: #263a0d;
    --plan-border: var(--acid);
    --plan-rule: #a4cc38;
    --plan-button: #11190a;
    --plan-button-text: var(--acid);
    transform: none;
  }
  .site-theme .pricing-cards article:focus-within {
    --plan-bg: var(--ember);
    --plan-title: #17110e;
    --plan-copy: #3f2417;
    --plan-border: var(--ember);
    --plan-rule: #17110e33;
    --plan-button: #17110e;
    --plan-button-text: #fff8ec;
  }
  .site-theme :is(.sale-kicker, .checkout-sale-price small) {
    border: 1px solid var(--ember);
    border-radius: 3px;
    background: transparent;
    color: var(--ember);
    font-family: var(--mono);
    font-size: var(--type-meta);
    font-weight: 400;
    letter-spacing: .03em;
    box-shadow: none;
  }
  .site-theme .plan-label { color: #bed0ac; font-family: var(--mono); font-size: var(--type-meta); font-weight: 400; letter-spacing: .06em; }
  .site-theme .pricing-cards .plan-label { color: var(--plan-title); }
  .site-theme .pricing-cards strong { margin: 32px 0 20px; color: var(--plan-title); font-size: var(--type-price); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
  .site-theme .pricing-cards p:not(.sale-kicker) { min-height: 4.95em; color: var(--plan-copy); font-size: var(--type-body); line-height: 1.65; }
  .site-theme .pricing-cards .sale-kicker { position: absolute; top: 25px; right: 20px; max-width: 38%; margin: 0; padding: 6px; border: 1px solid var(--plan-rule); border-radius: 3px; background: transparent; color: var(--plan-copy) !important; font-size: var(--type-meta); font-weight: 400; line-height: 1.35; letter-spacing: 0; }
  .site-theme .sale-price s { order: 1; color: var(--plan-copy, #a9b39f); font-size: var(--type-h3); text-decoration-color: currentColor; }
  .site-theme .sale-price span { color: var(--plan-title, var(--text)); }
  .site-theme .pricing-inclusions { border-top: 1px solid var(--plan-rule, var(--line)); padding-top: 24px; }
  .site-theme .pricing-inclusions li { color: var(--plan-copy, #a9b39f); font-size: var(--type-control); font-weight: 400; line-height: 1.6; }
  .site-theme .pricing-inclusions li::before { color: var(--plan-title, var(--acid)); }
  .site-theme .pricing-cards a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 21px;
    border: 1px solid var(--plan-rule);
    border-radius: 5px;
    background: var(--plan-button);
    color: var(--plan-button-text);
    font-size: var(--type-control);
    font-weight: 600;
    box-shadow: none;
    transform: none;
  }
  .site-theme .pricing-cards a::after { position: static; background: none; font-size: 19px; content: "\2197" / ""; opacity: 1; transform: none; }
  .site-theme .pricing-cards article:hover { translate: none; box-shadow: none; }

  .site-theme .flow-card { gap: 20px; padding: 30px; }
  .site-theme .flow-card:focus-within { border-color: #526c38; translate: none; box-shadow: none; }
  .site-theme .featured-flow { background: radial-gradient(ellipse at 80% 0%, #ccff470c, transparent 70%), var(--panel); }
  .site-theme .flow-card :is(label, legend) { color: #b9c3ad; font-family: var(--mono); font-size: var(--type-support); font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; }
  .site-theme .flow-card label:focus-within { color: var(--text); }
  .site-theme .flow-card :is(input:not([type="radio"]):not([type="checkbox"]), textarea, select),
  .site-theme .summary-url-input {
    min-height: 48px;
    padding: 13px 15px;
    border: 1px solid #3b4431;
    border-radius: 5px;
    background: #171d13;
    color: var(--text);
    font-family: var(--display);
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: none;
  }
  .site-theme :is(input, textarea)::placeholder { color: #8b987d; }
  .site-theme .flow-card :is(input:not([type="radio"]):not([type="checkbox"]), textarea, select):focus {
    border-color: var(--acid);
    box-shadow: 0 0 0 3px #ccff4710;
  }
  .site-theme .flow-card :is(.plan-picker label, .buyer-picker label) {
    border: 1px solid #35432a;
    border-radius: 6px;
    background: #151c10;
    color: #adb9a1;
    font-family: var(--display);
    font-size: var(--type-support);
    font-weight: 400;
    box-shadow: none;
    transform: none;
  }
  .site-theme .plan-picker label:has(input:checked) { border-color: var(--acid); background: #ccff470a; box-shadow: none; }
  .site-theme .plan-picker label:hover { border-color: var(--ember); }
  .site-theme .plan-picker input { width: 22px; height: 22px; flex-basis: 22px; border: 1px solid #5f704e; background: #11160e; box-shadow: none; }
  .site-theme .plan-picker input:checked { border-color: var(--acid); background: var(--acid); box-shadow: inset 0 0 0 5px #11160e; animation: none; }
  .site-theme .plan-picker strong { color: var(--text); font-size: var(--type-body); font-weight: 500; }
  .site-theme input:is([type="checkbox"], [type="radio"]):not(.plan-picker input) { width: 18px; height: 18px; min-height: 0; margin-top: 4px; appearance: auto; accent-color: var(--acid); }
  .site-theme :is(.terms-note, .form-note, .optional-label, .checkout-verification-note) { color: #a1ab97; font-size: var(--type-support); font-weight: 400; line-height: 1.6; }
  .site-theme :is(.terms-note, .form-note) a { color: var(--ember-dark); font-weight: 500; }
  .site-theme .form-note.is-error { border-color: var(--ember); background: transparent; color: var(--ember); }
  .site-theme .form-note.is-warning { background: #ccff470a; color: #c1d69f; }
  .site-theme .price-display { color: var(--acid); font-size: var(--type-price); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; }
  .site-theme :is(.feature-list, .checkout-bullets) li { color: #adb9a1; font-size: var(--type-body); }
  .site-theme :is(.feature-list, .checkout-bullets) li::before { background: #29381b; color: var(--acid); }
  .site-theme .checkout-bullets { border-color: var(--line); border-radius: 5px; background: #151c10; }
  .site-theme .bottom-url-later-check { border-radius: 5px; background: #ccff470a; color: #c8d4bd; font-weight: 400; }

  .site-theme :is(.choose-for-me-card, .manual-choice-card, .persona-option) { transform: none; transition: border-color 180ms ease, background-color 180ms ease; }
  .site-theme :is(.choose-for-me-card, .manual-choice-card).is-selected,
  .site-theme .persona-option:has(input:checked) { border-color: var(--acid); background: #18210f; }
  .site-theme :is(.choose-for-me-card, .manual-choice-card, .persona-option):hover { border-color: var(--ember); transform: none; }
  .site-theme :is(.choose-for-me-card, .manual-choice-card, .persona-option) strong { color: var(--text); font-size: var(--type-h3); font-weight: 500; }
  .site-theme :is(.choose-for-me-card, .manual-choice-card, .persona-option) :is(span, small) { color: #adb9a1; }
  .site-theme .persona-option em { border: 1px solid #3b4d2c; border-radius: 3px; background: #1c2714; color: var(--acid); font-size: var(--type-meta); font-weight: 400; }
  .site-theme .persona-option small { font-size: var(--type-support); }
  .site-theme .persona-option small b { color: var(--text); font-weight: 500; }
  .site-theme .persona-filter-chips button { border-color: #35432a; border-radius: 4px; background: #151c10; color: #adb9a1; font-size: var(--type-meta); font-weight: 400; letter-spacing: 0; box-shadow: none; transform: none; }
  .site-theme .persona-filter-chips button.is-active { border-color: var(--acid); background: var(--acid); color: #11150d; }
  .site-theme .persona-filter-chips button:hover { border-color: var(--ember); background: var(--surface-soft); color: var(--ember); }
  .site-theme :is(.persona-filter-note, .persona-submit-bar p small) { color: #a1ab97; font-size: var(--type-support); font-weight: 400; }
  .site-theme .persona-submit-bar { background: #11160ef5; backdrop-filter: blur(16px); }
  .site-theme .persona-submit-bar p { color: #c8d4bd; font-weight: 400; }

  .site-theme :is(.sample-score, .persona-profile-preview, .persona-depth-section, .latest-report-card, .upgrade-card, .comparison-card, .accent-card) {
    background: radial-gradient(ellipse at 90% 0%, #ccff470b, transparent 65%), var(--panel);
  }
  .site-theme .sample-score { top: 24px; }
  .site-theme .sample-score > strong { font-family: var(--display); font-size: clamp(3.5rem, 2.75rem + 2vw, 4.5rem); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
  .site-theme :is(.sample-meta div, .profile-card div, .report-summary-strip div, .dashboard-list li, .report-row) { border: 1px solid var(--line); border-radius: 5px; background: #151c10; color: #adb9a1; }
  .site-theme :is(.sample-meta dt, .profile-card dt, .report-summary-strip dt, .order-summary dt, .report-row-meta, .dashboard-copyright, .label) { color: #a1ab97; font-size: var(--type-meta); font-weight: 400; letter-spacing: .03em; }
  .site-theme :is(.sample-meta dd, .profile-card dd, .report-summary-strip dd, .order-summary dd) { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
  .site-theme .order-summary dd small { color: #a1ab97; font-size: var(--type-support); font-weight: 400; }
  .site-theme :is(.sample-overview-card, .copy-grid article:last-child, .comparison-grid article:last-child) { border-color: #495e31; background: #1b2612 !important; }
  .site-theme .comparison-grid article:first-child { background: #11160e; }
  .site-theme .sample-feed .agent-message { border: 1px solid #2d3825; border-radius: 6px; background: #11160e; box-shadow: none; color: var(--text); animation: none; }
  .site-theme .agent-message strong { color: var(--text); font-size: var(--type-support); font-weight: 500; }
  .site-theme .agent-message span { padding: 3px 5px; border: 1px solid #4a5838; border-radius: 2px; background: transparent; color: #bbd39b; font-size: var(--type-meta); font-weight: 400; }
  .site-theme :is(.agent-message.warning, .agent-message.danger) span { border-color: var(--ember); background: transparent; color: var(--ember); }
  .site-theme .agent-message p { color: #c0cbb3; font-family: var(--display); font-size: var(--type-body); font-weight: 400; line-height: 1.65; }
  .site-theme .score-meter { height: 3px; border-radius: 0; background: #2d3923; }
  .site-theme .score-meter span { border-radius: 0; background: var(--acid); }
  .site-theme .report-card li { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: #c0cbb3; font-size: var(--type-body); line-height: 1.65; }
  .site-theme :is(.priority, .priority.med, .priority.low) { border: 1px solid #526738; border-radius: 2px; background: #29381b; color: #c0db9d; font-size: var(--type-meta); font-weight: 400; }
  .site-theme .priority.high { border-color: var(--ember); background: transparent; color: var(--ember); }
  .site-theme .copy-grid p { color: #dce5d0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); font-weight: 400; line-height: 1.4; letter-spacing: -.025em; }
  .site-theme :is(.objection-table span, .persona-depth-grid span, .implementation-grid p) { color: #adb9a1; }
  .site-theme .objection-table strong { color: var(--ember); font-size: var(--type-support); font-weight: 400; }
  .site-theme .implementation-grid strong { color: var(--acid); font-size: var(--type-support); font-weight: 400; }
  .site-theme .status-pill { border: 1px solid #3b4d2c; border-radius: 3px; background: #1c2714; color: var(--acid); font-size: var(--type-meta); }
  .site-theme .latest-report-card.is-ready .status-pill { background: var(--acid); color: #11150d; }
  .site-theme .dashboard-card.is-locked { background: #11160e; }
  .site-theme .latest-report-card.is-locked .status-pill { border-color: var(--ember); background: transparent; color: var(--ember); }
  .site-theme :is(.mini-progress, .progress-track) { height: 5px; border: 0; border-radius: 0; background: #2d3923; }
  .site-theme :is(.mini-progress span, .progress-track span) { border-radius: 0; background: var(--acid); }
  .site-theme .report-progress { border: 1px solid var(--line); border-radius: 6px; background: #151c10; box-shadow: none; }
  .site-theme :is(.progress-topline span, .report-progress p, .run-steps small) { color: #a1ab97; font-size: var(--type-support); font-weight: 400; }
  .site-theme .progress-topline strong { color: var(--acid); font-size: var(--type-h3); }
  .site-theme .run-steps span { border: 1px solid var(--line); border-radius: 5px; background: #151c10; color: #b6c2aa; box-shadow: none; font-size: var(--type-support); font-weight: 400; }
  .site-theme .run-steps span.is-active { border-color: var(--acid); background: #ccff470a; color: var(--text); }
  .site-theme .run-steps span.is-complete { background: #1b2612; color: var(--acid); }
  .site-theme .order-summary > strong { color: var(--text); font-size: var(--type-price); font-weight: 500; }
  .site-theme .checkout-sale-price :is(s, small) { color: #a1ab97; font-weight: 400; }
  .site-theme .checkout-sale-price :is(span, b) { color: var(--acid); }
  .site-theme .summary-url-edit { border-color: #485a36; border-radius: 4px; background: #1c2714; color: var(--acid); box-shadow: none; }
  .site-theme .summary-url-edit:hover { background: var(--ember); color: #11150d; }
  .site-theme .summary-url-card.is-attention { border-color: var(--ember); background: var(--surface-soft); }

  .site-theme .blog-hero > div { background: radial-gradient(ellipse at 90% 0%, #ccff470b, transparent 65%), var(--panel); }
  .site-theme .blog-hero aside { background: #151d0f; }
  .site-theme .blog-hero aside :is(span, strong) { color: var(--acid); }
  .site-theme .blog-hero aside strong { font-size: var(--type-h2); font-weight: 500; line-height: 1.12; }
  .site-theme .blog-topic-list li { border: 1px solid #35432a; border-radius: 4px; background: transparent; color: #c0cbb3; box-shadow: none; font-size: var(--type-meta); font-weight: 400; letter-spacing: 0; }
  .site-theme :is(.blog-meta, .article-byline, .breadcrumbs) { color: #a1ab97; font-size: var(--type-meta); font-weight: 400; letter-spacing: .02em; line-height: 1.65; }
  .site-theme .breadcrumbs a { color: #c8d4bd; }
  .site-theme .blog-card-art { min-height: 180px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 15%, #ccff4718, transparent 70%), #151d0f; color: var(--acid); }
  .site-theme .blog-card-art span { font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); font-weight: 500; line-height: 1.1; letter-spacing: -.055em; }
  .site-theme .blog-card-art small { color: #a1b48d; font-size: var(--type-meta); font-weight: 400; }
  .site-theme .blog-card:is(:hover, :focus-within) { border-color: var(--ember); }
  .site-theme .blog-card:is(:hover, :focus-within) .read-more { border-color: var(--ember); color: var(--ember); }
  .site-theme .blog-card :is(h2, h3) { color: var(--text); font-size: var(--type-h3); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
  .site-theme .blog-card p { color: #a9b39f; font-size: var(--type-body); line-height: 1.65; }
  .site-theme .read-more { padding: 8px 0; border: 0; border-bottom: 1px solid #485a36; border-radius: 0; background: transparent; color: var(--acid); box-shadow: none; font-size: var(--type-control); font-weight: 500; }
  .site-theme .blog-card.is-planned .blog-card-art { background: #151910; color: #a1ab97; }
  .site-theme .article-hero { padding: clamp(28px, 5vw, 58px); background: radial-gradient(ellipse at 95% 0%, #ccff470b, transparent 65%), var(--panel); }
  .site-theme .article-hero h1 { font-size: clamp(2.375rem, 1.5rem + 3vw, 3.75rem); overflow-wrap: anywhere; }
  .site-theme .article-featured-card { background: #11160e; }
  .site-theme .article-featured-card div { border: 1px solid #3b4d2c; border-radius: 5px; background: #1c2714; color: var(--acid); }
  .site-theme .article-featured-card span { font-size: var(--type-price); font-weight: 500; }
  .site-theme .article-featured-card small { font-size: var(--type-meta); font-weight: 400; }
  .site-theme .article-featured-card p { color: #dce5d0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); font-weight: 400; line-height: 1.4; letter-spacing: -.025em; }
  .site-theme .table-of-contents a { color: #c0d2aa; font-weight: 400; }
  .site-theme .article-page article section h2 { color: var(--text); font-size: var(--type-h2); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
  .site-theme .article-page article section :is(p, li) { color: #b3bda9; font-size: var(--type-body); line-height: 1.75; }
  .site-theme .article-page article section.article-cta :is(h2, p, li) { color: var(--text); }
  .site-theme .article-example { border: 1px solid var(--line); border-radius: 5px; background: #171e12; }
  .site-theme .article-example p { font-weight: 400; letter-spacing: 0; }
  .site-theme .article-figure img { border: 1px solid var(--line); border-radius: 5px; box-shadow: none; }
  .site-theme .article-figure figcaption { color: #a1ab97; font-size: var(--type-support); }
  .site-theme .article-table-scroll { border: 1px solid var(--line); border-radius: 6px; background: #11160e; box-shadow: none; }
  .site-theme .article-diagnostic-table :is(th, td) { border-color: var(--line); color: #b3bda9; font-size: var(--type-support); line-height: 1.65; }
  .site-theme .article-diagnostic-table th { background: #1b2612; color: #dce5d0; font-size: var(--type-meta); font-weight: 400; }
  .site-theme .article-diagnostic-table td:first-child { color: #dce5d0; font-weight: 500; }
  .site-theme .article-page .run-steps span { border: 1px solid var(--line); background: #151c10; color: #c0cbb3; box-shadow: none; }
  .site-theme .author-box { background: #11160e; }
  .site-theme .author-box p { color: #a9b39f; font-size: var(--type-body); font-weight: 400; }
  .site-theme .author-avatar:not(img) { border: 1px solid #3b4d2c; background: #1c2714; color: var(--acid); box-shadow: none; font-weight: 500; }

  .site-theme .legal-page { max-width: 900px; overflow-wrap: anywhere; }
  .site-theme .legal-page h2 { color: var(--text); font-size: var(--type-h3); line-height: 1.4; }
  .site-theme .legal-page :is(p, li) { color: #b3bda9; font-size: var(--type-body); line-height: 1.75; }
  .site-theme .legal-page section { border-color: var(--line); border-radius: 6px; background: #151c10; }
  .site-theme .legal-page a { color: #c0d2aa; font-weight: 400; text-decoration-thickness: 1px; }
  .site-theme .legal-page a:hover { color: var(--ember); }
  .site-theme .legal-policy-nav { border-color: var(--line); border-radius: 6px; background: #151c10; }
  .site-theme .legal-policy-nav a { border-color: #35432a; border-radius: 4px; background: transparent; color: #c0cbb3; font-size: var(--type-meta); font-weight: 400; }
  .site-theme .legal-policy-nav a:hover { background: var(--surface-soft); color: var(--ember); }
  .site-theme .legal-updated { color: #a1ab97; font-size: var(--type-meta); font-weight: 400; }

  .site-theme .site-footer {
    grid-template-columns: 1.75fr 1fr 1fr 1fr;
    gap: 50px;
    margin: 0;
    padding: 54px 0 24px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: #a1ab97;
    box-shadow: none;
    animation: none;
  }
  .site-theme .site-footer .footer-intro p { max-width: 250px; margin: 20px 0 15px; color: #a1ab97; font-size: var(--type-body); line-height: 1.65; }
  .site-theme .footer-email { color: #d3e0c5; font-size: var(--type-support); font-weight: 400; }
  .site-theme .footer-column h2 { margin-bottom: 23px; color: #e1e9d8; font-family: var(--mono); font-size: var(--type-meta); font-weight: 400; letter-spacing: .03em; }
  .site-theme .site-footer nav { gap: 14px; }
  .site-theme .site-footer nav a { width: fit-content; color: #a1ab97; font-size: var(--type-support); font-weight: 400; line-height: 1.4; }
  .site-theme .footer-cookie-choices { color: #a1ab97; font-family: var(--display); font-size: var(--type-support); font-weight: 400; line-height: 1.4; }
  .site-theme .footer-meta { gap: 24px; margin-top: 24px; padding-top: 24px; border-color: var(--line); color: #a1ab97; font-family: var(--mono); font-size: var(--type-meta); font-weight: 400; }
  .site-theme .error-shell { background: radial-gradient(ellipse at 80% 10%, #ccff470c, transparent 65%), #090c08; }
  .site-theme .error-card h1 { max-width: 16ch; }
  .site-theme .error-card::after { color: #ccff4708; font-weight: 400; }

  /* Viewer controls share the site palette without recoloring the printable document. */
  .pdf-report-body { background: #090c08; }
  .pdf-toolbar { border: 1px solid #2d3825; border-radius: 8px; background: #11160e; color: #f1f3ec; font-family: "RMF Grotesk", sans-serif; }
  .pdf-toolbar .brand { color: #f1f3ec; font-weight: 600; }
  .pdf-toolbar-actions p { color: #a1ab97; font-size: .875rem; line-height: 1.6; }
  .pdf-toolbar :is(button, .pdf-dashboard-link) { border: 1px solid #ccff47; border-radius: 5px; background: #ccff47; color: #11150d; box-shadow: none; font-size: .9375rem; font-weight: 600; }
  .pdf-toolbar :is(button, .pdf-dashboard-link):is(:hover, :focus-visible) { border-color: var(--ember); background: var(--ember); color: #11150d; }

  /* Shared overlays also appear on the homepage, independently of page layout. */
  :is(.consent-banner, .toast-region, #cc-main) {
    --display: "RMF Grotesk", sans-serif;
    --mono: "RMF Mono", monospace;
    --ink: #f1f3ec;
    --paper: #171c14;
    --paper-2: #11160e;
    --muted: #a9b39f;
    --acid: #ccff47;
    --ember-dark: var(--ember);
    font-family: var(--display);
    color-scheme: dark;
  }
  .consent-banner { border: 1px solid #3d4c2f; border-radius: 8px; background: #11160e; box-shadow: 0 18px 64px #0008; }
  .consent-copy h2 { color: #f1f3ec; font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
  .consent-copy p:not(.eyebrow) { color: #a9b39f; font-size: .875rem; line-height: 1.6; }
  .consent-copy a { color: var(--ember); font-size: .75rem; font-weight: 400; }
  :is(.consent-primary, .consent-secondary, .consent-close) { border: 1px solid #485a36; border-radius: 5px; box-shadow: none; font-weight: 500; }
  .consent-primary { border-color: #ccff47; background: #ccff47; color: #11150d; }
  .consent-secondary { background: #171c14; color: #f1f3ec; }
  .consent-close { background: #171c14; color: #f1f3ec; }
  :is(.consent-primary, .consent-secondary, .consent-close):hover { border-color: var(--ember); background: var(--ember); color: #11150d; box-shadow: none; transform: none; }
  .toast-message { border: 1px solid #485a36; border-radius: 6px; background: #182010; color: #f1f3ec; box-shadow: 0 14px 40px #0006; font-family: var(--display); font-size: .875rem; font-weight: 400; }
  .toast-message.is-error { border-color: var(--ember); background: #11160e; color: var(--ember); }
  #cc-main {
    --cc-font-family: "RMF Grotesk", sans-serif;
    --cc-modal-border-radius: 8px;
    --cc-btn-border-radius: 5px;
    --cc-bg: #11160e;
    --cc-primary-color: #f1f3ec;
    --cc-secondary-color: #a9b39f;
    --cc-btn-primary-bg: #ccff47;
    --cc-btn-primary-color: #11150d;
    --cc-btn-primary-border-color: #ccff47;
    --cc-btn-primary-hover-bg: var(--ember);
    --cc-btn-primary-hover-color: #11150d;
    --cc-btn-primary-hover-border-color: var(--ember);
    --cc-btn-secondary-bg: #171c14;
    --cc-btn-secondary-color: #f1f3ec;
    --cc-btn-secondary-border-color: #485a36;
    --cc-btn-secondary-hover-bg: #171c14;
    --cc-btn-secondary-hover-color: var(--ember);
    --cc-btn-secondary-hover-border-color: var(--ember);
    --cc-link-color: var(--ember);
    --cc-separator-border-color: #2a3423;
    --cc-toggle-on-bg: #ccff47;
    --cc-toggle-off-bg: #4a5838;
    --cc-toggle-on-knob-bg: #11150d;
    --cc-cookie-category-block-bg: #171d13;
    --cc-cookie-category-block-border: #2a3423;
    --cc-cookie-category-block-hover-bg: #1b2612;
    --cc-cookie-category-block-hover-border: #485a36;
    --cc-footer-bg: #0e130b;
    --cc-footer-border-color: #2a3423;
  }
  #cc-main :is(.cm, .pm) { border: 1px solid #3d4c2f; border-radius: 8px; background: #11160e; box-shadow: 0 24px 80px #0009; }
  #cc-main :is(.cm__title, .pm__title) { color: #f1f3ec; font-family: var(--display); font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
  #cc-main :is(.cm__desc, .pm__section-desc) { font-size: .875rem; line-height: 1.6; }
  #cc-main :is(.cm__btn, .pm__btn) { min-height: 44px; border-width: 1px; font-family: var(--display); font-size: .875rem; font-weight: 500; }
  #cc-main :is(.cm__btn, .pm__btn):is(:first-child, :hover) { box-shadow: none; transform: none; }
  #cc-main .pm__close-btn:hover { box-shadow: none; transform: none; }
  #cc-main :is(.cm__link-group, .cm__footer, .pm__footer) { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: 0; }
  #cc-main .pm__section-title { font-weight: 500; }

  @media (hover: hover) and (pointer: fine) {
    .site-theme .pricing-cards article:hover {
      --plan-bg: var(--ember);
      --plan-title: #17110e;
      --plan-copy: #3f2417;
      --plan-border: var(--ember);
      --plan-rule: #17110e33;
      --plan-button: #17110e;
      --plan-button-text: #fff8ec;
    }
  }

  @media (max-width: 1100px) {
    .site-theme .page-shell { width: calc(100% - 64px); }
    .site-theme .nav-links { gap: 20px; }
    .site-theme .pricing-cards article { padding: 23px; }
    .site-theme .site-footer { gap: 30px; }
  }

  @media (max-width: 860px) {
    .site-theme :is(.nav-links, .header-actions) { display: none; }
    .site-theme .mobile-nav-menu { display: block; }
    .site-theme .site-header:has(.nav-actions) { flex-wrap: wrap; }
    .site-theme .site-header:has(.nav-actions) .mobile-nav-menu { margin-left: auto; }
    .site-theme .nav-actions { order: 1; flex-basis: 100%; justify-content: space-between; }
    .site-theme :is(.site-header, .dashboard-topbar) { margin-bottom: 36px; }
    .site-theme .section { margin-bottom: 72px; }
    .site-theme .pricing-cards { grid-template-columns: 1fr; width: 100%; max-width: 580px; margin-inline: auto; }
    .site-theme .pricing-cards p:not(.sale-kicker) { min-height: 0; }
    .site-theme :is(.flow-layout, .auth-layout, .plan-landing) { grid-template-columns: 1fr; }
    .site-theme .flow-card { width: 100%; }
    .site-theme .blog-hero { grid-template-columns: 1fr; }
    .site-theme .process-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-theme .site-footer { grid-template-columns: 1.3fr 1fr; }
  }

  @media (max-width: 560px) {
    .site-theme .page-shell { width: calc(100% - 40px); }
    .site-theme :is(.site-header, .dashboard-topbar) { min-height: 82px; gap: 14px; padding: 20px 0; }
    .site-theme .brand-mark { width: 30px; height: 30px; }
    .site-theme :is(.brand, .dashboard-brand) { gap: 8px; font-size: 1.125rem; }
    .site-theme .page-hero { margin-bottom: 36px; padding-top: 12px; }
    .site-theme :is(.flow-card, .order-summary, .magic-link-card, .success-panel) { padding: 24px; }
    .site-theme :is(.process-board, .faq-grid, .plan-detail-grid, .copy-grid, .selected-persona-grid, .blog-grid) { grid-template-columns: 1fr; }
    .site-theme .process-board article { min-height: 0; }
    .site-theme .featured-blog-card { grid-column: auto; }
    .site-theme .pricing-cards article { padding: 26px; }
    .site-theme .pricing-cards .sale-kicker { position: absolute; top: 23px; right: 18px; margin: 0; }
    .site-theme :is(.persona-submit-bar, .plan-bottom-cta) { gap: 16px; }
    .site-theme :is(.persona-submit-bar button, .plan-bottom-cta button) { min-width: 0; width: 100%; }
    .site-theme .objection-table div { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
    .site-theme .site-footer { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .site-theme .footer-intro { grid-column: 1 / -1; }
    .site-theme .footer-meta { flex-direction: column; gap: 8px; }
  }

  @media (max-width: 640px) {
    .pdf-toolbar { align-items: stretch; flex-direction: column; }
    .pdf-toolbar-actions { min-width: 0; flex-wrap: wrap; }
    .pdf-toolbar-actions p { flex-basis: 100%; max-width: none; text-align: left; }
    .pdf-toolbar-actions :is(button, .pdf-dashboard-link) { flex: 1; }
    .consent-banner { border-radius: 8px; }
    #cc-main .cm.cm--box { max-height: min(70vh, calc(var(--webview-height) - 56px)); border-radius: 8px; box-shadow: 0 18px 64px #0008; }
    #cc-main .cm.cm--box .cm__title { font-size: 1.125rem !important; line-height: 1.3 !important; }
    #cc-main .cm.cm--box .cm__desc { font-size: .875rem !important; line-height: 1.5 !important; }
    #cc-main .cm.cm--box .cm__btn { min-height: 44px !important; font-size: .8125rem !important; line-height: 1.3 !important; }
    #cc-main .cm.cm--box .cm__footer { font-size: .75rem !important; }
    #cc-main .cm.cm--box .cm__btn:first-child { box-shadow: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    .site-theme *, .site-theme *::before, .site-theme *::after { scroll-behavior: auto; animation-duration: .01ms; transition-duration: .01ms; }
  }
}
