  :root {
    --bg:        #0a0b0d;
    --bg-2:      #0d0f12;
    --panel:     #111417;
    --panel-2:   #15181c;
    --line:      rgba(255,255,255,0.09);
    --line-2:    rgba(255,255,255,0.05);
    --ink:       #e9ebec;
    --ink-2:     #aab0b5;
    --muted:     #6b7177;
    --green:     #4ade80;
    --green-dim: #2f9e5c;
    --green-glow: rgba(74,222,128,0.18);
    --red:       #f4625a;
    --red-dim:   #b8463f;
    --amber:     #f5b53d;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --disp: "Archivo Expanded", "Archivo", system-ui, sans-serif;
    --body: "Archivo", system-ui, sans-serif;
    --maxw: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* ---- Forensic backdrop ---- */
  .grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(var(--line-2) 1px, transparent 1px),
      linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 85%);
  }
  .noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: screen;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
  a { color: inherit; text-decoration: none; }

  .mono { font-family: var(--mono); }
  .eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--green-dim);
  }

  /* ---- reticle corner marks ---- */
  .reticle { position: relative; }
  .reticle::before, .reticle::after,
  .reticle > .tl, .reticle > .br {
    content: "";
    position: absolute;
    width: 9px; height: 9px;
    border: 1px solid var(--line);
    z-index: 3;
  }
  .reticle::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
  .reticle::after  { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
  .reticle > .tl   { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
  .reticle > .br   { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

  /* ============ NAV ============ */
  nav {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(10,11,13,0);
    transition: background .3s, border-color .3s, backdrop-filter .3s;
  }
  nav.scrolled {
    background: rgba(10,11,13,0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-2);
  }
  .nav-row {
    display: flex; align-items: center; gap: 28px;
    height: 70px;
  }
  .brand { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
  .brand svg { display: block; }
  .brand .dot { color: var(--muted); }
  .brand .it { color: var(--green); }
  .nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .nav-signin {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    color: var(--ink-2); padding: 9px 10px; white-space: nowrap;
    transition: color .15s;
  }
  .nav-signin:hover { color: var(--green); }
  .nav-cta {
    font-family: var(--mono); font-size: 13px; font-weight: 600;
    color: var(--bg); background: var(--green);
    padding: 9px 16px; border-radius: 6px; white-space: nowrap;
    transition: transform .12s, box-shadow .2s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px var(--green-glow); }
  @media (max-width: 560px) {
    .nav-row { gap: 14px; }
    .nav-actions { gap: 2px; }
    .nav-signin { padding-inline: 7px; }
    .nav-cta { padding-inline: 11px; }
  }

  /* ============ HERO ============ */
  .hero { padding: 86px 0 70px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 1.16fr;
    gap: 54px;
    align-items: center;
  }
  h1 {
    font-family: var(--disp);
    font-weight: 800;
    font-size: clamp(40px, 5.6vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 22px 0 0;
    text-wrap: balance;
  }
  h1 .stroke { color: var(--green); }
  .lede {
    color: var(--ink-2);
    font-size: 18.5px;
    max-width: 30em;
    margin: 24px 0 0;
  }
  .hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
  .btn {
    font-family: var(--mono); font-size: 14px; font-weight: 600;
    padding: 13px 22px; border-radius: 7px;
    display: inline-flex; align-items: center; gap: 9px;
    cursor: pointer; border: 1px solid transparent; white-space: nowrap;
    transition: transform .12s, box-shadow .2s, background .2s, border-color .2s;
  }
  .btn-primary { background: var(--green); color: #06140c; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--green-glow); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--green-dim); color: var(--green); }
  .btn .arw { transition: transform .15s; }
  .btn:hover .arw { transform: translateX(3px); }

  .trust {
    margin-top: 30px;
    font-family: var(--mono); font-size: 12.5px; color: var(--muted);
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  }
  .trust .dot { color: var(--green-dim); }

  /* ---- Evidence console ---- */
  .console {
    background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.02) inset;
  }
  .console-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--line-2);
    background: rgba(255,255,255,0.015);
  }
  .lights { display: flex; gap: 7px; }
  .lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e33; display: block; }
  .console-bar .cname { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
  .console-bar .case { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
  .console-body {
    font-family: var(--mono); font-size: 13.5px; line-height: 1.85;
    padding: 20px 20px 22px;
    height: 354px;
    overflow: hidden;
    position: relative;
  }
  .cline { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(3px); }
  .cline.show { opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  .c-mut { color: var(--muted); }
  .c-grn { color: var(--green); }
  .c-red { color: var(--red); }
  .c-amb { color: var(--amber); }
  .c-ink { color: var(--ink); }
  .prompt { color: var(--green-dim); }
  .cursor {
    display: inline-block; width: 8px; height: 15px;
    background: var(--green); vertical-align: -2px;
    animation: blink 1s steps(1) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  .stamp {
    position: absolute; right: 18px; bottom: 16px;
    font-family: var(--disp); font-weight: 800; font-size: 13px; letter-spacing: 0.12em;
    color: var(--green); border: 2px solid var(--green); border-radius: 6px;
    padding: 7px 12px; transform: rotate(-7deg) scale(0.7);
    opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.2,1.4,.4,1);
    text-transform: uppercase; background: rgba(74,222,128,0.05);
  }
  .stamp.show { opacity: 1; transform: rotate(-7deg) scale(1); }


  /* ---- Find, prove, replay pipeline ---- */
  .pipe { margin-top: 40px; display: grid; grid-template-columns: 1fr 46px 1fr 46px 1fr; align-items: stretch; }
  .pipe .stage { position: relative; background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 18px; display: flex; flex-direction: column; min-height: 440px; }
  .pipe .pidx { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--green); }
  .pipe .stage h3 { font-family: var(--disp); font-weight: 600; font-size: 18px; margin: 7px 0 0; letter-spacing: -.01em; }
  .pipe .pdesc { color: var(--ink-2); font-size: 13px; line-height: 1.5; margin: 6px 0 12px; min-height: 58px; }
  .pipe .viz { flex: 1; position: relative; border-radius: 10px; overflow: hidden; }
  .pipe .flow { align-self: center; position: relative; height: 2px; background: var(--line); width: 100%; }
  .pipe .flow .dot { position: absolute; top: 50%; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green-glow); transform: translate(-50%,-50%); opacity: 0; }
  .pipe .flow.run .dot { animation: ptravel .9s cubic-bezier(.5,0,.4,1) forwards; }
  @keyframes ptravel { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 1; } }
  .pipe .flow .head { position: absolute; right: -1px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: translate(-1px,-50%) rotate(45deg); }
  .term { background: #0c0e11; height: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; font-family: var(--mono); font-size: 11px; line-height: 1.7; overflow: hidden; }
  .term .l { display: block; white-space: pre-wrap; opacity: 0; transform: translateY(2px); }
  .term .l.show { opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
  .sealwrap { height: 100%; display: flex; align-items: center; justify-content: center; }
  .evfile { width: 80%; background: #0c0e11; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; transform: scale(.7); opacity: 0; transition: transform .4s cubic-bezier(.2,1.4,.4,1), opacity .3s; }
  .evfile.in { transform: scale(1); opacity: 1; }
  .evfile .lock { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--green-dim); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 18px; transition: border-color .3s, color .3s, box-shadow .3s; }
  .evfile.verified .lock { border-color: var(--green); box-shadow: 0 0 18px var(--green-glow); }
  .evfile .seed { font-family: var(--mono); font-size: 12px; color: var(--ink); font-weight: 600; max-width: 100%; overflow-wrap: anywhere; }
  .evfile .meta { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 5px; }
  .evfile .verifytag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--green); margin-top: 9px; opacity: 0; transition: opacity .3s; }
  .evfile.verified .verifytag { opacity: 1; }


  /* ---- Product UI used in the Cloud replay animation ---- */
  .pphone { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  .device { height: 84%; aspect-ratio: 300/620; background: #000; border-radius: 24px; padding: 5px; position: relative; }
  .dscreen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; background: #0a0b0d; }
  .dapp { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f4efe7; border-radius: 20px; overflow: hidden; transition: opacity .25s ease; }
  /* Cross-fade: when the crash page shows, the cream page fades out, so only one
     page is ever visible and each meets the dark screen at the rounded corner
     (no cream bleeding under the crash overlay's antialiased edge). */
  .dscreen:has(.dcrash.in) .dapp { opacity: 0; }
  .dbar { height: 24px; display: flex; align-items: center; gap: 6px; padding: 0 11px; flex: none; }
  .ddot { width: 15px; height: 15px; border-radius: 5px; background: linear-gradient(135deg,#e8902b,#c9761d); }
  .dname { font-family: var(--disp); font-weight: 800; font-size: 11px; color: #2b2722; }
  .dbody { flex: 1; padding: 0 10px 10px; display: flex; flex-direction: column; }
  .dimg { flex: none; height: 44%; border-radius: 10px; background: #c9762b; position: relative; overflow: hidden; transition: background .35s ease; }
  .dimg .dimg-glow { position: absolute; right: -18px; bottom: -22px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.14); }
  .dchip { margin: 10px auto 0; width: max-content; font-family: var(--mono); font-size: 9px; font-weight: 700; color: #b06a1c; background: #f6e7d2; border: 1px solid #ecd6b6; border-radius: 999px; padding: 2px 9px; }
  .dtitle { height: 10px; width: 58%; border-radius: 5px; background: #d8cdbb; margin: 11px auto 8px; }
  .dline { height: 7px; border-radius: 4px; background: #e4dacb; margin: 6px auto; }
  .dspacer { flex: 1; }
  .dnext { flex: none; height: 30px; border-radius: 9px; background: #e8902b; color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; font-weight: 700; }
  .dcrash { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(180deg,#3a100d,#2a0b09); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity .25s; }
  .dcrash.in { opacity: 1; }
  .dcrash .g { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 800; font-size: 18px; box-shadow: 0 0 18px rgba(244,98,90,.45); }
  .dcrash .ct { font-family: var(--disp); font-weight: 800; font-size: 11px; color: #ffe9e7; margin-top: 8px; }
  .dcrash .cm { font-family: var(--mono); font-size: 8px; color: #ff9a93; margin-top: 5px; }
  .dtouch { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; left: 50%; top: 90%; z-index: 5; opacity: 0; transition: opacity .2s; }
  .dtouch .r { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); background: var(--green-glow); box-shadow: 0 0 10px var(--green-glow); }
  .dtouch.show { opacity: 1; }
  .dtouch.tap .r { animation: dtp .45s ease-out; }
  @keyframes dtp { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(2.2); opacity: 0; } }
  .replaytag { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--green); opacity: 0; transition: opacity .3s; }
  .replaytag.in { opacity: 1; }
  @media (max-width: 820px) {
    .pipe { grid-template-columns: 1fr; gap: 24px; }
    .pipe .flow { display: none; }
    .pipe .stage { min-height: 0; }
    .pipe .viz { flex: none; height: 300px; }
    .pipe .pdesc { min-height: 0; }
    .console-body { height: 330px; font-size: 12px; }
  }

  /* ============ generic section ============ */
  section { position: relative; z-index: 2; }
  .sec-head { max-width: 640px; margin-bottom: 48px; }
  .sec-head h2 {
    font-family: var(--disp); font-weight: 700;
    font-size: clamp(28px, 3.6vw, 42px); line-height: 1.04;
    letter-spacing: -0.018em; margin: 16px 0 0;
    text-wrap: balance;
  }
  .sec-head p { color: var(--ink-2); margin: 16px 0 0; font-size: 18px; }

  .divider { height: 1px; background: var(--line-2); }

  /* ---- supported-frameworks band: fixed label + auto-scrolling list ---- */
  .frameworks { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 18px 0; background: rgba(255,255,255,0.012); overflow: hidden; }
  .fw-row { display: flex; align-items: center; gap: 30px; }
  .fw-label { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-right: 30px; border-right: 1px solid var(--line); }
  .fw-mask { flex: 1; min-width: 0; width: 100%; max-width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .fw-track { display: flex; width: max-content; animation: fwscroll 42s linear infinite; }
  .frameworks:hover .fw-track { animation-play-state: paused; }
  .fw { font-family: var(--disp); font-weight: 600; font-size: 16px; color: var(--ink-2); opacity: 0.55; padding: 0 24px; white-space: nowrap; transition: opacity 0.15s, color 0.15s; }
  .fw:hover { opacity: 1; color: var(--green); }
  @keyframes fwscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .fw-track { animation: none; flex-wrap: wrap; row-gap: 10px; } }
  @media (max-width: 640px) {
    .fw-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fw-label { border-right: none; padding-right: 0; }
  }

  .sig { width: 14px; height: 14px; border-radius: 3px; }
  /* ============ HOW IT WORKS ============ */
  .how { padding: 96px 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 11px; padding: 26px 24px 28px;
    position: relative; overflow: hidden;
  }
  .step .idx {
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    letter-spacing: 0.1em;
  }
  .step .ico {
    width: 46px; height: 46px; border-radius: 9px; margin: 18px 0 18px;
    border: 1px solid var(--line); display: grid; place-items: center;
    background: rgba(255,255,255,0.02);
  }
  .step h3 { font-family: var(--disp); font-weight: 600; font-size: 21px; margin: 0 0 9px; letter-spacing: -0.01em; }
  .step p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
  .step .tag { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--green-dim); }
  .step .arrow {
    position: absolute; top: 50%; right: -11px; transform: translateY(-50%);
    color: var(--line); z-index: 4;
  }

  /* ============ PR INTEGRATION ============ */
  .pr { padding: 96px 0; }
  .pr-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
  .pr-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 11px;
    overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0,0,0,0.8);
  }
  .pr-top {
    display: flex; align-items: center; gap: 10px; padding: 13px 16px;
    border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  }
  .pr-top .gh { width: 16px; height: 16px; color: var(--muted); }
  .pr-top .num { color: var(--muted); }
  .pr-top .state { margin-left: auto; font-size: 11px; color: var(--green); border: 1px solid var(--green-dim); border-radius: 20px; padding: 2px 10px; }
  .pr-comment { padding: 18px 18px 20px; display: flex; gap: 13px; }
  .pr-ava {
    width: 34px; height: 34px; border-radius: 7px; flex-shrink: 0;
    background: rgba(74,222,128,0.1); border: 1px solid var(--green-dim);
    display: grid; place-items: center; color: var(--green);
  }
  .pr-c-body { flex: 1; min-width: 0; }
  .pr-c-head { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; }
  .pr-c-head b { color: var(--ink); font-weight: 600; }
  .pr-c-head .bot { color: var(--green); margin-left: 6px; border:1px solid var(--green-dim); border-radius: 4px; padding: 1px 6px; font-size: 10.5px; }
  .pr-msg { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin: 0 0 14px; }
  .repro-box {
    font-family: var(--mono); font-size: 13.5px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
    padding: 0; overflow: hidden;
  }
  .repro-box .rb-head {
    display: flex; align-items: center; padding: 9px 13px; border-bottom: 1px solid var(--line-2);
    font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
  }
  .repro-box .rb-head .copy {
    margin-left: auto; cursor: pointer; color: var(--ink-2); font-size: 11px;
    border: 1px solid var(--line); border-radius: 5px; padding: 3px 9px; transition: all .15s;
  }
  .repro-box .rb-head .copy:hover { color: var(--green); border-color: var(--green-dim); }
  .repro-box .rb-cmd { padding: 13px; color: var(--ink); }
  .repro-box .rb-cmd .pr-prompt { color: var(--green-dim); user-select: none; }
  .repro-box .rb-cmd .seed { color: var(--green); }
  button.copy { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
  .pr-meta { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
  .pr-meta .m { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 5px; padding: 4px 9px; }
  .pr-meta .m b { color: var(--green); font-weight: 600; }

  .pr-list { display: flex; flex-direction: column; gap: 22px; }
  .pr-li { display: flex; gap: 14px; align-items: flex-start; }
  .pr-li .ck { color: var(--green); flex-shrink: 0; margin-top: 2px; }
  .pr-li b { font-family: var(--disp); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
  .pr-li p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

  /* ============ FEATURES ============ */
  .features { padding: 96px 0; }
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
  .feat {
    background: var(--bg); padding: 30px 26px 34px;
    transition: background .25s;
  }
  .feat:hover { background: var(--panel); }
  .feat .fi { color: var(--green); margin-bottom: 18px; }
  .feat h4 { font-family: var(--disp); font-weight: 600; font-size: 18px; margin: 0 0 9px; letter-spacing: -0.008em; }
  .feat p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
  .feat .meta { margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

  /* ---- cloud demo: production -> repro loop (inverse of the how phone) ---- */
  .cl-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: center; }
  .cl-stage {
    background: var(--panel); border: 1px solid var(--line); border-radius: 11px;
    padding: 26px; display: grid; place-items: center;
  }
  .cl-stage .pidx {
    position: absolute; top: 16px; left: 18px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--green);
  }
  .cl-phone { height: 360px; }
  /* tiny "in production" tag below the phone, mirrors .replaytag placement */
  .cl-prodtag { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 10px; }
  .cl-prodtag .live { color: var(--red); }
  .cl-prodtag .live::before { content: "● "; }

  .cl-beats { display: flex; flex-direction: column; gap: 16px; }
  /* each beat reveals as the timeline reaches it */
  .cl-beat { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
  .cl-beat.in { opacity: 1; transform: none; }

  /* beat 2: incident logged to the cloud */
  .cl-log {
    display: grid; grid-template-columns: 16px 1fr auto; gap: 12px; align-items: center;
    font-family: var(--mono); font-size: 13px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px;
  }
  .cl-log .sig { width: 13px; height: 13px; border-radius: 3px; background: var(--red); box-shadow: 0 0 10px rgba(244,98,90,.4); }
  .cl-log .lt { color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cl-log .lt .seed { color: var(--green); }
  .cl-log .lt .svc { color: var(--ink); }
  .cl-log .pill { font-size: 10.5px; letter-spacing: .04em; color: var(--red); background: rgba(244,98,90,0.12); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }

  /* beat 3: the reproduce command, reuses the repro-box look */
  .cl-cmd { font-family: var(--mono); font-size: 13.5px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .cl-cmd .rb-head { display: flex; align-items: center; padding: 9px 13px; border-bottom: 1px solid var(--line-2); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
  .cl-cmd .rb-cmd { padding: 13px; color: var(--ink); }
  .cl-cmd .pr-prompt { color: var(--green-dim); user-select: none; }
  .cl-cmd .seed { color: var(--green); }
  /* typed caret while the command "types" */
  .cl-cmd .caret { display: inline-block; width: 7px; margin-left: 1px; background: var(--green); animation: clblink 1s steps(1) infinite; }
  @keyframes clblink { 50% { opacity: 0; } }

  /* beat 5: reproduced result, reuses .pr-meta chip look */
  .cl-done { display: flex; gap: 8px; flex-wrap: wrap; }
  .cl-done .m { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 5px; padding: 5px 10px; }
  .cl-done .m b { color: var(--green); font-weight: 600; }

  @media (max-width: 940px) {
    .cl-grid { grid-template-columns: 1fr; gap: 30px; }
    .cl-phone { height: 320px; }
  }

  /* ============ FOOTER ============ */
  footer { border-top: 1px solid var(--line-2); padding: 28px 0; position: relative; z-index: 2; }
  .foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; margin-left: auto; }
  .foot-links a { font-size: 13px; color: var(--muted); transition: color .15s; }
  .foot-links a:hover { color: var(--green); }

  /* ---- reveal ---- */
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
  .rv.in { opacity: 1; transform: none; }

  @media (max-width: 940px) {
    .hero-grid, .pr-grid { grid-template-columns: 1fr; }
    .steps, .feat-grid { grid-template-columns: 1fr; }
    .step .arrow { display: none; }
    .hero { padding: 54px 0 50px; }
  }
  @media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    /* full-width single column on phones reads better centered (like the cards) */
    .hero-copy { text-align: center; }
    .hero-cta { justify-content: center; }
    .trust { justify-content: center; }
    .sec-head { text-align: center; margin-left: auto; margin-right: auto; }
  }

  @media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1 !important; transform: none !important; }
    .cline { opacity: 1 !important; transform: none !important; }
    .cursor { animation: none; }
    html { scroll-behavior: auto; }
  }


  .cloud-plans { margin:0; scroll-margin-top:90px; text-align:center; font-family:var(--disp); font-size:clamp(28px,3.6vw,42px); }
  .price-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin-top:22px; }
  .price-grid .feat {
    position:relative;
    display:flex;
    flex-direction:column;
    padding:26px 20px;
    border:1px solid var(--line);
    border-radius:14px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008) 34%),
      rgba(10,11,13,0.92);
    box-shadow:0 18px 52px rgba(0,0,0,0.18);
  }
  .price-grid .feat h4 { margin:0 0 16px; min-height:22px; font-size:17px; line-height:1.28; }
  .price-grid .feat .price { display:flex; align-items:baseline; min-height:36px; font-family:var(--disp); font-weight:700; font-size:31px; line-height:1; letter-spacing:-0.01em; margin:0 0 12px; }
  .price-grid .feat .price small { font-family:var(--body); font-weight:400; font-size:13px; color:var(--muted); }
  .price-grid .feat .sub { color:var(--muted); font-size:13px; line-height:1.55; margin:0 0 22px; min-height:62px; }
  .price-grid .feat ul { list-style:none; padding:0; margin:0 0 22px; display:flex; flex-direction:column; gap:11px; }
  .price-grid .feat li { font-size:13.5px; color:var(--ink-2); line-height:1.38; padding-left:24px; position:relative; }
  .price-grid .feat li::before {
    content:"";
    position:absolute;
    left:0;
    top:0.2em;
    width:15px;
    height:15px;
    background:var(--green);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.7 2.6 8.1l1.3-1.3 2.3 2.3 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.7 2.6 8.1l1.3-1.3 2.3 2.3 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .price-grid .nowrap { white-space:nowrap; }
  .price-grid .feat .btn { margin-top:auto; width:100%; justify-content:center; min-height:50px; border-radius:8px; }
  .price-pop {
    border-color:rgba(74,222,128,0.72);
    background:
      radial-gradient(circle at 50% 0%, rgba(74,222,128,0.14), transparent 38%),
      linear-gradient(180deg, rgba(74,222,128,0.045), rgba(255,255,255,0.01) 36%),
      rgba(10,11,13,0.96);
    box-shadow:0 22px 70px rgba(0,0,0,0.28), 0 0 0 1px rgba(74,222,128,0.12);
  }
  .price-pop::before { content:""; position:absolute; inset:0 0 auto; height:3px; border-radius:14px 14px 0 0; background:linear-gradient(90deg, transparent, var(--green), transparent); }
  @media (max-width:1100px){ .price-grid { grid-template-columns:1fr 1fr; } .price-grid .feat { min-height:0; } }
  @media (max-width:560px){ .price-grid { grid-template-columns:1fr; } }
