/* The public website (criticalpathways.app) — every page links this file.
   Pages are built by scripts/marketing_site/build.py; see specs/website.md. */


  /* DSN-5 (specs/design-system.md, "The website"): light, on the app's
     design-system tokens — the app's blue as the main colour, signal yellow
     only for highlights. Fonts are the app's (Inter, self-hosted). */
  :root {
    --ink: var(--hub-surface);
    --surface: var(--hub-surface);
    --surface-2: var(--hub-surface-2);
    --band: #f6f8fc;
    --line: var(--hub-border);
    --blue: var(--hub-primary);
    --blue-bright: var(--hub-primary-text);
    --blue-wash: var(--hub-primary-wash);
    --text: var(--hub-text);
    --text-dim: var(--hub-text-dim);
    --text-faint: var(--hub-text-faint);
    --good: var(--hub-good);
    --warn: var(--hub-warn);
    --crit: var(--hub-crit);
    --signal: var(--hub-attention);
    --font-display: var(--hub-font);
    --font-body: var(--hub-font);
    --font-mono: var(--hub-font-mono);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 3px;
  }
  h1, h2, h3 { text-wrap: balance; margin: 0; }
  p { margin: 0; }
  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 20px; }
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    border-radius: var(--hub-radius);
    padding: 12px 20px;
    transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary {
    background: var(--blue);
    color: var(--hub-primary-on);
  }
  .btn-primary:hover { background: var(--hub-primary-hover); }
  .btn-primary .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--signal) 35%, transparent);
  }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
  }
  .btn-ghost:hover { border-color: var(--text-faint); }
  .btn-sm { padding: 8px 14px; font-size: 13px; }

  /* ---------- HERO ---------- */
  .hero {
    position: relative;
    padding: 76px 0 40px;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
    gap: 32px;
    align-items: center;
  }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
  }
  .eyebrow {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    color: var(--blue-bright);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before {
    content: "";
    width: 22px; height: 10px; flex: none;
    background:
      radial-gradient(circle at 5px 5px, var(--hub-surface) 2.5px, var(--blue) 2.6px, var(--blue) 4.5px, transparent 4.6px),
      linear-gradient(var(--blue), var(--blue)) 9px 4.5px / 13px 1.5px no-repeat;
  }
  h1.headline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: 0.001em;
    margin-top: 16px;
    text-transform: uppercase;
  }
  h1.headline em {
    font-style: normal;
    color: var(--blue-bright);
  }
  .sub {
    margin-top: 22px;
    max-width: 46ch;
    font-size: 17.5px;
    color: var(--text-dim);
  }
  .sub b { color: var(--text); font-weight: 600; }
  .cta-row {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .data-strip {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .data-strip-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .data-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .chip {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--text-dim);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 5px 9px;
    white-space: nowrap;
  }
  .chip b { color: var(--text); font-weight: 500; }
  .chip .ok { color: var(--good); }
  .chip .warn { color: var(--warn); }

  /* ---------- PROBLEM ---------- */
  .problem-section { border-bottom: 1px solid var(--line); }
  .problem-grid {
    display: grid;
    grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
    gap: 56px;
    align-items: start;
  }
  @media (max-width: 900px) {
    .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  }
  .problem-head h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 3.8vw, 42px);
    text-transform: uppercase;
    margin-top: 14px;
    line-height: 1.04;
  }
  .problem-head p {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-dim);
  }
  .problem-list { display: flex; flex-direction: column; }
  .problem-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .problem-item:first-child { border-top: none; padding-top: 0; }
  .problem-item .mark {
    flex: none;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--crit);
    margin-top: 7px;
  }
  .problem-item p { font-size: 15.5px; line-height: 1.55; }
  .problem-item p b { color: var(--text); font-weight: 600; }
  .problem-pivot {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 17px;
    font-weight: 600;
  }
  .problem-pivot b { color: var(--blue-bright); }

  /* ---------- SECTIONS ---------- */
  section { padding: 96px 0; }
  .section-head {
    max-width: 62ch;
    margin-bottom: 52px;
  }
  .section-head h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(30px, 4vw, 44px);
    text-transform: uppercase;
    margin-top: 14px;
    line-height: 1.02;
  }
  .section-head p {
    margin-top: 16px;
    font-size: 16.5px;
    color: var(--text-dim);
    max-width: 56ch;
  }

  .modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .module-card {
    background: var(--surface);
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 210px;
  }
  .module-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
  }
  .module-card p {
    font-size: 14.5px;
    color: var(--text-dim);
    flex: 1;
  }
  .module-data {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .module-data .pulse {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--good);
    flex: none;
  }
  .module-detail-btn {
    margin-top: 4px;
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
  }
  .module-detail-btn:hover { color: var(--blue-bright); }

  /* ---------- COMING SOON ---------- */
  .soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .soon-card {
    background: var(--ink);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .soon-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dim);
  }
  .soon-card p {
    font-size: 13.5px;
    color: var(--text-faint);
    flex: 1;
  }
  .soon-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    border: 1px dashed var(--line);
    border-radius: 3px;
    padding: 3px 7px;
  }

  /* ---------- SECURITY ---------- */
  .security-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .security-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .security-card {
    background: var(--surface);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .sec-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--blue-bright);
    text-transform: uppercase;
  }
  .security-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16.5px;
  }
  .security-card p {
    font-size: 14px;
    color: var(--text-dim);
  }

  /* ---------- DEMO CALLOUT ---------- */
  .demo-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .demo-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }
  @media (max-width: 860px) {
    .demo-panel { grid-template-columns: 1fr; }
  }
  .demo-copy .eyebrow { color: var(--blue-bright); }
  .demo-copy h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(28px, 3.6vw, 40px);
    text-transform: uppercase;
    margin-top: 14px;
    line-height: 1.03;
  }
  .demo-copy p {
    margin-top: 18px;
    font-size: 16px;
    color: var(--text-dim);
    max-width: 52ch;
  }
  .demo-copy .cta-row { margin-top: 26px; }
  .fine-print {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-faint);
    font-family: var(--font-mono);
  }
  .lineup-card {
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px;
    font-family: var(--font-mono);
    font-size: 12.5px;
  }
  .lineup-card .lc-head {
    display: flex;
    justify-content: space-between;
    color: var(--text-faint);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 10.5px;
    margin-bottom: 14px;
  }
  .lc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
  }
  .lc-row:first-of-type { border-top: none; }
  .lc-row b { color: var(--text); font-weight: 500; }
  .lc-status { display: flex; align-items: center; gap: 6px; }
  .lc-status .pulse { width: 5px; height: 5px; border-radius: 50%; }
  .s-ok .pulse { background: var(--good); } .s-ok { color: var(--good); }
  .s-warn .pulse { background: var(--warn); } .s-warn { color: var(--warn); }
  .s-crit .pulse { background: var(--crit); } .s-crit { color: var(--crit); }

  /* ---------- COMPLIANCE SPOTLIGHT ---------- */
  .compliance-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .compliance-shot-wrap {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  }
  .compliance-shot-wrap img { display: block; width: 100%; height: auto; }
  .compliance-caption {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    text-align: center;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 48px 0 56px;
  }
  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-brand-top {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .footer-brand-word {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.01em;
  }
  .footer-brand-text {
    font-size: 12.5px;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .footer-brand-text img {
    height: 28px;
    width: auto;
    display: block;
  }
  .footer-links {
    display: flex;
    gap: 22px;
    font-size: 13px;
  }
  .footer-links a { text-decoration: none; color: var(--text-dim); }
  .footer-links a:hover { color: var(--text); }
  .footer-copy a { color: inherit; }
  .footer-copy {
    font-size: 12px;
    color: var(--text-faint);
    font-family: var(--font-mono);
  }

  /* ===================== 2026-11-16 additions ===================== */
  body { overflow-x: hidden; }
  /* hero trust row */
  .trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .trust-pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; color: var(--text-dim);
  }
  .trust-pill b { color: var(--text); font-weight: 600; }
  .trust-pill .ic { width: 15px; height: 15px; flex: none; }
  .trust-pill.ai { border-color: color-mix(in srgb, var(--blue-bright) 45%, var(--line)); color: var(--text); }
  .spark { color: var(--blue-bright); }

  /* problem section: the heading follows you down the list */
  @media (min-width: 901px) { .problem-head { position: sticky; top: 110px; } }

  /* ---------- AI ASSISTANT ---------- */
  .ai-section {
    position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
    background:
      radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--blue-bright) 13%, transparent), transparent 70%),
      var(--ink);
  }
  .ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  @media (max-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
  .ai-section .section-head { margin-bottom: 28px; }
  .ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
  @media (max-width: 560px) { .ai-points { grid-template-columns: 1fr; } }
  .ai-point { background: var(--surface); padding: 18px 18px 16px; }
  .ai-point h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
  .ai-point p { margin-top: 6px; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
  .ai-point .num { font-family: var(--font-mono); font-size: 11px; color: var(--blue-bright); }
  .ai-kinds { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
  .ai-kinds span {
    font-family: var(--font-mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--line);
    background: var(--surface); color: var(--text-dim); border-radius: 4px;
  }
  .ai-kinds span.lead { color: var(--blue-bright); border-color: transparent; background: transparent; padding-left: 0; }

  .chat-mock {
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(10, 30, 80, .45), 0 0 0 1px color-mix(in srgb, var(--blue-bright) 10%, transparent);
    display: flex; flex-direction: column; height: 560px; max-width: 520px; margin-left: auto; width: 100%;
  }
  @media (max-width: 960px) { .chat-mock { margin: 0 auto; height: 540px; } }
  .chat-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
  .chat-top .chat-name { display: inline-flex; align-items: center; gap: 8px; }
  .chat-top .chat-name img { border-radius: 50%; }
  .chat-top .where { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); font-weight: 400; letter-spacing: .05em; }
  .chat-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 0; }
  .chat-body > :first-child { margin-top: auto; }
  .msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45;
         opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
  .msg.show { opacity: 1; transform: none; }
  .msg.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
  .msg.bot { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
  .msg.file { display: inline-flex; gap: 8px; align-items: center; }
  .msg.file .fname { font-family: var(--font-mono); font-size: 12px; }
  .msg .typing { display: inline-flex; gap: 4px; }
  .msg .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); animation: blink 1s infinite; }
  .msg .typing i:nth-child(2) { animation-delay: .15s; } .msg .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
  .import-card { align-self: stretch; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12px;
                 background: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
  .import-card.show { opacity: 1; transform: none; }
  .import-card .ic-head { font-weight: 600; font-size: 12.5px; }
  .import-card .ic-sum { color: var(--text-dim); font-size: 11.5px; margin-top: 2px; }
  .import-card table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 11.5px; }
  .import-card td { padding: 5px 4px; border-top: 1px solid var(--line); }
  .import-card td:last-child { text-align: right; }
  .st { font-size: 10px; padding: 2px 6px; border-radius: 5px; color: #fff; font-weight: 600; }
  .st.new { background: #16a34a; } .st.skip { background: #64748b; }
  .import-card .ic-actions { display: flex; gap: 6px; margin-top: 10px; }
  .import-card .ic-actions span { flex: 1; text-align: center; padding: 6px; border-radius: 6px; font-weight: 600; font-size: 11.5px; }
  .import-card .ic-confirm { background: var(--blue-bright); color: #fff; transition: box-shadow .3s; }
  .import-card .ic-confirm.pressed { box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue-bright) 35%, transparent); }
  .import-card .ic-cancel { border: 1px solid var(--line); color: var(--text-dim); }
  .import-card.done .ic-actions { display: none; }
  .import-card .ic-done { display: none; margin-top: 8px; color: var(--good); font-weight: 600; }
  .import-card.done .ic-done { display: block; }
  .chat-input { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
  .chat-input .clip { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 14px; }
  .chat-input .box { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; }
  .chat-input .send { background: var(--blue-bright); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
  .chat-caption { margin-top: 12px; font-size: 12px; color: var(--text-faint); text-align: center; font-family: var(--font-mono); }
  @media (min-width: 961px) { .chat-caption { text-align: right; max-width: 520px; margin-left: auto; } }

  /* AI trust block */
  .ai-trust { margin-top: 64px; border: 1px solid var(--line); background: var(--surface); position: relative; }
  .ai-trust[hidden] { display: none; }
  .ai-trust.opening { animation: trustIn .45s ease; }
  @keyframes trustIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .ai-trust-close { position: absolute; top: 14px; right: 14px; font: inherit; font-size: 12.5px; cursor: pointer;
                    background: transparent; color: var(--text-dim); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; }
  .ai-trust-close:hover { color: var(--text); border-color: var(--text-faint); }
  @media (prefers-reduced-motion: reduce) { .ai-trust.opening { animation: none; } }
  .ai-trust-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px 40px; padding: 28px 28px 24px; border-bottom: 1px solid var(--line); align-items: end; }
  @media (max-width: 860px) { .ai-trust-head { grid-template-columns: minmax(0, 1fr); } }
  .ai-trust-head h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1.02; display: flex; gap: 12px; align-items: center; }
  .ai-trust-head h3 svg { flex: none; }
  .ai-trust-head p { color: var(--text-dim); font-size: 15px; }
  .ai-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
  @media (max-width: 960px) { .ai-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .ai-trust-grid { grid-template-columns: minmax(0, 1fr); } }
  .ai-trust-item { background: var(--surface); padding: 22px 24px; }
  .ai-trust-item .sec-tag { display: block; margin-bottom: 8px; }
  .ai-trust-item h4 { margin: 0; font-size: 16px; font-weight: 600; }
  .ai-trust-item p { margin-top: 6px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }

  /* the 12th module card */
  .module-card.ai-card {
    background: linear-gradient(160deg, color-mix(in srgb, var(--blue-bright) 16%, var(--surface)), var(--surface) 70%);
  }
  .module-card.ai-card h3 { display: flex; align-items: center; gap: 8px; }
  .new-tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; padding: 2px 6px; border-radius: 4px;
             background: var(--blue-bright); color: #fff; font-weight: 600; }

  /* ---------- SCREENSHOT TOUR ---------- */
  .tour-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
  .tour-tab {
    font: inherit; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: var(--ink); color: var(--text-dim); position: relative; overflow: hidden;
  }
  .tour-tab.active { color: var(--text); border-color: var(--blue-bright); background: var(--blue-wash); }
  .tour-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-bright); }
  .tour-tab.active.running .bar { animation: tourbar 7s linear forwards; }
  @keyframes tourbar { to { width: 100%; } }
  .tour-stage { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .tour-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 40px; align-items: start; }
  .tour-copy h3 { grid-row: span 3; }
  .tour-copy p:first-of-type { margin-top: 0; }
  @media (max-width: 860px) { .tour-copy { grid-template-columns: 1fr; } .tour-copy h3 { grid-row: auto; } }
  .browser { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ink);
             box-shadow: 0 24px 60px -28px rgba(10, 30, 80, .45); }
  .browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
  .browser-bar .url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  @media (max-width: 640px) { .browser-bar .url + .url { display: none; } }
  .browser img { display: block; width: 100%; height: auto; aspect-ratio: 1456 / 829; object-fit: cover; object-position: top left; }
  .tour-copy h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1.05; }
  .tour-copy p { margin-top: 12px; color: var(--text-dim); font-size: 15px; }
  .tour-copy ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  .tour-copy li { font-size: 14px; color: var(--text-dim); padding-left: 18px; position: relative; }
  .tour-copy li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); }
  .tour-copy .real { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

  /* ---------- GETTING STARTED ---------- */
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  @media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
  .step { background: var(--surface); padding: 26px 24px; }
  .step .n { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--blue-bright); }
  .step h3 { font-family: var(--font-body); font-weight: 600; font-size: 18px; margin-top: 10px; }
  .step p { margin-top: 8px; font-size: 14.5px; color: var(--text-dim); }
  .plans { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
           border: 1px solid var(--line); background: var(--surface); padding: 28px; }
  @media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
  .plans h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1.05; }
  .plans > div > p { margin-top: 10px; color: var(--text-dim); font-size: 15px; }
  .plans .cta-row { margin-top: 20px; }
  .incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .incl li { display: flex; gap: 10px; font-size: 14.5px; }
  .incl li::before { content: "✓"; color: var(--good); font-weight: 700; }

  /* ---------- INTEGRATIONS (GTM-1) ---------- */
  /* separate cards, so a short last row doesn't leave a grey block */
  .int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
  .int-card { background: var(--ink); border: 1px solid var(--line); border-radius: var(--hub-radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
  .int-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; }
  .int-card p { font-size: 13.5px; color: var(--text-dim); }
  .int-card a { color: var(--blue-bright); font-weight: 600; text-decoration: none; }
  .int-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line);
              font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--blue-bright); background: var(--blue-wash); }
  .int-tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
             letter-spacing: 0.08em; padding: 3px 7px; border-radius: 3px; max-width: 55%; text-align: right; }
  .int-tag.live { color: var(--good); border: 1px solid currentColor; }
  .int-tag.soon { color: var(--text-faint); border: 1px dashed var(--line); }

  /* ---------- PRICING (GTM-1) ---------- */
  .price-main { margin-top: 10px; font-size: 16px; }
  .price-big { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--blue-bright); }
  .price-table { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 14px; }
  .price-table th, .price-table td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); }
  .price-table th { font-size: 12px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .price-table td:last-child, .price-table th:last-child { text-align: right; font-family: var(--font-mono); }
  .plans .price-note { margin-top: 10px; color: var(--text-dim); font-size: 13.5px; }

  /* ---------- LANGUAGE SWITCH (GTM-1) ---------- */
  .lang-switch { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-dim); }
  .lang-switch select { background: transparent; color: var(--text); border: 1px solid var(--line); padding: 4px 6px;
                        font: inherit; font-size: 13px; border-radius: 4px; }
  @media (max-width: 560px) {
    .lang-switch > span { display: none; }
    .lang-switch select { padding: 3px 2px; font-size: 12px; max-width: 74px; }
  }

  /* ---------- CONTACT ---------- */
  .contact-section { border-top: 1px solid var(--line); }
  .contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  @media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
  .contact-grid .section-head { margin-bottom: 0; }
  .contact-alt { margin-top: 26px; display: grid; gap: 12px; font-size: 14.5px; color: var(--text-dim); }
  .contact-alt a { color: var(--blue-bright); text-decoration: none; font-weight: 600; }
  .contact-form { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; }
  .contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } }
  .contact-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--text-dim); font-weight: 600; }
  .contact-form input, .contact-form textarea {
    font: inherit; font-size: 15px; color: var(--text); background: var(--ink); border: 1px solid var(--line);
    border-radius: 6px; padding: 11px 12px; width: 100%; font-weight: 400;
  }
  .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px var(--blue-wash); }
  .contact-form textarea { min-height: 110px; resize: vertical; }
  .contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .contact-form .form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .contact-form .form-note { font-size: 12px; color: var(--text-faint); }
  .contact-form .form-msg { font-size: 13.5px; }
  .contact-form .form-msg.err { color: var(--crit); }
  .contact-thanks { display: none; background: var(--surface); border: 1px solid var(--line); padding: 36px 28px; }
  .contact-thanks h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 30px; }
  .contact-thanks p { margin-top: 10px; color: var(--text-dim); }

  /* fade-in on scroll */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal, .msg, .import-card { opacity: 1 !important; transform: none !important; transition: none !important; }
    .tour-tab.active.running .bar { animation: none; }
  }

  @media (max-width: 1000px) { .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }

  /* small screens */
  .footer-links { flex-wrap: wrap; }
  @media (max-width: 480px) {
    .chat-mock { height: 500px; }
    .chat-top .where { display: none; }
  }
  @media (max-width: 640px) {
    section { padding: 68px 0; }
    .hero { padding-top: 48px; }
    .modal-body { padding: 16px 18px 24px; }
  }

  /* ---------- DSN-5: headings in Inter, sentence case ---------- */
  h1.headline, .section-head h2, .problem-section h2, .demo-copy h2, .tour-copy h3, .plans h3,
  .ai-trust-head h3, .contact-thanks h3, .compliance-section h2, .compliance-section h3 {
    text-transform: none; font-weight: 800; letter-spacing: -0.025em;
  }
  h1.headline { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; max-width: 18ch; margin-left: auto; margin-right: auto; }
  .section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
  .tour-copy h3, .plans h3, .ai-trust-head h3, .contact-thanks h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
  .step .n, .price-big { font-weight: 800; letter-spacing: -0.02em; }
  .brand-word { font-weight: 800; letter-spacing: -0.01em; }

  /* ---------- DSN-5: hero — the path from an order to a shipped part ---------- */
  .hero { padding: 72px 0 24px; text-align: center; background: var(--ink); }
  .hero .eyebrow, .hero .cta-row, .hero .trust-row { justify-content: center; }
  .hero .sub { margin-left: auto; margin-right: auto; max-width: 60ch; }
  .hero-path { position: relative; margin: 44px auto 0; max-width: 1240px; padding: 0 16px; }
  .hero-path img { display: block; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .path-labels { list-style: none; margin: 4px 0 0; padding: 0; position: relative; height: 44px; }
  .path-labels li { position: absolute; left: var(--x); transform: translateX(-50%); top: 0;
    font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; text-align: center; }
  .path-labels li span { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-faint); }
  .path-labels li.now::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
    background: var(--signal); margin: 0 auto 5px; }
  .hero .data-strip { margin: 28px auto 0; max-width: 980px; text-align: left; }
  @media (max-width: 700px) {
    .path-labels li { font-size: 11px; }
    .path-labels li span { display: none; }
  }

  /* ---------- DSN-5: how it works ---------- */
  .how-section { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  /* How it works (2026-12-01): one generated workshop scene with the six
     steps marked on it (labels in HTML so they translate), then one card per
     step with a real screen from the demo company. */
  .how-scene { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
               box-shadow: 0 30px 70px -40px rgba(10, 30, 80, .55); background: #f3f1ec; }
  .how-scene img { display: block; width: 100%; height: auto; }
  .how-marks { list-style: none; margin: 0; padding: 0; }
  .how-marks li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
                  display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px;
                  background: color-mix(in srgb, #fff 92%, transparent); box-shadow: 0 6px 18px -6px rgba(10, 30, 80, .45);
                  font-size: 13.5px; white-space: nowrap; }
  .how-marks .n, .how-cards .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
                                 background: var(--blue); color: var(--hub-primary-on); font-size: 12px; font-weight: 700; }
  .how-marks li.now { box-shadow: 0 0 0 3px var(--signal), 0 6px 18px -6px rgba(10, 30, 80, .45); }
  .how-marks li.now .n, .how-cards li.now .n { background: var(--signal); color: #1a1400; }
  @media (max-width: 760px) { .how-marks li { padding: 3px; } .how-marks b { display: none; } }
  .how-cards { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
  @media (max-width: 960px) { .how-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .how-cards { grid-template-columns: minmax(0, 1fr); } }
  .how-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--surface);
                 border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
  .how-cards a:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); transform: translateY(-2px); }
  .how-cards li.now a { border-color: color-mix(in srgb, var(--signal) 70%, var(--line)); }
  .how-cards img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 299; object-fit: cover; object-position: top left;
                   border-bottom: 1px solid var(--line); }
  .how-card-body { display: flex; gap: 12px; padding: 16px 18px 18px; }
  .how-card-body b { font-size: 16px; }
  .how-card-body p { margin-top: 4px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }

  /* =====================================================================
     Multi-page site (2026-11-30): top-nav tabs, page heroes, module pages,
     pricing. Same tokens and look as the one-page site it replaced.
     ===================================================================== */

  /* ---------- NAV: tabs ---------- */
  .skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: var(--surface); padding: 8px 12px; border-radius: 6px; }
  .skip:focus { left: 8px; }
  .nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ink) 90%, transparent);
         backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .nav-row { display: flex; align-items: center; gap: 20px; padding: 0 32px; max-width: 1320px; margin: 0 auto; height: 68px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
  .brand img { display: block; }
  .brand-word { font-family: var(--font-display); font-size: 21px; line-height: 1; white-space: nowrap; }
  .nav-tabs { display: flex; align-items: stretch; gap: 4px; height: 100%; flex: 1; min-width: 0; }
  .nav-tab { position: relative; display: flex; align-items: center; }
  .nav-tab > a { display: flex; align-items: center; gap: 5px; height: 100%; padding: 0 10px; text-decoration: none;
                 font-size: 14.5px; font-weight: 600; color: var(--text-dim); white-space: nowrap; border-bottom: 2px solid transparent; }
  .nav-tab > a:hover { color: var(--text); }
  .nav-tab > a[aria-current="page"] { color: var(--blue-bright); border-bottom-color: var(--blue); }
  .nav-tab .chev { transition: transform .15s ease; }
  .nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
  .nav-actions .btn { white-space: nowrap; }
  .nav-actions .btn-ghost { color: var(--text); }
  .menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 40px;
              align-items: center; justify-content: center; cursor: pointer; color: var(--text); }

  /* Modules mega-menu (desktop: hover or keyboard focus) */
  .mega { display: none; position: absolute; top: 100%; left: -16px; width: min(760px, 80vw); padding: 14px;
          background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
          box-shadow: 0 24px 48px -16px rgba(10, 30, 80, .28); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .nav-tab.has-menu:hover .mega, .nav-tab.has-menu:focus-within .mega { display: grid; }
  .nav-tab.has-menu:hover .chev, .nav-tab.has-menu:focus-within .chev { transform: rotate(180deg); }
  .mega a { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 8px; text-decoration: none; color: var(--text); }
  .mega a:hover, .mega a:focus-visible { background: var(--blue-wash); }
  .mega img { width: 44px; height: 30px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); flex: none; background: #fff; }
  .mega b { display: block; font-size: 13.5px; font-weight: 600; }
  .mega span { display: block; font-size: 12px; color: var(--text-faint); line-height: 1.35; margin-top: 2px; }
  .mega .mega-all { grid-column: 1 / -1; justify-content: center; font-size: 13px; font-weight: 600; color: var(--blue); border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; }

  /* Phone/tablet: tabs move into a menu panel (1280: Spanish labels are the longest) */
  @media (max-width: 1280px) {
    .nav-row { gap: 12px; padding: 0 20px; height: 62px; }
    .menu-btn { display: inline-flex; }
    .nav-tabs { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column;
                background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; gap: 0;
                box-shadow: 0 20px 40px -20px rgba(10, 30, 80, .3); max-height: calc(100vh - 62px); overflow-y: auto; }
    .nav.open .nav-tabs { display: flex; }
    .nav-tab { display: block; }
    .nav-tab > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .nav-tab > a[aria-current="page"] { border-bottom-color: var(--line); }
    .nav-tab .chev { display: none; }
    .mega, .nav-tab.has-menu:hover .mega, .nav-tab.has-menu:focus-within .mega { display: grid; position: static; width: auto; box-shadow: none;
      border: none; padding: 4px 0 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: transparent; }
    .mega span, .mega .mega-all { display: none; }
    .mega a { padding: 8px 6px; }
    .mega img { width: 36px; height: 24px; }
    .nav-row .brand { margin-right: auto; }
  }
  @media (max-width: 640px) {
    .nav-row { padding: 0 14px; gap: 8px; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn-ghost { display: none; }
    .nav-actions .btn-sm { padding: 7px 10px; font-size: 12.5px; }
    .nav-actions .btn-sm .dot { display: none; }
    .brand-word { font-size: 18px; }
    .mega { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 380px) { .brand-word { display: none; } }
  .menu-signin { display: none; }
  @media (max-width: 640px) { .menu-signin { display: block; } }

  /* ---------- Page hero (every page but Home) ---------- */
  .page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line);
    background: radial-gradient(900px 380px at 90% 0%, color-mix(in srgb, var(--blue-bright) 9%, transparent), transparent 70%), var(--ink); }
  .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
  .page-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(34px, 4.6vw, 56px);
                  line-height: 1.05; margin-top: 14px; }
  .page-hero .lede { margin-top: 20px; font-size: 18px; color: var(--text-dim); max-width: 56ch; }
  .page-hero .lede b { color: var(--text); font-weight: 600; }
  .page-hero .cta-row { margin-top: 28px; }
  .page-hero .art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
  /* the illustrations sit on their own off-white, dotted ground: fade its edges into the page */
  .page-hero .art img[src*="/marketing/art/site/"] {
    -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%);
            mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%);
  }
  .page-hero.center { text-align: center; }
  .page-hero.center .eyebrow, .page-hero.center .cta-row { justify-content: center; }
  .page-hero.center .lede { margin-left: auto; margin-right: auto; }
  @media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .page-hero { padding: 40px 0; } }
  .crumbs { font-size: 13px; color: var(--text-faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
  .crumbs a { color: var(--text-dim); text-decoration: none; }
  .crumbs a:hover { color: var(--blue); }
  .pro-tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em;
             padding: 2px 6px; border-radius: 4px; background: var(--blue-wash); color: var(--blue-bright); vertical-align: middle; }

  /* ---------- Module cards (Home and the Modules page) ---------- */
  .mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
  .mod-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
              overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
  .mod-card:hover { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); box-shadow: 0 18px 40px -24px rgba(10, 30, 80, .45); transform: translateY(-2px); }
  .mod-card .thumb { aspect-ratio: 3 / 2; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
  .mod-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .mod-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .mod-card h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .mod-card p { font-size: 14px; color: var(--text-dim); flex: 1; }
  .mod-card .more { font-size: 13.5px; font-weight: 600; color: var(--blue); }
  .mod-card.ai { background: linear-gradient(160deg, color-mix(in srgb, var(--blue-bright) 10%, var(--surface)), var(--surface) 70%); }

  /* ---------- Module pages ---------- */
  .scene { padding: 56px 0 24px; }
  .scene .browser { max-width: 1120px; margin: 0 auto; }
  .scene figcaption, .shot-caption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-faint); }
  .pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  @media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
  .pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
  .pillar .n { font-family: var(--font-mono); font-size: 11px; color: var(--blue-bright); letter-spacing: .08em; }
  .pillar h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
  .pillar p { margin-top: 8px; font-size: 14.5px; color: var(--text-dim); }
  .feature-block { padding: 56px 0; border-top: 1px solid var(--line); }
  .feature-block:nth-of-type(even) { background: var(--band); }
  .feature-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px 48px; align-items: end; margin-bottom: 28px; }
  @media (max-width: 860px) { .feature-head { grid-template-columns: minmax(0, 1fr); } }
  .feature-head h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; margin-top: 10px; }
  .feature-head p { color: var(--text-dim); font-size: 15.5px; }
  .tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .tip { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 16px; }
  .tip h3 { font-size: 15px; font-weight: 600; display: flex; gap: 8px; align-items: flex-start; }
  .tip h3::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
  .tip p { margin-top: 6px; font-size: 13.8px; color: var(--text-dim); line-height: 1.5; }
  .tip p b, .tip p strong { color: var(--text); font-weight: 600; }
  .feature-shot { margin-top: 32px; }
  .related { display: flex; flex-wrap: wrap; gap: 10px; }
  .related a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px;
               text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; background: var(--surface); }
  .related a:hover { border-color: var(--blue); color: var(--blue); }
  .related img { width: 30px; height: 20px; object-fit: cover; border-radius: 999px; background: #fff; }
  .mod-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
  .mod-pager a { text-decoration: none; color: var(--text-dim); font-size: 14px; }
  .mod-pager a b { display: block; color: var(--text); font-size: 16px; }
  .mod-pager a:last-child { text-align: right; }

  /* ---------- CTA band (bottom of most pages) ---------- */
  .cta-band { padding: 72px 0; background: var(--blue); color: var(--hub-primary-on); }
  .cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; max-width: 26ch; line-height: 1.15; }
  .cta-band p { margin-top: 8px; opacity: .85; }
  .cta-band .btn-light { background: #fff; color: var(--blue); }
  .cta-band .btn-light:hover { background: color-mix(in srgb, #fff 90%, var(--blue)); }
  .cta-band .btn-outline { border: 1px solid color-mix(in srgb, #fff 55%, transparent); color: #fff; background: transparent; }
  .cta-band .btn-outline:hover { border-color: #fff; }

  /* ---------- PRICING ---------- */
  .billing-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); gap: 2px; }
  .billing-toggle button { font: inherit; font-size: 14px; font-weight: 600; border: none; background: none; padding: 8px 16px; border-radius: 999px;
                           cursor: pointer; color: var(--text-dim); }
  .billing-toggle button[aria-pressed="true"] { background: var(--blue); color: var(--hub-primary-on); }
  .billing-toggle .save { font-family: var(--font-mono); font-size: 10.5px; margin-left: 6px; padding: 2px 6px; border-radius: 4px;
                          background: color-mix(in srgb, var(--signal) 30%, transparent); color: var(--text); }
  /* on the selected (blue) button the chip goes white, so it stays readable */
  .billing-toggle button[aria-pressed="true"] .save { background: #fff; color: var(--blue); }
  .toggles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
  .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: stretch; }
  @media (max-width: 960px) { .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }
  .plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px;
          display: flex; flex-direction: column; gap: 16px; text-align: left; }
  .plan.featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -36px rgba(10, 30, 80, .55); }
  .plan .badge { position: absolute; top: -12px; left: 24px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
                 letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--signal); color: #1a1400; }
  .plan h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
  .plan .for { font-size: 14px; color: var(--text-dim); margin-top: -8px; }
  .plan .amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
  .plan .amount .big { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--text); }
  .plan .amount .per { font-size: 14px; color: var(--text-dim); }
  .plan .ask { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
  .plan .sub-amount { font-size: 13px; color: var(--text-faint); min-height: 1.4em; }
  .plan .btn { justify-content: center; }
  .plan ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
  .plan li { display: flex; gap: 10px; font-size: 14px; }
  .plan li::before { content: "✓"; color: var(--good); font-weight: 700; flex: none; }
  .plan li.plus::before { content: "+"; color: var(--blue-bright); }
  .calc { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0;
          border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); text-align: left; }
  @media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
  .calc-inputs { padding: 30px; display: grid; gap: 26px; }
  .calc-inputs h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
  .calc-inputs > p { color: var(--text-dim); font-size: 14.5px; margin-top: -16px; }
  .slider-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
  .slider-row label small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-faint); }
  .slider-row output { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--blue-bright); min-width: 3ch; text-align: right; }
  .slider-row input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--blue); height: 28px; }
  .slider-row .ticks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
  .calc-result { padding: 30px; background: var(--band); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
  @media (max-width: 900px) { .calc-result { border-left: none; border-top: 1px solid var(--line); } }
  .calc-total { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
  .calc-total-label { font-size: 13px; color: var(--text-dim); }
  .calc-lines { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .calc-lines td { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); }
  .calc-lines td:last-child { text-align: right; font-family: var(--font-mono); color: var(--text); }
  .calc-lines tr.total td { font-weight: 700; color: var(--text); border-bottom: none; }
  .calc-note { font-size: 13px; color: var(--text-dim); }
  .calc-bank { font-size: 14px; padding: 10px 12px; border-radius: 8px; background: var(--hub-good-bg); color: var(--text); }
  .compare-wrap { margin-top: 64px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
  .compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; text-align: left; }
  .compare th, .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
  .compare thead th { font-size: 14px; font-weight: 700; background: var(--band); position: sticky; top: 0; }
  .compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
  .compare tr.group td { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
                         color: var(--blue-bright); background: color-mix(in srgb, var(--band) 60%, var(--surface)); }
  .compare .y { color: var(--good); font-weight: 700; }
  .compare .n { color: var(--text-faint); }
  .rate-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
  .rate-table td, .rate-table th { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
  .rate-table th { font-size: 12px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
  .rate-table td:last-child, .rate-table th:last-child { text-align: right; font-family: var(--font-mono); }
  .faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; text-align: left; }
  .faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0 20px; }
  .faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--blue); font-weight: 700; font-size: 18px; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq details p { padding: 0 0 18px; color: var(--text-dim); font-size: 14.5px; }

  /* ---------- Security page: the AI block is always open ---------- */
  .ai-trust.static { margin-top: 0; }
  .section-tight { padding: 64px 0; }
  .center-head { text-align: center; margin-left: auto; margin-right: auto; }
  .center-head .eyebrow { justify-content: center; }
  .center-head p { margin-left: auto; margin-right: auto; }
  .rates-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  @media (max-width: 860px) { .rates-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
  .floor-tip p strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 6px; }
  .browser-fig { margin: 0; }
