  :root {
    --ink: #0B0B0E;
    --paper: #14141A;
    --paper-elev: #1A1A22;
    --cream: #EFEAE0;
    --cream-muted: #B8B0A4;
    --cream-dim: #6E6860;
    --ember: #E8763A;
    --ember-deep: #B85A28;
    --ember-glow: rgba(232, 118, 58, 0.12);
    --signal: #4B9F7F;
    --signal-deep: #357B61;
    --signal-glow: rgba(75, 159, 127, 0.12);
    --rule: #25252C;
    --rule-soft: #1C1C22;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--ink);
    color: var(--cream);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 100;
    opacity: 0.06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' /></svg>");
  }
  body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: -1;
    background:
      linear-gradient(rgba(239, 234, 224, 0.018) 1px, transparent 1px) 0 0 / 64px 64px,
      linear-gradient(90deg, rgba(239, 234, 224, 0.018) 1px, transparent 1px) 0 0 / 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 80%);
  }

  .display { font-family: 'Fraunces', Georgia, serif; }
  .mono { font-family: 'JetBrains Mono', monospace; }

  /* ───── NAV ───── */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 11, 14, 0.75);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .wordmark {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600; font-size: 20px;
    font-variation-settings: "opsz" 72;
    color: var(--cream); text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .wordmark .dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--signal); border-radius: 50%;
    margin-left: 10px; vertical-align: middle;
    animation: pulse 2.2s infinite;
  }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(75, 159, 127, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(75, 159, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(75, 159, 127, 0); }
  }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links a {
    color: var(--cream-muted); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--cream); }
  .nav-cta {
    background: var(--ember); color: var(--ink) !important;
    padding: 10px 18px; border-radius: 5px; font-weight: 500;
    transition: background 0.15s;
  }
  .nav-cta:hover { background: var(--ember-deep); }

  /* ───── HERO ───── */
  .hero {
    max-width: 1280px; margin: 0 auto;
    padding: 80px 32px 100px;
  }
  .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--cream-muted);
    margin-bottom: 28px;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow .pip {
    width: 6px; height: 6px;
    background: var(--ember); border-radius: 50%;
    box-shadow: 0 0 10px var(--ember);
  }
  .hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: "opsz" 144;
    font-size: clamp(38px, 6.2vw, 80px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--cream);
    max-width: 16ch;
    margin-bottom: 32px;
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
  }
  .hero h1 .accent {
    font-style: italic; color: var(--ember); font-weight: 500;
    white-space: nowrap;
  }
  .hero-sub {
    font-size: 20px; color: var(--cream-muted);
    max-width: 56ch; margin-bottom: 56px; line-height: 1.55;
  }

  .video-frame {
    position: relative; max-width: 920px;
    aspect-ratio: 16 / 9;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .video-frame:hover { border-color: var(--ember); }
  .video-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 40%, rgba(232, 118, 58, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 60%, rgba(75, 159, 127, 0.05) 0%, transparent 50%),
      linear-gradient(135deg, #1A1A22 0%, #0F0F14 100%);
  }
  .video-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 3px);
  }
  .play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--ember);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 8px rgba(232, 118, 58, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
  }
  .video-frame:hover .play-btn { transform: translate(-50%, -50%) scale(1.06); }
  .play-btn svg { width: 28px; height: 28px; fill: var(--ink); margin-left: 4px; }
  .video-meta {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    display: flex; justify-content: space-between; align-items: flex-end;
    pointer-events: none;
  }
  .video-meta .title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500; font-size: 18px; color: var(--cream);
  }
  .video-meta .duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--cream-muted);
    background: rgba(11, 11, 14, 0.7);
    padding: 4px 8px; border-radius: 3px;
  }

  .cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--ember); color: var(--ink); border: none;
    padding: 16px 32px; border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px; font-weight: 500;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.15s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--ember-deep); transform: translateY(1px); }
  .btn-primary svg { width: 14px; height: 14px; }
  .btn-secondary {
    color: var(--cream); text-decoration: none; cursor: pointer;
    font-size: 15px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.15s;
  }
  .btn-secondary:hover { border-bottom-color: var(--ember); }

  /* ───── STACK TAKEAWAY — downloadable build spec (ungated, no email) ───── */
  .stack-takeaway {
    max-width: 880px;
    margin: 56px auto 0;
    padding: 30px 34px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
  }
  .stack-takeaway-text { flex: 1 1 auto; min-width: 0; }
  .stack-takeaway .eyebrow { margin-bottom: 12px; }
  .stack-takeaway-h {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600; font-size: 26px; letter-spacing: -0.01em;
    color: var(--cream); margin-bottom: 8px;
  }
  .stack-takeaway-h em { color: var(--ember); font-style: italic; }
  .stack-takeaway-p {
    font-size: 14px; color: var(--cream-muted); line-height: 1.6;
    max-width: 52ch;
  }
  .stack-takeaway-btn {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ember); color: var(--ink);
    text-decoration: none;
    padding: 15px 22px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(232, 118, 58, 0.22);
    transition: background 0.15s, transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.18s;
  }
  .stack-takeaway-btn:hover {
    background: var(--ember-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 118, 58, 0.30);
  }
  .stack-takeaway-btn .stb-ic { display: inline-flex; }
  .stack-takeaway-btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
  .stack-takeaway-btn:hover svg { transform: translateY(2px); }
  .stack-takeaway-btn .stb-ext {
    font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
    background: rgba(11, 11, 14, 0.16); color: var(--ink);
    padding: 3px 7px; border-radius: 5px;
  }
  @media (max-width: 880px) {
    .stack-takeaway { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; }
    .stack-takeaway-btn { width: 100%; justify-content: center; }
  }

  /* ───── STACKMAP — animated architecture diagram (section 02) ───── */
  .stackmap { max-width: 980px; margin: 44px auto 4px; }

  .stackmap-systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .sm-sys {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--rule);
    border-radius: 11px;
    padding: 15px 14px 14px;
    display: flex; flex-direction: column; gap: 5px;
    transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.2s;
  }
  .sm-sys:hover { transform: translateY(-3px); border-color: rgba(199, 85, 31, 0.42); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08); }
  .sm-sys-pip {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--ember); animation: smPip 2.6s ease-in-out infinite;
  }
  .sm-sys:nth-child(2) .sm-sys-pip { animation-delay: 0.3s; }
  .sm-sys:nth-child(3) .sm-sys-pip { animation-delay: 0.6s; }
  .sm-sys:nth-child(4) .sm-sys-pip { animation-delay: 0.9s; }
  @keyframes smPip {
    0%, 100% { box-shadow: 0 0 0 0 rgba(199, 85, 31, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(199, 85, 31, 0); }
  }
  .sm-sys-name { font-size: 15px; font-weight: 600; color: var(--cream); }
  .sm-sys-trig { font-size: 10.5px; color: var(--cream-dim); letter-spacing: 0.02em; }

  .stackmap-wires { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; height: 44px; }
  .sm-wire { position: relative; display: flex; justify-content: center; }
  .sm-wire::before {
    content: ''; position: absolute; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(var(--rule), rgba(199, 85, 31, 0.55));
  }
  .sm-wire i {
    position: absolute; top: 0; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ember); box-shadow: 0 0 8px var(--ember);
    animation: smDrop 2.4s ease-in infinite;
  }
  .sm-wire:nth-child(2) i { animation-delay: 0.6s; }
  .sm-wire:nth-child(3) i { animation-delay: 1.2s; }
  .sm-wire:nth-child(4) i { animation-delay: 1.8s; }
  @keyframes smDrop {
    0% { transform: translateY(-2px); opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateY(42px); opacity: 0; }
  }

  .stackmap-spine {
    position: relative; overflow: hidden;
    background: #16161C; border: 1px solid #2A2A34;
    border-radius: 13px; padding: 16px 18px 18px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  }
  .stackmap-spine::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 32%, rgba(75, 159, 127, 0.12) 50%, transparent 68%);
    transform: translateX(-100%); animation: smSheen 6.5s ease-in-out infinite;
  }
  @keyframes smSheen { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
  .sm-spine-label { display: block; text-align: center; font-size: 10px; letter-spacing: 0.2em; color: var(--signal); margin-bottom: 13px; }
  .sm-spine-segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; z-index: 1; }
  .sm-seg {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(75, 159, 127, 0.22);
    border-radius: 8px; padding: 12px 13px;
    display: flex; flex-direction: column; gap: 2px;
  }
  .sm-seg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); margin-bottom: 4px; }
  .sm-seg-name { font-size: 13px; font-weight: 600; color: #EFEAE0; }
  .sm-seg-sub { font-size: 10.5px; color: #8C8579; }

  .stackmap-pipe {
    position: relative; overflow: hidden;
    margin-top: 14px; padding: 12px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--rule); border-radius: 10px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 9px;
  }
  .sm-pipe-pulse {
    position: absolute; top: 0; bottom: 0; left: 0; width: 130px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(199, 85, 31, 0.12), transparent);
    animation: smPulse 4.8s linear infinite;
  }
  @keyframes smPulse { 0% { transform: translateX(-140px); } 100% { transform: translateX(990px); } }
  .sm-step { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cream); position: relative; z-index: 1; white-space: nowrap; }
  .sm-arr { color: var(--ember); font-size: 12px; position: relative; z-index: 1; }

  @media (max-width: 760px) {
    .stackmap-systems { grid-template-columns: repeat(2, 1fr); }
    .stackmap-wires { display: none; }
    .stackmap-spine { margin-top: 16px; }
    .sm-spine-segs { grid-template-columns: 1fr; }
    .sm-step { font-size: 10px; }
  }

  /* ───── BUILD-MODAL end-of-deck takeaway slide ───── */
  .build-deck-slide.slide-takeaway { display: flex; align-items: center; justify-content: center; }
  .build-takeaway { text-align: center; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 11px; }
  .build-takeaway .build-col-h { justify-content: center; }
  .build-takeaway-h { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 28px; color: var(--cream); letter-spacing: -0.01em; margin-top: 2px; }
  .build-takeaway-h em { color: var(--ember); font-style: italic; }
  .build-takeaway .build-prose { color: var(--cream-muted); font-size: 14px; max-width: 42ch; }
  .build-takeaway-btn {
    margin-top: 8px; display: inline-flex; align-items: center; gap: 11px;
    background: var(--ember); color: var(--ink); text-decoration: none;
    padding: 14px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(199, 85, 31, 0.22);
    transition: background 0.15s, transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.18s;
  }
  .build-takeaway-btn:hover { background: var(--ember-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(199, 85, 31, 0.3); }
  .build-takeaway-btn svg { width: 17px; height: 17px; transition: transform 0.2s; }
  .build-takeaway-btn:hover svg { transform: translateY(2px); }
  .build-takeaway-btn .bt-ext { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; background: rgba(11, 11, 14, 0.16); padding: 3px 7px; border-radius: 5px; }
  .build-takeaway-alt { font-size: 11px; letter-spacing: 0.04em; color: var(--cream-dim); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
  .build-takeaway-alt:hover { color: var(--cream-muted); border-bottom-color: var(--rule); }

  /* ───── DASHBOARD MINI VIEW + LIGHTBOX (section 03) ───── */
  /* inline: a neutralized screenshot of the real dashboard, framed like a browser
     window; the whole dashboard at a glance, click opens it bigger */
  .dash-shot {
    position: relative; display: block;
    width: 100%; max-width: 680px; margin: 40px auto 0;
    cursor: pointer; border: 0; background: none; padding: 0;
    transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .dash-shot:hover { transform: translateY(-4px); }
  .dash-shot:focus-visible { outline: 2px solid var(--ember); outline-offset: 8px; border-radius: 16px; }
  .dash-shot-frame {
    display: block; border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10); background: #14141A;
    box-shadow: 0 44px 90px -40px rgba(0, 0, 0, 0.72), 0 12px 30px -18px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.22s;
  }
  .dash-shot:hover .dash-shot-frame { box-shadow: 0 0 0 1px rgba(232, 118, 58, 0.4), 0 52px 110px -40px rgba(0, 0, 0, 0.78); }
  .dash-shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1C1C22; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .dash-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
  .dash-shot-bar i:nth-child(1) { background: #E8763A; }
  .dash-shot-bar i:nth-child(2) { background: #E0B341; }
  .dash-shot-bar i:nth-child(3) { background: #4B9F7F; }
  .dash-shot-host { margin-left: 12px; font-size: 11px; color: #8C8579; letter-spacing: 0.02em; }
  .dash-shot-view { position: relative; display: block; max-height: 440px; overflow: hidden; }
  .dash-shot-img { display: block; width: 100%; height: auto; }
  /* soft fade at the crop so it reads as a window into a longer page */
  .dash-shot-view::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; z-index: 1; background: linear-gradient(to bottom, rgba(243,238,228,0), rgba(243,238,228,0.92)); pointer-events: none; }
  .dash-shot-view::after { content: ''; position: absolute; inset: 0; background: rgba(18, 18, 24, 0); transition: background 0.2s; pointer-events: none; }
  .dash-shot:hover .dash-shot-view::after { background: rgba(18, 18, 24, 0.16); }
  .dash-shot-cta {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96);
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--ember); color: var(--ink);
    padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none;
  }
  .dash-shot:hover .dash-shot-cta, .dash-shot:focus-visible .dash-shot-cta { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .dash-shot-cta svg { width: 15px; height: 15px; }

  /* lightbox: the same screenshot, bigger, on the dark "world" the section uses */
  .dash-modal { display: none; position: fixed; inset: 0; z-index: 300; align-items: center; justify-content: center; padding: 24px; }
  .dash-modal[aria-hidden="false"] { display: flex; }
  .dash-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 11, 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: dashFade 0.3s ease; }
  .dash-modal-card {
    position: relative; z-index: 1;
    width: 100%; max-width: 1180px; max-height: 92vh;
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; overflow: hidden;
    background: linear-gradient(168deg, #221A12 0%, #161009 100%);
    box-shadow: 0 50px 130px rgba(0, 0, 0, 0.62);
    animation: dashIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  @keyframes dashFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes dashIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
  .dash-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.2);
    color: #EFEAE0; font-size: 22px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, transform 0.2s;
  }
  .dash-modal-close:hover { background: rgba(0, 0, 0, 0.65); transform: rotate(90deg); }
  .dash-modal-body { width: 100%; max-height: 92vh; overflow: auto; }
  .dash-shot-bar-lg { position: sticky; top: 0; z-index: 2; padding: 13px 16px; }
  .dash-modal-img { display: block; width: 100%; height: auto; }

  @media (max-width: 760px) {
    .dash-shot { margin-top: 28px; }
    .dash-shot-cta { font-size: 13px; padding: 10px 18px; }
    .dash-modal { padding: 10px; }
    .dash-modal-card { max-height: 94vh; }
    .dash-modal-body { max-height: 94vh; }
  }

  /* ───── TRUST STRIP ───── */
  .trust {
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
    padding: 32px 0;
  }
  .trust-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
  }
  .trust-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: var(--cream-muted); font-weight: 500;
  }
  .trust-item .sig-dot {
    width: 8px; height: 8px; background: var(--signal); border-radius: 50%;
  }
  .trust-item.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; letter-spacing: 0.04em;
  }
  .trust-divider { width: 1px; height: 16px; background: var(--rule); }

  /* ───── SECTION ───── */
  section.block {
    max-width: 1280px; margin: 0 auto; padding: 120px 32px;
  }
  .section-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--ember); margin-bottom: 16px;
  }
  .section-h {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: "opsz" 72;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.08; letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 24px; max-width: 24ch;
  }
  .section-h em { font-style: italic; color: var(--ember); font-weight: 500; }
  .section-sub {
    font-size: 18px; color: var(--cream-muted);
    max-width: 60ch; margin-bottom: 56px; line-height: 1.55;
  }

  /* ───── THE BET ───── */
  .bet-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px; align-items: center;
  }
  .bet-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, #1F1A18 0%, #0E0C0B 100%);
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
  }
  .bet-photo .photo-frame {
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 55% 35% at 50% 32%, rgba(239, 234, 224, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 65% 50% at 50% 70%, rgba(232, 118, 58, 0.12) 0%, transparent 65%),
      radial-gradient(ellipse 80% 60% at 50% 60%, rgba(60, 50, 42, 0.4) 0%, transparent 70%);
  }
  .bet-photo .silhouette {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 55%; height: 65%;
    background: radial-gradient(ellipse at 50% 18%, #3A2E25 0%, #1B1410 38%, transparent 60%);
    filter: blur(8px);
    opacity: 0.85;
  }
  .bet-photo .photo-tag {
    position: absolute;
    top: 16px; left: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cream-muted);
    background: rgba(11, 11, 14, 0.7);
    padding: 5px 9px; border-radius: 3px;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .bet-photo .caption {
    position: absolute;
    bottom: 16px; left: 16px; right: 16px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--cream);
    line-height: 1.4;
  }
  .bet-photo .caption .small {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 10px;
    color: var(--cream-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 6px;
  }
  .bet-text h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: "opsz" 72;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--cream);
    margin-bottom: 28px;
  }
  .bet-text h2 em { color: var(--ember); font-style: italic; font-weight: 500; }
  .bet-text p {
    font-size: 17px;
    color: var(--cream-muted);
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .bet-text p strong { color: var(--cream); font-weight: 500; }
  .bet-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px; padding-top: 32px;
    border-top: 1px solid var(--rule);
  }
  .bet-num { font-family: 'JetBrains Mono', monospace; }
  .bet-num .val {
    font-size: 28px; font-weight: 500; color: var(--cream);
    display: block; margin-bottom: 4px; letter-spacing: -0.02em;
  }
  .bet-num .lbl {
    font-size: 11px; color: var(--cream-muted);
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500;
  }

  /* ───── SYSTEMS — DUAL VIDEO ───── */
  .systems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .system-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
  }
  .system-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ember);
    letter-spacing: 0.08em; margin-bottom: 8px;
  }
  .system-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600; font-size: 24px;
    color: var(--cream); margin-bottom: 8px;
    letter-spacing: -0.015em;
  }
  .system-desc {
    font-size: 14px;
    color: var(--cream-muted);
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .system-videos {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 16px;
  }
  .vid-mini {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .vid-mini.explain:hover { border-color: var(--ember); }
  .vid-mini.proof:hover { border-color: var(--signal); }
  .vid-mini .vid-bg {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  }
  .vid-mini .vid-tag {
    position: absolute; top: 8px; left: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    background: rgba(11, 11, 14, 0.85);
    padding: 3px 7px; border-radius: 3px;
    letter-spacing: 0.06em;
    display: flex; align-items: center; gap: 5px;
  }
  .vid-mini.explain .vid-tag { color: var(--ember); }
  .vid-mini.proof .vid-tag { color: var(--signal); }
  .vid-mini .vid-tag .dot {
    width: 5px; height: 5px; border-radius: 50%;
  }
  .vid-mini.explain .vid-tag .dot { background: var(--ember); }
  .vid-mini.proof .vid-tag .dot { background: var(--signal); }
  .vid-mini .vid-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .vid-mini.explain .vid-play { background: var(--ember); }
  .vid-mini.proof .vid-play { background: var(--signal); }
  .vid-mini .vid-play svg {
    width: 14px; height: 14px; fill: var(--ink); margin-left: 2px;
  }
  .vid-mini .vid-cap {
    position: absolute; bottom: 8px; left: 8px;
    font-size: 11px; color: var(--cream);
  }
  .vid-mini .vid-dur {
    position: absolute; bottom: 8px; right: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cream-muted);
  }
  .system-footer {
    margin-top: auto; padding-top: 16px;
    border-top: 1px solid var(--rule-soft);
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
  }
  .system-footer .built-for {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cream-dim);
    letter-spacing: 0.05em;
  }
  .system-link {
    font-size: 12px; color: var(--cream); text-decoration: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1px;
    transition: border-color 0.15s;
  }
  .system-link:hover { border-bottom-color: var(--ember); }

  /* ───── THE STACK ───── */
  .stack-grid {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
  }
  .stack-row {
    display: grid;
    grid-template-columns: 220px 1fr 140px 110px;
    gap: 24px;
    padding: 20px 28px;
    align-items: center;
    border-bottom: 1px solid var(--rule-soft);
  }
  .stack-row:last-child { border-bottom: none; }
  .stack-row.header {
    background: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cream-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    padding: 14px 28px;
  }
  .stack-row .tool {
    font-family: 'Fraunces', serif;
    font-size: 18px; font-weight: 500;
    color: var(--cream); letter-spacing: -0.01em;
  }
  .stack-row .desc {
    font-size: 14px; color: var(--cream-muted);
  }
  .stack-row .cost {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px; color: var(--cream);
    text-align: right;
  }
  .stack-row .baa {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-align: right;
    letter-spacing: 0.06em;
  }
  .stack-row .baa.signed { color: var(--signal); }
  .stack-row .baa.na { color: var(--cream-dim); }
  .stack-row.total {
    background: var(--ink);
    padding: 18px 28px;
    border-top: 1px solid var(--rule);
  }
  .stack-row.total .tool { font-size: 14px; color: var(--cream-muted); font-family: 'Inter'; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
  .stack-row.total .cost { font-size: 20px; color: var(--ember); }
  .stack-note {
    margin-top: 20px;
    font-size: 13px; color: var(--cream-dim);
    font-style: italic;
  }

  /* ───── COMPARISON ───── */
  .compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .compare-col {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 28px;
    display: flex; flex-direction: column;
  }
  .compare-col.me { border-color: var(--ember); border-top-width: 3px; }
  .compare-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--cream-muted);
  }
  .compare-col.me .compare-tag { color: var(--ember); }
  .compare-title {
    font-family: 'Fraunces', serif;
    font-size: 22px; font-weight: 600;
    color: var(--cream); margin-bottom: 24px;
    letter-spacing: -0.015em;
  }
  .compare-row {
    display: flex; gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 13px;
    align-items: flex-start;
  }
  .compare-row:last-child { border-bottom: none; }
  .compare-row .check {
    flex-shrink: 0; width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
  }
  .compare-row .check.yes { background: var(--signal-glow); color: var(--signal); }
  .compare-row .check.no { background: rgba(255, 80, 80, 0.1); color: #E26060; }
  .compare-row .check.partial { background: rgba(232, 118, 58, 0.12); color: var(--ember); }
  .compare-row .label { color: var(--cream); }
  .compare-row .label .sub {
    display: block;
    font-size: 11px; color: var(--cream-dim);
    margin-top: 2px;
  }
  .compare-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--cream-muted);
    letter-spacing: 0.04em;
  }
  .compare-bottom .price {
    font-size: 14px; color: var(--cream); display: block; margin-top: 4px;
  }

  /* ───── BUILD LOG ───── */
  .log-section { background: var(--paper); border-block: 1px solid var(--rule-soft); }
  .log-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 32px;
    padding: 20px 0;
    align-items: center;
    border-bottom: 1px solid var(--rule-soft);
  }
  .log-row:last-child { border-bottom: none; }
  .log-row:first-of-type { border-top: 1px solid var(--rule); }
  .log-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: var(--cream-muted);
  }
  .log-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500; font-size: 18px;
    color: var(--cream); letter-spacing: -0.01em;
  }
  .log-title .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ember);
    background: var(--ember-glow);
    padding: 3px 7px; border-radius: 3px;
    margin-right: 12px;
    text-transform: uppercase; letter-spacing: 0.06em;
    vertical-align: middle; font-weight: 500;
  }
  .log-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--cream-dim);
  }
  .log-more { text-align: center; margin-top: 32px; }
  .log-more a {
    color: var(--cream); font-size: 13px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 2px; text-decoration: none;
    transition: border-color 0.15s;
  }
  .log-more a:hover { border-bottom-color: var(--ember); }

  /* ───── SOCIAL PROOF SLOT ───── */
  .social-slot {
    background: var(--paper);
    border: 1px dashed var(--rule);
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .social-slot .marker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--cream-muted);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 16px;
  }
  .social-slot .marker .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ember);
    animation: pulse-ember 2s infinite;
  }
  @keyframes pulse-ember {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
  .social-slot h3 {
    font-family: 'Fraunces', serif;
    font-size: 26px; font-weight: 500;
    color: var(--cream); margin-bottom: 12px;
    letter-spacing: -0.015em;
  }
  .social-slot p {
    color: var(--cream-muted);
    font-size: 15px;
  }

  /* ───── PRICING ───── */
  .pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tier {
    background: var(--paper); border: 1px solid var(--rule);
    border-radius: 10px; padding: 36px 32px;
    position: relative; display: flex; flex-direction: column;
  }
  .tier.featured { border-color: var(--ember); border-top-width: 3px; }
  .tier.featured::before {
    content: 'MOST PRACTICES START HERE';
    position: absolute; top: -10px; left: 32px;
    font-family: 'Inter', sans-serif;
    font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
    background: var(--ember); color: var(--ink);
    padding: 4px 10px; border-radius: 3px;
  }
  .tier-name {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600; font-size: 26px;
    color: var(--cream); margin-bottom: 4px;
  }
  .tier-desc {
    font-size: 13px; color: var(--cream-muted);
    margin-bottom: 28px; height: 32px;
  }
  .tier-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px; font-weight: 500;
    color: var(--cream); letter-spacing: -0.02em;
    margin-bottom: 4px;
  }
  .tier-price-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--cream-dim);
    margin-bottom: 32px;
  }
  .tier-features { list-style: none; margin-bottom: 32px; flex: 1; }
  .tier-features li {
    font-size: 14px; color: var(--cream);
    padding: 9px 0;
    display: flex; gap: 12px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .tier-features li:last-child { border-bottom: none; }
  .tier-features li::before {
    content: '─'; color: var(--ember); flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
  }
  .tier-cta {
    background: transparent; color: var(--cream);
    border: 1px solid var(--rule);
    padding: 12px 20px; border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 500;
    text-decoration: none; text-align: center;
    transition: all 0.15s; cursor: pointer;
  }
  .tier-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
  .tier.featured .tier-cta {
    background: var(--ember); color: var(--ink); border-color: var(--ember);
  }
  .tier.featured .tier-cta:hover { background: var(--ember-deep); border-color: var(--ember-deep); }

  .custom-line {
    text-align: center;
    margin-top: 40px;
    padding: 24px 32px;
    border-top: 1px solid var(--rule-soft);
    max-width: 720px; margin-inline: auto;
  }
  .custom-line p {
    font-size: 15px; color: var(--cream-muted);
    line-height: 1.5;
  }
  .custom-line p em {
    font-family: 'Fraunces', serif;
    font-style: italic; color: var(--cream);
  }
  .custom-line a {
    color: var(--ember); text-decoration: none;
    border-bottom: 1px solid var(--ember-glow);
    transition: border-color 0.15s;
  }
  .custom-line a:hover { border-bottom-color: var(--ember); }

  /* ───── FAQ ───── */
  .faq-list { max-width: 820px; }
  .faq-item {
    border-bottom: 1px solid var(--rule);
  }
  .faq-item:first-child { border-top: 1px solid var(--rule); }
  .faq-item summary {
    cursor: pointer;
    padding: 24px 0;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500; font-size: 20px;
    color: var(--cream);
    letter-spacing: -0.01em;
    transition: color 0.15s;
  }
  .faq-item summary:hover { color: var(--ember); }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px; font-weight: 400;
    color: var(--cream-muted);
    flex-shrink: 0;
  }
  .faq-item[open] summary::after { content: '−'; color: var(--ember); }
  .faq-item .faq-body {
    padding: 0 0 28px;
    font-size: 16px; color: var(--cream-muted);
    line-height: 1.7;
    max-width: 70ch;
  }
  .faq-item .faq-body p { margin-bottom: 12px; }
  .faq-item .faq-body p:last-child { margin-bottom: 0; }
  .faq-item .faq-body strong { color: var(--cream); font-weight: 500; }

  /* ───── HIPAA ───── */
  .hipaa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hipaa-vid {
    aspect-ratio: 4 / 3;
    background:
      radial-gradient(ellipse at 60% 40%, rgba(75, 159, 127, 0.15), transparent 60%),
      linear-gradient(135deg, #14181A, #0B0E10);
    border: 1px solid var(--rule); border-radius: 8px;
    position: relative; overflow: hidden; cursor: pointer;
  }
  .hipaa-vid .play-mini {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--signal);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(75, 159, 127, 0.15);
  }
  .hipaa-vid .play-mini svg { width: 20px; height: 20px; fill: var(--ink); margin-left: 2px; }
  .hipaa-vid .ttl {
    position: absolute; bottom: 16px; left: 16px;
    font-family: 'Fraunces', serif; font-size: 14px; color: var(--cream);
  }
  .baa-list {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 12px; margin-top: 24px;
  }
  .baa {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 14px 16px;
    background: var(--paper); border: 1px solid var(--rule); border-radius: 5px;
  }
  .baa .dot {
    width: 7px; height: 7px; background: var(--signal); border-radius: 50%;
    flex-shrink: 0; margin-top: 6px;
  }
  .baa .name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: var(--cream); flex: 1;
  }
  .baa .name .role {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px; color: var(--cream-dim);
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0;
  }
  .baa .status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--signal);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 1px;
  }

  /* ───── FINAL CTA ───── */
  .final-cta {
    text-align: center; padding: 140px 32px;
    max-width: 1280px; margin: 0 auto;
    border-top: 1px solid var(--rule-soft);
  }
  .final-cta h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: "opsz" 144;
    font-size: clamp(40px, 5.6vw, 72px);
    line-height: 1.06; letter-spacing: -0.025em;
    color: var(--cream); margin-bottom: 24px;
    max-width: 18ch; margin-inline: auto;
  }
  .final-cta h2 em { color: var(--ember); font-style: italic; font-weight: 500; }
  .final-cta p {
    font-size: 19px; color: var(--cream-muted);
    margin-bottom: 48px; max-width: 50ch; margin-inline: auto;
  }

  /* ───── FOOTER ───── */
  footer {
    border-top: 1px solid var(--rule-soft);
    padding: 48px 32px;
    background: var(--paper);
  }
  .footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px;
  }
  .footer-left {
    font-family: 'Fraunces', serif;
    font-size: 16px; color: var(--cream-muted);
  }
  .footer-right { display: flex; gap: 28px; }
  .footer-right a {
    color: var(--cream-muted); font-size: 13px;
    text-decoration: none; transition: color 0.15s;
  }
  .footer-right a:hover { color: var(--cream); }

  /* ═══════════ v2 — MOTION LAYER ═══════════ */

  /* nav scroll progress */
  .scroll-progress {
    position: absolute; bottom: -1px; left: 0;
    height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--ember), #F2A36B);
    transition: width 0.06s linear;
    box-shadow: 0 0 8px var(--ember);
  }
  .wordmark .dot { position: relative; }
  .wordmark .dot::after {
    content: ''; position: absolute; inset: -4px;
    border: 1px solid var(--signal); border-radius: 50%;
    opacity: 0; animation: ringExpand 2.2s infinite;
  }
  @keyframes ringExpand {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
  }

  /* hero floating embers */
  .hero { position: relative; }
  .ember-field {
    position: absolute; inset: 0;
    pointer-events: none; overflow: hidden;
    z-index: 0;
  }
  .ember-field span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 10px var(--ember), 0 0 20px rgba(232, 118, 58, 0.4);
    opacity: 0;
    animation: emberDrift 14s linear infinite;
  }
  @keyframes emberDrift {
    0% { transform: translate(0, 100vh) scale(0.4); opacity: 0; }
    10% { opacity: 0.9; }
    50% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { transform: translate(40px, -10vh) scale(1.1); opacity: 0; }
  }
  .hero > * { position: relative; z-index: 1; }

  /* hero h1 — always visible on load (no fade) to avoid flash + capture issues */
  .hero h1 .w { /* legacy */ }
  .hero-sub { animation: wordIn 0.8s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .cta-row { animation: wordIn 0.8s 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  @keyframes wordIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* hero — live SMS phone */
  .video-frame { animation: wordIn 1s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .live-stage {
    position: absolute; inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background:
      radial-gradient(ellipse at 25% 50%, rgba(232,118,58,0.10) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 60%, rgba(75,159,127,0.07) 0%, transparent 55%),
      linear-gradient(135deg, #1A1A22 0%, #0F0F14 100%);
  }
  .live-stage::after {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
    pointer-events: none;
  }
  .live-rec {
    position: absolute; top: 18px; left: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.16em;
    color: var(--cream); text-transform: uppercase;
    background: rgba(11,11,14,0.8);
    padding: 5px 9px; border-radius: 3px;
    z-index: 3;
  }
  .live-rec .rec-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #E04646;
    animation: recBlink 1.4s infinite;
  }
  @keyframes recBlink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #E04646; }
    50% { opacity: 0.25; box-shadow: 0 0 0 #E04646; }
  }
  .live-timer {
    position: absolute; top: 18px; right: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--cream-muted);
    background: rgba(11,11,14,0.7);
    padding: 5px 9px; border-radius: 3px;
    z-index: 3;
  }
  .phone-side {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 24px 24px;
  }
  .phone {
    width: 220px; aspect-ratio: 9/16;
    background: #0A0A0E;
    border: 1px solid #2E2E36;
    border-radius: 22px;
    padding: 14px 10px 10px;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.04);
    position: relative;
    display: flex; flex-direction: column;
  }
  .phone::before {
    content: ''; position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 4px; border-radius: 2px;
    background: #2E2E36;
  }
  .phone-head {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 6px 8px;
    border-bottom: 1px solid #1F1F26;
    margin-bottom: 8px;
  }
  .phone-head .av {
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ember), #c54e1a);
    font-family: 'Fraunces', serif; font-size: 10px; font-weight: 600;
    color: var(--ink); display: grid; place-items: center;
  }
  .phone-head .name {
    font-size: 10px; font-weight: 600; color: var(--cream);
    line-height: 1; }
  .phone-head .sub {
    font-size: 8px; color: var(--cream-muted);
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em;
  }
  .chat {
    flex: 1; display: flex; flex-direction: column; gap: 6px;
    padding: 4px 4px;
    overflow: hidden;
  }
  .bubble {
    max-width: 80%;
    font-size: 10px; line-height: 1.35;
    padding: 7px 10px; border-radius: 12px;
    opacity: 0; transform: translateY(10px);
  }
  .bubble.in { background: #1A1A22; color: var(--cream); border-bottom-left-radius: 4px; align-self: flex-start; }
  .bubble.out { background: var(--ember); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
  .bubble.miss {
    align-self: flex-start;
    background: transparent;
    color: var(--cream-muted);
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; letter-spacing: 0.04em;
    padding: 4px 6px; border-radius: 4px;
    border: 1px dashed #2E2E36;
  }
  .bubble.miss .x {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(224,70,70,0.18); color: #E26060;
    display: grid; place-items: center; font-size: 8px; font-weight: 700;
  }
  .bubble.typing {
    background: #1A1A22; color: var(--cream-muted);
    align-self: flex-end; border-bottom-right-radius: 4px;
    padding: 8px 10px;
  }
  .bubble.typing span {
    display: inline-block; width: 4px; height: 4px;
    border-radius: 50%; background: var(--cream-muted);
    margin: 0 1px; animation: tDot 1.2s infinite;
  }
  .bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
  .bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes tDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-3px); opacity: 1; }
  }
  .bubble.show { animation: bubblePop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards; }
  @keyframes bubblePop {
    0% { opacity: 0; transform: translateY(10px) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
  }
  .phone-foot {
    height: 16px; display: flex; align-items: center; gap: 4px;
    padding: 0 4px;
    border-top: 1px solid #1F1F26;
    margin-top: 4px;
  }
  .phone-foot .inp {
    flex: 1; height: 10px; border-radius: 5px;
    background: #15151B;
  }
  .phone-foot .send {
    width: 14px; height: 10px; border-radius: 3px;
    background: var(--cream-dim);
  }

  /* right side — running workflow */
  .work-side {
    position: relative;
    padding: 40px 28px 28px;
    display: flex; flex-direction: column; gap: 12px;
    border-left: 1px solid var(--rule-soft);
  }
  .work-head {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--cream-muted);
    letter-spacing: 0.12em; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
  }
  .work-head .liv {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--signal);
    animation: pulse 1.6s infinite;
  }
  .wf-step {
    display: grid; grid-template-columns: 18px 1fr auto;
    gap: 10px; align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--cream-muted);
    padding: 7px 10px;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--rule-soft);
    border-radius: 4px;
    opacity: 0.4;
    transition: opacity 0.3s, border-color 0.3s, color 0.3s;
  }
  .wf-step .ix {
    width: 18px; height: 18px; border-radius: 50%;
    background: #1A1A22; color: var(--cream-dim);
    display: grid; place-items: center;
    font-size: 9px;
  }
  .wf-step .ms {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; color: var(--cream-dim);
    letter-spacing: 0.04em;
  }
  .wf-step.active {
    opacity: 1; color: var(--cream);
    border-color: var(--signal);
    background: rgba(75,159,127,0.06);
  }
  .wf-step.active .ix {
    background: var(--signal); color: var(--ink);
    box-shadow: 0 0 0 4px rgba(75,159,127,0.18);
  }
  .wf-step.done { opacity: 0.85; color: var(--cream-muted); }
  .wf-step.done .ix { background: var(--signal-deep); color: var(--ink); }
  .wf-step.done .ix::after { content: '✓'; }
  .wf-step.done .ix-num { display: none; }
  .wf-line {
    height: 1px; background: linear-gradient(90deg, transparent, var(--rule), transparent);
    margin: 0 8px;
  }
  .wf-result {
    margin-top: auto;
    padding: 12px 14px;
    background: rgba(75,159,127,0.06);
    border: 1px solid var(--signal-deep);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--signal);
    display: flex; justify-content: space-between; align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
  }
  .wf-result.show { opacity: 1; }
  .wf-result .lat {
    color: var(--cream-muted); font-size: 9px;
  }

  @media (max-width: 720px) {
    .live-stage { grid-template-columns: 1fr; }
    .work-side { display: none; }
  }

  /* play overlay shows on hover */
  .video-frame .play-btn {
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 5;
  }
  .video-frame:hover .play-btn { opacity: 1; }

  /* trust marquee */
  .trust { overflow: hidden; }
  .trust-inner {
    flex-wrap: nowrap;
    animation: marquee 38s linear infinite;
    width: max-content;
    max-width: none;
    padding-right: 32px;
  }
  .trust:hover .trust-inner { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .trust-item { white-space: nowrap; flex-shrink: 0; }

  /* count up */
  .count-up { font-variant-numeric: tabular-nums; }

  /* bet photo — REC + breathing */
  .bet-photo .photo-frame { animation: photoBreathe 6s ease-in-out infinite; }
  @keyframes photoBreathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
  }
  .photo-rec {
    position: absolute; top: 16px; right: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.1em;
    color: var(--cream); text-transform: uppercase;
    background: rgba(11,11,14,0.7);
    padding: 5px 8px; border-radius: 3px;
  }
  .photo-rec .d { width: 6px; height: 6px; border-radius: 50%; background: #E04646; animation: recBlink 1.4s infinite; }
  .bet-photo .silhouette { animation: silShift 9s ease-in-out infinite; }
  @keyframes silShift {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
  }

  /* section reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
  .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }

  /* system cards — hover + live previews */
  .system-card { transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
  .system-card:hover {
    border-color: var(--ember);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -20px rgba(232, 118, 58, 0.25);
  }
  .vid-mini { transition: border-color 0.2s, transform 0.2s; }
  .vid-mini:hover { transform: translateY(-2px); }
  .vid-mini .vid-play { opacity: 0; transition: opacity 0.2s; z-index: 4; }
  .vid-mini:hover .vid-play { opacity: 1; }

  /* scanlines that drift */
  .vid-mini .vid-bg {
    background-image:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
    animation: scan 4s linear infinite;
  }
  @keyframes scan {
    from { background-position: 0 0; }
    to { background-position: 0 60px; }
  }

  /* system 1 — missed call → SMS preview */
  .preview {
    position: absolute; inset: 18px;
    display: flex; flex-direction: column;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
    pointer-events: none;
  }
  .pv-sms {
    background: var(--ember); color: var(--ink);
    font-size: 9px; padding: 4px 7px; border-radius: 7px 7px 7px 2px;
    align-self: flex-start; max-width: 88%;
    line-height: 1.3; font-weight: 500;
    animation: smsIn 5s ease-in-out infinite;
    opacity: 0;
  }
  @keyframes smsIn {
    0% { opacity: 0; transform: translateY(8px); }
    8% { opacity: 1; transform: translateY(0); }
    78% { opacity: 1; }
    100% { opacity: 0; }
  }
  .pv-missed {
    align-self: flex-start;
    font-size: 8px; color: var(--cream-muted);
    background: rgba(11,11,14,0.6); padding: 3px 6px; border-radius: 3px;
    border: 1px dashed var(--rule);
    display: inline-flex; align-items: center; gap: 4px;
    letter-spacing: 0.04em;
  }
  .pv-missed::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: #E04646;
  }

  /* system 2 — calendar reminder */
  .cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    padding: 18px 18px 8px;
  }
  .cal .d {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.025);
    border-radius: 2px;
    font-size: 7px;
    color: var(--cream-dim);
    display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace;
  }
  .cal .d.hl {
    background: var(--ember-glow);
    color: var(--ember);
    border: 1px solid var(--ember);
    animation: dayPulse 3s ease-in-out infinite;
  }
  @keyframes dayPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,118,58,0); }
    50% { box-shadow: 0 0 0 3px rgba(232,118,58,0.15); }
  }
  .cal-out {
    position: absolute; bottom: 22px; left: 18px; right: 18px;
    font-size: 8px; font-family: 'JetBrains Mono', monospace;
    color: var(--cream-muted); letter-spacing: 0.04em;
    display: flex; justify-content: space-between;
  }
  .cal-out .ok {
    color: var(--signal);
    animation: smsIn 5s ease-in-out infinite;
    opacity: 0;
  }

  /* system 3 — dormant patients ring */
  .ring {
    position: absolute; inset: 0;
    display: grid; place-items: center;
  }
  .ring svg { width: 78px; height: 78px; transform: rotate(-90deg); }
  .ring .track { stroke: var(--rule); fill: none; stroke-width: 6; }
  .ring .prog {
    stroke: var(--ember); fill: none; stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: fillRing 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  @keyframes fillRing {
    0% { stroke-dashoffset: 220; }
    50%, 100% { stroke-dashoffset: 60; }
  }
  .ring .nm {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    color: var(--cream);
  }
  .ring .nm .big {
    font-size: 18px; font-weight: 500; display: block;
    letter-spacing: -0.02em;
  }
  .ring .nm .lit {
    font-size: 7px; color: var(--cream-muted);
    letter-spacing: 0.1em; text-transform: uppercase;
  }

  /* system 4 — review stars filling */
  .stars {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    gap: 6px;
  }
  .stars .star {
    width: 16px; height: 16px;
    color: var(--rule);
    transition: color 0.3s;
  }
  .stars .star.on { color: var(--ember); filter: drop-shadow(0 0 4px rgba(232,118,58,0.5)); }
  .stars-cap {
    position: absolute; bottom: 22px; left: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; color: var(--cream-muted);
  }

  /* "PROOF" mini panels — log-tail style */
  .logtail {
    position: absolute; inset: 18px 18px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px; line-height: 1.5;
    color: var(--cream-muted);
    overflow: hidden;
  }
  .logtail .ln { opacity: 0; animation: lnIn 0.4s forwards; }
  .logtail .ln .t { color: var(--cream-dim); margin-right: 6px; }
  .logtail .ln .ok { color: var(--signal); }
  .logtail .ln .em { color: var(--ember); }
  @keyframes lnIn {
    to { opacity: 1; }
  }

  /* stack rows — hover + BAA pulse */
  .stack-row { transition: background-color 0.2s; }
  .stack-row:not(.header):not(.total):hover { background: rgba(232,118,58,0.03); }
  .baa.signed { position: relative; }
  .baa.signed::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--signal);
    margin-right: 6px; vertical-align: middle;
    animation: pulse 2.2s infinite;
  }
  .stack-row.total { position: relative; overflow: hidden; }
  .stack-row.total::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ember), transparent);
    animation: sweep 4s ease-in-out infinite;
  }
  @keyframes sweep {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
  }

  /* build log — LIVE NOW tag and follower ticker */
  .log-row { position: relative; transition: background 0.2s; }
  .log-row:hover { background: rgba(255,255,255,0.012); }
  .log-row:hover .log-date { color: var(--ember); }
  .live-now {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; color: var(--signal);
    background: var(--signal-glow);
    padding: 2px 7px; border-radius: 3px;
    letter-spacing: 0.1em;
    margin-right: 10px;
    vertical-align: middle;
  }
  .live-now::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--signal);
    animation: pulse 1.4s infinite;
  }

  /* comparison hover + ember glow on ME */
  .compare-col { transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
  .compare-col:hover { transform: translateY(-3px); }
  .compare-col.me {
    box-shadow: 0 0 0 0 rgba(232,118,58,0);
    animation: meGlow 4s ease-in-out infinite;
  }
  @keyframes meGlow {
    0%, 100% { box-shadow: 0 0 30px -10px rgba(232,118,58,0.15); }
    50% { box-shadow: 0 0 50px -10px rgba(232,118,58,0.35); }
  }
  .compare-row { transition: padding 0.2s; }
  .compare-col:hover .check.yes { animation: checkPop 0.6s ease; }
  @keyframes checkPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }

  /* pricing — featured pulse + tier hover */
  .tier { transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
  .tier:hover { transform: translateY(-4px); border-color: var(--cream-dim); }
  .tier.featured:hover { border-color: var(--ember); box-shadow: 0 30px 60px -20px rgba(232,118,58,0.3); }
  .tier.featured::before { animation: badgeBob 3.5s ease-in-out infinite; }
  @keyframes badgeBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }

  /* FAQ smooth */
  .faq-item { transition: background 0.2s; }
  .faq-item[open] { background: rgba(255,255,255,0.012); }
  .faq-item summary::after { transition: transform 0.25s, color 0.2s; }
  .faq-item[open] summary::after { transform: rotate(180deg); }
  .faq-item .faq-body { animation: faqIn 0.4s ease forwards; }
  @keyframes faqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* hipaa — last verified live time */
  .baa { transition: border-color 0.2s, transform 0.2s; }
  .baa:hover { border-color: var(--signal); transform: translateX(2px); }
  .verified-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--cream-dim);
    margin-top: 14px;
    display: flex; align-items: center; gap: 8px;
  }
  .verified-ticker::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--signal); animation: pulse 1.6s infinite;
  }

  /* hipaa video — animated PHI / SIGNED stamp */
  .hipaa-vid { transition: border-color 0.2s; }
  .hipaa-vid:hover { border-color: var(--signal); }
  .hipaa-vid .play-mini { transition: transform 0.25s; }
  .hipaa-vid:hover .play-mini { transform: translate(-50%, -50%) scale(1.08); }
  .stamp {
    position: absolute; top: 24px; right: 24px;
    transform: rotate(-12deg);
    border: 2px solid var(--signal);
    color: var(--signal);
    padding: 6px 12px; border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.16em;
    font-weight: 600;
    background: rgba(75,159,127,0.04);
    animation: stampIn 4s ease-in-out infinite;
  }
  @keyframes stampIn {
    0%, 30%, 100% { opacity: 0; transform: rotate(-12deg) scale(1.4); }
    35%, 80% { opacity: 1; transform: rotate(-12deg) scale(1); }
  }

  /* final cta */
  .final-cta h2 em { position: relative; }
  .final-cta h2 em::after {
    content: ''; position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--ember);
    transform-origin: left;
    animation: emFlash 3.5s ease-in-out infinite;
  }
  @keyframes emFlash {
    0%, 100% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
  }
  .final-cta .btn-primary { box-shadow: 0 0 0 0 var(--ember-glow); animation: ctaPulse 2.8s ease-in-out infinite; }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,118,58,0.5); }
    50% { box-shadow: 0 0 0 16px rgba(232,118,58,0); }
  }

  /* magnetic primary button */
  .btn-primary { transition: background 0.15s, transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .btn-primary:hover svg { transform: translateX(3px); transition: transform 0.2s; }
  .btn-primary svg { transition: transform 0.2s; }

  /* reduce motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* ═══ v3 ADDITIONS ═══ */

  /* bet stats — fixed layout */
  .bet-numbers { grid-template-columns: 1fr; gap: 0; }
  .bet-num {
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-soft);
    display: grid;
    grid-template-columns: minmax(160px, max-content) 1fr;
    gap: 36px;
    align-items: baseline;
  }
  .bet-num:last-child { border-bottom: none; }
  .bet-num .val {
    font-size: 30px; letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--cream);
    white-space: nowrap;
    line-height: 1;
  }
  .bet-num .bet-note {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--cream-muted);
    line-height: 1.5;
    grid-column: 2;
    margin-bottom: 6px;
  }
  .bet-num .lbl {
    grid-column: 2;
    color: var(--ember);
    font-weight: 500;
  }
  .bet-sources {
    margin-top: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.6;
  }

  /* stack — 3-col now (no cost) */
  .stack-row.three { grid-template-columns: 220px 1fr 140px; }
  .stack-row.three.header { grid-template-columns: 220px 1fr 140px; }
  .stack-summary {
    background: var(--ink);
    padding: 22px 28px;
    border-top: 1px solid var(--rule);
    font-family: 'Fraunces', serif;
    font-size: 17px;
    color: var(--cream);
    letter-spacing: -0.005em;
    line-height: 1.5;
  }
  .stack-summary strong { color: var(--ember); font-weight: 500; font-style: italic; }

  /* system card industry tag — top right of PROOF preview */
  .vid-bench {
    position: absolute; top: 8px; right: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    color: var(--cream-muted);
    background: rgba(11, 11, 14, 0.85);
    border: 1px solid var(--rule);
    padding: 3px 6px; border-radius: 3px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    max-width: 130px;
    line-height: 1.3;
    text-align: right;
    z-index: 3;
  }

  /* onboarding now card */
  .onboarding {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--ember);
    border-radius: 10px;
    padding: 40px 44px;
    max-width: 820px;
    margin: 0 auto;
  }
  .onb-tag {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ember);
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 18px;
    background: var(--ember-glow);
    padding: 5px 10px; border-radius: 3px;
  }
  .onb-tag .d {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--ember);
    animation: pulse-ember 1.8s infinite;
  }
  .onboarding h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px; font-weight: 600;
    color: var(--cream); margin-bottom: 14px;
    letter-spacing: -0.015em;
    line-height: 1.2;
  }
  .onboarding p {
    color: var(--cream-muted);
    font-size: 15px; line-height: 1.6;
    margin-bottom: 24px;
    max-width: 60ch;
  }
  .email-capture {
    display: flex; gap: 8px;
    max-width: 480px;
  }
  .email-capture input {
    flex: 1;
    background: var(--ink);
    border: 1px solid var(--rule);
    color: var(--cream);
    padding: 13px 16px;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .email-capture input:focus {
    border-color: var(--ember);
    background: #0F0F14;
  }
  .email-capture input::placeholder { color: var(--cream-dim); }
  .email-capture button {
    background: var(--ember); color: var(--ink); border: none;
    padding: 0 22px; border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
  }
  .email-capture button:hover { background: var(--ember-deep); }
  .email-capture button.done { background: var(--signal); }

  /* ROI math strip */
  .roi-strip {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 32px 36px;
    margin-top: 56px;
    max-width: 920px;
    margin-inline: auto;
  }
  .roi-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ember);
    letter-spacing: 0.14em;
    margin-bottom: 22px;
    text-transform: uppercase;
  }
  .roi-rows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-soft);
  }
  .roi-cell {
    padding: 18px 20px 18px 0;
    border-right: 1px solid var(--rule-soft);
  }
  .roi-cell:last-child { border-right: none; padding-right: 0; }
  .roi-cell .l {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--cream-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }
  .roi-cell .v {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    color: var(--cream);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
  }
  .roi-cell.net .v { color: var(--signal); }
  .roi-foot {
    margin-top: 18px;
    font-size: 13px;
    color: var(--cream-dim);
    font-style: italic;
  }

  /* dashboard logic table */
  .dash-section {
    margin-top: 56px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
  }
  .dash-head {
    padding: 28px 32px 22px;
    border-bottom: 1px solid var(--rule);
  }
  .dash-head h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px; font-weight: 600;
    color: var(--cream); margin-bottom: 6px;
    letter-spacing: -0.015em;
  }
  .dash-head p {
    font-size: 14px; color: var(--cream-muted);
    line-height: 1.5;
  }
  .dash-table {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
  }
  .dash-table > div {
    padding: 16px 24px;
    border-bottom: 1px solid var(--rule-soft);
    font-size: 14px;
    display: flex; align-items: center;
  }
  .dash-table > div.h {
    background: var(--ink);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 24px;
    border-bottom: 1px solid var(--rule);
  }
  .dash-table > div.panel { color: var(--cream); }
  .dash-table > div.s {
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .dash-table > div.s.live { color: var(--signal); }
  .dash-table > div.s.locked { color: var(--cream-dim); }
  .dash-table > div.s.lock-est { color: var(--ember); }
  .dash-table > div.s::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    margin-right: 7px; flex-shrink: 0;
  }
  .dash-table > div.s.live::before { background: var(--signal); }
  .dash-table > div.s.locked::before { background: var(--cream-dim); }
  .dash-table > div.s.lock-est::before { background: var(--ember); }
  .dash-foot {
    padding: 18px 32px;
    background: var(--ink);
    font-size: 13px;
    color: var(--cream-muted);
    line-height: 1.5;
    border-top: 1px solid var(--rule);
  }
  .dash-foot strong { color: var(--cream); font-weight: 500; }

  /* hero subhead — match new bet H2 voice */
  .hero-sub { }

  /* ───────── SECTION ambient + schematic detailing ───────── */
  section.block { position: relative; }
  section.block::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse 50% 40% at 90% 10%, rgba(232, 118, 58, 0.045), transparent 60%);
  }
  section.block > * { position: relative; z-index: 1; }
  section.block:nth-of-type(even)::before {
    background: radial-gradient(ellipse 55% 45% at 10% 80%, rgba(75, 159, 127, 0.04), transparent 60%);
  }

  /* schematic corner brackets on every section label */
  .section-label {
    position: relative;
    padding-left: 22px;
    display: inline-block;
    white-space: nowrap;
  }
  .section-label::before,
  .section-label::after {
    content: '';
    position: absolute;
    width: 9px; height: 9px;
    border: 1px solid var(--ember);
    opacity: 0.65;
  }
  .section-label::before {
    top: 1px; left: 0;
    border-right: none; border-bottom: none;
  }
  .section-label::after {
    bottom: 1px; left: 4px;
    border-right: none; border-top: none;
    opacity: 0.3;
  }

  /* faint horizontal datum tick above each section h2 */
  .section-h { position: relative; }
  .section-h::before {
    content: '';
    position: absolute;
    top: -14px; left: 0;
    width: 56px; height: 1px;
    background: linear-gradient(90deg, var(--ember), transparent);
  }

  /* ───────── SCROLL-FOLLOWING AMBIENT LIGHT ─────────
     viewport-fixed so it never clips on any container.
     A warm comet of light that morphs shape per section. */
  .scroll-light {
    position: fixed;
    pointer-events: none;
    /* z-index 0 keeps it above body/section backgrounds but below content.
       Section inner contents are explicitly z-index:1 so they always read. */
    z-index: 0;
    width: 28vmax;
    height: 28vmax;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
      rgba(232, 118, 58, 0.55) 0%,
      rgba(232, 118, 58, 0.20) 35%,
      transparent 70%);
    filter: blur(44px);
    opacity: 0.65;
    mix-blend-mode: screen;
    transition:
      width 1.6s cubic-bezier(0.4, 0, 0.2, 1),
      height 1.6s cubic-bezier(0.4, 0, 0.2, 1),
      border-radius 1.6s cubic-bezier(0.4, 0, 0.2, 1),
      background 1.4s ease,
      opacity 1.4s ease;
    will-change: transform, background, border-radius, width, height;
  }
  .scroll-light.secondary {
    display: none; /* one light only — quieter */
  }
  @media (prefers-reduced-motion: reduce) {
    .scroll-light { transition: none; }
  }

  /* ═══════════ LIQUID GLASS — reusable frosted-glass card ═══════════
     Applied to surfaces that sit over the scrollLight bloom so the
     section's chromatic atmosphere subtly refracts through.
     Nav (z:50) and modal (z:300) already use backdrop-filter — same family.

     v1 ships intentionally without per-card bokeh ::before or
     IntersectionObserver `will-change` gating — both are known to
     repaint-thrash on Safari and chew GPU on mid-range Windows laptops.
     `contain: paint` alone handles compositing isolation. */
  .glass-card {
    background: rgba(20, 20, 26, 0.62);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.40),
      inset 0 1px 0 rgba(255, 255, 255, 0.05); /* top-edge highlight — Apple's glass thickness cue */
    contain: paint;
  }
  @media (prefers-reduced-transparency: reduce) {
    .glass-card {
      background: var(--paper);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }
  /* Compliance receipt keeps its signal-green identity even under glass —
     "successful checks" reads visually, not just typographically. */
  .sim-compliance.glass-card {
    background: rgba(75, 159, 127, 0.10);
    border: 1px solid rgba(75, 159, 127, 0.28);
  }
  @media (prefers-reduced-transparency: reduce) {
    .sim-compliance.glass-card {
      background: rgba(75, 159, 127, 0.08);
      border: 1px solid rgba(75, 159, 127, 0.22);
    }
  }

  /* hero ambient glow */
  .hero { position: relative; }

  /* final-cta ambient — warm halo from bottom */
  .final-cta { position: relative; overflow: hidden; }
  .final-cta::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 60% 50% at 50% 110%, rgba(232, 118, 58, 0.10), transparent 60%),
      repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.007) 18px 19px);
  }
  .final-cta > * { position: relative; z-index: 1; }

  /* log section gets a softly tiled "engineering" backdrop */
  .log-section { position: relative; }
  .log-section::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    background:
      radial-gradient(ellipse 30% 60% at 0% 50%, rgba(75, 159, 127, 0.06), transparent 60%),
      repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.008) 20px 21px);
  }
  .log-section > * { position: relative; z-index: 1; }

  /* trust strip subtle wash */
  .trust {
    background:
      linear-gradient(180deg, transparent, rgba(232, 118, 58, 0.025), transparent);
    position: relative;
  }

  /* drop per-section ambient glows now that the scroll light handles atmosphere */
  section.block::before,
  section.block:nth-of-type(even)::before,
  #bet::before, #systems::before, #stack::before,
  #compare::before, #work::before, #faq::before, #hipaa::before {
    background: none;
  }

  /* ───── RESPONSIVE ───── */
  @media (max-width: 880px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .hero { padding: 60px 24px 80px; }
    section.block { padding: 80px 24px; }
    .bet-grid { grid-template-columns: 1fr; gap: 40px; }
    .systems { grid-template-columns: 1fr; }
    .stack-row { grid-template-columns: 1fr auto; gap: 12px; }
    .stack-row .desc { grid-column: 1 / -1; font-size: 12px; }
    .stack-row.header { display: none; }
    .compare { grid-template-columns: 1fr; }
    .pricing { grid-template-columns: 1fr; }
    .hipaa-grid { grid-template-columns: 1fr; gap: 40px; }
    .log-row { grid-template-columns: 80px 1fr; }
    .log-row .log-meta { grid-column: 2; font-size: 11px; }
    .faq-item summary { font-size: 17px; gap: 16px; }
    .bet-num { grid-template-columns: 1fr; gap: 8px; }
    .bet-num .bet-note, .bet-num .lbl { grid-column: 1; }
    .roi-rows { grid-template-columns: 1fr 1fr; }
    .roi-cell { border-right: none; border-bottom: 1px solid var(--rule-soft); }
    .roi-cell:nth-child(odd) { border-right: 1px solid var(--rule-soft); }
    .dash-table { grid-template-columns: 1fr; }
    .dash-table > div { padding: 12px 20px; }
    .dash-table > div.s { justify-content: flex-start; }
    .dash-table > div.h { display: none; }
    .dash-table > div.s::after {
      content: attr(data-tier);
      margin-left: 8px;
      color: var(--cream-dim);
      font-size: 9px; letter-spacing: 0.12em;
      text-transform: uppercase;
    }
    .email-capture { flex-direction: column; }
    .stack-row.three, .stack-row.three.header { grid-template-columns: 1fr auto; }
  }

  /* ═══════════ v4 — LIVING ATMOSPHERE ═══════════ */
  /* Goals: smoother easings, ambient drift, softer hovers, refined glow.
     No new content — only polish on what exists. */

  :root {
    --ease-out-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out-back: cubic-bezier(0.34, 1.36, 0.64, 1);
    --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
  }

  /* Living aurora — two slow-drifting warm/cool blooms behind everything.
     Sits above the grid, below content. Pure ambient — no interactivity. */
  body { position: relative; }
  .aurora {
    position: fixed; inset: 0;
    pointer-events: none; z-index: -1;
    overflow: hidden;
  }
  .aurora::before,
  .aurora::after {
    content: '';
    position: absolute;
    width: 70vmax; height: 70vmax;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    will-change: transform;
  }
  .aurora::before {
    background: radial-gradient(circle, rgba(232, 118, 58, 0.18), transparent 60%);
    top: -20vmax; left: -15vmax;
    animation: auroraA 38s var(--ease-in-out-soft) infinite alternate;
  }
  .aurora::after {
    background: radial-gradient(circle, rgba(75, 159, 127, 0.13), transparent 60%);
    bottom: -25vmax; right: -20vmax;
    animation: auroraB 46s var(--ease-in-out-soft) infinite alternate;
  }
  @keyframes auroraA {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(8vw, 6vh, 0) scale(1.15); }
    100% { transform: translate3d(-4vw, 12vh, 0) scale(1.05); }
  }
  @keyframes auroraB {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-10vw, -8vh, 0) scale(1.12); }
    100% { transform: translate3d(6vw, -4vh, 0) scale(1.06); }
  }

  /* Cursor halo — soft warm light that follows the pointer.
     Updated via mousemove → --mx / --my custom properties. */
  body::before {
    /* keep noise as-is, but layer the halo on a separate pseudo via .halo */
  }
  .halo {
    position: fixed;
    top: 0; left: 0;
    width: 520px; height: 520px;
    pointer-events: none;
    z-index: 0;
    transform: translate(var(--mx, 50vw), var(--my, 30vh)) translate(-50%, -50%);
    background: radial-gradient(circle, rgba(232, 118, 58, 0.10) 0%, transparent 55%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-soft);
  }
  body.cursor-live .halo { opacity: 1; }

  /* Subtle global breathing on the noise overlay so the page never feels static. */
  body::before {
    animation: noiseBreathe 11s var(--ease-in-out-soft) infinite;
  }
  @keyframes noiseBreathe {
    0%, 100% { opacity: 0.05; }
    50%      { opacity: 0.075; }
  }

  /* Smoother reveal — longer ease-out, less travel.
     Overrides the snappier v2 reveal. */
  .reveal {
    transition: opacity 1.1s var(--ease-out-soft),
                transform 1.1s var(--ease-out-soft);
    transform: translateY(22px);
  }
  .reveal-stagger > * {
    transition: opacity 0.85s var(--ease-out-soft),
                transform 0.85s var(--ease-out-soft);
  }

  /* Hero — gentle breathing on the H1 ember accent so the eye lingers. */
  .hero h1 .accent {
    background: linear-gradient(120deg, var(--ember) 0%, #F2A36B 50%, var(--ember) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: emberShimmer 9s linear infinite;
  }
  @keyframes emberShimmer {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
  }

  /* Section headings — same warm shimmer on em accents, but slower + subtler. */
  .section-h em,
  .bet-text h2 em,
  .final-cta h2 em {
    background: linear-gradient(120deg, var(--ember) 0%, #F2A36B 50%, var(--ember) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: emberShimmer 14s linear infinite;
  }

  /* Trust marquee — soft edge fade so items glide in/out, not cut. */
  .trust {
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .trust-inner { animation-duration: 52s; animation-timing-function: linear; }

  /* Card hovers — softer lift, longer easing, warmer ambient shadow. */
  .system-card,
  .compare-col,
  .tier,
  .baa,
  .stack-grid,
  .social-slot,
  .hipaa-vid,
  .video-frame {
    transition:
      transform 0.5s var(--ease-out-soft),
      border-color 0.4s var(--ease-out-soft),
      box-shadow 0.5s var(--ease-out-soft),
      background-color 0.3s var(--ease-out-soft);
  }
  .system-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 24px 60px -28px rgba(232, 118, 58, 0.30),
      0 2px 0 0 rgba(232, 118, 58, 0.08) inset;
  }
  .compare-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -28px rgba(239, 234, 224, 0.10);
  }
  .tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px -30px rgba(239, 234, 224, 0.12);
  }
  .tier.featured:hover {
    box-shadow:
      0 30px 70px -22px rgba(232, 118, 58, 0.40),
      0 2px 0 0 rgba(232, 118, 58, 0.12) inset;
  }
  .baa:hover {
    transform: translateX(3px) translateY(-1px);
    box-shadow: 0 8px 20px -12px rgba(75, 159, 127, 0.30);
  }

  /* CTAs — smoother press, subtle warm glow on idle. */
  .btn-primary,
  .nav-cta,
  .tier-cta {
    transition:
      background-color 0.3s var(--ease-out-soft),
      transform 0.25s var(--ease-out-soft),
      box-shadow 0.4s var(--ease-out-soft);
  }
  .btn-primary {
    box-shadow: 0 8px 24px -10px rgba(232, 118, 58, 0.35);
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -10px rgba(232, 118, 58, 0.55);
  }
  .btn-primary:active { transform: translateY(1px); }

  /* Scroll progress — softer, glowing trail. */
  .scroll-progress {
    transition: width 0.18s var(--ease-out-soft);
    background: linear-gradient(90deg, rgba(232, 118, 58, 0), var(--ember) 30%, #F2A36B 70%, rgba(232, 118, 58, 0));
    box-shadow: 0 0 14px rgba(232, 118, 58, 0.65);
  }

  /* Nav — softer entrance, smoother backdrop. */
  nav { transition: background-color 0.5s var(--ease-out-soft), border-color 0.5s var(--ease-out-soft); }

  /* Bet photo — a little softer breathing, slower, plus a warm rim. */
  .bet-photo {
    box-shadow: inset 0 0 80px rgba(232, 118, 58, 0.06);
  }
  .bet-photo .photo-frame { animation-duration: 9s; animation-timing-function: var(--ease-in-out-soft); }
  .bet-photo .silhouette { animation-duration: 12s; animation-timing-function: var(--ease-in-out-soft); }

  /* Ember field — fewer, slower, gentler (let the aurora carry the room). */
  .ember-field span {
    animation-duration: 20s !important;
    box-shadow: 0 0 14px var(--ember), 0 0 30px rgba(232, 118, 58, 0.35);
  }

  /* FAQ — softer open/close. */
  .faq-item summary { transition: color 0.3s var(--ease-out-soft); }
  .faq-item summary::after { transition: transform 0.4s var(--ease-out-back), color 0.3s var(--ease-out-soft); }
  .faq-item .faq-body { animation: faqIn 0.55s var(--ease-out-soft) forwards; }

  /* Live workflow dots — gentler pulse. */
  .wf-step.active .ix {
    animation: wfPulse 2.2s var(--ease-in-out-soft) infinite;
  }
  @keyframes wfPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(75, 159, 127, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(75, 159, 127, 0.06); }
  }

  /* Final CTA — gentle backdrop bloom so the close feels warm, not abrupt. */
  .final-cta {
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: '';
    position: absolute;
    inset: -10% -10% auto -10%; height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 118, 58, 0.10), transparent 70%);
    pointer-events: none;
    animation: finalBloom 10s var(--ease-in-out-soft) infinite;
  }
  @keyframes finalBloom {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.04); }
  }

  /* Respect reduced motion. */
  @media (prefers-reduced-motion: reduce) {
    .aurora::before, .aurora::after,
    body::before,
    .hero h1 .accent,
    .section-h em, .bet-text h2 em, .final-cta h2 em,
    .final-cta::before,
    .wf-step.active .ix {
      animation: none !important;
    }
  }

  /* ═══════════ v5 — Portfolio reframe additions ═══════════ */

  /* About section */
  .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 32px;
  }
  .about-bio p {
    font-size: 18px;
    color: var(--cream-muted);
    line-height: 1.65;
    max-width: 56ch;
    margin: 0;
  }
  .about-bio p + p { margin-top: 20px; }
  .about-bio p strong { color: var(--cream); font-weight: 500; }
  .about-side .bet-numbers { margin-top: 0; padding-top: 0; border-top: none; }
  .about-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .about-side-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--rule-soft);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--cream-dim);
  }
  .about-social-btn {
    padding: 10px 18px !important;
    font-size: 13px;
    border: 1px solid var(--rule) !important;
    border-radius: 5px;
    background: var(--paper) !important;
    color: var(--cream) !important;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .about-social-btn:hover {
    border-color: var(--ember) !important;
    color: var(--ember) !important;
  }

  /* ═══ About stats = frosted iOS glass panel over a soft ember/sage bloom ═══
     The bloom is a sibling BEHIND the panel so the panel's backdrop-filter has
     real color to refract — that is what makes glass read as glass, not a flat
     white box. Falls back to a solid card under prefers-reduced-transparency. */
  .about-grid { position: relative; }
  .about-grid::before {
    content: "";
    position: absolute; z-index: 0;
    top: 50%; right: -3%;
    width: 48%; height: 116%;
    transform: translateY(-50%);
    background:
      radial-gradient(50% 42% at 62% 32%, rgba(199, 85, 31, 0.34), transparent 70%),
      radial-gradient(54% 48% at 38% 78%, rgba(75, 159, 127, 0.28), transparent 72%);
    filter: blur(34px);
    opacity: 0.95;
    pointer-events: none;
  }
  .about-side.about-panel {
    position: relative; z-index: 1;
    padding: 34px 34px 30px;
    border-radius: 26px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.30));
    backdrop-filter: blur(26px) saturate(185%);
    -webkit-backdrop-filter: blur(26px) saturate(185%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
      0 28px 64px -30px rgba(60, 42, 26, 0.36),
      0 2px 10px rgba(60, 42, 26, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }
  @media (prefers-reduced-transparency: reduce) {
    .about-side.about-panel { background: #FFFFFF; backdrop-filter: none; -webkit-backdrop-filter: none; }
  }
  .about-follow-cta {
    margin-top: 26px; margin-bottom: 2px;
    font-family: 'Fraunces', serif; font-style: italic;
    font-size: 18px; line-height: 1.3; letter-spacing: -0.01em;
    color: var(--cream);
  }
  .about-panel .about-socials { margin-top: 14px; }
  .about-panel .about-social-btn {
    background: rgba(255, 255, 255, 0.46) !important;
    border: 1px solid rgba(255, 255, 255, 0.68) !important;
    border-radius: 999px;
    color: var(--cream) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
  .about-panel .about-social-btn:hover {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(199, 85, 31, 0.55) !important;
    color: var(--ember) !important;
  }
  .about-panel .about-side-footer { border-top-color: rgba(60, 42, 26, 0.12); }

  @media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-side.about-panel { padding: 26px 24px 24px; }
    .about-grid::before { width: 82%; right: 0; height: 60%; opacity: 0.75; }
  }

  /* Process tier grid */
  .process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  .process-tier {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .process-tier:hover {
    border-color: var(--ember);
    transform: translateY(-3px);
    box-shadow: 0 24px 50px -28px rgba(232, 118, 58, 0.25);
  }
  .process-tier-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--ember);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .process-tier-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 14px;
    letter-spacing: -0.015em;
    line-height: 1.25;
  }
  .process-tier-body {
    font-size: 14.5px;
    color: var(--cream-muted);
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .process-tier-breakers {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--rule-soft);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .process-tier-breakers .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .process-tier-breakers .breaker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--cream-muted);
    padding: 3px 0;
    display: block;
    position: relative;
    padding-left: 14px;
  }
  .process-tier-breakers .breaker::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--ember);
  }
  .process-closing {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    font-size: 15.5px;
    color: var(--cream-muted);
    line-height: 1.6;
    max-width: 920px;
  }
  .process-closing strong { color: var(--cream); font-weight: 500; }
  /* Methodology section — signal-green accent differentiates research-conduct from build-process */
  #methodology .section-label { color: var(--signal); }
  #methodology .section-label::before,
  #methodology .section-label::after { border-color: var(--signal); }
  #methodology .section-h em { color: var(--signal); font-style: italic; font-weight: 500; }
  #methodology .process-tier-num { color: var(--signal); }
  #methodology .process-tier .breaker::before { color: var(--signal); }
  #methodology .process-tier .label { color: var(--signal); }
  #methodology .process-closing strong { color: var(--cream); }
  /* Methodology section — public, dated revisions list inside .process-closing */
  .methodology-changelog {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    font-size: 12px;
    color: var(--cream-muted);
    letter-spacing: 0.04em;
  }
  .methodology-changelog li {
    padding: 6px 0;
    border-top: 1px solid var(--rule-soft);
  }
  .methodology-changelog li:last-child { border-bottom: 1px solid var(--rule-soft); }
  @media (max-width: 880px) {
    .process-grid { grid-template-columns: 1fr; }
  }

  /* System card walkthrough slate (vid-operator) */
  .vid-operator {
    position: relative;
    aspect-ratio: 16 / 9;          /* the placeholder holds the real video's shape, not a thin band */
    min-height: 132px;
    background: linear-gradient(150deg, rgba(255,255,255,0.42), rgba(255,255,255,0.14));
    border: 1px dashed rgba(120,100,78,0.38);
    border-radius: 14px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    transition: border-color 0.25s, background 0.25s;
  }
  /* when a real walkthrough video is embedded, restore the 16:9 frame */
  .vid-operator.has-video {
    aspect-ratio: 16 / 9; min-height: 0; padding: 0;
    background: var(--paper); border-style: solid; border-color: var(--rule);
  }
  .vid-operator:hover {
    border-color: var(--cream-dim);
    background: var(--paper-elev);
  }
  .vid-operator .eyebrow-small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: var(--cream-dim);
    letter-spacing: 0.14em;
    margin-bottom: 10px;
  }
  .vid-operator .title-small {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--cream-muted);
    line-height: 1.35;
    max-width: 26ch;
    margin-bottom: 8px;
  }
  .vid-operator .caption-small {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: var(--cream-dim);
    letter-spacing: 0.08em;
  }

  /* Intro explainer video (About section, scaled-up vid-operator) */
  .vid-explainer {
    max-width: 920px;
    margin: 0 0 56px;
    padding: 32px;
    border-radius: 10px;
  }
  .vid-explainer .eyebrow-small {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .vid-explainer .title-small {
    font-size: 22px;
    max-width: 32ch;
    margin-bottom: 14px;
  }
  .vid-explainer .caption-small {
    font-size: 11px;
  }
  .vid-explainer.has-video {
    padding: 0;
    border-style: solid;
    border-color: var(--rule);
    background: var(--paper);
    overflow: hidden;
  }
  .vid-explainer.has-video iframe,
  .vid-explainer.has-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  /* (Retired demo phone-number / copy-button / toast UI removed 2026-07-05 —
     replaced by the embedded iframe demo. The live .demo-actions rule is further down.) */

  /* Demo feedback modal */
  .demo-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .demo-modal[aria-hidden="false"] { display: flex; }
  .demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 14, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
  }
  .demo-modal-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 40px 44px;
    max-width: 540px;
    width: 100%;
    z-index: 1;
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .demo-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--cream-muted);
    font-size: 26px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
  }
  .demo-modal-close:hover {
    color: var(--cream);
    background: var(--paper-elev);
  }
  .demo-modal-title {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    line-height: 1.25;
  }
  .demo-modal-sub {
    font-size: 13.5px;
    color: var(--cream-dim);
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .demo-modal-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
    margin-top: 14px;
  }
  #demoFeedbackMessage, #demoFeedbackContact {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--rule);
    color: var(--cream);
    padding: 12px 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
    box-sizing: border-box;
  }
  #demoFeedbackMessage:focus, #demoFeedbackContact:focus {
    border-color: var(--ember);
  }
  .demo-modal-submit {
    width: 100%;
    margin-top: 22px !important;
    justify-content: center;
  }
  .demo-modal-error {
    margin-top: 12px;
    font-size: 12px;
    color: #E26060;
    font-family: 'JetBrains Mono', monospace;
  }
  .demo-modal-success {
    text-align: center;
    padding: 40px 0;
  }
  .demo-modal-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--signal-glow);
    color: var(--signal);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-weight: 500;
  }

  /* ─────────── DEMO LINE SIMULATOR ─────────── */
  .sim-stage {
    margin-top: 36px;
    /* background + border come from .glass-card (applied alongside this class).
       prefers-reduced-transparency: reduce falls back to --paper there. */
    border-radius: 12px;
    padding: 28px 32px 32px;
  }
  .sim-stage-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rule-soft);
    margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .sim-stage-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-muted);
  }
  .sim-stage-tag::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 10px var(--ember);
    animation: pulse 2.2s infinite;
  }
  .sim-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .sim-ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--cream-muted);
    padding: 8px 14px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .sim-ctrl-btn:hover { border-color: var(--ember); color: var(--ember); }
  .sim-ctrl-btn[aria-pressed="true"] {
    border-color: var(--ember);
    color: var(--ember);
    background: rgba(232, 110, 70, 0.06);
  }
  .sim-ctrl-icon { font-size: 12px; line-height: 1; }

  .sim-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
    align-items: start;
  }

  /* LEFT: n8n-style canvas */
  .sim-canvas-wrap {
    min-width: 0;
    position: relative;
  }
  .sim-canvas-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    background: var(--paper-elev);
    border: 1px solid var(--rule-soft);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 9.5px;
    color: var(--cream-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .sim-canvas-title { color: var(--cream-muted); }
  .sim-canvas-hint { color: var(--cream-dim); opacity: 0.7; }
  .sim-canvas-frame {
    background: var(--ink);
    border: 1px solid var(--rule-soft);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    position: relative;
  }
  .sim-canvas-svg {
    display: block;
    width: 100%;
    height: auto;
    cursor: default;
  }

  /* Connection paths */
  .sim-link {
    fill: none;
    stroke: #3a3a44;
    stroke-width: 1.5;
    stroke-linecap: round;
    transition: stroke 0.35s ease, stroke-width 0.35s ease, opacity 0.35s ease;
  }
  .sim-link.active {
    stroke: var(--ember);
    stroke-width: 2;
    stroke-dasharray: 6 4;
    animation: simDash 1.2s linear infinite;
  }
  .sim-link.done {
    stroke: var(--signal);
    stroke-width: 1.5;
    opacity: 0.55;
  }
  @keyframes simDash {
    to { stroke-dashoffset: -20; }
  }
  .sim-link-out { stroke-width: 1.5; }

  /* Execution dot — only visible while traveling along a link, hidden at rest */
  .sim-dot {
    filter: drop-shadow(0 0 6px var(--ember)) drop-shadow(0 0 14px rgba(232, 118, 58, 0.35));
    transition: opacity 0.18s ease;
    pointer-events: none;
  }

  /* Node hover tooltip */
  .sim-tooltip {
    position: absolute;
    z-index: 12;
    width: 260px;
    background: var(--paper-elev);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 14px 16px;
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(232, 118, 58, 0.14);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
    font-family: 'Inter', -apple-system, sans-serif;
    left: 0;
    top: 0;
    transform: translate(-50%, 4px);
  }
  .sim-tooltip.above { transform: translate(-50%, calc(-100% - 18px)); }
  .sim-tooltip.show { opacity: 1; transform: translate(-50%, 12px); }
  .sim-tooltip.show.above { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); }
  .sim-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
  }
  .sim-tooltip:not(.above)::after {
    top: -6px;
    border-bottom: 6px solid var(--paper-elev);
  }
  .sim-tooltip.above::after {
    bottom: -6px;
    border-top: 6px solid var(--paper-elev);
  }
  .sim-tooltip-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: var(--ember);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .sim-tooltip-name {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 16px;
    color: var(--cream);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .sim-tooltip-desc {
    font-size: 12.5px;
    color: var(--cream-muted);
    line-height: 1.55;
  }
  @media (max-width: 720px) {
    .sim-tooltip { display: none; }
  }

  /* Node hover — soft warm halo to invite the pointer */
  .sim-cn:hover .sim-cn-bg,
  .sim-cn:focus-visible .sim-cn-bg {
    filter: drop-shadow(0 0 12px rgba(232, 118, 58, 0.22));
  }

  /* Canvas nodes */
  .sim-cn { cursor: pointer; outline: none; }
  .sim-cn:focus-visible .sim-cn-bg { stroke: var(--ember); stroke-width: 2.5; }
  .sim-cn-bg {
    fill: var(--paper-elev);
    stroke: var(--rule);
    stroke-width: 1;
    transition: stroke 0.3s ease, fill 0.3s ease, filter 0.3s ease;
  }
  .sim-cn-icon { color: var(--cream-dim); transition: color 0.3s ease; }
  .sim-cn-name { fill: var(--cream-muted); transition: fill 0.3s ease; }
  .sim-cn-tag { fill: var(--cream-dim); opacity: 0.8; transition: fill 0.3s ease; font-size: 8px; letter-spacing: 0.3px; }

  .sim-cn:hover .sim-cn-bg,
  .sim-cn:focus-visible .sim-cn-bg {
    stroke: var(--cream-dim);
    fill: rgba(232, 110, 70, 0.04);
  }
  .sim-cn:hover .sim-cn-icon,
  .sim-cn:focus-visible .sim-cn-icon { color: var(--cream); }
  .sim-cn:hover .sim-cn-name,
  .sim-cn:focus-visible .sim-cn-name { fill: var(--cream); }

  .sim-cn.active .sim-cn-bg {
    stroke: var(--ember);
    fill: rgba(232, 110, 70, 0.1);
    filter: drop-shadow(0 0 8px rgba(232, 110, 70, 0.4));
  }
  .sim-cn.active .sim-cn-icon { color: var(--ember); }
  .sim-cn.active .sim-cn-name { fill: var(--cream); }
  .sim-cn.active .sim-cn-tag { fill: var(--ember); opacity: 1; }

  .sim-cn.done .sim-cn-bg {
    stroke: var(--signal);
    fill: rgba(95, 195, 130, 0.05);
  }
  .sim-cn.done .sim-cn-icon { color: var(--signal); }
  .sim-cn.done .sim-cn-name { fill: var(--cream-muted); }
  .sim-cn.done .sim-cn-tag { fill: var(--signal); opacity: 0.8; }

  /* Detail strip below the grid */
  .sim-detail-strip {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--paper-elev);
    border: 1px solid var(--rule-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 22px;
  }
  .sim-detail-current {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
  }
  .sim-detail-num {
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.1em;
  }
  .sim-detail-name {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--cream-muted);
    letter-spacing: -0.005em;
  }
  .sim-detail-divider {
    width: 1px;
    height: 14px;
    background: var(--rule);
    flex-shrink: 0;
  }
  .sim-detail-trace {
    font-size: 10.5px;
    color: var(--cream-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sim-detail-strip.active .sim-detail-num { color: var(--ember); }
  .sim-detail-strip.active .sim-detail-name { color: var(--cream); }
  .sim-detail-strip.active .sim-detail-trace { color: var(--cream-muted); }
  .sim-detail-strip.done .sim-detail-num { color: var(--signal); }
  .sim-detail-strip.done .sim-detail-name { color: var(--cream); }
  .sim-detail-strip.done .sim-detail-trace { color: var(--signal); }

  /* RIGHT: synthetic phone */
  .sim-phone-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .sim-phone {
    width: 248px;
    background: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
  }
  .sim-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 18px;
    background: #000;
    border-radius: 0 0 12px 12px;
    z-index: 2;
  }
  .sim-phone-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 18px 14px;
    font-size: 11px;
    color: var(--cream-muted);
    letter-spacing: 0.04em;
  }
  .sim-phone-signal {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--cream-dim);
  }
  .sim-phone-screen {
    background: #0e0e12;
    border-radius: 22px;
    padding: 18px 14px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
  }
  /* Diagonal watermark so a screenshot can never be misread as real PHI */
  .sim-phone-screen::after {
    content: 'SYNTHETIC DATA';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    letter-spacing: 0.32em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(-22deg);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
  }
  .sim-call-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    background: rgba(232, 110, 70, 0.08);
    border: 1px solid rgba(232, 110, 70, 0.25);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    position: relative;
    z-index: 2;
  }
  .sim-call-card.show {
    opacity: 1;
    transform: translateY(0);
  }
  .sim-call-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(232, 110, 70, 0.18);
    color: var(--ember);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .sim-call-info { min-width: 0; }
  .sim-call-name {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--cream);
    font-weight: 500;
  }
  .sim-call-meta {
    font-size: 9.5px;
    color: var(--cream-dim);
    letter-spacing: 0.05em;
    margin-top: 3px;
  }
  .sim-sms-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
  }
  .sim-sms-thread[hidden] { display: none; }
  .sim-sms-header {
    font-size: 9px;
    color: var(--cream-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .sim-sms-bubble {
    align-self: flex-start;
    max-width: 88%;
    background: #1d1d24;
    color: var(--cream);
    font-size: 13px;
    line-height: 1.45;
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
    word-wrap: break-word;
    min-height: 18px;
  }
  .sim-sms-bubble.typing::after {
    content: '|';
    color: var(--ember);
    margin-left: 1px;
    animation: simCaret 0.9s steps(2) infinite;
  }
  @keyframes simCaret {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }
  .sim-sms-stamp {
    align-self: flex-start;
    font-size: 9px;
    color: var(--cream-dim);
    letter-spacing: 0.08em;
    margin-left: 6px;
  }
  .sim-sms-stamp .check { color: var(--signal); margin-right: 4px; }

  /* Compliance receipt — appears below the phone after the SMS completes.
     Hybrid view: plain-language outcomes by default + click-to-expand technical detail. */
  .sim-compliance {
    width: auto;
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(75, 159, 127, 0.06);
    border: 1px solid rgba(75, 159, 127, 0.20);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .sim-compliance.show { opacity: 1; transform: translateY(0); }
  .sim-compliance-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(75, 159, 127, 0.16);
  }
  .sim-compliance-title {
    font-size: 8.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
  }
  .sim-compliance-toggle {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: var(--ember);
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 118, 58, 0.35);
    line-height: 1.3;
    transition: color 0.15s, border-color 0.15s;
  }
  .sim-compliance-toggle:hover { color: #F2A36B; border-bottom-color: var(--ember); }

  .sim-compliance-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px 28px; }
  @media (max-width: 760px) { .sim-compliance-rows { grid-template-columns: 1fr; } }
  .sim-compliance-row {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    gap: 9px;
    align-items: start;
  }
  .sim-compliance-row .ck {
    color: var(--signal);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
    margin-top: 1px;
  }
  .sim-compliance-row .lbl-main {
    font-size: 11px;
    color: var(--cream);
    line-height: 1.35;
  }
  .sim-compliance-row .lbl-cite {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    color: var(--cream-dim);
    letter-spacing: 0.04em;
    margin-top: 2px;
  }
  .sim-compliance-row .dt {
    font-size: 9px;
    color: var(--cream-dim);
    letter-spacing: 0.04em;
    margin-top: 1px;
    white-space: nowrap;
  }

  /* Technical view — raw key/value layout, mono only */
  .sim-compliance-rows-tech { display: flex; flex-direction: column; gap: 7px; }
  .sim-compliance-rows-tech[hidden] { display: none; }
  .sim-compliance-rows[hidden] { display: none; }
  .sim-compliance-rows-tech .tech-row {
    display: grid;
    grid-template-columns: 14px 90px 1fr auto;
    gap: 8px;
    align-items: baseline;
    font-size: 9px;
    color: var(--cream-muted);
    letter-spacing: 0.02em;
  }
  .sim-compliance-rows-tech .tech-row .ck {
    color: var(--signal);
    font-weight: 600;
    font-size: 11px;
  }
  .sim-compliance-rows-tech .tech-row .tech-k { color: var(--ember); }
  .sim-compliance-rows-tech .tech-row .tech-v {
    color: var(--cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sim-compliance-rows-tech .tech-row .dt {
    color: var(--cream-dim);
    white-space: nowrap;
  }

  /* Footer disclaimer + feedback */
  .sim-footer {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--rule-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .sim-footer-line {
    font-size: 13px;
    color: var(--cream-dim);
    line-height: 1.55;
    max-width: 56ch;
    margin: 0;
  }
  .sim-feedback-btn {
    padding: 12px 20px !important;
    font-size: 13px !important;
    white-space: nowrap;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 10px;
    color: var(--cream);
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
  }
  .sim-feedback-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.30);
  }

  /* Responsive */
  @media (max-width: 900px) {
    .sim-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .sim-phone-col { order: 2; }
    .sim-canvas-wrap { order: 1; }
  }
  @media (max-width: 720px) {
    .sim-stage { padding: 22px 20px 26px; }
    .sim-canvas-frame { overflow-x: auto; }
    .sim-canvas-svg { min-width: 640px; }
    .sim-detail-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
    .sim-detail-trace { white-space: normal; text-overflow: clip; }
    .sim-footer { flex-direction: column; align-items: flex-start; }
    .sim-feedback-btn { width: 100%; justify-content: center; }
  }

  /* ══════════ FEATURED DEMO EMBED (section 08) ══════════
     The interactive four-system demo (demo.html?embed=1) sits inline in a light
     glass frame and auto-sizes to its content. The dark backend animation lives
     below it in a collapsable, so the try-it-yourself experience leads. */
  .demo-embed {
    padding: 10px;
    border-radius: 26px;
    /* no overflow:hidden — the iframe rounds its own corners, and hiding overflow
       would clip the refraction bloom (.demo-embed::before) bleeding past the frame */
    margin: 6px 0 20px;
  }
  .demo-embed iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 18px;
    min-height: 900px;      /* pre-resize floor closer to real content, so the JS resize is a small settle, not a snap */
    background: transparent;
    transition: height 0.35s ease;   /* the postMessage resize reads as an intentional settle */
  }

  .demo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
  }
  .demo-open-full {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--ember);
    text-decoration: none;
    transition: color 0.18s;
  }
  .demo-open-full svg { width: 14px; height: 14px; }
  .demo-open-full:hover { color: var(--cream); }
  .demo-feedback-btn { padding: 11px 18px !important; font-size: 13px !important; }

  /* ── collapsable "see how it works on the backend" ── */
  .demo-backend { margin-top: 2px; }
  .demo-backend-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(255,255,255,0.55), rgba(255,255,255,0.30));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 26px -18px rgba(60,42,26,0.22);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .demo-backend-summary::-webkit-details-marker { display: none; }
  .demo-backend-summary:hover { border-color: rgba(199,85,31,0.5); }
  .demo-backend-summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
  .demo-backend-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'Fraunces', serif; font-size: 17px; color: var(--cream);
  }
  .demo-backend-label .mono {
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember);
    padding: 4px 9px; border-radius: 7px;
    background: rgba(199,85,31,0.10); border: 1px solid rgba(199,85,31,0.24);
  }
  .demo-backend-chev {
    width: 20px; height: 20px; color: var(--cream-muted);
    flex: 0 0 auto; transition: transform 0.25s ease;
  }
  .demo-backend[open] .demo-backend-chev { transform: rotate(180deg); }
  .demo-backend-body { padding-top: 20px; }
  .demo-backend-intro {
    font-size: 14px; color: var(--cream-muted); line-height: 1.6;
    max-width: 720px; margin: 0 0 22px;
  }
  @media (prefers-reduced-transparency: reduce) {
    .demo-backend-summary { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  }
  @media (max-width: 720px) {
    .demo-actions { gap: 12px; }
    .demo-feedback-btn { width: 100%; justify-content: center; }
    .demo-backend-label { font-size: 15px; gap: 9px; }
    .demo-embed iframe { min-height: 1300px; }  /* stacked mobile demo is ~1900px; floor near it so the settle is small */
  }

  /* ══════════ SITE-WIDE GLASS — refraction blooms ══════════
     The About panel reads as premium liquid glass because a warm ember/sage
     bloom sits directly BEHIND it for its backdrop-filter to refract. The other
     light-glass clusters (Systems, Built-on, the featured demo frame) had no
     bloom, so they read as flat frosted white. These blooms give them the same
     color to refract — so the glass "comes alive" site-wide, like image 1.
     Blooms sit at z-index:-1 behind the cards' white fill, so text contrast is
     unchanged. The dark worlds (Process, demo backend) are deliberately excluded.
     Same isolation:isolate + ::before z-index:-1 pattern the Process world uses. */
  #systems, #stack { position: relative; isolation: isolate; }
  #systems::before, #stack::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: 50%; transform: translateX(-50%);
    width: min(1180px, 94vw); top: 12%; bottom: 10%;
    background:
      radial-gradient(44% 38% at 24% 20%, rgba(199,85,31,0.15), transparent 70%),
      radial-gradient(50% 46% at 80% 78%, rgba(75,159,127,0.12), transparent 72%);
    filter: blur(48px);
    opacity: 0.92;
  }
  /* the featured demo frame gets its own tighter bloom */
  .demo-embed { position: relative; isolation: isolate; }
  .demo-embed::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    inset: -6% -4%;
    background:
      radial-gradient(40% 44% at 22% 30%, rgba(199,85,31,0.16), transparent 70%),
      radial-gradient(44% 48% at 82% 72%, rgba(75,159,127,0.13), transparent 72%);
    filter: blur(44px);
  }
  @media (prefers-reduced-transparency: reduce) {
    #systems::before, #stack::before, .demo-embed::before { display: none; }
  }

  /* Shared keyboard-focus affordance for the main links/buttons — the browser
     default ring is easy to lose over the translucent glass panels. */
  .btn-primary:focus-visible,
  .btn-secondary:focus-visible,
  .nav-links a:focus-visible,
  .demo-open-full:focus-visible,
  .follow-row:focus-visible,
  .int-chip:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
    border-radius: 5px;
  }

  /* Now status strip (between Hero and About) */
  .now-strip {
    background: var(--paper);
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
  }
  .now-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: baseline;
  }
  .now-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ember);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .now-meta .pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--ember);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ember);
    animation: pulse 2.2s infinite;
  }
  .now-body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--cream);
    line-height: 1.55;
    max-width: 70ch;
  }
  .now-body em {
    color: var(--ember);
    font-style: italic;
  }
  @media (max-width: 720px) {
    .now-inner { grid-template-columns: 1fr; gap: 12px; }
    .now-meta { font-size: 10px; }
    .now-body { font-size: 15.5px; }
  }

  /* Dashboard preview snippet (mirrors the real dashboard Overview) */
  .dash-panel {
    margin-top: 40px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.4);
    max-width: 960px;
  }
  .dash-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--rule-soft);
    gap: 16px;
    flex-wrap: wrap;
  }
  .dash-panel-title {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: -0.01em;
  }
  .dash-panel-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--ember);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .dash-panel-status .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--ember);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--ember);
    animation: pulse 2.2s infinite;
  }
  .dash-greet {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--cream-muted);
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .dash-greet em { color: var(--cream); font-style: italic; }
  .dash-hero {
    margin-bottom: 28px;
  }
  .dash-hero-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .dash-hero-value {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
  }
  .dash-hero-value .sign {
    font-size: 0.55em;
    color: var(--cream-muted);
    margin-right: 4px;
    vertical-align: 0.32em;
  }
  .dash-hero-story {
    font-size: 14.5px;
    color: var(--cream-muted);
    line-height: 1.6;
    max-width: 64ch;
  }
  .dash-hero-story strong { color: var(--cream); font-weight: 500; }
  .dash-hero-story .roi-pill {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--ember);
    color: var(--ember);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.01em;
  }
  .dash-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }
  .dash-tile {
    padding: 18px;
    background: var(--paper-elev);
    border: 1px solid var(--rule-soft);
    border-radius: 8px;
  }
  .dash-tile .tile-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: var(--cream-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .dash-tile .tile-val {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.015em;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
  }
  .dash-tile .tile-val.signal { color: var(--signal); }
  .dash-tile .tile-foot {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.04em;
  }
  .dash-tile .tile-foot .delta { color: var(--signal); }
  .dash-feed-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    color: var(--cream-dim);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .dash-feed-row {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: var(--cream-muted);
    letter-spacing: 0.02em;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 6px 0;
    border-top: 1px solid var(--rule-soft);
  }
  .dash-feed-row:first-of-type { border-top: 0; }
  .dash-feed-row .feed-t { color: var(--cream-dim); }
  .dash-feed-row .feed-ok { color: var(--signal); }
  .dash-feed-row .feed-warn { color: var(--ember); }
  .dash-caption {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--cream-dim);
    max-width: 64ch;
  }
  @media (max-width: 880px) {
    .dash-tiles { grid-template-columns: repeat(1, 1fr); }
    .dash-panel { padding: 22px; }
    .dash-hero-value { font-size: 38px; }
  }

  /* ── dashboard as a swipeable screen deck (same swipe engine as systems) ── */
  .dash-deck-wrap { margin-top: 40px; }
  .dash-deck {
    position: relative; overflow: hidden;
    padding: 14px 0 54px;                 /* room for the panel shadow before the clip */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  }
  .dash-deck-track {
    display: flex; align-items: stretch;
    will-change: transform; touch-action: pan-y;
    cursor: grab; user-select: none; -webkit-user-select: none;
  }
  .dash-deck-track.is-grabbing { cursor: grabbing; }
  .dash-screen { flex: 0 0 100%; display: flex; }
  .dash-screen .dash-panel { margin: 0 auto; width: 100%; max-width: 740px; align-self: flex-start; }

  .dash-deck-nav { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 2px; }
  .dash-deck-controls { display: flex; align-items: center; gap: 16px; }
  .dash-deck-arrow {
    width: 42px; height: 42px; flex: none;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
    color: #EFEAE0; cursor: pointer;
    transition: border-color 0.16s, background 0.16s, transform 0.16s, opacity 0.16s;
  }
  .dash-deck-arrow svg { width: 17px; height: 17px; }
  .dash-deck-arrow:hover { border-color: var(--ember-fill); background: rgba(255,255,255,0.14); transform: translateY(-1px); }
  .dash-deck-arrow:disabled { opacity: 0.3; cursor: default; transform: none; }
  .dash-deck-dots { display: flex; align-items: center; gap: 9px; }
  .dash-deck-dots .sys-dot { background: rgba(255,255,255,0.28); }
  .dash-deck-dots .sys-dot.active { background: var(--ember-fill); }
  .dash-deck-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: #9A9286; }

  /* overview: systems-status strip */
  .dash-systems { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
  .dash-sys { display: inline-flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.03em; color: var(--cream-dim); }
  .dash-sys-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cream-dim); flex: none; }
  .dash-sys.is-live { color: var(--cream-muted); }
  .dash-sys.is-live .dash-sys-dot { background: var(--signal); box-shadow: 0 0 7px rgba(47,116,88,0.6); }
  .dash-sys.is-trial .dash-sys-dot { background: var(--ember); }
  .dash-sys.is-off { opacity: 0.55; }

  /* activity + shared screen note */
  .dash-feed { margin-bottom: 2px; }
  .dash-screen-note { margin-top: 18px; font-size: 13px; color: var(--cream-dim); line-height: 1.55; max-width: 64ch; }

  /* compliance gates */
  .dash-gates { display: grid; gap: 9px; margin-bottom: 2px; }
  .dash-gate { display: flex; align-items: baseline; gap: 9px; font-size: 13.5px; color: var(--cream-muted); }
  .dash-gate-ck { color: var(--signal); font-size: 12px; flex: none; }

  /* settings (read-only rows) */
  .dash-settings { display: grid; }
  .dash-set-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid var(--rule-soft); font-size: 14px; }
  .dash-set-row:first-child { border-top: 0; }
  .dash-set-k { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); align-self: center; }
  .dash-set-v { color: var(--cream); }
  .dash-panel-status.is-readonly { color: var(--cream-dim); }

  @media (max-width: 880px) {
    .dash-set-row { grid-template-columns: 1fr; gap: 4px; }
  }

  /* Follow section (row layout, intentionally minimal copy) */
  .follow-rows {
    margin-top: 32px;
    border-top: 1px solid var(--rule-soft);
  }
  .follow-row {
    display: grid;
    grid-template-columns: 160px 1fr 32px;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule-soft);
    text-decoration: none;
    color: inherit;
  }
  .follow-row .row-platform {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.015em;
    transition: color 0.2s;
  }
  .follow-row:hover .row-platform { color: var(--ember); }
  .follow-row .row-tag {
    font-size: 14px;
    color: var(--cream-muted);
    transition: color 0.2s;
  }
  .follow-row:hover .row-tag { color: var(--cream); }
  .follow-row .row-arrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    color: var(--cream-dim);
    text-align: right;
    transition: color 0.2s, transform 0.2s;
  }
  .follow-row:hover .row-arrow {
    color: var(--ember);
    transform: translateX(4px);
  }
  .follow-extras {
    margin-top: 24px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 13.5px;
  }
  .follow-extras a {
    color: var(--cream-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .follow-extras a:hover {
    color: var(--ember);
    border-bottom-color: var(--ember-glow);
  }
  @media (max-width: 720px) {
    .follow-row {
      grid-template-columns: 1fr 32px;
      grid-template-rows: auto auto;
      gap: 4px 16px;
    }
    .follow-row .row-platform { grid-column: 1; grid-row: 1; }
    .follow-row .row-tag { grid-column: 1; grid-row: 2; }
    .follow-row .row-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  }

  /* Notes (Supabase-backed, expandable) */
  .note-item {
    border-bottom: 1px solid var(--rule);
    transition: background 0.2s;
  }
  .note-item:first-child { border-top: 1px solid var(--rule); }
  .note-item[open] { background: rgba(255, 255, 255, 0.012); }
  .note-item summary {
    cursor: pointer;
    padding: 24px 0;
    list-style: none;
    display: grid;
    grid-template-columns: 130px 1fr 32px;
    gap: 24px;
    align-items: baseline;
    transition: color 0.2s;
  }
  .note-item summary::-webkit-details-marker { display: none; }
  .note-item summary::after {
    content: '+';
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 400;
    color: var(--cream-muted);
    transition: color 0.2s, transform 0.3s var(--ease-out-back);
    text-align: right;
  }
  .note-item[open] summary::after { content: '\2212'; color: var(--ember); }
  .note-item summary .note-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cream-muted);
    letter-spacing: 0.04em;
  }
  .note-item summary .note-title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: -0.01em;
    line-height: 1.35;
  }
  .note-item summary:hover .note-title { color: var(--ember); }
  .note-item .note-body {
    padding: 0 0 28px;
    margin-left: 154px;
    font-size: 15.5px;
    color: var(--cream-muted);
    line-height: 1.7;
    max-width: 70ch;
    white-space: pre-wrap;
    animation: faqIn 0.4s ease forwards;
  }
  .note-item .note-tags {
    margin-top: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--cream-dim);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .note-item .note-links {
    margin-top: 12px;
    font-size: 13px;
    display: flex;
    gap: 18px;
  }
  .note-item .note-links a {
    color: var(--ember);
    text-decoration: none;
    border-bottom: 1px solid var(--ember-glow);
    padding-bottom: 1px;
    transition: border-color 0.2s;
  }
  .note-item .note-links a:hover { border-bottom-color: var(--ember); }
  /* Epistemic-status pill — appears next to note titles in <summary> */
  .note-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 3px 8px;
    border: 1px solid var(--rule);
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream-muted);
    vertical-align: middle;
    white-space: nowrap;
  }
  .note-pill::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--signal);
    flex-shrink: 0;
  }
  .note-pill[data-tone="amended"]::before { background: var(--ember); }
  @media (max-width: 560px) {
    .note-pill { margin-left: 0; margin-top: 6px; }
    .note-item summary { flex-wrap: wrap; }
  }
  @media (max-width: 720px) {
    .note-item summary {
      grid-template-columns: 1fr 32px;
      grid-template-rows: auto auto;
      gap: 6px 16px;
    }
    .note-item summary .note-date { grid-column: 1; grid-row: 1; }
    .note-item summary .note-title { grid-column: 1; grid-row: 2; }
    .note-item summary::after { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    .note-item .note-body { margin-left: 0; }
  }
  .notes-loading, .notes-error {
    padding: 60px 0;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--cream-dim);
    letter-spacing: 0.04em;
  }

  /* ── Notes v2 — thumbnail cards. Field notes expand; posts link out. ── */
  .note-item summary,
  .note-post {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }
  .note-item summary { grid-template-columns: none; }   /* reset the old grid */
  .note-post {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--rule);
    transition: background 0.2s;
  }
  .note-post:hover { background: rgba(255, 255, 255, 0.012); }

  /* thumbnail: real image or brand placeholder */
  .note-thumb {
    flex: 0 0 72px;
    width: 72px; height: 72px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid var(--rule);
    background: var(--paper);
  }
  .note-placeholder {
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; letter-spacing: 0.06em;
    color: var(--ember);
    background:
      radial-gradient(120% 120% at 15% 10%, rgba(232, 118, 58, 0.16), transparent 60%),
      radial-gradient(120% 120% at 85% 90%, rgba(75, 159, 127, 0.14), transparent 60%),
      var(--paper);
  }

  /* middle stack: date, title, and (for posts) the link-out hint */
  .note-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .note-main .note-title {
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .note-out {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ember);
    margin-top: 1px;
  }
  .note-post:hover .note-title { color: var(--ember); }

  /* right-side platform tag on post cards */
  .note-tag {
    flex: 0 0 auto;
    align-self: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream-dim);
    border: 1px solid var(--rule);
    border-radius: 3px;
    padding: 4px 9px;
    white-space: nowrap;
  }

  /* field-note body sits under the 72px thumb + 20px gap */
  .note-item .note-body { margin-left: 92px; }

  @media (max-width: 640px) {
    .note-item summary, .note-post { gap: 14px; }
    .note-thumb { flex-basis: 56px; width: 56px; height: 56px; }
    .note-tag { display: none; }
    .note-item .note-body { margin-left: 70px; }
    .note-main .note-title { -webkit-line-clamp: 3; }
  }
  /* ═══════════════════════════════════════════════════════════════
     LIGHT THEME v1 — appended override layer (2026-05-29)
     Synthesis-light: light reading surface, dark CONFINED to objects.
     Last block in <style>, so equal-specificity rules win over originals.
     Reverses DESIGN-BRIEF-v2's "light out of scope" per 2026-05-29 decision.
     ═══════════════════════════════════════════════════════════════ */

  /* 1 — page palette flips to light (overrides the :root at line 11) */
  :root {
    --ink:        #F6F2EA;  /* page background, warm off-white */
    --paper:      #FFFFFF;  /* raised surfaces */
    --paper-elev: #FFFFFF;
    --cream:      #211E19;  /* primary text, warm charcoal */
    --cream-muted:#5C564C;  /* secondary text */
    --cream-dim:  #6C665A;  /* meta / dates — darkened to clear WCAG AA (4.5:1) on the light surfaces */
    --ember:      #C7551F;  /* accent, deepened for contrast on light */
    --ember-deep: #A8430F;
    --signal:     #2F7458;  /* proof green, darkened for light */
    --signal-deep:#24604A;
    --rule:       #E6DFD2;  /* hairlines */
    --rule-soft:  #EFEAE0;
    --ember-fill: #E8763A;  /* keep the bright brand ember for fills (buttons, dots) */
  }

  /* 2 — base surface: a soft WARM pastel-gradient atmosphere (inspiration:
     Nixtio / BankOne soft-glass look) in the brand's ember+sage, not purple.
     background-attachment: fixed keeps it smooth and stable on scroll.
     Replaces the flat off-white + engineering grid. */
  /* v1.1 (2026-05-30): COLOR REBALANCE. Page read "more cold than white" —
     the sage-green bloom (was 0.15) and the base gradient cooling to #EFE2CF
     were the culprits. Sage dialed to 0.07 (kept as a hint, not killed), base
     pulled toward a cleaner warm white, ember blooms eased slightly so warmth
     doesn't over-dominate the lighter base. Balanced warm-clean, not cozy-orange. */
  html { background: #FAF6EF; scrollbar-gutter: stable; }
  body {
    color: var(--cream);
    background:
      /* dot grid — warm brown texture, scrolls */
      radial-gradient(circle, rgba(60,44,28,0.12) 1.4px, transparent 1.9px) 0 0,
      /* warm ember blooms — the warmth, eased a touch */
      radial-gradient(1100px 780px at 10% -6%, rgba(232,118,58,0.16), transparent 56%),
      /* sage bloom dialed back (was 0.15 — the main "cold" culprit) */
      radial-gradient(1050px 860px at 104% 16%, rgba(95,184,151,0.07), transparent 54%),
      radial-gradient(950px 900px at 48% 118%, rgba(232,118,58,0.11), transparent 58%),
      radial-gradient(780px 700px at 78% 58%, rgba(216,150,90,0.10), transparent 60%),
      /* base pulled toward a cleaner warm white (was #FCF6EC→#F0E5D3→#EFE2CF) */
      linear-gradient(168deg, #FCF8F2 0%, #F7F1E6 55%, #F4ECDF 100%);
    background-size: 34px 34px, auto, auto, auto, auto, auto;
    background-attachment: scroll, fixed, fixed, fixed, fixed, fixed;
  }

  /* 3 — CONTAINED DARK OBJECTS: softer WARM dark (near-black felt out of place
     on warm light). Kept dark via variables scoped to these subtrees; CSS
     variables inherit, so every descendant flips to this softer dark. */
  /* v1.1 (2026-05-30): WARMED these darks. They were cool/purple-toned
     (#1E1B25 = blue-dominant) and clashed with the warm cream page
     (#F6F2EA = red-dominant). Shifted to warm charcoal so the dark
     objects read as intentional "screens" on the warm page, not cold
     holes. Ember/signal/cream accents unchanged. */
  .video-frame, .vid-mini, .sim-stage, .modal, .modal-card, .modal-backdrop, .work-card, .dash-feed-card {
    --ink:        #1C1712;   /* warm near-black */
    --paper:      #29221A;   /* warm charcoal */
    --paper-elev: #342B20;
    --cream:      #EFEAE0;
    --cream-muted:#B4AB99;
    --cream-dim:  #877D6B;
    --rule:       #43392B;
    --rule-soft:  #2D2519;
    --ember:      #EE8049;
    --signal:     #5FB897;
    color: var(--cream);
  }
  /* warm the hardcoded phone shell + bubbles to match the warmed dark */
  .phone { background:#161009 !important; border-color:#3A3227 !important; }
  .phone::before { background:#3A3227; }
  .bubble.in, .bubble.typing { background:#2A2318 !important; }
  .phone-foot .inp { background:#251E14; }

  /* 4 — LIQUID GLASS on light: genuinely translucent now, so the warm gradient
     refracts through. Strong blur keeps text legible over the moving color. */
  .glass-card {
    background: linear-gradient(150deg, rgba(255,255,255,0.56), rgba(255,255,255,0.30));
    backdrop-filter: blur(30px) saturate(185%);
    -webkit-backdrop-filter: blur(30px) saturate(185%);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    box-shadow:
      0 30px 64px -28px rgba(60,42,26,0.26),
      0 6px 18px -10px rgba(60,42,26,0.10),
      inset 0 1px 0 rgba(255,255,255,0.95),
      inset 0 0 0 1px rgba(255,255,255,0.18);
  }
  @media (prefers-reduced-transparency: reduce) {
    .glass-card { background:#FFFFFF; backdrop-filter:none; -webkit-backdrop-filter:none; }
  }

  /* hero demo + demo canvas = SOFT-dark liquid-glass slabs. Translucent so the
     warm page bleeds through the edges — they stop reading as solid black boxes. */
  .video-frame, .sim-stage.glass-card {
    background: linear-gradient(158deg, rgba(48,40,29,0.82), rgba(32,25,17,0.86)) !important;
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 24px !important;
    box-shadow:
      0 40px 90px -34px rgba(40,28,16,0.34),
      inset 0 1px 0 rgba(255,255,255,0.14) !important;
  }
  /* compliance receipt keeps its signal-green identity on light */
  .sim-compliance.glass-card {
    background: rgba(47,116,88,0.12) !important;
    border: 1px solid rgba(47,116,88,0.30) !important;
  }

  /* 5 — buttons keep the orange fill with a white label; nav goes frosted-light */
  .btn-primary, .nav-cta { background: var(--ember-fill); color:#fff !important; }
  .btn-primary:hover, .nav-cta:hover { background: var(--ember); }
  nav { background: rgba(246,242,234,0.82) !important; border-bottom:1px solid var(--rule); }

  /* 6 — NOW status strip: light, NOT a dark full-width band (per decision) */
  .now-strip {
    background: linear-gradient(180deg,#FFFFFF,#F6F2EA) !important;
    border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
  }
  .now-strip::before, .now-strip::after { display:none !important; }

  /* 7 — drop the dark-theme ambient bloom; use clean light chapters instead */
  .scroll-light { display:none !important; }
  .ember-field { opacity:0.30; }

  /* 8 — SYSTEMS 1-by-1: each system its own focal moment (brief Problem 2) */
  .systems { grid-template-columns: 1fr !important; gap: 36px; }

  /* 9 — CHAPTER RHYTHM (anti-fatigue) — council + Gemini verdict.
     Color bands REMOVED (user: "it's a miss"). Replaced by rhythm-and-mass:
     asymmetric whitespace + a GUTTER-ANCHORED sticky section label that rides
     along in a left rail while you're inside a section. Distinct orientation,
     smooth central reading column, no dividers, no bands. Mobile-safe. */

  /* asymmetric whitespace: a clear pause BEFORE each section, tighter after.
     Kept modest on mobile so we don't create Gemini's "empty-swipe tax". */
  section.block {
    padding-top: clamp(72px, 10vw, 136px);
    padding-bottom: clamp(44px, 5vw, 72px);
  }

  /* gutter-anchored sticky label (>=1000px only): the "02 · SYSTEMS" marker
     pins in a left rail while its section scrolls, then leaves as the next
     arrives. Pure CSS grid — no JS, no iOS-Safari sticky-jank on phones. */
  @media (min-width: 1000px) {
    /* #demo (the workflow canvas centerpiece) keeps full width — excluded */
    section.block:not(#demo) {
      display: grid;
      grid-template-columns: 168px minmax(0, 1fr);
      column-gap: 52px;
      align-items: start;
    }
    section.block:not(#demo) > .section-label {
      grid-column: 1;
      grid-row: 1 / 1000;
      position: sticky;
      top: 120px;
      align-self: start;
      margin-bottom: 0;
      line-height: 1.5;
    }
    section.block:not(#demo) > *:not(.section-label) { grid-column: 2; min-width: 0; }
  }

  /* 10 — TYPOGRAPHY PASS: reading comfort. Body lines ran 71-88 characters wide
     (comfortable is ~60-66) and leading was tight at 1.55. Tighten the measure
     and ease the leading across every section's body copy. */
  .hero-sub     { max-width: 60ch; line-height: 1.62; }
  .section-sub  { max-width: 58ch; line-height: 1.62; }
  .note-body    { max-width: 66ch; line-height: 1.68; }
  .process-tier-body { font-size: 15.5px; line-height: 1.62; }
  .system-desc  { font-size: 15.5px; line-height: 1.6; max-width: 56ch; }

  /* ═══════════════════════════════════════════════════════════════
     LIGHT THEME v1.1 — section markers + integration rails (2026-05-30)
     Section labels redesigned (editorial chapter index, glass pill).
     Integration rails ("Runs on" / "Speaks to") ported from Claude
     Design and adapted from dark-glass to LIGHT glass to fit the theme.
     ═══════════════════════════════════════════════════════════════ */

  /* 11 — SECTION MARKERS: editorial chapter index (italic Fraunces number
     in a light-glass pill + mono-caps name). Replaces the bare ember caps.
     Rhymes with the integration-rail chips below. Works inline (mobile) and
     pinned in the left gutter (desktop). */
  /* v1.1 (2026-05-30): RESTRAINED chapter marker (replaced the glass pill).
     Bare italic Fraunces numeral + a short ember hairline + small-caps name.
     Editorial, not attention-seeking; reads cleanly in the desktop gutter. */
  .section-label {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 9px;
    text-transform: none; letter-spacing: 0;
    color: var(--cream-muted);
  }
  .section-label .sl-num {
    position: relative;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic; font-weight: 600;
    font-variation-settings: "opsz" 48;
    font-size: 32px; line-height: 0.9; letter-spacing: -0.02em;
    color: var(--ember);
    padding-bottom: 11px;
  }
  .section-label .sl-num::after {
    content: ''; position: absolute; left: 2px; bottom: 0;
    width: 26px; height: 2px; border-radius: 1px;
    background: var(--ember); opacity: 0.85;
  }
  .section-label .sl-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--cream-muted);
  }

  /* 12 — INTEGRATION RAILS (Runs on / Speaks to). Light-glass chips (the
     design's were dark). backdrop-filter is deliberately OFF on the moving
     chips — blurred glass on a marquee saturates the compositor; translucent
     white over the warm page reads glassy enough and stays smooth. */
  .int-rails { margin-top: 34px; display: flex; flex-direction: column; gap: 24px; }
  .int-rail-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
  .int-rail-title { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
  .int-rail-note { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.04em; color: var(--cream-dim); display: inline-flex; align-items: center; gap: 7px; }
  .int-note-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: pulse 2.2s infinite; }
  .int-rail-viewport {
    overflow: hidden;
    padding: 16px 0;   /* headroom so the live chip's glow/drop-shadow is not clipped at top/bottom */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  .int-rail-track { display: flex; align-items: center; gap: 12px; width: max-content; will-change: transform; }
  .int-track-left  { animation: intMarqueeL 34s linear infinite; }
  .int-track-right { animation: intMarqueeR 46s linear infinite; }
  .int-rail:hover .int-rail-track { animation-play-state: paused; }
  @keyframes intMarqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes intMarqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

  .int-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 11px;
    padding: 11px 16px 11px 11px; border-radius: 13px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow: 0 12px 28px -18px rgba(60,42,26,0.26), inset 0 1px 0 rgba(255,255,255,0.95);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .int-chip:hover { transform: translateY(-2px); border-color: rgba(199,85,31,0.45); box-shadow: 0 16px 34px -18px rgba(199,85,31,0.30), inset 0 1px 0 rgba(255,255,255,0.95); }
  .int-glyph {
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    color: var(--ember);
    background: linear-gradient(150deg, rgba(232,118,58,0.16), rgba(232,118,58,0.05));
    border: 1px solid rgba(199,85,31,0.26);
  }
  .int-glyph svg { width: 28px; height: 28px; display: block; stroke-width: 2.1; vector-effect: non-scaling-stroke; }
  .int-name { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--cream); white-space: nowrap; }
  .int-status { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); display: inline-flex; align-items: center; gap: 6px; padding-left: 11px; margin-left: 3px; border-left: 1px solid var(--rule); }
  .int-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: pulse 1.8s infinite; }

  /* the highlighted live one (Open Dental): ember-lit tile, signal status */
  .int-chip.pm.is-live { border-color: rgba(199,85,31,0.5); box-shadow: 0 14px 34px -14px rgba(199,85,31,0.34), inset 0 1px 0 rgba(255,255,255,0.95); animation: liveGlow 4s ease-in-out infinite; }
  .int-chip.pm.is-live .int-glyph { color: #fff; background: linear-gradient(150deg, var(--ember-fill), var(--ember-deep)); border-color: var(--ember); }
  .int-chip.pm.is-live .int-status { color: var(--signal); }
  @keyframes liveGlow {
    0%, 100% { box-shadow: 0 12px 30px -16px rgba(199,85,31,0.26), inset 0 1px 0 rgba(255,255,255,0.95); }
    50%      { box-shadow: 0 16px 40px -14px rgba(199,85,31,0.42), inset 0 1px 0 rgba(255,255,255,0.95); }
  }
  /* still being learned: visible but faded + blurred + dashed ("in progress") */
  .int-chip.pm.is-learning {
    opacity: 0.5; filter: blur(1.1px) grayscale(0.4) saturate(0.7);
    border-style: dashed; border-color: var(--rule);
    transition: opacity 0.3s, filter 0.3s, border-color 0.25s, transform 0.25s;
  }
  .int-chip.pm.is-learning .int-glyph { background: rgba(60,42,26,0.05); border-color: var(--rule); color: var(--cream-muted); }
  .int-chip.pm.is-learning:hover { opacity: 0.92; filter: blur(0) grayscale(0.1) saturate(0.95); transform: translateY(-2px); }

  @media (prefers-reduced-motion: reduce) {
    .int-track-left, .int-track-right { animation: none; }
    .int-chip.pm.is-live { animation: none; }
    .int-rail-viewport { overflow-x: auto; }
  }
  @media (max-width: 720px) {
    .int-glyph { width: 36px; height: 36px; }
    .int-glyph svg { width: 23px; height: 23px; }
    .int-name { font-size: 13px; }
  }

  /* ═══════════════════════════════════════════════════════════════
     v2 PORT (2026-05-30) — DEMO: scenario panel + decision badges +
     SMS diff + phone modes + richer tooltip. Ported from the Claude
     Design prototype; dark hardcodes warmed to the demo's warm charcoal.
     Inherits the demo's scoped --* vars (warm-dark) automatically.
     ═══════════════════════════════════════════════════════════════ */

  /* Try-a-Scenario panel */
  .sim-scenarios { margin-top: 18px; padding: 16px 18px; background: rgba(22,17,10,0.45); border: 1px solid var(--rule-soft); border-radius: 10px; }
  .sim-scen-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
  .sim-scen-eyebrow { font-size: 10px; letter-spacing: 0.18em; color: var(--ember); text-transform: uppercase; font-weight: 500; }
  .sim-scen-hint { font-size: 11px; color: var(--cream-muted); letter-spacing: 0.02em; }
  .sim-scen-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .sim-scen-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    background: transparent; border: 1px solid var(--rule); border-radius: 999px;
    color: var(--cream-muted); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.2,0.7,0.2,1), border-color 0.3s cubic-bezier(0.2,0.7,0.2,1), color 0.3s cubic-bezier(0.2,0.7,0.2,1);
  }
  .sim-scen-btn:hover { border-color: var(--cream-dim); color: var(--cream); }
  .sim-scen-btn.is-active { background: rgba(232,118,58,0.10); border-color: var(--ember); color: var(--cream); }
  .sim-scen-btn .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
  .sim-scen-btn.is-active .dot { box-shadow: 0 0 8px currentColor; }
  @media (max-width: 720px) { .sim-scen-row { gap: 6px; } .sim-scen-btn { padding: 7px 11px; font-size: 11px; } }

  /* Decision badges (SVG <g> appended to each node) */
  .sim-badge { opacity: 0; transition: opacity 0.45s cubic-bezier(0.2,0.7,0.2,1); pointer-events: none; }
  .sim-badge.show { opacity: 1; }
  .sim-badge rect { fill: rgba(20,15,9,0.92); stroke: var(--rule); stroke-width: 1; }
  .sim-badge.ok rect { stroke: var(--signal); }
  .sim-badge.warn rect { stroke: var(--ember); }
  .sim-badge.skip rect { stroke: var(--cream-dim); }
  .sim-badge text { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.05em; fill: var(--cream); }
  .sim-badge.ok text.icon { fill: var(--signal); }
  .sim-badge.warn text.icon { fill: var(--ember); }
  .sim-badge.skip text.icon { fill: var(--cream-dim); }

  /* SMS diff — full-width strip below the run */
  .sim-diff {
    margin-top: 12px; padding: 14px 18px; background: rgba(22,17,10,0.5);
    border: 1px solid var(--rule-soft); border-radius: 10px;
    display: grid; grid-template-columns: 130px 1fr 1fr 1fr; align-items: stretch; gap: 0 24px;
    opacity: 0; transform: translateY(-6px);
    transition: opacity 0.55s cubic-bezier(0.2,0.7,0.2,1), transform 0.55s cubic-bezier(0.2,0.7,0.2,1);
  }
  .sim-diff.show { opacity: 1; transform: translateY(0); }
  .sim-diff[hidden] { display: none; }
  .sim-diff-h { align-self: center; font-size: 9.5px; color: var(--cream-muted); letter-spacing: 0.18em; text-transform: uppercase; padding-right: 18px; border-right: 1px solid var(--rule-soft); line-height: 1.4; }
  .sim-diff-stage { padding: 0; display: flex; flex-direction: column; gap: 6px; opacity: 0; transition: opacity 0.5s cubic-bezier(0.2,0.7,0.2,1); min-width: 0; }
  .sim-diff-stage.show { opacity: 1; }
  .sim-diff-lbl { display: block; font-size: 9px; color: var(--cream-dim); letter-spacing: 0.12em; text-transform: uppercase; }
  .sim-diff-stage[data-stage="scrubbed"] .sim-diff-lbl { color: var(--ember); }
  .sim-diff-stage[data-stage="final"] .sim-diff-lbl { color: var(--signal); }
  .sim-diff-body { font-family: 'Inter', sans-serif; font-size: 11.5px; line-height: 1.5; color: var(--cream); word-break: break-word; }
  .sim-diff-body .strip { color: var(--ember); text-decoration: line-through; text-decoration-thickness: 1px; background: rgba(232,118,58,0.14); padding: 0 2px; border-radius: 2px; }
  .sim-diff-body .inject { color: var(--signal); background: rgba(95,184,151,0.16); padding: 0 2px; border-radius: 2px; }
  @media (max-width: 880px) {
    .sim-diff { grid-template-columns: 1fr; gap: 14px; }
    .sim-diff-h { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 0 0 10px; }
  }

  /* Phone shadow / callback overlays */
  .sim-phone-screen[data-mode="shadow"] .sim-call-card,
  .sim-phone-screen[data-mode="callback"] .sim-call-card { opacity: 0.5; }
  .sim-phone-screen[data-mode="shadow"]::before {
    content: 'SHADOW MODE · logged, not sent';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, 0%); margin-top: 24px; z-index: 4;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--cream-dim);
    letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
    background: rgba(20,15,9,0.88); padding: 6px 10px; border-radius: 4px; border: 1px solid var(--rule);
  }
  .sim-phone-screen[data-mode="callback"]::before {
    content: 'SKIPPED · clinic called back';
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, 0%); margin-top: 24px; z-index: 4;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #6BB2E8;
    letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
    background: rgba(20,15,9,0.88); padding: 6px 10px; border-radius: 4px; border: 1px solid rgba(107,178,232,0.4);
  }

  /* Tooltip: plain-English line (hybrid) + real-node block */
  .sim-tooltip .sim-tooltip-plain { display: block; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--cream); line-height: 1.4; margin: 2px 0 6px; font-weight: 500; }
  .sim-tooltip .tip-realnodes { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule-soft); }
  .sim-tooltip .tip-realnodes .tip-realnodes-lbl { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--cream-dim); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
  .sim-tooltip .tip-realnodes ul { list-style: none; padding: 0; margin: 0; }
  .sim-tooltip .tip-realnodes li { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--cream-muted); line-height: 1.5; padding-left: 12px; position: relative; }
  .sim-tooltip .tip-realnodes li::before { content: '└'; position: absolute; left: 0; color: var(--cream-dim); }
  /* safety: never let a tall tooltip spill past the canvas */
  .sim-tooltip { max-height: 300px; overflow-y: auto; }

  /* Phase 3: desktop drag/pan cursors (.sim-interactive is set by JS only on pointer:fine) */
  .sim-interactive .sim-canvas-svg { cursor: grab; }
  .sim-interactive .sim-canvas-svg.panning { cursor: grabbing; }
  .sim-interactive .sim-cn { cursor: grab; }
  .sim-interactive .sim-cn.dragging { cursor: grabbing; }

  /* Phase 4: embedded YouTube fills the .vid-operator frame (data-yt helper) */
  .vid-operator.has-video { overflow: hidden; }
  .vid-operator.has-video iframe { width: 100%; height: 100%; border: 0; display: block; }

  /* Phase 4: FIELD FINDING pull-quote (operator authors the line) */
  .finding-strip { max-width: 1280px; margin: 0 auto; padding: 18px 32px 44px; }
  .finding-inner {
    position: relative; max-width: 820px;
    padding: 24px 32px; border-radius: 14px;
    background: linear-gradient(150deg, rgba(255,255,255,0.52), rgba(255,255,255,0.28));
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 14px 32px -20px rgba(60,42,26,0.24), inset 0 1px 0 rgba(255,255,255,0.92);
  }
  .finding-eyebrow { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); margin-bottom: 9px; }
  .finding-line { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(19px, 2.3vw, 25px); line-height: 1.32; letter-spacing: -0.01em; color: var(--cream); }
  .finding-line em { font-style: italic; color: var(--ember); }
  @media (prefers-reduced-transparency: reduce) {
    .finding-inner { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  }


  /* ═══════════════════════════════════════════════════════════════
     HERO FIGURE v1 — floating artifact cluster (2026-06-12)
     The missed-call demo recomposed from a flat 16:9 slab into a
     figure: phone = central object, workflow card tucked behind,
     floating mono compliance chips orbiting. Copy left / figure
     right on desktop; figure below copy on mobile. All motion is
     reduced-motion-gated; parallax is pointer:fine only (JS).
     ═══════════════════════════════════════════════════════════════ */

  .hero {
    position: relative;
    padding: 64px 32px 88px;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 8px;
    align-items: center;
  }
  .hero-copy { position: relative; z-index: 2; }
  /* narrower column: bring the display clamp down from 80px so the
     headline holds 3 strong lines instead of wrapping to 5 */
  .hero h1 { font-size: clamp(36px, 4.5vw, 62px); margin-bottom: 28px; }
  .hero-sub { margin-bottom: 44px; font-size: 19px; }

  .hero-figure {
    position: relative; z-index: 1;
    margin: 0;
    min-height: 540px;
    pointer-events: none; /* decorative cluster — nothing in it is clickable */
  }
  /* ember halo lifts the cluster off the cream field (EATnaked's glow ring, in brand) */
  .hero-figure::before {
    content: '';
    position: absolute; inset: -36px -10px -10px -24px;
    background: radial-gradient(closest-side at 52% 44%,
      rgba(232, 118, 58, 0.22), rgba(232, 118, 58, 0.09) 52%, transparent 76%);
    z-index: 0;
  }
  /* contact shadow: the floating objects need a ground to float above */
  .hero-figure::after {
    content: '';
    position: absolute; bottom: -4px; left: 10%;
    width: 74%; height: 34px;
    background: radial-gradient(closest-side, rgba(45, 30, 16, 0.30), transparent 72%);
    filter: blur(7px);
    z-index: 0;
  }
  .fig-layer { position: absolute; }

  /* ── the phone: central object ── */
  .fig-phone { left: 4%; top: 12px; z-index: 2; }
  .fig-phone .fig-float { position: relative; }
  .hero-figure .phone {
    width: clamp(208px, 18vw, 248px);
    rotate: -4.5deg;
    box-shadow:
      0 74px 120px -42px rgba(45, 30, 16, 0.55),
      0 26px 52px -24px rgba(45, 30, 16, 0.32),
      inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  .hero-figure .live-rec {
    position: absolute;
    top: -13px; left: -26px;
    rotate: -4.5deg;
    z-index: 3;
    background: rgba(22, 16, 9, 0.94);
    border: 1px solid rgba(238, 128, 73, 0.45);
    box-shadow: 0 14px 28px -14px rgba(45, 30, 16, 0.5), 0 0 18px rgba(232, 118, 58, 0.22);
  }

  /* ── the workflow card: tucked behind, counter-tilt ── */
  .fig-work { right: 0; top: 10%; z-index: 1; width: min(320px, 60%); }
  .work-card {
    rotate: 3.5deg;
    display: flex; flex-direction: column; gap: 11px;
    padding: 22px 22px 20px;
    border-radius: 20px;
    background: linear-gradient(158deg, rgba(46, 38, 27, 0.97), rgba(27, 20, 13, 0.98));
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.17);
    box-shadow:
      0 54px 96px -36px rgba(40, 28, 16, 0.50),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
  @media (prefers-reduced-transparency: reduce) {
    .work-card { background: #29221A; backdrop-filter: none; -webkit-backdrop-filter: none; }
  }
  .work-card .work-head { margin-bottom: 2px; }
  .work-card .live-timer {
    position: static;
    margin-left: auto;
    background: none; padding: 0;
    font-size: 10px;
  }
  .work-card .wf-result { margin-top: 6px; }
  .work-card .wf-step { opacity: 0.62; } /* idle steps read clearly; .active/.done still pop */
  .work-card .work-head { color: #CFC6B4; }

  /* ── floating compliance chips ── */
  .fig-chip { z-index: 3; }
  .chip-consent { left: -2%; top: 50%; }
  .chip-phi    { left: 6%;  bottom: 5%; }
  .chip-shadow { right: 2%; bottom: 13%; }
  .chip-pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
    white-space: nowrap;
    color: #332E26;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68));
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 9px 14px;
    box-shadow:
      0 18px 36px -16px rgba(60, 42, 26, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
  .chip-consent .chip-pill { rotate: -2deg; }
  .chip-phi .chip-pill     { rotate: 1.5deg; }
  .chip-shadow .chip-pill  { rotate: -1deg; }
  .chip-pill .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .chip-pill .dot.sig { background: var(--signal); box-shadow: 0 0 8px rgba(47, 116, 88, 0.5); }
  .chip-pill .dot.emb { background: var(--ember-fill); box-shadow: 0 0 8px rgba(232, 118, 58, 0.5); }
  .chip-pill .dot.dim { background: var(--cream-dim); }
  @media (prefers-reduced-transparency: reduce) {
    .chip-pill { background: #FFFFFF; backdrop-filter: none; -webkit-backdrop-filter: none; }
  }

  /* ── motion: entrance + idle float (skipped entirely under reduced motion) ── */
  @media (prefers-reduced-motion: no-preference) {
    .fig-layer {
      animation: figEnter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .fig-work        { animation-delay: 0.10s; }
    .fig-phone       { animation-delay: 0.24s; }
    .chip-consent    { animation-delay: 0.46s; }
    .chip-phi        { animation-delay: 0.56s; }
    .chip-shadow     { animation-delay: 0.66s; }

    .fig-float { animation: figFloat 7s ease-in-out infinite; }
    .fig-work .fig-float     { animation-duration: 8.5s; animation-delay: -2.6s; }
    .chip-consent .fig-float { animation-duration: 6s;   animation-delay: -1.4s; }
    .chip-phi .fig-float     { animation-duration: 6.8s; animation-delay: -3.4s; }
    .chip-shadow .fig-float  { animation-duration: 7.6s; animation-delay: -5.1s; }
  }
  @keyframes figEnter {
    from { opacity: 0; transform: translateY(26px) scale(0.975); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
  }
  @keyframes figFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }

  /* ── responsive: figure drops below the copy ── */
  @media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero h1 { font-size: clamp(36px, 6vw, 62px); }
    .hero-figure {
      min-height: 560px;
      max-width: 560px;
      margin: 40px auto 0;
      width: 100%;
    }
    .fig-phone { left: 6%; }
    .fig-work { right: 2%; }
    .chip-consent { left: 0; }
  }
  @media (max-width: 640px) {
    .hero { padding: 48px 24px 64px; }
    .hero-figure { min-height: 470px; max-width: 100%; }
    .hero-figure .phone { width: 196px; }
    .fig-phone { left: -5%; top: 16px; } /* deliberate edge crop — gives the work card room */
    .hero-figure .phone { rotate: -6deg; }
    .fig-work { right: -1%; top: 20%; width: min(252px, 68%); }
    .work-card { padding: 16px 14px 14px; gap: 8px; }
    .work-card .live-timer { display: none; } /* header stays one line */
    .chip-consent { left: -3%; top: 52%; }
    .chip-phi { display: none; } /* two chips are enough at phone width */
    .chip-shadow { right: 0; bottom: 10%; }
    .chip-pill { font-size: 9.5px; padding: 8px 11px; }
  }

  /* ═══════════════════════════════════════════════════════════════
     DEPTH PASS v2 — one axis per chapter, not one gesture everywhere
     (2026-06-13). v1 tilted everything, which just swapped one
     repetition (flat rectangle ×9) for another (tilt ×9). Rotation is
     now the HERO's signature only; each chapter earns a DIFFERENT depth
     axis: Systems = horizontal (media side alternates), Dashboard = z
     (layered pop-out panel), Process = vertical (staggered cards).
     No rotation below the hero. Demo canvas (#demo) untouched.
     ═══════════════════════════════════════════════════════════════ */

  /* ── 02 SYSTEMS — horizontal axis: text & media swap sides per card.
     Each card's silhouette differs from the one above it as you scroll;
     the rhythm comes from layout, not from tilting the boxes. ── */
  .system-card.glass-card {
    position: relative;
    contain: none;            /* glass-card sets contain:paint — drop it so shadows read */
    overflow: visible;
  }
  .system-videos { gap: 16px; margin-bottom: 0; }
  .system-card .vid-mini {
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.15);
    background:
      radial-gradient(ellipse at 22% 30%, rgba(232, 118, 58, 0.10) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 75%, rgba(95, 184, 151, 0.06) 0%, transparent 55%),
      linear-gradient(158deg, #2A2218 0%, #1B1510 100%);
    box-shadow:
      0 26px 50px -28px rgba(40, 28, 16, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }

  /* status: a clean upright badge, inline in the footer (no rotation) */
  .system-footer .built-for {
    font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase;
    border: 1px solid currentColor;
    padding: 5px 11px; border-radius: 999px;
    opacity: 0.92;
  }

  @media (min-width: 840px) {
    /* place the interleaved children (title, desc, operator, videos,
       footer) into two columns via grid-area — no HTML reorder needed */
    .system-card.glass-card {
      display: grid;
      grid-template-columns: 1fr 1.12fr;
      grid-template-rows: auto auto 1fr;
      column-gap: 48px;
      align-items: start;
      padding: 34px 36px;
    }
    .system-title  { grid-area: 1 / 1; margin-bottom: 10px; }
    .system-desc   { grid-area: 2 / 1; margin-bottom: 0; max-width: none; }
    .system-footer { grid-area: 3 / 1; align-self: end; margin-top: 0; }
    .vid-operator  { grid-area: 1 / 2; margin: 0 0 14px; }
    .system-videos { grid-area: 2 / 2 / 4 / 3; }

    /* even cards: media swaps to the left */
    .system-card:nth-child(even) .system-title  { grid-area: 1 / 2; }
    .system-card:nth-child(even) .system-desc   { grid-area: 2 / 2; }
    .system-card:nth-child(even) .system-footer { grid-area: 3 / 2; }
    .system-card:nth-child(even) .vid-operator  { grid-area: 1 / 1; }
    .system-card:nth-child(even) .system-videos { grid-area: 2 / 1 / 4 / 2; }
  }

  /* ── 03 DASHBOARD — z axis: the activity log is a layered panel that
     pops out over the white panel's corner. Axis-aligned, not tilted —
     the depth cue here is overlap + shadow, a different move than 02. ── */
  .dash-panel {
    position: relative;
    overflow: visible;
    box-shadow:
      0 40px 80px -38px rgba(60, 42, 26, 0.38),
      0 8px 24px -14px rgba(60, 42, 26, 0.16);
  }
  .dash-feed-card {
    position: absolute;
    right: -52px; bottom: -46px;
    width: min(470px, 58%);
    color: var(--cream);
    background: linear-gradient(158deg, rgba(46, 38, 27, 0.97), rgba(27, 20, 13, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 18px 22px 16px;
    box-shadow:
      0 44px 84px -32px rgba(40, 28, 16, 0.50),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
  .dash-feed-card .dash-feed-label { color: var(--cream-muted); }
  .dash-caption { margin-top: 72px; max-width: 52ch; }

  /* ── 05 PROCESS — vertical axis: staggered cards, lifted, no tilt ── */
  .process-tier {
    box-shadow: 0 26px 48px -30px rgba(60, 42, 26, 0.26);
  }
  @media (min-width: 900px) {
    .process-grid { gap: 26px 24px; padding-bottom: 34px; }
    .process-tier:nth-child(even) { translate: 0 34px; }
  }

  /* ── responsive guards ── */
  @media (max-width: 900px) {
    .dash-feed-card {
      position: static;
      width: 100%;
      margin-top: 20px;
    }
    .dash-caption { margin-top: 32px; }
  }
  @media (max-width: 840px) {
    .system-videos { margin-bottom: 0; margin-top: 18px; }
  }

  /* ═══════════════════════════════════════════════════════════════
     SCROLL-FEEL PASS (2026-06-13) — kill the long-scroll feeling.
     Reference: a peer automation site (Carl.dev) that reads "short"
     because the tall, repetitive run is a CAROUSEL, one chapter flips
     to a distinct tonal WORLD, and the hero is paced to one screen.
     We borrow the structure (carousel / world / viewport pacing), not
     the sales content (no testimonials, no booking CTA — Phase A).
     ═══════════════════════════════════════════════════════════════ */

  /* ── 02 SYSTEMS as a horizontal carousel — the single biggest cut to
     scroll length. One system per view; swipe / arrows / dots. Native
     scroll-snap (a GOOD use of snap: horizontal track, not page hijack). ── */
  /* The viewport: clips the track and FADES both edges, so a peeking neighbor
     melts into the page instead of being chopped by a hard border. The bottom
     padding leaves room for the card's drop shadow before the clip. */
  .sys-slider {
    position: relative;
    --sys-gutter: clamp(26px, 6vw, 84px);   /* peek band on each side, matched to the fade */
    overflow: hidden;
    padding: 8px 0 58px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sys-gutter), #000 calc(100% - var(--sys-gutter)), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 var(--sys-gutter), #000 calc(100% - var(--sys-gutter)), transparent 100%);
  }
  /* The track: a flex row moved by transform (a real swipe, not a native
     scroll). One card per view, centered, neighbors peeking into the faded
     gutters. JS owns the motion: it tweens translateX with rAF on snap and
     follows the finger 1:1 on drag, so the glide is identical everywhere. */
  .systems {
    display: flex !important;          /* overrides the light-layer grid */
    grid-template-columns: none !important;
    gap: clamp(14px, 2.5vw, 28px);
    overflow: visible;
    margin: 0;
    padding: 0 var(--sys-gutter);
    will-change: transform;
    touch-action: pan-y;               /* vertical scroll passes through; we own horizontal */
    cursor: grab;
    user-select: none; -webkit-user-select: none;
  }
  .systems.is-grabbing { cursor: grabbing; }
  .system-card.glass-card {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .sys-nav {
    display: flex; align-items: center; justify-content: center;
    gap: 18px; margin-top: 26px;
  }
  .sys-arrow {
    width: 44px; height: 44px; flex: none;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--rule);
    color: var(--cream);
    cursor: pointer;
    box-shadow: 0 10px 24px -14px rgba(60, 42, 26, 0.4);
    transition: background 0.18s, transform 0.18s, opacity 0.18s, border-color 0.18s;
  }
  .sys-arrow svg { width: 18px; height: 18px; }
  .sys-arrow:hover { background: #fff; border-color: var(--ember); transform: translateY(-1px); }
  .sys-arrow:disabled { opacity: 0.34; cursor: default; box-shadow: none; }
  .sys-arrow:disabled:hover { background: rgba(255,255,255,0.7); border-color: var(--rule); transform: none; }
  .sys-dots { display: flex; align-items: center; gap: 10px; }
  .sys-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rule); border: none; padding: 0; cursor: pointer; position: relative;
    transition: background 0.2s, transform 0.2s, width 0.2s, border-radius 0.2s;
  }
  .sys-dot:hover { background: var(--cream-dim); }
  .sys-dot.active { background: var(--ember); width: 22px; border-radius: 4px; }
  /* invisible ~36px tall hit area so the 8px dots meet touch-target guidance without changing their look */
  .sys-dot::before { content: ''; position: absolute; inset: -14px -8px; }

  /* ── 03 DASHBOARD as a dark "world" — full-bleed warm-dark band; the
     white panel becomes the glowing focal object (Carl's distinct-world
     section, inverted to our light-page palette). ── */
  /* ── 01 ABOUT as a calm LIGHT "world" band: a warm paper surface (no dot-grid,
     hairline edges) so the long cream run hero -> finding -> about -> stack gets
     one break before the first dark world. The light cousin of the dark bands. ── */
  #about { position: relative; isolation: isolate; }
  #about::before {
    content: '';
    position: absolute; top: 0; bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 100vw; z-index: -1;
    background:
      radial-gradient(1200px 640px at 82% -8%, rgba(232,118,58,0.06), transparent 58%),
      linear-gradient(177deg, #FBF5EA 0%, #F2E7D2 100%);
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
  }

  #dashboard { position: relative; isolation: isolate; }
  #dashboard::before {
    content: '';
    position: absolute; top: 0; bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 100vw; z-index: -1;             /* body has overflow-x:hidden, so 100vw can't add a scrollbar */
    background:
      radial-gradient(1200px 600px at 18% -10%, rgba(232,118,58,0.16), transparent 60%),
      radial-gradient(1000px 700px at 92% 108%, rgba(95,184,151,0.08), transparent 58%),
      linear-gradient(168deg, #221A12 0%, #161009 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  /* section's own type flips to cream (the white panel keeps its own dark text) */
  #dashboard > .section-label { color: #B8B0A4; }
  #dashboard > .section-label .sl-num { color: #EFEAE0; }
  #dashboard > .section-h { color: #EFEAE0; }
  #dashboard > .section-h em { color: #EE8049; }
  #dashboard > .section-sub { color: #B8B0A4; }
  #dashboard .dash-caption { color: #9A9286; }
  /* white panel pops harder on the dark field */
  #dashboard .dash-panel {
    box-shadow:
      0 60px 110px -40px rgba(0,0,0,0.6),
      0 12px 30px -16px rgba(0,0,0,0.4);
  }
  /* the dark log card now sits partly on dark — give it a defining edge */
  #dashboard .dash-feed-card {
    border-color: rgba(255,255,255,0.22);
    box-shadow:
      0 44px 84px -30px rgba(0,0,0,0.6),
      0 0 0 1px rgba(232,118,58,0.10),
      inset 0 1px 0 rgba(255,255,255,0.16);
  }

  /* ── HERO viewport pacing + scroll cue — move screen-by-screen ── */
  .hero { min-height: calc(100svh - 66px); display: flex; flex-direction: column; justify-content: center; }
  .hero .hero-grid { width: 100%; }
  .scroll-cue {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
    text-decoration: none; color: var(--cream-dim);
    font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
    letter-spacing: 0.22em; text-transform: uppercase;
    opacity: 0.75; transition: opacity 0.2s, transform 0.2s;
  }
  .scroll-cue:hover { opacity: 1; transform: translateX(-50%) translateY(2px); }
  .scroll-cue-mouse {
    width: 22px; height: 34px; border-radius: 11px;
    border: 1.5px solid var(--cream-dim);
    display: flex; justify-content: center; padding-top: 6px;
  }
  .scroll-cue-wheel {
    width: 3px; height: 7px; border-radius: 2px; background: var(--ember);
    animation: scrollWheel 1.8s ease-in-out infinite;
  }
  @keyframes scrollWheel {
    0%   { opacity: 0; transform: translateY(-3px); }
    35%  { opacity: 1; }
    70%  { opacity: 1; transform: translateY(6px); }
    100% { opacity: 0; transform: translateY(9px); }
  }

  @media (max-width: 1080px) {
    .hero { min-height: auto; padding-top: 40px; }
    .scroll-cue { display: none; }    /* the figure-below-copy layout is already tall on mobile */
  }
  @media (prefers-reduced-motion: reduce) {
    .scroll-cue-wheel { animation: none; }
  }

  /* ═══════════════════════════════════════════════════════════════
     OWNERSHIP BAND (2026-06-13) — "How the work works", builder reframe.
     Descriptive only: ownership model, no pricing, no CTA (exclusivity
     clause still live — mailto stays the ceiling). Non-numbered band so
     it doesn't disturb the 01–09 section sequence.
     ═══════════════════════════════════════════════════════════════ */
  .ownership-band { padding: clamp(56px, 8vw, 104px) 32px; }
  .ownership-inner { max-width: 1080px; margin: 0 auto; }
  .ownership-eyebrow {
    display: inline-block;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ember); margin-bottom: 16px;
  }
  .ownership-h {
    font-weight: 600;
    font-variation-settings: "opsz" 72;
    font-size: clamp(30px, 4.2vw, 50px);
    line-height: 1.08; letter-spacing: -0.02em;
    color: var(--cream); margin-bottom: 18px; max-width: 18ch;
    text-wrap: balance;
  }
  .ownership-h em { font-style: italic; color: var(--ember); font-weight: 500; }
  .ownership-sub {
    font-size: 18px; color: var(--cream-muted);
    max-width: 56ch; line-height: 1.6; margin-bottom: 52px;
  }
  .ownership-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .ownership-item {
    padding: 4px 32px 4px 0;
    border-left: 1px solid var(--rule);
    padding-left: 26px;
  }
  .ownership-item:first-child { border-left: none; padding-left: 0; }
  .ownership-num {
    display: block;
    font-size: 12px; color: var(--ember);
    letter-spacing: 0.1em; margin-bottom: 14px;
  }
  .ownership-item h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600; font-size: 19px;
    color: var(--cream); margin-bottom: 9px;
    letter-spacing: -0.01em;
  }
  .ownership-item p {
    font-size: 14.5px; color: var(--cream-muted); line-height: 1.6;
  }
  @media (max-width: 760px) {
    .ownership-grid { grid-template-columns: 1fr; gap: 28px; }
    .ownership-item {
      border-left: none; padding-left: 0;
      border-top: 1px solid var(--rule); padding-top: 22px;
    }
    .ownership-item:first-child { border-top: none; padding-top: 0; }
  }

  /* ═══════════════════════════════════════════════════════════════
     SYSTEM BUILD MODAL + Process dark world (2026-06-13)
     Cards open a Carl-style build modal (thumbnail → details → video);
     Process becomes the 2nd dark "world" so the long light run
     (Stack → Process → Ownership) separates by contrast.
     ═══════════════════════════════════════════════════════════════ */

  /* ── the clickable build thumbnail that replaced the "coming soon" stub ── */
  .sys-build-btn {
    display: flex; align-items: center; gap: 15px;
    width: 100%; text-align: left; cursor: pointer;
    margin: 0 0 16px;
    padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(158deg, rgba(46,38,27,0.96), rgba(27,20,13,0.98));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 22px 46px -28px rgba(40,28,16,0.42), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  }
  .sys-build-btn:hover { transform: translateY(-2px); border-color: rgba(238,128,73,0.5); box-shadow: 0 30px 60px -28px rgba(40,28,16,0.52); }
  .sys-build-btn:focus-visible { outline: 2px solid var(--ember-fill); outline-offset: 3px; }
  .sbb-thumb {
    flex: none; width: 66px; height: 50px; border-radius: 9px;
    background: radial-gradient(ellipse at 28% 26%, rgba(232,118,58,0.24), transparent 62%), #15100a;
    border: 1px solid rgba(255,255,255,0.12);
    display: grid; place-items: center;
  }
  .sbb-play { width: 28px; height: 28px; border-radius: 50%; background: var(--ember-fill); display: grid; place-items: center; }
  .sbb-play svg { width: 12px; height: 12px; fill: #1b140d; margin-left: 2px; }
  .sbb-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .sbb-eyebrow { font-size: 9.5px; letter-spacing: 0.16em; color: #9a9286; }
  .sbb-title { font-size: 14px; font-weight: 500; color: #EFEAE0; }

  /* ── build modal: a horizontal SLIDE DECK, not a scroll. Fixed-height card
     = pinned header + sliding deck + nav footer. The deep dive pages across
     sections with the same swipe mechanism as the systems carousel. ── */
  .build-modal { position: fixed; inset: 0; z-index: 300; display: none; }
  .build-modal[aria-hidden="false"] { display: flex; align-items: center; justify-content: center; }
  .build-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(20,14,8,0.62);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    animation: bmFade 0.2s ease both;
  }
  .build-modal-card {
    position: relative; z-index: 1;
    max-width: 720px; width: calc(100% - 40px);
    height: min(88vh, 800px); margin: 0;
    display: flex; flex-direction: column; overflow: hidden;
    background: #FFFFFF; border-radius: 22px;
    box-shadow: 0 60px 120px -34px rgba(40,28,16,0.55);
    animation: bmRise 0.3s cubic-bezier(0.16,1,0.3,1) both;
  }
  .build-modal-head { flex: none; padding: clamp(24px, 3.4vw, 38px) clamp(24px, 3.4vw, 46px) 16px; }
  @keyframes bmFade { from { opacity: 0; } }
  @keyframes bmRise { from { opacity: 0; transform: translateY(20px); } }
  @media (prefers-reduced-motion: reduce) {
    .build-modal-backdrop, .build-modal-card { animation: none; }
  }
  .build-modal-close {
    position: absolute; top: 14px; right: 16px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--rule); background: #fff; color: var(--cream-muted);
    font-size: 22px; line-height: 1; cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .build-modal-close:hover { background: var(--rule-soft); color: var(--cream); }
  .build-modal-eyebrow { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--cream-dim); margin-bottom: 10px; }
  .build-modal-eyebrow.is-built { color: var(--signal); }
  .build-modal-title { font-weight: 600; font-variation-settings: "opsz" 72; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; color: var(--cream); margin-bottom: 12px; }
  .build-modal-desc { font-size: 16px; color: var(--cream-muted); line-height: 1.55; margin-bottom: 0; max-width: 60ch; }

  /* the deck viewport: clips + fades both edges; each slide is one page */
  .build-deck {
    position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .build-deck-track {
    display: flex; height: 100%;
    will-change: transform; touch-action: pan-y;
    cursor: grab; user-select: none; -webkit-user-select: none;
  }
  .build-deck-track.is-grabbing { cursor: grabbing; }
  .build-deck-slide {
    flex: 0 0 100%; height: 100%; overflow-y: auto; overflow-x: hidden;
    padding: clamp(8px, 1.6vh, 18px) clamp(24px, 3.4vw, 46px) 10px;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
    scrollbar-width: thin;
  }
  .build-deck-slide::-webkit-scrollbar { width: 7px; }
  .build-deck-slide::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 8px; }

  /* nav footer: arrows + dots + a "2 / 4 · How it works" label */
  .build-deck-nav {
    flex: none; display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 13px 24px clamp(16px, 2.2vw, 24px);
    border-top: 1px solid var(--rule-soft);
  }
  .build-deck-controls { display: flex; align-items: center; gap: 16px; }
  .build-deck-arrow {
    width: 38px; height: 38px; flex: none;
    display: grid; place-items: center; border-radius: 50%;
    background: #fff; border: 1px solid var(--rule); color: var(--cream);
    cursor: pointer; transition: border-color 0.16s, color 0.16s, opacity 0.16s, transform 0.16s;
  }
  .build-deck-arrow svg { width: 16px; height: 16px; }
  .build-deck-arrow:hover { border-color: var(--ember); transform: translateY(-1px); }
  .build-deck-arrow:disabled { opacity: 0.3; cursor: default; transform: none; }
  .build-deck-dots { display: flex; align-items: center; gap: 9px; }
  .build-deck-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim); }

  .build-media {
    position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
    margin-bottom: 28px; background: #15100a;
    border: 1px solid rgba(255,255,255,0.10);
  }
  .build-shot { width: 100%; height: 100%; object-fit: cover; display: block; }
  .build-shot-ph {
    position: absolute; inset: 0; display: grid; place-items: center;
    background:
      radial-gradient(ellipse at 30% 24%, rgba(232,118,58,0.14), transparent 60%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 22px),
      linear-gradient(158deg, #2A2218, #15100a);
    color: #8c8478; font-size: 11px; letter-spacing: 0.14em;
  }
  .build-play {
    position: absolute; inset: 0; margin: auto;
    display: inline-flex; align-items: center; gap: 11px;
    width: max-content; height: max-content;
    padding: 13px 22px 13px 16px; border-radius: 999px;
    background: rgba(20,14,8,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22); color: #EFEAE0;
    font-size: 13px; font-weight: 500; cursor: pointer;
    transition: transform 0.15s, background 0.15s;
  }
  .build-play:hover { transform: scale(1.04); background: rgba(20,14,8,0.85); }
  .build-play-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--ember-fill); display: grid; place-items: center; }
  .build-play-ic svg { width: 13px; height: 13px; fill: #1b140d; margin-left: 2px; }
  .build-vid-soon {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    font-size: 10px; letter-spacing: 0.12em; color: #8c8478;
    background: rgba(20,14,8,0.6); padding: 5px 11px; border-radius: 999px;
  }
  .build-iframe { width: 100%; height: 100%; border: 0; display: block; }

  /* ── per-system build scene (slide 1): composed graphic in the hero's language ── */
  .build-media.has-scene { aspect-ratio: 16 / 10; }
  /* beat the .slide-build .build-media override (same specificity, later in file) */
  .slide-build .build-media.has-scene { aspect-ratio: 16 / 10; max-height: none; }
  .build-scene {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    gap: clamp(14px, 3vw, 34px); padding: clamp(20px, 4vw, 42px);
    background:
      radial-gradient(ellipse at 24% 16%, rgba(232,118,58,0.16), transparent 56%),
      radial-gradient(ellipse at 88% 90%, rgba(75,159,127,0.13), transparent 60%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 24px),
      linear-gradient(158deg, #2A2218, #14100a);
  }
  /* terminal pipeline card */
  .build-scene .scene-card {
    flex: 1 1 56%; max-width: 470px; align-self: center; rotate: -1.2deg;
    display: flex; flex-direction: column; gap: 9px;
    padding: 18px 18px 16px; border-radius: 16px;
    background: linear-gradient(158deg, rgba(46,38,27,0.98), rgba(24,18,11,0.99));
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 44px 84px -38px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.14);
  }
  .build-scene .scene-card-head {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; letter-spacing: 0.03em; color: #CFC6B4;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.09);
  }
  .build-scene .scene-liv { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--signal); box-shadow: 0 0 8px rgba(75,159,127,0.6); }
  .build-scene .scene-step { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #C7BEAE; }
  .build-scene .scene-ix {
    width: 18px; height: 18px; border-radius: 6px; flex: none;
    display: grid; place-items: center; font-size: 9px; font-weight: 600;
    background: rgba(232,118,58,0.16); color: var(--ember); border: 1px solid rgba(232,118,58,0.32);
  }
  .build-scene .scene-step-t { flex: 1; min-width: 0; }
  .build-scene .scene-ms { font-size: 10px; color: #8c8478; letter-spacing: 0.02em; flex: none; }
  .build-scene .scene-result {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 4px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,0.09);
    font-size: 11px; font-weight: 600; color: var(--signal);
  }
  .build-scene .scene-lat { color: #8c8478; font-weight: 400; }
  /* the phone */
  .build-scene .scene-phone {
    flex: 0 0 auto; width: clamp(150px, 23%, 188px); align-self: center; rotate: 3deg;
    border-radius: 22px; padding: 14px 13px 13px;
    background: linear-gradient(168deg, #221a12, #14100b);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 48px 84px -36px rgba(0,0,0,0.66), inset 0 0 0 1px rgba(255,255,255,0.05);
  }
  .build-scene .scene-phone-head { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; margin-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .build-scene .scene-av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #1b140d; background: var(--ember-fill); }
  .build-scene .scene-phone-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .build-scene .scene-phone-name { font-size: 11px; font-weight: 600; color: #EFEAE0; }
  .build-scene .scene-phone-sub { font-size: 8.5px; color: #8c8478; }
  .build-scene .scene-bubble {
    font-size: 11px; line-height: 1.45; color: #fbf4ea;
    background: linear-gradient(150deg, #E8763A, #d05e25);
    padding: 10px 12px; border-radius: 14px 14px 14px 5px;
    box-shadow: 0 12px 22px -10px rgba(232,118,58,0.5);
  }
  .build-scene .scene-sim { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 8.5px; letter-spacing: 0.08em; color: #8c8478; }
  /* floating compliance pills */
  .build-scene .scene-pills { position: absolute; inset: 0; pointer-events: none; }
  .build-scene .scene-pill {
    position: absolute;
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 500; letter-spacing: 0.03em;
    color: #332E26;
    background: linear-gradient(150deg, rgba(255,255,255,0.96), rgba(255,255,255,0.76));
    border: 1px solid rgba(255,255,255,0.9); border-radius: 999px; padding: 7px 11px;
    box-shadow: 0 16px 30px -14px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.95);
  }
  .build-scene .scene-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
  .build-scene .scene-dot.sig { background: var(--signal); box-shadow: 0 0 7px rgba(75,159,127,0.5); }
  .build-scene .scene-dot.emb { background: var(--ember-fill); box-shadow: 0 0 7px rgba(232,118,58,0.5); }
  .build-scene .scene-dot.dim { background: var(--cream-dim); }
  .build-scene .scene-pill:nth-child(1) { top: 7%; right: 3%; rotate: 1.6deg; }
  .build-scene .scene-pill:nth-child(2) { bottom: 8%; left: 2.5%; rotate: -1.6deg; }
  .build-scene .scene-pill:nth-child(3) { bottom: 10%; right: 5%; rotate: -1deg; }
  @media (max-width: 620px) {
    .build-scene { flex-direction: column-reverse; gap: 12px; padding: 22px 18px; }
    .build-scene .scene-card, .build-scene .scene-phone { rotate: 0deg; width: 100%; max-width: 320px; }
    .build-scene .scene-pills { display: none; }
  }

  .build-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .build-col-h { font-size: 10px; letter-spacing: 0.14em; color: var(--ember); margin-bottom: 14px; font-weight: 500; }
  .build-steps { margin: 0; padding: 0; list-style: none; counter-reset: bstep; }
  .build-steps li {
    position: relative; padding: 0 0 12px 30px; counter-increment: bstep;
    font-size: 14px; color: var(--cream-muted); line-height: 1.5;
  }
  .build-steps li::before {
    content: counter(bstep); position: absolute; left: 0; top: -1px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--ember-glow); color: var(--ember);
    font-family: 'JetBrains Mono', monospace; font-size: 10px;
    display: grid; place-items: center;
  }
  .build-gates { margin: 0; padding: 0; list-style: none; }
  .build-gates li {
    position: relative; padding: 0 0 11px 22px;
    font-size: 13.5px; color: var(--cream-muted); line-height: 1.45;
  }
  .build-gates li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--signal); font-size: 12px; }
  @media (max-width: 600px) { .build-cols { grid-template-columns: 1fr; gap: 22px; } }

  /* ── 05 PROCESS as the 2nd dark "world" (separates the long light run) ── */
  #process { position: relative; isolation: isolate; }
  #process::before {
    content: '';
    position: absolute; top: 0; bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 100vw; z-index: -1;
    background:
      radial-gradient(1100px 620px at 84% -8%, rgba(232,118,58,0.15), transparent 60%),
      radial-gradient(1000px 700px at 10% 106%, rgba(95,184,151,0.08), transparent 58%),
      linear-gradient(168deg, #1C1712 0%, #221A12 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  #process > .section-label { color: #B8B0A4; }
  #process > .section-label .sl-num { color: #EFEAE0; }
  #process > .section-h { color: #EFEAE0; }
  #process > .section-h em { color: #EE8049; }
  #process > .section-sub { color: #B8B0A4; }
  /* tiers flip to dark glass by re-scoping the object palette (same trick as .video-frame) */
  #process .process-tier {
    --paper: #29221A; --paper-elev: #342B20;
    --cream: #EFEAE0; --cream-muted: #B4AB99; --cream-dim: #877D6B;
    --rule: #43392B; --rule-soft: #2D2519; --ember: #EE8049; --signal: #5FB897;
    background: linear-gradient(158deg, rgba(46,38,27,0.95), rgba(27,20,13,0.97));
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.10);
  }
  #process .process-tier:hover { border-color: rgba(238,128,73,0.5); box-shadow: 0 48px 90px -38px rgba(0,0,0,0.6); }
  #process .process-closing {
    color: #B4AB99;
    border-color: rgba(255,255,255,0.12);
    background: linear-gradient(158deg, rgba(46,38,27,0.6), rgba(27,20,13,0.7));
  }
  #process .process-closing strong { color: #EFEAE0; }

  /* ═══════════════════════════════════════════════════════════════
     BUILD MODAL → DEEP-DIVE PAGER + bigger cards (2026-06-13)
     ═══════════════════════════════════════════════════════════════ */

  /* whole card reads as clickable now */
  .system-card.is-clickable { cursor: pointer; }
  .system-card.is-clickable:hover { border-color: rgba(238,128,73,0.32); }

  /* bigger system cards — more presence (was reading small vs the reference) */
  @media (min-width: 840px) {
    .system-card.glass-card { padding: 42px 46px; column-gap: 54px; min-height: 440px; }
  }
  .system-title { font-size: 30px; }
  .system-desc { font-size: 16px; line-height: 1.62; }
  .sbb-thumb { width: 88px; height: 62px; }
  .sbb-play { width: 34px; height: 34px; }
  .sbb-play svg { width: 14px; height: 14px; }
  .sbb-title { font-size: 15px; }
  .sbb-eyebrow { font-size: 10px; }
  .sys-build-btn { padding: 18px 20px; }
  .system-card .vid-mini { aspect-ratio: 16 / 11; }

  /* fill the card's vertical space: on desktop the two preview graphics STACK
     full-width in the right column and grow to fill it, instead of sitting as
     two small side-by-side tiles with dead space below them */
  @media (min-width: 840px) {
    .system-card .system-videos {
      align-self: stretch; height: 100%;
      grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 14px;
    }
    .system-card .vid-mini { aspect-ratio: auto; min-height: 128px; }
  }

  /* ── modal shell: wider deck on desktop ── */
  .build-modal-card { max-width: 920px; }
  .build-modal-desc { max-width: 64ch; }
  /* the media gets its OWN page (slide 1) so a real screenshot / video thumbnail
     reads large, not shrunk. 16/9, sized to fill the page, never overflowing it. */
  .slide-build { padding-top: 8px; padding-bottom: 8px; justify-content: center; }
  .slide-build .build-media {
    width: 100%; aspect-ratio: 16 / 9; max-height: 100%;
    margin: 0; flex: none;
  }

  .build-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .build-chip {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: var(--cream-muted);
    background: var(--rule-soft); border: 1px solid var(--rule);
    border-radius: 999px; padding: 6px 12px; white-space: nowrap;
  }

  /* deeper HOW IT WORKS — each step carries a technical note */
  .build-steps li { padding-left: 34px; padding-bottom: 11px; }
  .build-steps li::before { width: 22px; height: 22px; font-size: 11px; }
  .build-steps .bs-t { display: block; font-size: 14.5px; font-weight: 600; color: var(--cream); margin-bottom: 4px; line-height: 1.35; }
  .build-steps .bs-d { display: block; font-size: 13px; color: var(--cream-muted); line-height: 1.55; }
  .build-steps .bs-d code, .build-arch code {
    font-family: 'JetBrains Mono', monospace; font-size: 0.92em;
    background: var(--rule-soft); border: 1px solid var(--rule);
    border-radius: 4px; padding: 0 4px; color: var(--ember-deep);
  }

  /* COMPLIANCE — each gate maps to the regulation/mechanism it enforces */
  .build-gates li { display: flex; align-items: baseline; gap: 10px; padding: 0 0 10px 22px; }
  .build-gates .bg-g { flex: 1; }
  .build-gates .bg-r {
    flex: none; font-size: 10px; letter-spacing: 0.04em;
    color: var(--signal); background: var(--signal-glow);
    border-radius: 5px; padding: 3px 8px; white-space: nowrap; align-self: flex-start;
  }

  /* UNDER THE HOOD — architecture facts (slide 4, top of its page) */
  .build-hood .build-chips { margin-bottom: 18px; }
  .build-arch { list-style: none; margin: 0; padding: 0; }
  .build-arch li {
    position: relative; padding: 0 0 10px 18px;
    font-size: 13.5px; color: var(--cream-muted); line-height: 1.55;
  }
  .build-arch li::before { content: '·'; position: absolute; left: 4px; top: -1px; color: var(--ember); font-weight: 700; }
  .build-arch li em { color: var(--cream); font-style: italic; }

  /* ── deep-dive sections (2026-06-13): the stakes, the failure modes, where
     it runs, and the by-design facts. More than a feature list, this is the
     analytical read a technical visitor actually wants. No fabricated metrics:
     every figure here is a design parameter, not a performance claim. ── */
  .build-prose { font-size: 14px; color: var(--cream-muted); line-height: 1.62; margin: 0; }
  .build-prose code, .build-breaklist code {
    font-family: 'JetBrains Mono', monospace; font-size: 0.92em;
    background: var(--rule-soft); border: 1px solid var(--rule);
    border-radius: 4px; padding: 0 4px; color: var(--ember-deep);
  }
  .build-stakes {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  }

  .build-breaklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .build-breaklist li {
    position: relative; padding: 12px 16px 12px 42px;
    font-size: 13.5px; color: var(--cream-muted); line-height: 1.5;
    background: var(--ember-glow); border: 1px solid var(--rule);
    border-radius: 12px;
  }
  .build-breaklist li::before {
    content: '!'; position: absolute; left: 14px; top: 11px;
    width: 18px; height: 18px; border-radius: 6px;
    background: rgba(232, 118, 58, 0.18); color: var(--ember);
    font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
    display: grid; place-items: center;
  }
  .build-breaklist li em { color: var(--cream); font-style: italic; }

  .build-runs { margin-top: 18px; }

  /* by-design facts share slide 4 with under-the-hood, keep a light separator */
  .build-design { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule-soft); }
  .build-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
  .build-fact { padding: 2px 18px; border-left: 1px solid var(--rule); }
  .build-fact:first-child { border-left: none; padding-left: 0; }
  .build-fact dt {
    font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--cream-dim); margin: 0 0 7px;
  }
  .build-fact dd { margin: 0; font-size: 14.5px; color: var(--cream); font-weight: 600; line-height: 1.3; }

  @media (max-width: 700px) {
    .build-facts { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
    .build-fact:nth-child(odd) { border-left: none; padding-left: 0; }
  }
  @media (max-width: 480px) {
    .build-stakes { grid-template-columns: 1fr; gap: 22px; }
    .build-facts { grid-template-columns: 1fr; gap: 16px 0; }
    .build-fact { border-left: none; padding-left: 0; }
  }

  @media (max-width: 600px) {
    .build-gates li { flex-direction: column; gap: 4px; }
  }
