
/* =====================================================================
   1. TOKENS — institutional dark, square geometry, one bright blue
   ===================================================================== */
:root {
  --ink: #0B0B0C;          /* header, footer, hero */
  --page: #1D1F24;         /* page background */
  --panel: #25282E;        /* cards on page */
  --panel-2: #2D3037;      /* hover */
  --white: #FFFFFF;
  --text: #F3F4F6;
  --muted: #A9ADB5;
  --line: rgba(255, 255, 255, 0.10);
  --blue: #F97316;          /* accent: orange */
  --blue-d: #EA580C;
  --blue-t: #FF9A4D;       /* orange text on dark, AA */
  --ok: #34C77B;
  --warn: #F5B544;
  --f: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --util-h: 34px;
  --nav-h: 92px;
}

/* =====================================================================
   2. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--f); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--blue-t); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1490px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.narrow { max-width: 1290px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { padding: clamp(56px, 7vw, 96px) 0; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 26ch; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; margin-top: 14px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}

/* =====================================================================
   3. BUTTONS AND LINKS — square, heavy, unambiguous
   ===================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 45px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 0; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn-blue { background: var(--blue); color: #111; }
.btn-blue:hover { background: var(--blue-d); }
.btn-line { background: transparent; border-color: #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-right: 2px; }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-t); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more .chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

/* =====================================================================
   4. HEADER — segment bar + main navigation
   ===================================================================== */
.header { position: sticky; top: 0; z-index: 50; background: var(--ink); }
.util { height: var(--util-h); display: flex; align-items: center; justify-content: space-between; font-size: 14.5px; }
.segs, .util-r { display: flex; align-items: center; height: 100%; }
.segs a, .util-r a { color: var(--muted); text-decoration: none; padding: 0 15px; height: 100%; display: flex; align-items: center; }
.segs a:first-child { padding-left: 0; }
.util-r a:last-child { padding-right: 0; }
.segs a:hover, .util-r a:hover { color: #fff; }
.segs a[aria-current="page"] { color: #fff; font-weight: 700; }
.segs .sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.mainnav { height: calc(var(--nav-h) - var(--util-h)); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 0; color: #fff; text-decoration: none; flex: none; }
.brand .word { height: 22px; width: auto; fill: currentColor; }
.brand .mark .ring { fill: none; stroke-width: 4.2; stroke-linecap: round; }
.links { display: flex; align-items: center; gap: 2px; margin-left: 40px; }
.links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16.5px; padding: 10px 18px; position: relative; }
.links a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.links a:hover::after, .links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.burger { display: none; width: 45px; height: 45px; background: none; border: 1px solid var(--line); cursor: pointer; place-items: center; }
.mnav { display: none; background: var(--ink); border-top: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 48px) 24px; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); color: #fff; text-decoration: none; font-weight: 600; }
.mnav .btn { width: 100%; margin-top: 14px; }

/* =====================================================================
   5. HERO — black banner, glowing ring, overlapping white card
   ===================================================================== */
.hero-wrap { padding: 20px 0 0; }
.hero { position: relative; background: #000; min-height: 540px; overflow: hidden; display: flex; align-items: center; }
.halo { position: absolute; right: 7%; top: 50%; width: min(600px, 58vw); aspect-ratio: 1; transform: translateY(-52%); pointer-events: none; }
.halo .glow { position: absolute; inset: -12%; background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.03) 45%, transparent 68%); }
.halo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.halo .soft { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; filter: url(#blur); opacity: .9; }
.halo .hard { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.halo .soft, .halo .hard { stroke-dasharray: 0 100; animation: draw 2.2s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dasharray: 84 16; } }
.promo { position: relative; z-index: 3; background: #fff; color: #111; width: min(512px, 90%); margin-left: clamp(20px, 6vw, 88px); padding: 28px 26px 26px; }
.promo h1 { font-size: clamp(1.7rem, 2.4vw, 2rem); color: #111; letter-spacing: -0.02em; }
.promo p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: #1f2329; margin-top: 18px; }
.promo .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.promo .btn-ghost-dark { background: transparent; border: 1px solid #111; color: #111; }
.promo .btn-ghost-dark:hover { background: #111; color: #fff; }
.hero-note { position: absolute; right: 30px; bottom: 26px; font-size: 11.5px; color: #8c9098; z-index: 3; }

/* the working checkout, held inside the ring like a phone */
.phone { width: 300px; border-radius: 36px; padding: 10px; background: #111317; border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6); }
.screen { border-radius: 27px; background: #fff; color: #111; padding: 18px 16px 16px; }
.p-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #5b6069; }
.p-shop { font-weight: 700; font-size: 15px; color: #111; display: flex; align-items: center; gap: 8px; }
.p-prod { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eceef1; font-size: 14px; }
.p-bottle { width: 40px; height: 52px; background: #f3f4f6; display: grid; place-items: center; }
.p-lines { margin-top: 12px; font-size: 13px; color: #5b6069; }
.p-lines div { display: flex; justify-content: space-between; padding: 2px 0; }
.p-lines .t { color: #111; font-weight: 700; font-size: 14px; }
.stage { margin-top: 12px; min-height: 150px; background: #f5f6f8; border: 1px dashed #d4d7dd; padding: 12px; display: flex; flex-direction: column; justify-content: center; font-size: 13px; }
.stage.ok { background: #eafaf1; border: 1px solid #9fe0bd; }
.st { display: none; } .st.on { display: block; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.gate { display: flex; align-items: center; gap: 8px; color: #3d4250; font-weight: 500; }
.btn-wallet { width: 100%; margin-top: 12px; background: #1638A8; color: #fff; min-height: 42px; font-size: 14px; }
.btn-wallet:hover { background: #1D3FB8; }
.wait { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; align-items: center; }
.wait .qr { background: #fff; padding: 4px; border: 1px solid #e3e5e9; }
.prog { height: 3px; background: #dde0e5; margin-top: 10px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--blue); }
.prog.run i { width: 100%; transition: width 1.6s linear; }
.q { font-weight: 700; font-size: 15px; color: #111; margin-top: 4px; }
.attr { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 9px; background: #e6f7f3; border: 1px solid #9ee3d4; font-weight: 600; font-size: 12px; color: #0f766e; }
.note { font-size: 11px; color: #5b6069; margin-top: 6px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.two button { min-height: 36px; font-weight: 600; font-size: 13px; cursor: pointer; border: 1px solid #c9cdd4; background: #fff; color: #111; }
.two .yes { background: #1638A8; border-color: #1638A8; color: #fff; }
.done { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; }
.done .mark .ring { fill: none; stroke-width: 4.2; stroke-linecap: round; stroke-dasharray: 84 16; transition: stroke-dasharray .9s var(--ease); }
.done .mark.closed .ring { stroke-dasharray: 100 0; }
.done .mark .dot { fill: var(--blue); transition: fill .5s ease .45s; }
.done .mark.closed .dot { fill: #16a34a; }
.json { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; background: #fff; border: 1px solid #d9dde3; padding: 6px 8px; color: #334; white-space: nowrap; overflow-x: auto; }
.pay { width: 100%; margin-top: 12px; min-height: 42px; font-size: 14px; background: #e9ebef; color: #7a808a; border: none; }
.pay[disabled] { cursor: not-allowed; }
.pay.unlocked { background: var(--blue); color: #111; animation: pop .5s var(--ease); cursor: pointer; }
@keyframes pop { 50% { transform: scale(1.03); } }
.p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; color: #5b6069; }
.linkish { background: none; border: none; padding: 0; color: var(--blue); cursor: pointer; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

/* tiles under the hero */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; max-width: 1170px; margin: 20px auto 0; }
.tile { display: block; text-decoration: none; color: #fff; background: var(--panel); transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-3px); }
.tile .art { aspect-ratio: 269 / 168; display: grid; place-items: center; overflow: hidden; }
.tile .cap { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.tile .cap .chev { width: 7px; height: 7px; border-right: 2px solid var(--blue-t); border-top: 2px solid var(--blue-t); transform: rotate(45deg); flex: none; }
/* hero photo sits in front of the ring and dissolves into the black */
.hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 62%; z-index: 2; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: radial-gradient(ellipse 46% 62% at 58% 50%, #000 42%, transparent 78%);
          mask-image: radial-gradient(ellipse 46% 62% at 58% 50%, #000 42%, transparent 78%); }
.halo { z-index: 1; }

/* photo tiles */
.tile .art { position: relative; background: linear-gradient(135deg, #2b3140, #161a22); }
.tile .art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.tile:hover .art img { transform: scale(1.04); }

/* =====================================================================
   6. CONTENT SECTIONS
   ===================================================================== */
.panel { background: var(--panel); border: 1px solid var(--line); padding: 28px; transition: background-color .25s ease, border-color .25s ease; }
.panel.hov:hover { background: var(--panel-2); }
.ic { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(249, 115, 22, 0.14); color: var(--blue-t); }
.panel h3 { font-size: 1.25rem; margin-top: 18px; }
.panel p { color: var(--muted); margin-top: 10px; }
.panel .more { margin-top: 18px; }

/* try it */
.try { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.steps li::before { content: counter(s); width: 40px; height: 40px; display: grid; place-items: center; background: var(--blue); color: #111; font-weight: 700; }
.steps b { display: block; color: var(--text); font-weight: 600; }

/* deadline band */
.band { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.days { font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.days-l { font-size: 14px; color: var(--muted); margin-top: 6px; }
.band p { color: var(--muted); max-width: 70ch; }
.band b { color: #fff; font-weight: 600; }

/* comparison */
.cmp { padding: 0; }
.cmp .hd { display: flex; align-items: center; gap: 12px; padding: 20px 28px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; }
.cmp .hd i { width: 10px; height: 10px; display: block; }
.cmp.old .hd i { background: #F0616F; } .cmp.new .hd i { background: var(--ok); }
.cmp ul { list-style: none; margin: 0; padding: 8px 28px 8px; }
.cmp li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmp li:last-child { border-bottom: none; }
.cmp .res { margin: 0 28px 26px; padding: 14px 16px; font-weight: 600; }
.cmp.old .res { background: rgba(240, 97, 111, 0.12); color: #FF97A1; }
.cmp.new .res { background: rgba(52, 199, 123, 0.12); color: #7BE0AA; }
.cmp.new { border-color: rgba(52, 199, 123, 0.4); }

/* code panel */
.code-panel { padding: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { padding: 14px 20px; border: none; background: none; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--blue); }
pre.code { margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: 14px; line-height: 1.8; overflow-x: auto; }
.tk-k { color: #C8A2FF; } .tk-f { color: #7FB2FF; } .tk-s { color: #6FE3B0; } .tk-b { color: #FFC266; } .tk-c { color: #7C828C; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border: 1px solid var(--line); }
.flow li { list-style: none; padding: 26px 24px; border-left: 1px solid var(--line); position: relative; background: var(--panel); }
.flow li:first-child { border-left: none; }
.flow .n { font-weight: 800; font-size: 13px; color: var(--blue-t); letter-spacing: .04em; }
.flow h3 { font-size: 1.1rem; margin-top: 10px; }
.flow p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.flow li.hl { background: var(--panel-2); box-shadow: inset 0 3px 0 var(--blue); }
.flow-track { height: 3px; background: var(--line); margin-top: -1px; overflow: hidden; }
.flow-track i { display: block; height: 100%; width: 25%; background: var(--blue); animation: runstep 5.2s steps(1) infinite; }
@keyframes runstep { 0% { transform: translateX(0); } 25% { transform: translateX(100%); } 50% { transform: translateX(200%); } 75% { transform: translateX(300%); } }
.assure { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.assure span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); background: var(--panel); font-weight: 500; font-size: 15px; }
.assure svg { color: var(--ok); }

/* credentials */
.cred { display: flex; flex-direction: column; }
.cred h3 { font-size: 1.05rem; margin-top: 14px; }
.cred p { font-size: 14.5px; margin-top: 8px; }
.ctag { align-self: flex-start; margin-top: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; text-transform: uppercase; }
.ctag.t1 { background: var(--blue); color: #111; }
.ctag.t2 { background: rgba(249, 115, 22, 0.16); color: var(--blue-t); }
.ctag.t3 { border: 1px solid var(--line); color: var(--muted); }

/* use cases */
.use .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 4px 8px; background: var(--blue); color: #111; }

/* pricing */
.tier { display: flex; flex-direction: column; }
.tier.pop { border-color: var(--blue); box-shadow: inset 0 4px 0 var(--blue); }
.tier .price { font-weight: 800; font-size: 2.3rem; letter-spacing: -0.02em; margin-top: 14px; line-height: 1.1; }
.tier .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.tier li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.tier li svg { color: var(--ok); flex: none; margin-top: 5px; }
.tier .btn { margin-top: auto; }
.est { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.est .top { display: flex; justify-content: space-between; margin-top: 16px; }
.est output { font-family: var(--mono); color: #fff; }
input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--blue); height: 28px; }
.est .big { font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: #fff; }

/* privacy */
.priv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.plist { list-style: none; padding: 0; margin: 28px 0 0; }
.plist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.plist h3 { font-size: 1.05rem; }
.plist p { color: var(--muted); margin-top: 4px; font-size: 15px; }
.ringviz { width: 100%; max-width: 440px; margin: 0 auto; }

/* faq */
.faq { max-width: 900px; margin-top: 32px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 22px 0; background: none; border: none; cursor: pointer; font-weight: 600; font-size: 1.1rem; }
.qa .pm { width: 14px; height: 14px; position: relative; flex: none; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--blue-t); transition: transform .3s var(--ease); }
.qa .pm::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] .pm::after { transform: rotate(0); }
.qa .body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.qa .body > div { overflow: hidden; }
.qa .body p { padding-bottom: 22px; color: var(--muted); max-width: 72ch; }
.qa.open .body { grid-template-rows: 1fr; }

/* investors — echoes the hero: black band, photo, white card */
.inv { position: relative; background: #000; min-height: 440px; display: flex; align-items: center; overflow: hidden; }
.inv-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 60%; }
.inv-photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); opacity: .85; }
.inv .promo { width: min(560px, 92%); }
.inv .links2 { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid #e3e5e9; }
.inv .links2 a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e3e5e9; color: #111; text-decoration: none; font-weight: 600; font-size: 15px; }
.inv .links2 a:hover { color: var(--blue); }
.inv .links2 .chev { width: 7px; height: 7px; border-right: 2px solid var(--blue); border-top: 2px solid var(--blue); transform: rotate(45deg); }

/* blue CTA strip */
.cta { background: var(--blue); padding: clamp(44px, 6vw, 72px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: #111; max-width: 22ch; }
.cta p { color: rgba(17,17,17,0.82); margin-top: 8px; }
.btn-white { background: #111; color: #fff; }
.btn-white:hover { background: #2a2a2a; }
.btn-wline { border-color: #111; color: #111; }
.btn-wline:hover { background: rgba(0,0,0,0.08); color: #111; }

/* footer */
.foot { background: var(--ink); padding: 56px 0 28px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.fcol h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.fcol a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0; font-size: 15px; }
.fcol a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fbase { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: #7C828C; }
.fbase a { color: #9aa0a9; }

/* floating assistant — FAQ answers, no AI claims */
.chat-btn { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: #16181c; border: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 500; font-size: 16px; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.7); }
.chat-btn:hover { background: #202329; }
.chat-btn .av { width: 32px; height: 32px; background: #000; display: grid; place-items: center; }
.chat { position: fixed; right: 16px; bottom: 76px; z-index: 60; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px));
  background: #16181c; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
  display: none; flex-direction: column; }
.chat.open { display: flex; animation: fade .35s var(--ease); }
.chat-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-h b { font-size: 15px; }
.chat-h small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.chat-x { width: 34px; height: 34px; background: none; border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; }
.chat-log { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 88%; padding: 10px 12px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { background: var(--panel); align-self: flex-start; }
.msg.me { background: var(--blue); color: #111; align-self: flex-end; }
.chat-q { padding: 12px 16px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.chat-q button { padding: 8px 10px; font-size: 13px; background: transparent; border: 1px solid rgba(255,255,255,0.22); cursor: pointer; text-align: left; }
.chat-q button:hover { border-color: var(--blue-t); color: #fff; }

/* reveal */
[data-r] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.in [data-r], [data-r].in { opacity: 1; transform: none; }

/* =====================================================================
   7. RESPONSIVE
   ===================================================================== */
@media (max-width: 1200px) { .links a { padding: 10px 12px; font-size: 15.5px; } .links a::after { left: 12px; right: 12px; } .links { margin-left: 16px; } }
@media (max-width: 1080px) {
  .links, .nav-r .btn { display: none; } .burger { display: grid; } .util-r a:not(:last-child) { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 clamp(16px, 4vw, 48px); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(3) { border-left: none; } .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow-track { display: none; }
}
@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-photo { position: relative; width: 100%; height: 380px; order: -1; }
  .halo { width: 360px; right: 50%; top: 190px; transform: translate(50%, -50%); }
  .promo { margin: -60px auto 0; width: calc(100% - 32px); }
  .hero-note { position: static; padding: 12px 16px 16px; text-align: right; }
  .try, .priv, .est { grid-template-columns: 1fr; }
  .try .phone { margin: 0 auto; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; gap: 12px; }
  .inv { flex-direction: column; align-items: stretch; }
  .inv-photo { position: relative; width: 100%; height: 260px; }
  .inv-photo img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .inv .promo { margin: -40px auto 24px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .segs a { padding: 0 9px; font-size: 13.5px; }
  .tiles, .g4, .flow { grid-template-columns: 1fr; }
  .flow li { border-left: none !important; border-top: 1px solid var(--line); }
  .flow li:first-child { border-top: none; }
  .fgrid { grid-template-columns: 1fr; }
  .chat-btn span.lbl { display: none; }
  .chat-btn { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-r] { opacity: 1 !important; transform: none !important; }
  .halo .soft, .halo .hard { stroke-dasharray: 84 16 !important; }
}

/* =====================================================================
   8. INNER PAGES
   ===================================================================== */
.page-hero { background: var(--ink); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 20ch; }
.page-hero .lead { margin-top: 18px; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb span { color: #5c626b; }
.page-hero .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 44px; }
.prose h3 { font-size: 1.15rem; margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-top: 16px; }
.prose ul, .prose ol { margin: 16px 0 0; padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose a { color: var(--blue-t); }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
.prose th { background: var(--panel); font-weight: 600; color: var(--text); }
.prose td { color: var(--muted); }
.toc { position: sticky; top: 110px; align-self: start; }
.toc a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; font-size: 15px; border-left: 2px solid transparent; padding-left: 14px; }
.toc a:hover { color: #fff; border-left-color: var(--blue); }
.with-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }

/* documentation */
.doc-nav { position: sticky; top: 110px; align-self: start; border-left: 1px solid var(--line); }
.doc-nav a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 15px; }
.doc-nav a:hover { color: #fff; border-left-color: var(--blue); }
.endpoint { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 15px; margin-top: 8px; flex-wrap: wrap; }
.method { padding: 3px 9px; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
.method.post { background: var(--blue); color: #111; }
.method.get { background: rgba(249,115,22,.18); color: var(--blue-t); }
.method.del { background: rgba(240,97,111,.18); color: #FF97A1; }
.params { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.params th, .params td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.params th { color: var(--text); font-weight: 600; }
.params td:first-child { font-family: var(--mono); color: var(--blue-t); white-space: nowrap; }
.params td { color: var(--muted); }
.req { font-size: 11.5px; font-weight: 700; color: #FF97A1; margin-left: 6px; }

/* team, roles, posts */
.person { text-align: left; }
.person .avatar { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #2a2e36, #16181c); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--blue-t); }
.person h3 { font-size: 1.1rem; margin-top: 16px; }
.person .role { color: var(--blue-t); font-size: 14px; font-weight: 600; margin-top: 4px; }
.person p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.role-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.role-row h3 { font-size: 1.2rem; }
.role-row .meta { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .art { aspect-ratio: 16/9; overflow: hidden; background: #16181c; }
.post-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .art img { transform: scale(1.04); }
.post-card .body { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-top: none; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin-top: 8px; }
.post-card p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-t); }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.post-hero-img { width: 100%; aspect-ratio: 21/9; object-fit: cover; margin-top: 32px; }
.pull { border-left: 3px solid var(--blue); padding: 6px 0 6px 22px; margin: 32px 0; font-size: 1.2rem; line-height: 1.5; color: var(--text); }

/* contact + forms */
.field { display: block; margin-top: 18px; }
.field span { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; background: var(--page); border: 1px solid var(--line); color: var(--text); font: inherit; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.hint-t { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.office { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.office h3 { font-size: 1.05rem; } .office p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* status pills */
.st-ok { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ok); }
.st-ok i { width: 8px; height: 8px; background: var(--ok); display: block; }
@media (max-width: 860px) { .with-toc, .contact-grid { grid-template-columns: 1fr; } .toc, .doc-nav { position: static; } }

/* =====================================================================
   9. CAPTURE PLANNER
   ===================================================================== */
.planner { overflow: hidden; }
.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--ink); }
.pl-title { font-weight: 700; font-size: 15px; }
.pl-body { padding: 20px 18px 18px; }
.demo-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.scene { height: 160px; margin-top: 22px; border: 1px solid var(--line); background: #0e1013; position: relative; overflow: hidden; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .tag { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 11px; color: #c8ccd2; background: rgba(0,0,0,.55); padding: 3px 7px; z-index: 2; }
.scene .grid-ov { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 34px 34px; }
.scene .aoi { position: absolute; z-index: 2; border: 2px solid var(--blue); background: rgba(249,115,22,.10); transition: all .5s var(--ease); }
.pl-out { margin-top: 22px; border-top: 1px solid var(--line); }
.pl-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pl-out .k { color: var(--muted); font-size: 14.5px; }
.pl-out .v { font-family: var(--mono); font-size: 15px; color: var(--text); text-align: right; }
.pl-out .total { border-bottom: none; padding-top: 14px; }
.pl-out .total .k { color: var(--text); font-weight: 600; }
.pl-out .total .v { font-size: 1.5rem; font-weight: 700; font-family: var(--f); color: #fff; }
.pl-note { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.try .planner { max-width: 460px; width: 100%; }
@media (max-width: 860px) { .try .planner { margin: 0 auto; } }
