/* ReSono Link website (public/site/*.html). Ported from the approved mockup in docs/business/preview/vision/.
   The phone kit (public/site/kit) is unmodified; everything the website changes about it lives here. */

  /* ---------- kit wiring: fonts and images ---------- */
  @font-face { font-family: "LinkUI"; src: url("/site/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
  @font-face { font-family: "LinkScript"; src: url("/site/fonts/pinyon-script.ttf") format("truetype"); font-display: swap; }
  .fld { background-image: url("/site/img/atmosphere-midnight.webp"); }
  .o-herm { background-image: url("/site/img/orb-hermes.webp"); }
  .o-claw { background-image: url("/site/img/orb-openclaw.webp"); }
  .o-cust { background-image: url("/site/img/orb-custom.webp"); }
  .o-vault { background-image: url("/site/img/orb-vault.webp"); }
  .hic.link { background-image: url("/site/img/app-icon.webp"); }

  /* ---------- page ---------- */
  :root, [data-theme="dark"] {
    --fg: 255, 255, 255; --fa: 1;
    --nav-bg: rgba(5, 5, 7, .55); --node-bg: rgba(10, 11, 16, .95); --on-ink: #0c0c12; --ink-hover: #fff;
    --ok-ink: #5fe3b2; --chip-bg: rgba(174, 196, 255, .14); --chip-ink: #c9d6ff; --teal-ink: #7fe0ea; --plate: #16171d;
    --grad: linear-gradient(100deg, #c9d2ff 0%, #ffffff 45%, #a9e6f0 100%);
    --pg-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
    --phone-shadow: 0 60px 120px -20px rgba(0,0,0,.9), 0 20px 50px rgba(0,0,0,.5);
    --hero-wash: radial-gradient(55% 42% at 50% 30%, rgba(91, 108, 255, .14), rgba(138, 99, 240, .05) 55%, transparent 100%);
    --bg: #050507;
    --bg2: #0a0b10;
    --ink: #f5f4fb;
    --ink-2: rgba(245, 244, 251, .74);
    --ink-3: rgba(245, 244, 251, .5);
    --hair: rgba(var(--fg), calc(.09 * var(--fa)));
    --brand-a: #5b6cff; --brand-b: #8a63f0; --brand-c: #2fb3c9;
    --wrap: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
  }
  [data-theme="light"] {
    --fg: 17, 19, 30; --fa: .62;
    --bg: #f5f5f7; --bg2: #ffffff;
    --ink: #111218; --ink-2: rgba(17, 18, 24, .72); --ink-3: rgba(17, 18, 24, .5); --hair: rgba(17, 18, 24, .09);
    --nav-bg: rgba(245, 245, 247, .72); --node-bg: #ffffff; --on-ink: #ffffff; --ink-hover: #000;
    --ok-ink: #0f8a5a; --chip-bg: rgba(91, 108, 255, .1); --chip-ink: #3346c7; --teal-ink: #0f7f8d; --plate: #ffffff;
    --grad: linear-gradient(100deg, #3b4bff 0%, #111218 48%, #13899b 100%);
    --pg-shadow: 0 1px 2px rgba(17,19,30,.04), 0 24px 60px -28px rgba(17,19,30,.22);
    --phone-shadow: 0 50px 90px -30px rgba(17,19,30,.42), 0 16px 36px -12px rgba(17,19,30,.22);
    --hero-wash: radial-gradient(55% 42% at 50% 30%, rgba(91, 108, 255, .12), rgba(138, 99, 240, .05) 55%, transparent 100%);
    color-scheme: light;
  }
  /* the phone kit reads --ink too: inside a phone it is always the app's own Midnight ink */
  .dev { --ink: #f3f1ff; }
  /* light: page panels are white cards; the app cards shown beside a phone take the app's light look */
  [data-theme="light"] .pg::before { background: #ffffff; }
  [data-theme="light"] .pg::after { background: linear-gradient(135deg, rgba(17,19,30,.09), rgba(17,19,30,.05)); }
  [data-theme="light"] .exp .side .kitfont { --ink: #111218; --grey: rgba(17, 18, 24, .6); color: var(--ink); }
  [data-theme="light"] .exp .side .tile::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: #ffffff; }
  [data-theme="light"] .exp .side .tile::after { background: linear-gradient(135deg, rgba(17,19,30,.1), rgba(17,19,30,.05)); }
  [data-theme="light"] .exp .side .tile .hl { display: none; }
  [data-theme="light"] .exp .side .tile .list div:not(:first-child) u { background: rgba(17, 18, 24, .22) !important; }
  [data-theme="light"] .exp .side .tile { box-shadow: var(--pg-shadow); }
  [data-theme="light"] .plat.cli code { background: #f0f0f4; color: #2a2c38; box-shadow: inset 0 0 0 1px rgba(17,19,30,.08); }
  [data-theme="light"] .opt .fc.p { box-shadow: inset 0 0 0 1px rgba(91,108,255,.35); background: linear-gradient(135deg, rgba(91,108,255,.18), rgba(47,179,201,.12)); }
  [data-theme="light"] .comp .link { background: linear-gradient(135deg, rgba(91,108,255,.12), rgba(47,179,201,.08)); box-shadow: inset 0 0 0 1px rgba(91,108,255,.22); }
  [data-theme="light"] .open .proof u { box-shadow: none; }
  /* flipping: colours ease over, nothing else moves */
  html.theming, html.theming body, html.theming *, html.theming *::before, html.theming *::after {
    transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease, fill .45s ease, stroke .45s ease !important; }
  /* theme switch */
  .theme-sw { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.16 * var(--fa))); margin-right: 10px; }
  .theme-sw button { all: unset; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
  .theme-sw button svg { width: 15px; height: 15px; }
  .theme-sw button[aria-pressed="true"] { background: rgba(var(--fg), calc(.12 * var(--fa))); color: var(--ink); }
  .nav .right { display: flex; align-items: center; }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font-family: LinkUI, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; font-feature-settings: "cv05", "cv08"; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  .wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

  /* type */
  .h1 { font-size: clamp(40px, 6.2vw, 88px); line-height: 1.0; letter-spacing: -.035em; font-weight: 600; margin: 0; text-wrap: balance; }
  .h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; margin: 0; text-wrap: balance; }
  .lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; letter-spacing: -.012em; color: var(--ink-2); margin: 0; text-wrap: pretty; }
  .lede b { color: var(--ink); font-weight: 600; }
  .label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  .label i { width: 18px; height: 1px; background: linear-gradient(90deg, var(--brand-a), var(--brand-c)); }
  .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* reveal */
  .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
  .rv.in { opacity: 1; transform: none; }
  .static .rv, .static .hgreet .tx span { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .d1 { --d: .12s } .d2 { --d: .24s } .d3 { --d: .36s } .d4 { --d: .5s }

  /* nav */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 60px; display: flex; align-items: center;
    background: var(--nav-bg); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid rgba(var(--fg), calc(.05 * var(--fa))); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
  .logo svg { width: 22px; height: 22px; }
  .links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
  .links a:hover { color: var(--ink); }
  .btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 20px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: transform .25s var(--ease), background .25s; }
  .btn.pri { background: var(--ink); color: var(--on-ink); }
  .btn.pri:hover { transform: translateY(-1px); background: var(--ink-hover); }
  /* the phone kit has its own .ghost (a 416 pt phone overlay, pointer-events: none); undo it on page buttons */
  .btn.ghost { width: auto; flex: none; zoom: 1; pointer-events: auto; font-family: inherit; -webkit-font-smoothing: antialiased; }
  .btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.18 * var(--fa))); }
  .btn.ghost:hover { background: rgba(var(--fg), calc(.06 * var(--fa))); }
  .btn.lg { height: 52px; padding: 0 26px; border-radius: 26px; font-size: 16px; }

  /* ---------- 1. opening ---------- */
  .open { position: relative; padding: 160px 0 0; background: var(--hero-wash); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
  .open .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 34px; }
  .open .h1 { max-width: 1040px; }
  .open .lede { max-width: 820px; }
  .open .lede + .lede { margin-top: -6px; }
  .open .herostage { position: relative; inset: auto; background: none; overflow: hidden; width: 100%; margin-top: 72px; height: 592px; }
  .dev, .kitfont { text-align: left; }
  .open .herophone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
  .open .herophone .dev { --z: .72; }
  .open .fade { display: none; }
  .open .proof { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--ink-3); margin-top: -8px; }
  .open .proof span { display: inline-flex; align-items: center; gap: 8px; }
  .open .proof u { text-decoration: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-c); box-shadow: 0 0 10px var(--brand-c); }

  /* ---------- sections ---------- */
  .block { position: relative; padding: 170px 0; }
  .block.tight { padding-top: 110px; }
  .block .head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 980px; margin: 0 auto; }
  .block .head .lede { max-width: 720px; }
  .block .visual { position: relative; margin-top: 72px; }
  .hr { height: 1px; background: linear-gradient(90deg, transparent, var(--hair) 20%, var(--hair) 80%, transparent); }

  /* a glass panel on the page (same recipe as the app's TintedGlass, scaled for the page) */
  .pg { position: relative; border-radius: 28px; isolation: isolate; box-shadow: var(--pg-shadow); }
  .pg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: linear-gradient(135deg, rgba(var(--fg), calc(.08 * var(--fa))), rgba(var(--fg), calc(.025 * var(--fa)))), rgba(14, 16, 24, .72); }
  .pg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
    background: linear-gradient(135deg, rgba(var(--fg), calc(.32 * var(--fa))), rgba(var(--fg), calc(.06 * var(--fa))) 50%, rgba(var(--fg), calc(.12 * var(--fa))));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

  /* phone holders */
  .phone { position: relative; display: flex; justify-content: center; }
  .phone .dev { --z: .64; }
  .phone .dev .body { box-shadow: 0 0 0 1px #3b3e45, 0 0 0 2.2px #15161a, 0 0 0 3px #6b6f78, var(--phone-shadow); }

  /* ---------- 2. one connection ---------- */
  .conn { display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; gap: 0; }
  .comp { position: relative; justify-self: end; width: 380px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 18px; }
  .comp .top { display: flex; align-items: center; justify-content: space-between; }
  .comp .top b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
  .comp .top span { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
  .comp .top span u { text-decoration: none; width: 7px; height: 7px; border-radius: 50%; background: #34c38f; box-shadow: 0 0 8px #34c38f; }
  .comp .row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.07 * var(--fa))); }
  .comp .row .orb { width: 36px; height: 36px; }
  .comp .row b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
  .comp .row small { font-size: 12.5px; color: var(--ink-3); }
  .comp .link { margin-top: 2px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(91,108,255,.18), rgba(47,179,201,.12)); box-shadow: inset 0 0 0 1px rgba(140,160,255,.25); }
  .comp .link .hic { width: 34px; height: 34px; border-radius: 9px; background: center / cover no-repeat; flex: none; }
  .comp .link b { display: block; font-size: 15px; font-weight: 600; }
  .comp .link small { font-size: 12.5px; color: var(--ink-2); }
  .wire { position: relative; height: 140px; }
  .wire svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .wire .base { stroke: rgba(var(--fg), calc(.3 * var(--fa))); stroke-width: 2; fill: none; }
  .wire .flow { stroke: url(#wireg); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 26 300; animation: flow 2.6s linear infinite; filter: drop-shadow(0 0 8px rgba(120,140,255,.7)); }
  @keyframes flow { to { stroke-dashoffset: -326; } }
  .wire .tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2);
    background: var(--node-bg); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.14 * var(--fa))); white-space: nowrap; }
  .conn .phone { justify-self: start; }
  .conn .phone .dev { --z: .58; }
  .caps { display: grid; grid-template-columns: 1fr 260px 1fr; margin-top: 22px; font-size: 13px; color: var(--ink-3); text-align: center; }
  .caps span:first-child { justify-self: end; width: 380px; }
  .caps span:last-child { justify-self: start; width: 416px; }

  /* ---------- 3. experience ---------- */
  .exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .exp .phone { justify-self: center; }
  .exp .side { display: flex; flex-direction: column; gap: 22px; max-width: 420px; justify-self: center; }
  .exp .side .tile { width: 100%; }
  .exp .side .kitfont { color: var(--ink); }
  .exp .voice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; }
  .exp .voice .orb { width: 40px; height: 40px; }
  .exp .voice .tx b { display: block; font-size: 15px; font-weight: 600; }
  .exp .voice .tx small { font-size: 12.5px; color: var(--ink-3); }
  .exp .voice .bars { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 26px; }
  .exp .voice .bars i { width: 3px; border-radius: 2px; background: linear-gradient(180deg, #aec4ff, #6fd6c0); animation: vb 1.2s ease-in-out infinite; }
  .exp .voice .bars i:nth-child(1) { height: 10px; animation-delay: 0s } .exp .voice .bars i:nth-child(2) { height: 20px; animation-delay: .15s } .exp .voice .bars i:nth-child(3) { height: 26px; animation-delay: .3s }
  .exp .voice .bars i:nth-child(4) { height: 16px; animation-delay: .45s } .exp .voice .bars i:nth-child(5) { height: 22px; animation-delay: .6s } .exp .voice .bars i:nth-child(6) { height: 9px; animation-delay: .75s }
  @keyframes vb { 0%, 100% { transform: scaleY(.45) } 50% { transform: scaleY(1) } }
  .exp .note { font-size: 13px; color: var(--ink-3); padding-left: 4px; }
  .exp .note b { color: var(--ink-2); font-weight: 600; }

  /* ---------- 4. together ---------- */
  .tog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .tog .phone { justify-self: center; order: 2; }
  .tog .side { justify-self: center; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
  .step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; }
  .step .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(var(--fg), calc(.08 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.12 * var(--fa))); }
  .step b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; }
  .step span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

  /* ---------- 5. beyond ---------- */
  .beyond { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: center; }
  .cosmos { position: relative; height: 420px; }
  .cosmos svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .cosmos .node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translate(-50%, -50%); }
  .cosmos .node .orb { width: 86px; height: 86px; box-shadow: 0 20px 50px -10px rgba(120,140,255,.45); }
  .cosmos .node b { font-size: 15px; font-weight: 600; }
  .cosmos .node small { font-size: 12.5px; color: var(--ink-3); margin-top: -6px; }
  .cosmos .node.you { opacity: 1; }
  .cosmos .node.next { opacity: .75; }
  .cosmos .node.next .pav { width: 86px; height: 86px; font-size: 32px; box-shadow: 0 20px 50px -10px rgba(255,160,120,.35); }
  .cosmos .gate { position: absolute; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
    background: var(--node-bg); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.2 * var(--fa))), 0 0 0 8px var(--bg); }
  .cosmos .gate i { width: 15px; height: 19px; }
  .cosmos .gate small { position: absolute; top: 60px; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
  .cosmos .wireline { stroke: rgba(var(--fg), calc(.22 * var(--fa))); stroke-width: 2; fill: none; }
  .cosmos .live { stroke: url(#netg); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 20 260; animation: flow 2.2s linear infinite; }
  .cosmos .dots { stroke: rgba(var(--fg), calc(.28 * var(--fa))); stroke-width: 2; fill: none; stroke-dasharray: 4 9; stroke-linecap: round; }
  .nowline { display: flex; justify-content: center; gap: 48px; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
  .nowline b { color: var(--ink); font-weight: 600; }
  .nowline span { display: inline-flex; align-items: center; gap: 10px; }
  .nowline u { text-decoration: none; width: 8px; height: 8px; border-radius: 50%; }
  .nowline .a { background: var(--brand-c); box-shadow: 0 0 10px var(--brand-c); }
  .nowline .b { background: transparent; box-shadow: inset 0 0 0 2px rgba(var(--fg), calc(.35 * var(--fa))); }

  /* ---------- 6. choice ---------- */
  .choice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .opt { padding: 24px 22px 22px; min-height: 290px; display: flex; flex-direction: column; gap: 16px; }
  .opt h4 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .opt p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
  .opt .art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; }
  .opt .orbs { display: flex; }
  .opt .orbs .orb { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--bg2); }
  .opt .orbs .orb + .orb { margin-left: -14px; }
  .opt .orbs .plus { width: 52px; height: 52px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--ink-2); background: rgba(var(--fg), calc(.06 * var(--fa))); box-shadow: 0 0 0 3px var(--bg2), inset 0 0 0 1px rgba(var(--fg), calc(.14 * var(--fa))); }
  /* voices: one row per agent, the voice it speaks in, the bars move while it speaks */
  .opt .vx { width: 100%; display: flex; flex-direction: column; gap: 8px; }
  .opt .vrow { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.07 * var(--fa))); font-size: 13px; }
  .opt .vrow .orb { width: 22px; height: 22px; }
  .opt .vrow b { font-weight: 600; width: 64px; }
  .opt .vrow em { font-style: normal; margin-left: auto; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .opt .vrow .bars { display: flex; align-items: center; gap: 2px; height: 14px; }
  .opt .vrow .bars u { width: 2.5px; height: 4px; border-radius: 2px; background: rgba(var(--fg), calc(.3 * var(--fa))); }
  .opt .vrow.on { box-shadow: inset 0 0 0 1px rgba(174,196,255,.35); } .opt .vrow.on em { color: var(--ink); }
  .opt .vrow.on .bars u { background: linear-gradient(180deg, #aec4ff, #6fd6c0); animation: vb 1.1s ease-in-out infinite; }
  .opt .vrow.on .bars u:nth-child(1) { height: 6px } .opt .vrow.on .bars u:nth-child(2) { height: 12px; animation-delay: .12s } .opt .vrow.on .bars u:nth-child(3) { height: 14px; animation-delay: .24s } .opt .vrow.on .bars u:nth-child(4) { height: 10px; animation-delay: .36s } .opt .vrow.on .bars u:nth-child(5) { height: 5px; animation-delay: .48s }
  .opt .vx small { font-size: 11px; color: var(--ink-3); letter-spacing: .02em; padding: 2px 4px 0; }
  /* front page: the 4-column grid, agent-placed cards, one pinned by you, one labelled empty slot */
  .opt .fp { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 40px); gap: 6px; }
  .opt .fc { position: relative; border-radius: 9px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; gap: 1px; overflow: hidden; }
  .opt .fc b { font-size: 11px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .opt .fc span { font-size: 9.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .opt .fc.a { background: rgba(var(--fg), calc(.06 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.09 * var(--fa))); }
  .opt .fc.p { background: linear-gradient(135deg, rgba(91,108,255,.32), rgba(47,179,201,.2)); box-shadow: inset 0 0 0 1px rgba(140,160,255,.35); }
  .opt .fc.s { background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.18 * var(--fa))); border-radius: 9px; } .opt .fc.s b { color: var(--ink-2); }
  .opt .fc.s::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px dashed rgba(var(--fg), calc(.28 * var(--fa))); }
  .opt .fc .pin { position: absolute; right: 5px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(91,108,255,.6); transform: scale(0); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1) .9s; }
  .opt .fc .pin::after { content: ""; position: absolute; left: 5px; top: 3px; width: 2px; height: 6px; background: #5b6cff; border-radius: 1px; }
  .opt .c01 { grid-column: 1 / 3; } .opt .c23 { grid-column: 3 / 5; } .opt .r0 { grid-row: 1; } .opt .r1 { grid-row: 2; } .opt .r2 { grid-row: 3; } .opt .r12 { grid-row: 2 / 4; }
  .opt .fc { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .opt.on .fc { opacity: 1; transform: none; }
  .opt.on .fc:nth-child(2) { transition-delay: .1s } .opt.on .fc:nth-child(3) { transition-delay: .18s } .opt.on .fc:nth-child(4) { transition-delay: .26s } .opt.on .fc:nth-child(5) { transition-delay: .4s }
  /* the pinned card arrives from where the agent had put it (lower left) and settles upper right; then the pin lands */
  .opt .fc.p { transition: opacity .45s var(--ease), transform .7s var(--ease) .3s; transform: translate(-104%, 46px); }
  .opt.on .fc.p { transform: none; } .opt.on .fc.p .pin { transform: scale(1); }
  /* connections: direction, what it allows, the time limit; the time-limit chips as in the app */
  .opt .cx { width: 100%; display: flex; flex-direction: column; gap: 7px; }
  .opt .crow { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 12px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.07 * var(--fa))); }
  .opt .crow .orb { width: 20px; height: 20px; } .opt .crow .dir { color: var(--ink-3); font-size: 13px; width: 12px; text-align: center; }
  .opt .crow .t { display: flex; flex-direction: column; flex: 1; min-width: 0; margin-left: 2px; } .opt .crow .t b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .opt .crow .t small { font-size: 10px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .opt .crow .lim { margin-left: 4px; flex: none; font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--chip-bg); color: var(--chip-ink); white-space: nowrap; }
  .opt .crow .lim.end { background: rgba(var(--fg), calc(.07 * var(--fa))); color: var(--ink-3); }
  .opt .chips { display: flex; gap: 5px; padding-top: 2px; } .opt .chips span { font-size: 10.5px; padding: 4px 8px; border-radius: 99px; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.12 * var(--fa))); }
  .opt .chips span.sel { background: var(--ink); color: var(--on-ink); font-weight: 600; box-shadow: none; }
  .opt .vrow, .opt .crow { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .opt.on .vrow, .opt.on .crow { opacity: 1; transform: none; }
  .opt.on .vrow:nth-child(2), .opt.on .crow:nth-child(2) { transition-delay: .12s } .opt.on .vrow:nth-child(3), .opt.on .crow:nth-child(3) { transition-delay: .24s }
  .opt .vrow .bars u { animation-play-state: paused; } .opt.on .vrow .bars u { animation-play-state: running; }
  .static .opt .vrow, .static .opt .crow, .static .opt .fc { opacity: 1 !important; transform: none !important; transition: none !important; }
  .static .opt .fc .pin { transform: scale(1) !important; transition: none !important; }
  .approve .ok { transition: background .3s, color .3s, transform .25s var(--ease); }
  .approve .ok.done { background: #1fae6a; color: #fff; }
  .static .opt .orbs > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .static .cosmos .dots { animation: none !important; }

  /* ---------- 7. privacy ---------- */
  .priv { position: relative; height: 300px; }
  .priv svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .priv .endp { position: absolute; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .priv .endp .box { width: 150px; height: 104px; border-radius: 22px; display: grid; place-items: center; position: relative; }
  .priv .endp .box i { width: 26px; height: 36px; color: var(--ink); }
  .priv .endp .box .key { position: absolute; right: -14px; top: -14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffd48a, #f39a3d); color: #2b1a05; box-shadow: 0 10px 30px -8px rgba(243,154,61,.8), 0 0 0 4px var(--bg); }
  .priv .endp .box .key i { width: 11px; height: 18px; color: #2b1a05; }
  .priv .endp b { font-size: 14px; font-weight: 600; }
  .priv .endp small { font-size: 12.5px; color: var(--ink-3); margin-top: -8px; }
  .priv .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .priv .mid .node { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--node-bg); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.18 * var(--fa))), 0 0 0 10px var(--bg); }
  .priv .mid .node svg { position: static; width: 26px; height: 26px; }
  .priv .mid b { font-size: 14px; font-weight: 600; }
  .priv .tube { stroke: rgba(var(--fg), calc(.12 * var(--fa))); stroke-width: 22; stroke-linecap: round; fill: none; }
  .priv .tube2 { stroke: rgba(var(--fg), calc(.14 * var(--fa))); stroke-width: 1; fill: none; }
  .priv .flow { stroke: url(#privg); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 18 220; animation: flow 2.4s linear infinite; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
  .fact { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
  .fact small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .fact b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
  .fact.no b { color: var(--ink); }
  .fact .mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; }
  .fact .mark.y { background: rgba(var(--fg), calc(.1 * var(--fa))); } .fact .mark.n { background: rgba(47,179,201,.16); color: var(--teal-ink); }
  .fact .mark svg { width: 13px; height: 13px; }

  /* ---------- 8. get started ---------- */
  .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
  .stp { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
  .stp .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .stp h4 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
  .stp p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
  .term { margin-top: auto; border-radius: 14px; background: #0b0c12; box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.1 * var(--fa))); padding: 14px 16px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #cfd3e6; }
  .term .p { color: #8a63f0; } .term .ok { color: #5fe3b2; } .term .mut { color: var(--ink-3); } .term b { color: #fff; font-weight: 600; }
  .approve { margin-top: auto; border-radius: 16px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.09 * var(--fa))); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
  .approve .row { display: flex; align-items: center; gap: 12px; }
  .approve .row .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--fg), calc(.07 * var(--fa))); }
  .approve .row .ic svg { width: 18px; height: 18px; }
  .approve .row b { display: block; font-size: 14.5px; font-weight: 600; } .approve .row small { font-size: 12.5px; color: var(--ink-3); }
  .approve .ok { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 20px; background: var(--ink); color: #0c0c12; font-size: 14px; font-weight: 600; }
  .stp .phone { margin-top: auto; height: 180px; overflow: hidden; align-items: flex-start; border-radius: 14px; }
  .stp .phone .dev { --z: .42; }
  .cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 64px; text-align: center; }
  .cta .btns { display: flex; gap: 12px; }
  .cta small { font-size: 13px; color: var(--ink-3); }

  /* ---------- footer ---------- */
  footer { padding: 60px 0 40px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-3); }
  footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
  footer .fl { display: flex; gap: 22px; }
  footer .fl a:hover { color: var(--ink); }

  /* scroll-built visuals */
  .wire .flow { opacity: 0; transition: opacity .4s; }
  .wire.on .flow { opacity: 1; }
  .comp .row, .comp .link { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .comp.on .row, .comp.on .link { opacity: 1; transform: none; }
  .comp.on .row:nth-child(2) { transition-delay: .05s } .comp.on .row:nth-child(3) { transition-delay: .15s } .comp.on .row:nth-child(4) { transition-delay: .25s } .comp.on .link { transition-delay: .4s }
  .cosmos .node, .cosmos .gate { opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .cosmos.on .node, .cosmos.on .gate { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .cosmos.on .node.next { opacity: .75; }
  .cosmos.on .node:nth-of-type(2) { transition-delay: .25s } .cosmos.on .gate { transition-delay: .55s } .cosmos.on .node.next { transition-delay: .8s } .cosmos.on #node-shop { transition-delay: .95s }
  .cosmos .wireline, .cosmos .live, .cosmos .dots { opacity: 0; transition: opacity .6s; }
  .cosmos.on .wireline, .cosmos.on .live { opacity: 1; transition-delay: .2s } .cosmos.on .dots { opacity: 1; transition-delay: .9s }
  .priv .key { transform: scale(0); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); transition-delay: .5s; }
  .priv.on .key { transform: scale(1); }
  .priv .flow { opacity: 0; transition: opacity .5s .9s; } .priv.on .flow { opacity: 1; }
  .term .tl { opacity: 0; transform: translateX(-4px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .term.on .tl { opacity: 1; transform: none; }
  .term.on .tl:nth-child(2) { transition-delay: .5s } .term.on .tl:nth-child(3) { transition-delay: 1.1s } .term.on .tl:nth-child(4) { transition-delay: 1.5s } .term.on .tl:nth-child(5) { transition-delay: 1.9s } .term.on .tl:nth-child(6) { transition-delay: 2.5s }
  .static .wire .flow, .static .comp .row, .static .comp .link, .static .cosmos .node, .static .cosmos .gate, .static .cosmos .wireline, .static .cosmos .live, .static .cosmos .dots, .static .priv .flow, .static .term .tl { opacity: 1 !important; transition: none !important; }
  .static .cosmos .node.next { opacity: .75 !important; }
  .static .cosmos .node, .static .cosmos .gate { transform: translate(-50%, -50%) !important; }
  .static .comp .row, .static .comp .link, .static .term .tl { transform: none !important; }
  .static .priv .key { transform: none !important; transition: none !important; }
  .exp .side .tile, #exp-incard { transform-origin: 50% 0; }

  .cosmos.on .dots { animation: dots 1.4s linear infinite; }
  @keyframes dots { to { stroke-dashoffset: 26; } }
  .opt .orbs > * { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .opt.on .orbs > * { opacity: 1; transform: none; }
  .opt.on .orbs > :nth-child(2) { transition-delay: .12s } .opt.on .orbs > :nth-child(3) { transition-delay: .24s } .opt.on .orbs > :nth-child(4) { transition-delay: .42s }
  .approve .ok { transition: background .3s, color .3s, transform .25s var(--ease); }
  .approve .ok.done { background: #1fae6a; color: #fff; }
  .static .cosmos .dots { animation: none !important; }

  /* getting started: platforms, found agents */
  .plats { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .plat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; border-radius: 14px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.08 * var(--fa))); color: var(--ink); }
  .plat svg { width: 26px; height: 26px; } .plat b { font-size: 13px; font-weight: 600; }
  .plat.cli { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 10px 12px 12px; }
  .plat.cli .gl { font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #8a63f0; width: 26px; text-align: center; }
  .plat.cli code { margin-left: auto; white-space: nowrap; font: 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #cfd3e6; background: #0b0c12; padding: 6px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.08 * var(--fa))); }
  .plat { opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .plats.on .plat { opacity: 1; transform: none; }
  .plats.on .plat:nth-child(2) { transition-delay: .1s } .plats.on .plat:nth-child(3) { transition-delay: .2s } .plats.on .plat:nth-child(4) { transition-delay: .35s }
  .found { margin-top: auto; display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 16px; background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.09 * var(--fa))); }
  .found small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 0 2px 2px; }
  .found .fr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(var(--fg), calc(.04 * var(--fa))); }
  .found .fr .orb { width: 26px; height: 26px; } .found .fr b { display: block; font-size: 13.5px; font-weight: 600; } .found .fr span { font-size: 11.5px; color: var(--ink-3); }
  .found .fr em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--ink); color: var(--on-ink); transition: background .3s, color .3s; }
  .found .fr em.done { background: rgba(31,174,106,.18); color: var(--ok-ink); }
  .static .plat { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* the experience phone's keyboard starts below the screen (chat.html) */
  #exp-kb { transform: translateY(324px); }
  #exp-msg > * { position: absolute; }

  /* kit adjustments only on this page (not in the kit) */
  .dev .nempty, .dev .nsb, .dev .ntoast, .dev .nban { display: none !important; }
  .dev .net .srch { display: none; }
  .m .tile { width: 326px; min-height: 0; }
  #exp-call .lcen { top: 150px; }
  .m.them.card { justify-content: flex-start; }
  .bm .tile { width: 326px; min-height: 0; }

  /* ---------- menu button (phones and tablets) ---------- */
  .menu-btn { all: unset; cursor: pointer; display: none; width: 40px; height: 40px; border-radius: 20px; place-items: center; color: var(--ink); margin-left: 8px; }
  .menu-btn svg { width: 20px; height: 20px; }
  .btn { white-space: nowrap; }
  .nav-short { display: none; }
  .links .menu-only { display: none; }

  /* ---------- tablet ---------- */
  @media (max-width: 1000px) {
    .links { display: none; }
    .menu-btn { display: grid; }
    /* the open menu: a drawer under the bar with every page. The state class is menu-open, not open:
       .open is the opening section's class, and its styles would land on the bar. */
    .nav.menu-open .links { display: flex; position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 24px 18px;
      max-height: calc(100dvh - 60px); overflow-y: auto; overscroll-behavior: contain;
      background: var(--bg); box-shadow: 0 1px 0 var(--hair), 0 30px 60px -30px rgba(0,0,0,.6); font-size: 17px; }
    .nav.menu-open .links a { padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--ink); }
    .nav.menu-open .links a:last-child { border-bottom: 0; }
    .nav.menu-open .links .menu-only { display: block; }
    .nav.menu-open .links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
    .nav.menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
    /* everything under the drawer dims, and a tap on it closes the menu (site.js), whatever is beneath */
    .nav.menu-open::after { content: ""; position: fixed; inset: 60px 0 0 0; z-index: 1; background: rgba(0, 0, 0, .5); cursor: pointer; }
    .nav.menu-open .links { z-index: 2; }
    .conn { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; }
    .comp { width: min(420px, 100%); justify-self: center; }
    .wire { width: 100%; height: 96px; }
    .wire svg { display: none; }
    .wire::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(#5b6cff, #2fb3c9); opacity: .7; }
    .conn .phone { justify-self: center; }
    .caps { display: none; }
    .exp, .tog { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .tog .phone { order: 0; }
    .exp .side, .tog .side { max-width: 560px; width: 100%; }
    .choice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
    /* proof points: a left-aligned list, centred as a block, dot on the first line */
    .open .proof { flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 auto; width: fit-content; max-width: 100%; text-align: left; }
    .open .proof span { align-items: flex-start; }
    .open .proof u { flex: none; margin-top: 7px; }
    .beyond { grid-template-columns: minmax(0, 1fr); gap: 48px; justify-items: center; }
    .opt { min-height: 0; }
    /* where this goes: a vertical chain */
    .cosmos { height: auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 0; }
    .cosmos > svg { display: none; }
    .cosmos .node, .cosmos .gate { position: relative !important; left: auto !important; top: auto !important; transform: none !important; }
    .cosmos.on .node, .cosmos.on .gate { transform: none !important; }
    .cosmos .node .orb, .cosmos .node.next .pav { width: 68px; height: 68px; font-size: 25px; }
    .cosmos .node + .node, .cosmos .node + .gate, .cosmos .gate + .node { margin-top: 44px; }
    .cosmos .node + .node::before, .cosmos .node + .gate::before, .cosmos .gate + .node::before {
      content: ""; position: absolute; left: 50%; top: -38px; height: 32px; width: 2px; transform: translateX(-50%); }
    .cosmos .node + .node::before { background: linear-gradient(#5b6cff, #2fb3c9); }
    .cosmos .node + .gate::before, .cosmos .gate + .node::before { background: repeating-linear-gradient(rgba(var(--fg), calc(.35 * var(--fa))) 0 4px, transparent 4px 9px); }
    .cosmos .gate { margin-bottom: 26px; }
    .cosmos .gate small { top: 54px; left: 50%; transform: translateX(-50%); }
    .cosmos #node-shop { margin-top: 22px; }
    .cosmos #node-shop::before { display: none; }
    .nowline { flex-direction: column; align-items: flex-start; gap: 10px; width: fit-content; margin: 30px auto 0; }

    /* private by design: computer, Link, phone, top to bottom */
    .priv { height: auto; display: flex; flex-direction: column; align-items: center; padding: 10px 0; }
    .priv > svg { display: none; }
    .priv .endp, .priv .mid { position: relative !important; left: auto !important; top: auto !important; transform: none !important; }
    .priv .mid { margin: 56px 0; }
    .priv .mid::before, .priv .mid::after { content: ""; position: absolute; left: 50%; width: 2px; height: 44px; transform: translateX(-50%); background: linear-gradient(#5b6cff, #2fb3c9); opacity: .7; }
    .priv .mid::before { top: -50px; } .priv .mid::after { bottom: -50px; }
    .priv .mid .node { box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.18 * var(--fa))); }
    .priv .endp .box { width: 128px; height: 88px; }
    .priv .endp small { text-align: center; max-width: 220px; }
  }

  /* ---------- phone ---------- */
  @media (max-width: 640px) {
    .wrap { width: calc(100% - 40px); }
    .nav .wrap { width: calc(100% - 32px); }
    .logo span { font-size: 15px; }
    .theme-sw { margin-right: 6px; } .theme-sw button { width: 28px; height: 28px; }
    .nav .btn.pri { height: 36px; padding: 0 14px; font-size: 13.5px; }
    .nav-long { display: none; } .nav-short { display: inline; }

    .h1 { font-size: 40px; }
    .h2 { font-size: 31px; line-height: 1.08; }
    .lede { font-size: 17.5px; line-height: 1.5; }
    .label { font-size: 11.5px; }
    .block { padding: 76px 0; }
    .block.tight { padding-top: 64px; }
    .block .head { gap: 16px; }
    .block .visual { margin-top: 44px; }
    .btn.lg { height: 50px; padding: 0 22px; font-size: 15.5px; }

    /* opening */
    .open { padding-top: 112px; }
    .open .wrap { gap: 24px; }
    .open .proof { max-width: min(316px, 100%); }
    .open .herostage { margin-top: 24px; height: 600px; }
    .open .herophone .dev { --z: .68 !important; }

    /* phones inside sections: as large as the column allows */
    .exp .phone .dev, .tog .phone .dev, .beyond .phone .dev { --z: .74 !important; }
    .conn .phone .dev { --z: .66 !important; }
    .stp .phone .dev { --z: .42 !important; }

    /* one connection */
    .comp { padding: 22px 20px 20px; }
    .wire { height: 80px; }

    /* experience: the app cards beside the phone fit the column */
    .exp .side .tile .metric .area { width: 0; flex: 1; min-width: 0; }
    .exp .voice { padding: 12px 14px; }

    /* your choice */
    .choice, .facts, .steps3 { grid-template-columns: minmax(0, 1fr); }
    .opt { padding: 22px 20px 20px; }
    .opt .art { min-height: 0; padding: 6px 0 2px; }

    .facts { margin-top: 32px; }

    /* getting started */
    .stp { min-height: 0; }
    .plat.cli { flex-wrap: wrap; row-gap: 10px; }
    .plat.cli code { margin-left: 0; width: 100%; text-align: center; padding: 9px 8px; font-size: 12px; }
    .cta .btns { flex-direction: column; align-items: stretch; width: min(320px, 100%); margin: 0 auto; }

    /* now / next: dot beside the first line, wrapped text lines up under it */
    .nowline span { display: block; position: relative; padding-left: 20px; line-height: 1.45; }
    .nowline u { position: absolute; left: 0; top: 6px; }

    footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
    footer .fl { flex-wrap: wrap; gap: 10px 20px; }
  }

/* ======================================================================
   Added for the live site: the film, inner pages, and the working forms.
   ====================================================================== */

  /* skip link */
  .skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 600; }
  .skip:focus { top: 12px; }
  .links a[aria-current="page"] { color: var(--ink); }
  :focus-visible { outline: 2px solid #8a9cff; outline-offset: 3px; }

  /* ---------- the film (home) ---------- */
  .film { padding: 150px 0 40px; }
  .film .head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; margin: 0 auto 48px; }
  .film .frame { position: relative; border-radius: 28px; overflow: hidden; background: #000; box-shadow: var(--pg-shadow), 0 0 0 1px rgba(var(--fg), calc(.1 * var(--fa))); aspect-ratio: 16 / 9; }
  .film video { display: block; width: 100%; height: 100%; background: #000; }
  .film .meta { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-3); }
  .film .meta a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

  /* ---------- inner pages (privacy, beta) ---------- */
  .page-open { position: relative; padding: 170px 0 40px; background: var(--hero-wash); text-align: center; }
  .page-open .wrap { display: flex; flex-direction: column; align-items: center; gap: 26px; }
  .page-open .h1 { font-size: clamp(38px, 5.4vw, 76px); max-width: 980px; }
  .page-open .lede { max-width: 780px; }
  .prose-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .prose-row h2 { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
  .prose-row p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
  .sees { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 56px; }
  .sees .pg { padding: 28px 28px 24px; }
  .sees h3 { margin: 0 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 12px; }
  .sees ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .sees li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
  .sees li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--fg), calc(.4 * var(--fa))); }
  .sees .no li::before { background: linear-gradient(135deg, #5b6cff, #2fb3c9); }
  .sees .mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
  .sees .mark.y { background: rgba(var(--fg), calc(.1 * var(--fa))); } .sees .mark.n { background: rgba(47,179,201,.16); color: var(--teal-ink); }
  .sees .mark svg { width: 13px; height: 13px; }
  .more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-size: 15px; font-weight: 600; color: var(--ink); }
  .more-link::after { content: "→"; transition: transform .25s var(--ease); }
  .more-link:hover::after { transform: translateX(3px); }
  .center { text-align: center; }

  /* ---------- forms (beta signup, developer early access) ----------
     One rhythm: 20px between fields, 8px from a label to its control, every control 48px tall. */
  .lf { display: flex; flex-direction: column; gap: 20px; }
  .lf[hidden], .lf-done[hidden] { display: none !important; }
  .lf-title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
  .lf-intro { margin: 8px 0 28px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
  .lf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .lf-field > label, .lf-label { display: block; margin: 0; font-size: 13px; font-weight: 500; line-height: 16px; letter-spacing: 0; color: var(--ink-2); }
  .lf input[type="text"], .lf input[type="email"] { all: unset; box-sizing: border-box; display: block; width: 100%; height: 48px; border-radius: 14px; padding: 0 16px; font-size: 15.5px; line-height: 48px; color: var(--ink);
    background: rgba(var(--fg), calc(.05 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.14 * var(--fa))); transition: box-shadow .2s; }
  .lf input::placeholder { color: var(--ink-3); }
  .lf input:focus { box-shadow: inset 0 0 0 1.5px #8a9cff; }
  .lf input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff7a7a; }
  .lf-seg { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
  .lf-seg label { position: relative; display: flex; min-width: 0; margin: 0; }
  .lf-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; pointer-events: none; }
  /* a label too long for its button wraps onto a second line, centred; every button in a row stays the same height */
  .lf-seg span { flex: 1; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; padding: 8px 10px; border-radius: 14px; font-size: 14px; font-weight: 500; line-height: 1.25;
    text-align: center; white-space: normal; overflow-wrap: break-word; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.14 * var(--fa))); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
  .lf-seg span:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.26 * var(--fa))); }
  .lf-seg input:checked + span { background: var(--ink); color: var(--on-ink); box-shadow: none; font-weight: 600; }
  .lf-seg input:focus-visible + span { outline: 2px solid #8a9cff; outline-offset: 2px; }
  .lf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .lf .btn { border: 0; cursor: pointer; font-family: inherit; width: 100%; margin-top: 4px; }
  .lf .btn:disabled { opacity: .6; cursor: progress; }
  .lf-err { margin: 0; font-size: 14px; line-height: 1.45; color: #ff8f8f; }
  .lf-fine { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); text-align: center; }
  .lf-fine a, .alt a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
  .lf-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 8px 0; }
  .lf-done .mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,174,106,.18); color: var(--ok-ink); }
  .lf-done .mark svg { width: 18px; height: 18px; }
  .lf-done b { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
  .lf-done p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
  @media (max-width: 640px) {
    .lf-seg[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lf-seg span { font-size: 13.5px; padding: 8px 6px; }
  }
  /* the narrowest phones: one choice per row, so no label is ever cut */
  @media (max-width: 350px) {
    .lf-seg, .lf-seg[style*="--n:4"] { grid-template-columns: minmax(0, 1fr); }
  }

  /* beta page */
  .beta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: start; }
  .beta .side { display: flex; flex-direction: column; gap: 14px; }
  .beta .need { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
  .beta .need h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .beta .need ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .beta .need li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
  .beta .need li b { display: block; color: var(--ink); font-weight: 600; }
  .beta .need li i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--fg), calc(.07 * var(--fa))); font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink); }
  .beta .card { padding: 36px; }
  .alt { font-size: 14px; color: var(--ink-3); line-height: 1.6; padding: 4px 4px 0; }

  @media (max-width: 1000px) {
    .prose-row, .sees, .beta { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .film { padding-top: 110px; }
  }
  @media (max-width: 640px) {
    .page-open { padding-top: 112px; }
    .page-open .h1 { font-size: 38px; }
    .film { padding: 76px 0 20px; }
    .film .head { margin-bottom: 30px; }
    .film .frame { border-radius: 16px; }
    .lf-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .beta .card { padding: 26px 20px 24px; }
    .prose-row p { font-size: 16px; }
  }

  /* SF symbol slots, for pages that draw them without the kit (privacy) */
  i[data-sf] { display: inline-block; font-style: normal; line-height: 0; }
  i[data-sf] svg { position: static; width: 100%; height: 100%; display: block; overflow: visible; }

  /* ---------- media page (/screening) ---------- */
  .jump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(820px, 100%); margin-top: 10px; }
  .jump a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-align: left; background: rgba(var(--fg), calc(.05 * var(--fa)));
    box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.1 * var(--fa))); transition: background .25s, box-shadow .25s; }
  .jump a:hover { background: rgba(var(--fg), calc(.08 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.2 * var(--fa))); }
  .jump svg { flex: none; width: 34px; height: 34px; padding: 10px 10px 10px 12px; box-sizing: border-box; border-radius: 50%; color: var(--on-ink); background: var(--ink); }
  .jump span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-3); min-width: 0; }
  .jump b { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .media-film { padding: 120px 0 120px; scroll-margin-top: 40px; }
  .beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
  .beat { padding: 24px 24px 22px; }
  .beat h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
  .beat p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
  .rec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; scroll-margin-top: 40px; }
  #demo { scroll-margin-top: 40px; }
  .rec-copy { display: flex; flex-direction: column; gap: 22px; }
  .rec-steps { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
  .rec-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); }
  .rec-steps li:last-child { border-bottom: 1px solid var(--hair); }
  .rec-steps b { font: 600 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); }
  .rec-steps span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
  .rec-steps em { display: block; font-style: normal; font-weight: 600; color: var(--ink); }
  .rec-phone { justify-self: center; width: min(340px, 100%); aspect-ratio: 886 / 1920; border-radius: 48px; padding: 10px; background: linear-gradient(145deg, #3a3a44, #15151b 40%, #2c2c34 60%, #0d0d12);
    box-shadow: 0 0 0 1px #3b3e45, var(--phone-shadow); }
  .rec-phone video { display: block; width: 100%; height: 100%; border-radius: 38px; object-fit: cover; background: #0b1220; }
  .block.center .head { margin-bottom: 0; }

  /* ---------- security page ---------- */
  .doc { padding-top: 70px; }
  .doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
  .doc-col { display: flex; flex-direction: column; gap: 52px; }
  .doc-sec h2 { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
  .doc-sec p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
  .doc-sec .who { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
  .doc-sec .who b { color: var(--ink); font-weight: 600; } .doc-sec .who span { font-size: 15px; color: var(--ink-3); }
  .doc-list { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: d; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .doc-list li { counter-increment: d; display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2);
    background: rgba(var(--fg), calc(.04 * var(--fa))); box-shadow: inset 0 0 0 1px rgba(var(--fg), calc(.08 * var(--fa))); }
  .doc-list li::before { content: counter(d, decimal-leading-zero); flex: none; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); }
  .doc-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
  .doc-card { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
  .doc-card .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .doc-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
  .doc-card address { font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
  .doc-card address b { display: block; color: var(--ink); font-weight: 600; }
  .doc-card .mail { display: inline-block; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(var(--fg), .35); text-underline-offset: 4px; word-break: break-all; }
  .doc-updated { margin: 4px 4px 0; font-size: 13px; color: var(--ink-3); }

  @media (max-width: 1000px) {
    .beats, .rec, .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .rec { gap: 44px; }
    .doc-side { position: static; }
    .media-film { padding: 90px 0; }
  }
  @media (max-width: 640px) {
    .jump { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 8px; }
    .media-film { padding: 70px 0; }
    .beats { margin-top: 28px; gap: 12px; }
    .rec-phone { width: min(300px, 100%); border-radius: 42px; } .rec-phone video { border-radius: 33px; }
    .doc { padding-top: 40px; }
    .doc-col { gap: 40px; }
    .doc-list { grid-template-columns: minmax(0, 1fr); }
    .doc-sec p { font-size: 16px; }
  }
