  /* ============ 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;
    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: 1180px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 640px) { .wrap { padding: 0 16px; } }
  h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; margin: 0; font-weight: 600; }
  em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
  .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-mark {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: var(--seal); color: #fff; font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 400;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), inset 0 0 0 4px var(--seal);
  }
  .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: 1.02fr 1fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(42px, 6.2vw, 76px); margin: 22px 0 20px; }
  .hero h1 .serif { color: var(--seal); }
  .hero p.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; 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: 540px; 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.s6 .status { background: var(--ok-soft); color: var(--ok); }
  .stage.s6 .status .dot { animation: none; }
  .stage.s6 .status .s-wait { display: none; }
  .stage.s6 .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%; }
  .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); }

  .seal {
    position: absolute; right: 22px; bottom: 92px; width: 108px; height: 108px; color: var(--seal);
    opacity: 0; transform: scale(2.2) rotate(-40deg); pointer-events: none; mix-blend-mode: multiply;
  }
  :root[data-theme="dark"] .seal { mix-blend-mode: normal; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seal { mix-blend-mode: normal; } }
  .stage.s5 .seal { opacity: .9; transform: scale(1) rotate(-14deg); transition: transform .38s cubic-bezier(.3,1.5,.5,1), opacity .15s; }
  .stage.s5 .doc { animation: thud .35s .22s ease-out; }
  .ink-burst { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--seal); opacity: 0; }
  .stage.s5 .ink-burst { animation: burst .6s .25s ease-out; }

  .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: -2%; 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 .ico-circle { background: var(--ok); color: #fff; width: 26px; height: 26px; }
  .toast small { opacity: .6; margin-left: 4px; }
  .stage.s6 .toast { opacity: 1; transform: translate(-50%, 0); transition: all .45s cubic-bezier(.2,1.2,.4,1) .2s; }
  @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; }
    .seal { width: 84px; height: 84px; right: 14px; bottom: 86px; }
  }

  /* ============ 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: 680px; 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; }

  /* ============ 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); }
  :root[data-theme="dark"] .band .section-kicker { color: var(--brand); }
  .band-seal { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; color: var(--seal); opacity: .14; animation: spin 40s linear infinite; }
  .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%; }

  /* ============ 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; }
  .cta .big-sig {
    font-family: var(--script); font-size: clamp(60px, 10vw, 120px); color: var(--sig); line-height: .9; display: inline-block;
    clip-path: inset(0 100% 0 0); transition: clip-path 2s cubic-bezier(.55,.1,.35,1); margin-top: 20px;
  }
  .cta.in .big-sig { clip-path: inset(0 0 0 0); }
  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 thud { 0% { transform: none; } 30% { transform: translateY(2px) scale(.995); } 60% { transform: translateY(-1px); } 100% { transform: none; } }
  @keyframes burst { 0% { opacity: .6; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.5); } }
  @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; }
  }
