  /* ============ Theme tokens ============ */
  :root {
    --bg: #FAF9F6;
    --bg-2: #F2F0EA;
    --surface: #FFFFFF;
    --paper: #FFFFFF;
    --ink: #15132B;
    --ink-2: #3A3852;
    --muted: #6E6B82;
    --line: #E6E3DB;
    --line-2: #EFEDE7;
    --brand: #3B2FE0;
    --brand-2: #6C5CFF;
    --brand-soft: #ECEAFF;
    --on-brand: #FFFFFF;
    --seal: #E5482F;
    --seal-soft: #FDE9E4;
    --field: #FFD95A;
    --field-soft: #FFF5CC;
    --ok: #0F9F6E;
    --ok-soft: #DDF6EC;
    --sig: #1D2A8F;
    --shadow-sm: 0 1px 2px rgba(21,19,43,.06), 0 2px 6px -2px rgba(21,19,43,.08);
    --shadow: 0 1px 2px rgba(21,19,43,.06), 0 18px 40px -16px rgba(21,19,43,.22);
    --shadow-lg: 0 2px 4px rgba(21,19,43,.05), 0 40px 80px -24px rgba(21,19,43,.30);
    --radius: 16px;
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --script: "Mrs Saint Delafield", "Caveat", cursive;
    --brand-script: "Sacramento", cursive;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0D0C18; --bg-2: #13122A; --surface: #18172E; --paper: #1E1D38;
      --ink: #F3F2FA; --ink-2: #CBC9DC; --muted: #9592AC; --line: #2A2944; --line-2: #232240;
      --brand: #8B7CFF; --brand-2: #A99DFF; --brand-soft: #24204A; --on-brand: #0D0C18;
      --seal: #FF6B4F; --seal-soft: #3A1E1A; --field: #E9C94A; --field-soft: #3A3318;
      --ok: #34D399; --ok-soft: #123A2C; --sig: #C3BCFF;
      --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
      --shadow: 0 18px 40px -16px rgba(0,0,0,.6);
      --shadow-lg: 0 40px 80px -24px rgba(0,0,0,.7);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0D0C18; --bg-2: #13122A; --surface: #18172E; --paper: #1E1D38;
    --ink: #F3F2FA; --ink-2: #CBC9DC; --muted: #9592AC; --line: #2A2944; --line-2: #232240;
    --brand: #8B7CFF; --brand-2: #A99DFF; --brand-soft: #24204A; --on-brand: #0D0C18;
    --seal: #FF6B4F; --seal-soft: #3A1E1A; --field: #E9C94A; --field-soft: #3A3318;
    --ok: #34D399; --ok-soft: #123A2C; --sig: #C3BCFF;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 18px 40px -16px rgba(0,0,0,.6);
    --shadow-lg: 0 40px 80px -24px rgba(0,0,0,.7);
    color-scheme: dark;
  }

  /* ============ Base ============ */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--font); font-size: 16px; line-height: 1.55;
    -webkit-font-smoothing: antialiased; overflow-x: clip;
    transition: background .3s, color .3s;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 64px); }
  h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; font-weight: 600; }
  em.serif, .serif {
    font-family: var(--brand-script); font-style: normal; font-weight: 400; letter-spacing: 0;
    font-size: 1.32em; line-height: 0; color: var(--brand); -webkit-text-stroke: .018em currentColor; padding: 0 .04em;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: var(--ink-2);
    padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  }
  .eyebrow .tag { background: var(--seal); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
  .section-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 var(--font);
    border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
    white-space: nowrap;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-sm); }
  .btn-primary:hover { box-shadow: var(--shadow); }
  .btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
  .btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

  /* ============ Nav ============ */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
  }
  .nav.scrolled { border-bottom-color: var(--line); }
  .nav .wrap { display: flex; align-items: center; height: 68px; gap: 28px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
  .logo svg { width: 122px; height: auto; display: block; }
  .nav-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
  .nav-links a:hover { color: var(--ink); }
  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .icon-btn {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-2); display: grid; place-items: center; cursor: pointer;
  }
  @media (max-width: 880px) { .nav-links, .nav-right .hide-sm { display: none; } }

  /* ============ Hero ============ */
  .hero { position: relative; padding: 72px 0 96px; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(600px 300px at 85% 10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
      radial-gradient(500px 260px at 70% 80%, color-mix(in srgb, var(--seal) 10%, transparent), transparent 70%);
  }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 96px); align-items: center; }
  .hero h1 { font-size: clamp(42px, 5.6vw, 88px); margin: 22px 0 20px; }
  .hero h1 .serif { color: var(--brand); }
  .hero p.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 560px; margin: 0 0 30px; }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-meta { display: flex; gap: 20px; margin-top: 28px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
  .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-meta svg { color: var(--ok); }
  @media (max-width: 960px) {
    .hero { padding: 40px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  /* ============ Hero stage (animated doc) ============ */
  .stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 660px; width: 100%; justify-self: center; }
  .doc {
    position: absolute; inset: 6% 8% 4% 6%;
    background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; overflow: hidden;
  }
  .doc-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2);
  }
  .doc-file { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; }
  .doc-file b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
  .pdf { background: var(--seal-soft); color: var(--seal); font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 5px; flex: none; }
  .status {
    position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 11.5px;
    background: var(--field-soft); color: #8A6A00; transition: background .4s, color .4s;
  }
  :root[data-theme="dark"] .status { color: var(--field); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status { color: var(--field); } }
  .status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
  .status .s-done { display: none; }
  .stage.s7 .status { background: var(--ok-soft); color: var(--ok); }
  .stage.s7 .status .dot { animation: none; }
  .stage.s7 .status .s-wait { display: none; }
  .stage.s7 .status .s-done { display: inline; }

  .doc-body { position: relative; padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
  .doc-body h4 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.01em; }
  .doc-body .sub { font-size: 11.5px; color: var(--muted); margin-bottom: 16px; }
  .ln { height: 7px; border-radius: 4px; background: var(--line-2); margin: 8px 0; }
  .ln.w90 { width: 90%; } .ln.w80 { width: 80%; } .ln.w70 { width: 70%; } .ln.w60 { width: 60%; } .ln.w40 { width: 40%; }
  .doc-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px; border-top: 1px solid var(--line-2); background: var(--bg-2);
  }
  .req { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
  .stage.s4 .req { color: var(--ok); font-weight: 600; }
  .submit {
    position: relative; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px;
    font-size: 12.5px; font-weight: 600; white-space: nowrap;
    background: var(--line); color: var(--muted); transition: background .3s, color .3s, box-shadow .3s;
  }
  .submit > span { display: none; align-items: center; gap: 6px; }
  .submit .b-idle { display: inline-flex; }
  .stage.s4 .submit { background: var(--brand); color: var(--on-brand); animation: btnPulse 1.4s ease-in-out infinite; }
  .stage.s5 .submit { animation: none; transform: scale(.97); }
  .stage.s5 .submit .b-idle { display: none; }
  .stage.s5 .submit .b-busy { display: inline-flex; }
  .stage.s7 .submit { background: var(--ok); color: #fff; transform: none; }
  .stage.s7 .submit .b-busy { display: none; }
  .stage.s7 .submit .b-done { display: inline-flex; }
  .spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
  .sign-row { margin-top: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: end; }
  .field {
    position: relative; height: 64px; border-radius: 10px;
    background: var(--field-soft); border: 1.5px dashed color-mix(in srgb, var(--field) 80%, #a07c00);
    transition: background .4s, border-color .4s;
  }
  .field-label {
    position: absolute; top: -9px; left: 10px; font-size: 10.5px; font-weight: 600; padding: 1px 7px; border-radius: 5px;
    background: var(--field); color: #3D2F00; transition: opacity .3s;
  }
  .stage:not(.s2) .sig-field { animation: fieldPulse 1.8s ease-in-out infinite; }
  .stage.s2 .sig-field { background: transparent; border-color: var(--line); border-style: solid; }
  .stage.s4 .date-field { background: transparent; border-color: var(--line); border-style: solid; }
  .sig {
    position: absolute; left: 10px; right: 10px; bottom: 4px;
    font-family: var(--script); font-size: clamp(30px, 5vw, 44px); line-height: 1; color: var(--sig); white-space: nowrap;
    clip-path: inset(0 100% 0 0);
  }
  .stage.s3 .sig { clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.55,.1,.35,1); }
  .pen {
    position: absolute; left: 6%; bottom: 18px; width: 26px; height: 26px; color: var(--ink); opacity: 0; pointer-events: none;
  }
  .stage.s3 .pen { animation: penMove 1.5s cubic-bezier(.55,.1,.35,1) forwards; }
  .date-val { position: absolute; left: 12px; bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(4px); }
  .stage.s4 .date-val { opacity: 1; transform: none; transition: all .35s ease; }
  .baseline { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 1px; background: color-mix(in srgb, var(--ink) 18%, transparent); }

  /* --- digital signature: hash → sign → timestamp → valid --- */
  .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
  .valid-bar {
    display: flex; align-items: center; gap: 8px; overflow: hidden; max-height: 0; padding: 0 14px;
    background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 600;
  }
  .valid-bar svg { flex: none; }
  .valid-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .valid-bar u { margin-left: auto; text-decoration: none; font-weight: 500; opacity: .8; white-space: nowrap; }
  .stage.s7 .valid-bar { max-height: 40px; padding: 9px 14px; transition: max-height .45s ease, padding .45s ease; }

  .scan {
    position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none; opacity: 0; z-index: 2;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 16%, transparent) 70%, var(--brand) 100%);
    background-size: 100% 100%; background-repeat: no-repeat;
    border-bottom: 1.5px solid var(--brand);
  }
  .stage.s5 .scan { animation: scan 1.1s cubic-bezier(.5,0,.5,1) forwards; }

  .cert {
    position: absolute; right: 16px; top: 64px; width: 66%; z-index: 3;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
    padding: 12px 12px 6px; font-size: 11.5px;
    opacity: 0; transform: translateY(10px) scale(.97); pointer-events: none;
  }
  .stage.s5 .cert { opacity: 1; transform: none; transition: opacity .3s .5s, transform .45s .5s cubic-bezier(.2,1.2,.4,1); }
  .cert-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
  .cert-head .ico-circle { width: 26px; height: 26px; background: var(--brand-soft); color: var(--brand); transition: background .3s, color .3s; }
  .stage.s7 .cert-head .ico-circle { background: var(--ok-soft); color: var(--ok); }
  .cert-head b { font-size: 12.5px; display: block; line-height: 1.2; }
  .cert-head small { color: var(--muted); font-size: 10.5px; }
  .cert-row { display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); align-items: start; }
  .cert-row .lbl { color: var(--muted); font-size: 10.5px; display: block; }
  .cert-row .val { font-size: 10.5px; color: var(--ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cert-row .st {
    width: 14px; height: 14px; border-radius: 50%; margin-top: 2px; position: relative;
    border: 2px solid var(--line); border-top-color: var(--brand); animation: spin .7s linear infinite;
  }
  .cert-row.done .st { animation: none; border-color: var(--ok); background: var(--ok); }
  .cert-row.done .st::after {
    content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 6px;
    border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
  }
  .cert-row:not(.done) .val { color: var(--muted); }
  .stage.s6 .sig-field { border-color: var(--ok); border-style: solid; box-shadow: 0 0 0 3px var(--ok-soft); transition: all .4s; }
  .sig-lock {
    position: absolute; right: 6px; top: 6px; display: inline-flex; align-items: center; gap: 4px;
    font-size: 9.5px; font-weight: 600; color: var(--ok); background: var(--ok-soft); border-radius: 5px; padding: 2px 6px;
    opacity: 0; transform: scale(.8);
  }
  .stage.s6 .sig-lock { opacity: 1; transform: none; transition: all .3s cubic-bezier(.2,1.4,.4,1); }
  .stage.s5 .chip-viewed { opacity: 0; transition: opacity .3s; }

  .cursor {
    position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; pointer-events: none;
    transform: translate(var(--cx, 500px), var(--cy, 520px)); transition: transform 1s cubic-bezier(.65,0,.3,1);
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
  }
  .cursor .ripple { position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); opacity: 0; }
  .cursor.click .ripple { animation: ripple .5s ease-out; }
  .stage.resetting *, .stage.resetting { transition: none !important; animation: none !important; }

  /* floating chips */
  .chip {
    position: absolute; z-index: 4; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 10px 12px; font-size: 12.5px; display: flex; align-items: center; gap: 10px;
  }
  .chip small { display: block; color: var(--muted); font-size: 11px; }
  .chip b { font-weight: 600; }
  .chip-viewed { top: 21%; right: -3%; animation: bob 5s ease-in-out infinite; }
  .chip-progress { left: -4%; top: 38%; width: 190px; display: block; animation: bob 6s 1s ease-in-out infinite; }
  .ico-circle { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
  .avatars { display: flex; margin: 8px 0 8px; }
  .av {
    width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -6px; position: relative;
    display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff;
  }
  .av:first-child { margin-left: 0; }
  .av .tick {
    position: absolute; right: -4px; bottom: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok);
    border: 2px solid var(--surface); display: grid; place-items: center;
  }
  .av .tick svg { width: 7px; height: 7px; }
  .av.pending .tick { background: var(--muted); transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .3s; }
  .stage.s6 .av.pending .tick { transform: scale(1); background: var(--ok); }
  .bar { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
  .bar i { display: block; height: 100%; width: 66%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; transition: width .6s ease; }
  .stage.s6 .bar i { width: 100%; background: var(--ok); }
  .prog-label .p-done { display: none; }
  .stage.s6 .prog-label .p-wait { display: none; }
  .stage.s6 .prog-label .p-done { display: inline; color: var(--ok); }

  .toast {
    position: absolute; z-index: 6; left: 50%; bottom: -11%; transform: translate(-50%, 20px); opacity: 0;
    background: var(--ink); color: var(--bg); border-radius: 14px; padding: 11px 14px 11px 11px; font-size: 13px;
    display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); white-space: nowrap;
  }
  .toast small { opacity: .6; display: block; font-size: 11px; }
  .stage.s8 .toast { opacity: 1; transform: translate(-50%, 0); transition: all .45s cubic-bezier(.2,1.2,.4,1); }
  /* envelope: signed copy slides in, flap closes */
  .env { width: 38px; height: 30px; flex: none; overflow: visible; }
  .env .letter { transform: translateY(-12px); }
  .env .flap { transform-box: view-box; transform-origin: 19px 10px; }
  .stage.s8 .env .letter { transform: translateY(5px); transition: transform .5s .45s cubic-bezier(.5,0,.3,1); }
  .stage.s8 .env .flap { transform: scaleY(-1); transition: transform .35s .95s ease-in-out; }
  .toast .sent { opacity: 0; }
  .stage.s8 .toast .sent { opacity: 1; transition: opacity .3s 1.25s; }
  @media (max-width: 520px) {
    .stage { aspect-ratio: 1 / 1.3; }
    .doc { inset: 4% 2% 6% 2%; }
    .doc-body { padding: 18px 16px; }
    .doc-body .ln:nth-of-type(n+6) { display: none; }
    .chip-viewed { top: 14%; }
    .chip-progress { left: -2%; top: 36%; width: 160px; }
    .chip-viewed { right: -2%; }
    .toast { font-size: 12px; }
    .cert { width: auto; left: 12px; right: 12px; top: 56px; }
    .stage.s5 .chip-progress { opacity: 0; transition: opacity .3s; }
    .valid-bar u { display: none; }
  }

  /* ============ Logos ============ */
  .logos { padding: 8px 0 72px; }
  .logos p { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 22px; }
  .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
  .wordmark { font-size: 21px; font-weight: 600; color: var(--muted); opacity: .75; white-space: nowrap; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em; }
  .wordmark.s { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 25px; }

  /* ============ Sections ============ */
  section.block { padding: 96px 0; }
  .sec-head { max-width: 760px; margin-bottom: 52px; }
  .sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
  .sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 12px 0 14px; }
  .sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
  @media (max-width: 640px) { section.block { padding: 64px 0; } }

  /* ============ Steps ============ */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .card h3 { font-size: 20px; margin: 18px 0 6px; }
  .card p { margin: 0; color: var(--ink-2); font-size: 15px; }
  .step-num { font-size: 12px; font-weight: 600; color: var(--muted); }
  .vis {
    position: relative; height: 200px; border-radius: 14px; background: var(--bg-2); overflow: hidden;
    border: 1px solid var(--line-2);
  }
  /* upload vis */
  .drop {
    position: absolute; left: 50%; top: 50%; width: 70%; height: 66%; transform: translate(-50%, -42%);
    border: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 12px;
    display: grid; place-items: end center; padding-bottom: 14px; font-size: 12px; color: var(--muted);
    animation: dropGlow 4s ease-in-out infinite;
  }
  .file {
    position: absolute; left: 50%; top: 8%; width: 46px; height: 58px; margin-left: -23px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-sm);
    animation: fileDrop 4s cubic-bezier(.5,0,.3,1) infinite;
  }
  .file::before { content: "PDF"; position: absolute; left: 6px; bottom: 7px; font-size: 9px; font-weight: 700; color: #fff; background: var(--seal); padding: 1px 4px; border-radius: 3px; }
  .file::after { content: ""; position: absolute; left: 7px; right: 7px; top: 9px; height: 18px; background: repeating-linear-gradient(var(--line) 0 2px, transparent 2px 6px); }
  .upbar { position: absolute; left: 22%; right: 22%; bottom: 18px; height: 5px; border-radius: 9px; background: var(--line); overflow: hidden; }
  .upbar i { display: block; height: 100%; background: var(--brand); animation: upFill 4s ease-in-out infinite; }
  /* prepare vis */
  .mini-doc {
    position: absolute; right: 16px; top: 16px; bottom: -10px; width: 56%; background: var(--paper);
    border: 1px solid var(--line); border-radius: 10px 10px 0 0; padding: 14px; box-shadow: var(--shadow-sm);
  }
  .mini-doc .ln { height: 5px; margin: 7px 0; }
  .palette { position: absolute; left: 14px; top: 16px; display: flex; flex-direction: column; gap: 8px; }
  .pchip {
    display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 6px 9px; border-radius: 8px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); width: 92px;
  }
  .pchip i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
  .placed {
    position: absolute; font-size: 10px; font-weight: 600; padding: 5px 8px; border-radius: 6px; color: #3D2F00;
    background: var(--field-soft); border: 1.5px dashed var(--field);
  }
  .placed.p1 { left: 46%; top: 108px; width: 90px; animation: place1 5s cubic-bezier(.6,0,.3,1) infinite; }
  .placed.p2 { left: 46%; top: 146px; width: 64px; background: var(--brand-soft); border-color: var(--brand); color: var(--brand); animation: place2 5s cubic-bezier(.6,0,.3,1) infinite; }
  /* send vis */
  .recips { position: absolute; inset: 18px 18px auto 18px; display: flex; flex-direction: column; gap: 9px; }
  .recip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; }
  .recip .av { width: 24px; height: 24px; margin: 0; border: 0; font-size: 9.5px; }
  .recip .nm { flex: 1; font-weight: 500; }
  .recip .st { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--bg-2); color: var(--muted); position: relative; }
  .recip .st::after {
    content: "Signed"; position: absolute; inset: 0; border-radius: 99px; background: var(--ok-soft); color: var(--ok);
    display: grid; place-items: center; opacity: 0;
  }
  .recip:nth-child(1) .st::after { animation: signed 6s infinite 0s; }
  .recip:nth-child(2) .st::after { animation: signed 6s infinite .9s; }
  .recip:nth-child(3) .st::after { animation: signed 6s infinite 1.8s; }
  .plane { position: absolute; right: 18px; bottom: 14px; color: var(--brand); animation: fly 6s ease-in-out infinite; }

  /* ============ Product tour (tabs) ============ */
  .tour-tabs {
    display: flex; gap: 6px; justify-content: center; margin: 0 auto 40px; padding: 5px; width: max-content; max-width: 100%;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none;
  }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab {
    position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; overflow: hidden;
    border: 0; background: transparent; color: var(--ink-2); font: 600 14.5px var(--font);
    padding: 11px 18px; border-radius: 12px; cursor: pointer; transition: background .2s, color .2s;
  }
  .tour-tab svg { color: var(--muted); transition: color .2s; }
  .tour-tab:hover { background: var(--bg-2); }
  .tour-tab.on { background: var(--brand-soft); color: var(--brand); }
  .tour-tab.on svg { color: var(--brand); }
  .tour-tab .prog { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
  .tour-tab .prog i { display: block; height: 100%; width: 0; background: var(--brand); }
  @media (max-width: 640px) { .tour-tabs { justify-content: flex-start; } .tour-tab { padding: 10px 14px; font-size: 13.5px; } }

  .tour { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
  @media (max-width: 960px) { .tour { grid-template-columns: 1fr; gap: 28px; } .tour .demo-fit { order: -1; } }
  .tour-copy { display: none; }
  .tour-copy.on { display: block; animation: msgIn .4s ease; }
  .tour-copy h3 { font-size: clamp(28px, 3.4vw, 44px); margin: 12px 0 14px; }
  .tour-copy p { color: var(--ink-2); font-size: 17.5px; margin: 0; }
  .tour-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
  .tour-copy li { display: flex; gap: 12px; color: var(--ink-2); }
  .tour-copy li svg { flex: none; color: var(--brand); margin-top: 3px; }
  .tour-copy .fine { margin-top: 22px; font-size: 13px; color: var(--muted); }
  .wf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; align-items: center; }
  .wf-pills small { color: var(--muted); font-size: 13px; margin-right: 4px; }
  .wf-pills span { font-size: 13px; padding: 5px 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

  /* every demo is laid out at 560×448 and scaled to fit, so all tabs are the same size */
  .demo-fit { position: relative; width: 100%; aspect-ratio: 560 / 448; }
  .demo {
    position: absolute; left: 0; top: 0; width: 560px; height: 448px; transform-origin: 0 0; transform: scale(var(--s, 1));
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
    display: none; flex-direction: column; overflow: hidden;
  }
  .demo.on { display: flex; animation: demoIn .45s ease; }
  .demo-head { display: flex; align-items: center; gap: 10px; height: 50px; flex: none; padding: 0 16px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; background: var(--surface); position: relative; z-index: 2; }
  .demo-head b { font-weight: 600; white-space: nowrap; }
  .demo-head .run { color: var(--muted); font-size: 12px; }
  .ai-badge {
    display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
    padding: 3px 8px; border-radius: 99px; color: var(--brand); background: var(--brand-soft); flex: none;
  }
  .pill-state { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
  .pill-state .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
  .pill-state.done { background: var(--ok-soft); color: var(--ok); }
  .pill-state.done .dot { animation: none; }
  .demo-body { position: relative; flex: 1; min-height: 0; }
  @keyframes demoIn { from { opacity: 0; transform: scale(var(--s, 1)) translateY(8px); } to { opacity: 1; transform: scale(var(--s, 1)); } }

  /* --- workflow: a 480×660 canvas viewed through a camera that pans and zooms --- */
  .wf-view {
    overflow: hidden;
    background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 18px 18px;
  }
  .wf-canvas { --u: 1px; position: absolute; left: 0; top: 0; width: 480px; height: 660px; transform-origin: 0 0; transition: transform .9s cubic-bezier(.65,0,.3,1); }
  .wf-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .wf-lines path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .wf-lines .base { stroke: var(--line); stroke-dasharray: 4 5; }
  .wf-lines .fill { stroke: var(--brand); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease; }
  .wf-lines .fill.lit { stroke-dashoffset: 0; }
  .wf-node {
    position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); width: calc(var(--w) * 1px); height: calc(var(--h, 56) * 1px);
    display: flex; align-items: center; gap: 9px; padding: 0 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
    font-size: 12.5px; line-height: 1.25; box-shadow: var(--shadow-sm); transition: border-color .3s, box-shadow .3s, opacity .3s;
  }
  .wf-node small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
  .wf-node b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wf-node > div { min-width: 0; flex: 1; }
  .wf-ico { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
  .wf-ico svg { width: 16px; height: 16px; }
  .wf-st { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); position: relative; }
  .wf-node.active { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow); }
  .wf-node.active .wf-st { border-top-color: var(--brand); animation: spin .7s linear infinite; }
  .wf-node.done .wf-st { border-color: var(--ok); background: var(--ok); }
  .wf-node.done .wf-st::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .wf-node.skipped { opacity: .4; border-style: dashed; box-shadow: none; }
  .wf-node.cond { border-radius: 99px; justify-content: center; }
  .wf-tag {
    position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); transform: translate(-50%, -50%);
    font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); transition: all .3s;
  }
  .wf-tag.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
  .wf-result { position: absolute; left: 352px; top: 224px; transform: translateY(-50%); font-size: 10.5px; color: var(--ok); font-weight: 600; opacity: 0; transition: opacity .3s; white-space: nowrap; }
  .wf-result.on { opacity: 1; }
  .zoom-pill {
    position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px; font-size: 11.5px; color: var(--ink-2); box-shadow: var(--shadow-sm);
    font-variant-numeric: tabular-nums;
  }
  .zoom-pill svg { color: var(--muted); }

  /* --- AI: key terms --- */
  .terms { display: grid; grid-template-columns: 300px 1fr; height: 100%; }
  .ai-doc { padding: 16px 18px; font-size: 12px; line-height: 1.7; color: var(--ink-2); border-right: 1px solid var(--line-2); background: var(--paper); overflow: hidden; }
  .ai-doc h5 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
  .ai-doc p { margin: 0 0 8px; }
  .ai-doc b { color: var(--ink); font-weight: 600; }
  .ai-doc mark {
    color: inherit; padding: 1px 2px; border-radius: 4px;
    background: linear-gradient(var(--field-soft), var(--field-soft)) no-repeat left / 0% 100%;
    transition: background-size .5s ease, box-shadow .3s;
  }
  .ai-doc mark.hl { background-size: 100% 100%; box-shadow: inset 0 -2px 0 var(--field); }
  .ai-fields { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
  .ai-fields > small { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 2px 0 4px 8px; }
  .kv { padding: 6px 9px; border-radius: 9px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
  .kv span { font-size: 10.5px; color: var(--muted); display: block; }
  .kv b { font-size: 12.5px; font-weight: 600; min-height: 1.35em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kv.reading { background: var(--bg-2); }
  .kv.reading b::after { content: ""; display: inline-block; width: 60%; height: 8px; border-radius: 5px; background: linear-gradient(90deg, var(--line), var(--line-2), var(--line)); background-size: 200% 100%; animation: shimmer 1s linear infinite; }
  .kv.filled { border-color: var(--line-2); }
  .ai-next { margin-top: 6px; display: flex; gap: 9px; align-items: flex-start; padding: 9px 11px; border-radius: 11px; background: var(--brand-soft); color: var(--ink); font-size: 11.5px; opacity: 0; transform: translateY(6px); transition: all .4s; }
  .ai-next.on { opacity: 1; transform: none; }
  .ai-next b { font-size: 12px; }
  .ai-next svg { color: var(--brand); flex: none; margin-top: 2px; animation: ring 3s ease-in-out infinite; transform-origin: 50% 10%; }
  .ai-next small { display: block; color: var(--muted); }

  /* --- AI: ask your agreements --- */
  .chat-wrap { display: flex; flex-direction: column; height: 100%; }
  .chat { flex: 1; min-height: 0; padding: 14px 16px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
  .msg { max-width: 88%; font-size: 12.5px; line-height: 1.45; padding: 8px 11px; border-radius: 13px; animation: msgIn .35s ease; }
  .msg.me { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
  .msg.ai { align-self: flex-start; background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 4px; }
  .msg.ai ul { list-style: none; padding: 0; margin: 6px 0 2px; display: grid; gap: 5px; }
  .msg.ai li { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 5px 9px; font-size: 11.5px; animation: msgIn .35s ease; }
  .msg.ai li b { display: block; font-weight: 600; font-size: 12px; }
  .msg.ai li .meta { color: var(--muted); }
  .cite { display: inline-block; margin-left: 4px; font-size: 10px; font-weight: 600; padding: 0 5px; border-radius: 5px; background: var(--field-soft); color: #7A5C00; border: 1px solid var(--field); }
  :root[data-theme="dark"] .cite { color: var(--field); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cite { color: var(--field); } }
  .typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
  .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
  .chips span { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--brand); color: var(--brand); background: var(--surface); }
  .ask { flex: none; display: flex; align-items: center; gap: 10px; margin: 6px 14px 14px; padding: 0 5px 0 13px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); font-size: 12.5px; }
  .ask .q { flex: 1; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ask .q:empty::before { content: "Ask about renewals, payments, obligations…"; color: var(--muted); }
  .ask .send { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); flex: none; }

  /* --- try signing (inside the same 560×448 frame) --- */
  .try-body { padding: 16px; display: flex; flex-direction: column; height: 100%; }
  .try-body .pad { height: 252px; }
  .try-body .typed-opts { margin-top: 2px; }

  @keyframes shimmer { to { background-position: -200% 0; } }
  @keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* ============ Try it ============ */
  .try { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
  @media (max-width: 900px) { .try { grid-template-columns: 1fr; gap: 32px; } }
  .try ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
  .try li { display: flex; gap: 12px; color: var(--ink-2); }
  .try li svg { flex: none; color: var(--brand); margin-top: 3px; }
  .pad-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; }
  .tabs { display: inline-flex; background: var(--bg-2); border-radius: 10px; padding: 3px; gap: 2px; }
  .tab { border: 0; background: transparent; font: 600 13px var(--font); color: var(--muted); padding: 7px 14px; border-radius: 8px; cursor: pointer; }
  .tab.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
  .pad-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
  .colors { display: flex; gap: 6px; }
  .swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
  .swatch.on { box-shadow: 0 0 0 2px var(--ink); }
  .pad {
    position: relative; height: 220px; border-radius: 14px; background: var(--paper);
    background-image: radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1px);
    background-size: 16px 16px; border: 1px solid var(--line-2); overflow: hidden; touch-action: none;
  }
  .pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
  .pad .hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; transition: opacity .3s; }
  .pad .x-line { position: absolute; left: 28px; right: 28px; bottom: 52px; border-top: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); pointer-events: none; }
  .pad .x-line::before { content: "✕"; position: absolute; left: -2px; top: -22px; color: var(--muted); font-size: 14px; }
  .type-pane { display: none; }
  .type-pane input {
    width: 100%; height: 46px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px;
    padding: 0 14px; font: 500 15px var(--font); outline: none; margin-bottom: 12px;
  }
  .type-pane input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
  .typed-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .typed-opt {
    height: 82px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer;
    display: grid; place-items: center; font-size: 34px; color: var(--sig); overflow: hidden; padding: 0 8px;
  }
  .typed-opt.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
  .pad-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
  .pad-foot small { color: var(--muted); font-size: 12.5px; display: flex; gap: 6px; align-items: center; }

  /* ============ Bento ============ */
  .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .bento .card { display: flex; flex-direction: column; }
  .b-a { grid-column: span 4; } .b-b { grid-column: span 2; }
  .b-c { grid-column: span 2; } .b-d { grid-column: span 2; } .b-e { grid-column: span 2; }
  @media (max-width: 960px) { .b-a, .b-b, .b-c, .b-d, .b-e { grid-column: span 3; } .b-a { grid-column: span 6; } }
  @media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .b-a, .b-b, .b-c, .b-d, .b-e { grid-column: auto; } }
  .bento .vis { height: 190px; }
  /* templates fan */
  .tpl { position: absolute; width: 120px; height: 150px; left: 50%; top: 26px; margin-left: -60px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 12px; transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
  .tpl .ln { height: 5px; margin: 6px 0; }
  .tpl .tt { font-size: 10px; font-weight: 600; margin-bottom: 8px; }
  .tpl .tb { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 22px; border-radius: 6px; background: var(--field-soft); border: 1.5px dashed var(--field); }
  .tpl:nth-child(1) { transform: rotate(-4deg); animation: fanL 5s ease-in-out infinite; }
  .tpl:nth-child(2) { transform: rotate(3deg); animation: fanR 5s ease-in-out infinite; }
  .tpl:nth-child(3) { transform: none; }
  /* audit */
  .audit { position: absolute; inset: 16px; display: flex; flex-direction: column; gap: 0; }
  .ev { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; opacity: 0; animation: evIn 8s infinite; }
  .ev .rail { display: flex; flex-direction: column; align-items: center; flex: none; padding-top: 3px; }
  .ev .d { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brand); background: var(--surface); }
  .ev .v { width: 2px; height: 24px; background: var(--line); }
  .ev small { display: block; color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
  .ev:nth-child(2) { animation-delay: .5s; } .ev:nth-child(3) { animation-delay: 1s; } .ev:nth-child(4) { animation-delay: 1.5s; }
  .ev:nth-child(4) .d { border-color: var(--ok); background: var(--ok); }
  .wide-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; flex: 1; }
  @media (max-width: 640px) { .wide-row { grid-template-columns: 1fr; } }
  /* reminder */
  .bell { position: absolute; left: 50%; top: 40px; margin-left: -28px; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
  .bell svg { animation: ring 3s ease-in-out infinite; transform-origin: 50% 10%; }
  .bell::after { content: "2"; position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--seal); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg-2); }
  .rem-msg { position: absolute; left: 14px; right: 14px; bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 12px; box-shadow: var(--shadow-sm); animation: slideUp 3s ease-in-out infinite; }
  .rem-msg small { color: var(--muted); display: block; font-size: 11px; }
  /* phone */
  .phone { position: absolute; left: 50%; top: 18px; margin-left: -62px; width: 124px; height: 220px; border-radius: 22px; background: var(--ink); padding: 6px; }
  .phone .scr { height: 100%; border-radius: 17px; background: var(--paper); padding: 22px 10px 10px; position: relative; overflow: hidden; }
  .phone .scr .ln { height: 4px; margin: 5px 0; }
  .phone .notch { position: absolute; top: 6px; left: 50%; width: 36px; height: 8px; margin-left: -18px; border-radius: 9px; background: var(--ink); }
  .phone .psig { position: absolute; left: 8px; right: 8px; top: 86px; height: 44px; border-radius: 6px; border: 1.5px dashed var(--field); background: var(--field-soft); }
  .phone .psig span { position: absolute; left: 6px; bottom: 0; font-family: var(--script); font-size: 26px; color: var(--sig); clip-path: inset(0 100% 0 0); animation: write 4s ease-in-out infinite; }
  .phone .pbtn { position: absolute; left: 8px; right: 8px; top: 140px; height: 22px; border-radius: 6px; background: var(--brand); color: var(--on-brand); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
  /* bulk counter */
  .bulk { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
  .bulk .num { font-size: 54px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  .bulk .num span { color: var(--brand); }
  .bulk small { color: var(--muted); font-size: 12.5px; display: block; margin-top: -4px; }
  .env-row { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .env-row i { width: 22px; height: 15px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); position: relative; animation: envPop 2.4s infinite; }
  .env-row i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 48%, var(--line) 50%, transparent 52%), linear-gradient(20deg, transparent 48%, var(--line) 50%, transparent 52%); }
  .env-row i:nth-child(2) { animation-delay: .15s; } .env-row i:nth-child(3) { animation-delay: .3s; } .env-row i:nth-child(4) { animation-delay: .45s; } .env-row i:nth-child(5) { animation-delay: .6s; } .env-row i:nth-child(6) { animation-delay: .75s; }

  /* ============ Security band ============ */
  .band { background: var(--ink); color: var(--bg); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
  .band h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 10px 0 14px; }
  .band p { opacity: .72; margin: 0; font-size: 17px; }
  .band .section-kicker { color: var(--brand-2); }
  .band .serif { color: #A99DFF; }
  :root[data-theme="dark"] .band .section-kicker { color: var(--brand); }
  .badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
  .badge { border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); border-radius: 14px; padding: 16px; }
  .badge b { display: block; font-size: 15px; }
  .badge small { opacity: .6; font-size: 13px; }
  @media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 36px 22px; gap: 28px; border-radius: 22px; } }

  /* ============ Stats + testimonial ============ */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 56px; }
  .stat { border-top: 1px solid var(--line); padding-top: 18px; }
  .stat b { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.04em; display: block; font-weight: 600; }
  .stat span { color: var(--muted); font-size: 14.5px; }
  @media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
  .quote { max-width: 860px; margin: 0 auto; text-align: center; }
  .quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.01em; }
  .quote .who { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; text-align: left; }
  .quote .who b { color: var(--ink); display: block; font-weight: 600; }
  .quote .who .av { width: 40px; height: 40px; margin: 0; font-size: 13px; border: 0; }

  /* ============ Pricing ============ */
  .prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
  @media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
  .price { padding: 28px; display: flex; flex-direction: column; }
  .price.hot { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); position: relative; }
  .price.hot::before { content: "Most popular"; position: absolute; top: -12px; left: 28px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
  .price h3 { margin: 0 0 4px; font-size: 18px; }
  .price .amt { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; margin: 18px 0 2px; }
  .price .amt small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
  .price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
  .price li { display: flex; gap: 10px; }
  .price li svg { color: var(--ok); flex: none; margin-top: 3px; }
  .price .btn { margin-top: auto; width: 100%; }
  .price-note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }

  /* ============ CTA + footer ============ */
  .cta { text-align: center; padding: 110px 0 120px; position: relative; }
  .cta h2 { font-size: clamp(40px, 6vw, 72px); }
  .cta p { color: var(--ink-2); font-size: 18px; margin: 18px auto 30px; max-width: 520px; }
  .big-logo { width: min(460px, 86%); margin: 44px auto 0; }
  .big-logo .script { clip-path: inset(-20% 100% -20% -10%); }
  .big-logo .sans { opacity: 0; transform: translateY(14px); }
  .cta.in .big-logo .script { clip-path: inset(-20% -10% -20% -10%); transition: clip-path 1.6s cubic-bezier(.55,.1,.35,1) .3s; }
  .cta.in .big-logo .sans { opacity: 1; transform: none; transition: opacity .5s 1.5s, transform .6s 1.5s cubic-bezier(.2,1.2,.4,1); }
  footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
  .foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
  .foot h4 { color: var(--ink); font-size: 14px; margin: 0 0 12px; font-weight: 600; }
  .foot a { display: block; margin: 7px 0; }
  .foot a:hover { color: var(--ink); }
  .foot-bottom { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
  @media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } }

  /* reveal on scroll */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* ============ Keyframes ============ */
  @keyframes blink { 50% { opacity: .3; } }
  @keyframes fieldPulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--field) 0%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--field) 35%, transparent); } }
  @keyframes penMove { 0% { left: 4%; opacity: 1; transform: translateY(0) rotate(0); } 25% { transform: translateY(-8px) rotate(-6deg); } 50% { transform: translateY(4px) rotate(4deg); } 75% { transform: translateY(-6px) rotate(-3deg); } 92% { opacity: 1; } 100% { left: 88%; opacity: 0; transform: translateY(0); } }
  @keyframes btnPulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 0%, transparent); } }
  @keyframes scan { 0% { top: -70px; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  @keyframes ripple { 0% { opacity: .45; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.4); } }
  @keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes fileDrop { 0% { transform: translateY(-80px) rotate(-8deg); opacity: 0; } 20% { opacity: 1; } 45%,85% { transform: translateY(34px) rotate(0); opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
  @keyframes dropGlow { 0%,30% { background: transparent; } 45%,85% { background: color-mix(in srgb, var(--brand) 7%, transparent); border-color: var(--brand); } 100% { background: transparent; } }
  @keyframes upFill { 0%,45% { width: 0; } 80%,100% { width: 100%; } }
  @keyframes place1 { 0%,10% { transform: translate(-130px, -92px); opacity: 0; } 15% { opacity: 1; } 40%,90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
  @keyframes place2 { 0%,30% { transform: translate(-130px, -88px); opacity: 0; } 35% { opacity: 1; } 60%,90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
  @keyframes signed { 0%,20% { opacity: 0; } 28%,88% { opacity: 1; } 96%,100% { opacity: 0; } }
  @keyframes fly { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-8px,-10px) rotate(-8deg); } }
  @keyframes fanL { 0%,100% { transform: rotate(-4deg); } 50% { transform: translateX(-62px) rotate(-12deg); } }
  @keyframes fanR { 0%,100% { transform: rotate(3deg); } 50% { transform: translateX(62px) rotate(11deg); } }
  @keyframes evIn { 0% { opacity: 0; transform: translateX(-8px); } 8%,88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
  @keyframes ring { 0%,60%,100% { transform: rotate(0); } 64% { transform: rotate(14deg); } 70% { transform: rotate(-12deg); } 76% { transform: rotate(8deg); } 82% { transform: rotate(-4deg); } }
  @keyframes slideUp { 0%,100% { transform: translateY(6px); opacity: .0; } 15%,85% { transform: none; opacity: 1; } }
  @keyframes write { 0%,10% { clip-path: inset(0 100% 0 0); } 55%,90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
  @keyframes envPop { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
  @keyframes spin { to { transform: rotate(360deg); } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee-track { animation: none; }
  }
