/* adsinq.com — product site. Palette and logo follow the app (platform/app/styles/tokens.css). */
:root {
  --paper: #F3F5F8;
  --paper-2: #EAEEF3;
  --card: #FFFFFF;
  --ink: #171A1F;
  --ink-2: #4C5561;
  --muted: #6B7079;
  --line: #DDE2E9;
  --line-2: #C9D0DA;
  --brand: #6D5DFB;
  --brand-deep: #4B3FD1;
  --brand-soft: #EEEDFF;
  --red: #FF1745;
  --teal: #0F9D8A;
  --amber: #B86A07;
  --ok: #127A50;
  --night: #0E1117;
  --night-2: #161A22;
  --night-line: #262C38;
  --f-display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  --shadow-lg: 0 40px 80px -30px rgba(23, 26, 31, .35), 0 18px 36px -18px rgba(23, 26, 31, .22);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--f-body); text-decoration: none; padding: 15px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .nav-links a:focus-visible, .tour-tabs button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(109, 93, 251, .7); }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: rgba(243, 245, 248, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; color: var(--ink); }
.logo { width: 112px; height: 24px; display: block; color: var(--ink); }
.logo-sm { width: 92px; height: 20px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; margin-left: 8px; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* load + reveal */
.load { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .load, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* hero */
.hero { position: relative; padding-block: clamp(48px, 8vw, 96px) 40px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-copy { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--f-mono); color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 9px 14px; border-radius: 999px; margin: 0 0 28px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 23, 69, .14); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(40px, 7.2vw, 88px); line-height: .98; max-width: 15ch; font-weight: 800; }
h1 em { color: var(--brand); font-size: 1.08em; letter-spacing: -.01em; }
h1 em:last-of-type { color: var(--red); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 62ch; margin: 28px 0 0; line-height: 1.55; }
.cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 80px); perspective: 2000px; }
.frame { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: linear-gradient(#FBFCFD, #F2F4F7); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9DEE5; }
.frame-bar i:first-child { background: #FF5F57; } .frame-bar i:nth-child(2) { background: #FEBC2E; } .frame-bar i:nth-child(3) { background: #28C840; }
.frame-url { margin: 0 auto; transform: translateX(-20px); font: 500 12px/1 var(--f-mono); color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 7px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-hero { transform: rotateX(8deg) scale(.98); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.hero-stage.flat .frame-hero { transform: none; }

.float { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(23,26,31,.35); padding: 16px 18px; }
.float-ai { right: max(0px, calc(var(--gutter) - 28px)); top: 18%; width: 300px; animation: bob 7s ease-in-out infinite; }
.float-live { left: max(0px, calc(var(--gutter) - 28px)); bottom: 14%; display: flex; gap: 14px; align-items: center; animation: bob 8s ease-in-out -3s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.float-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.float-title { font: 700 17px/1.25 var(--f-display); letter-spacing: -.02em; margin: 10px 0 4px; }
.float-sub { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }
.float-actions { display: flex; gap: 8px; }
.pill-btn { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); }
.pill-btn-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.float-num { font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; margin: 2px 0 0; }
.float-num .ok { font: 600 12px/1 var(--f-body); color: var(--ok); background: #E8F6EE; padding: 4px 8px; border-radius: 99px; vertical-align: middle; margin-left: 6px; }
.float-live p { margin: 0; }
.tag { font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border-radius: 6px; }
.tag-violet { background: var(--brand-soft); color: var(--brand-deep); }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2s ease-out infinite; }
.pulse-sm { width: 8px; height: 8px; }
.pulse-sm::after { inset: -4px; border-width: 1.5px; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.caption-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 28px; }

/* facts */
.facts { border-block: 1px solid var(--line); background: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font: 700 30px/1 var(--f-display); letter-spacing: -.03em; }
.fact span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }

/* section heads */
section { position: relative; }
.tour, .modules, .pricing, .about { padding-block: clamp(80px, 10vw, 130px); }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-center { text-align: center; margin-inline: auto; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kicker { font: 500 13px/1 var(--f-mono); color: var(--brand-deep); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.kicker-dark { color: #A99FFF; }
.kicker-sm { font-size: 12px; color: var(--brand-deep); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; }
h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.02; }
h2 em { color: var(--brand); font-size: 1.06em; }
.sec-lede { font-size: 18px; color: var(--ink-2); margin: 22px 0 0; max-width: 64ch; }
.sec-head-center .sec-lede { margin-inline: auto; }

/* tour */
.tour-shell { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.tour-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 92px; }
.tour-tabs button {
  display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; text-align: left; column-gap: 6px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: none; cursor: pointer; font: 600 16px/1.2 var(--f-body); color: var(--ink-2);
  transition: background .2s, border-color .2s, color .2s;
}
.tour-tabs button .mono { grid-row: span 2; font-size: 12px; color: var(--muted); padding-top: 3px; }
.tour-tabs button small { font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; }
.tour-tabs button:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.tour-tabs button[aria-selected="true"] { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 6px 18px -12px rgba(23,26,31,.3); }
.tour-tabs button[aria-selected="true"] .mono { color: var(--red); }
.tour-imgs { position: relative; aspect-ratio: 2000 / 1389; overflow: hidden; background: #F6F7F9; }
.tour-imgs img { position: absolute; inset: 0; width: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.01); transition: opacity .5s ease, transform .7s ease; }
.tour-imgs img.on { opacity: 1; transform: none; }
.tour-caption { margin-top: 20px; min-height: 52px; }
.tour-caption p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 70ch; }
.tour-caption b { color: var(--ink); }

/* modules */
.modules { background: #fff; border-block: 1px solid var(--line); }
.legend { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.legend .st { margin-left: 10px; }
.legend .st:first-child { margin-left: 0; }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mod { padding: 28px 24px 30px; border-left: 1px solid var(--line); background: linear-gradient(180deg, #FAFBFC, #fff 120px); }
.mod:first-child { border-left: 0; }
.mod h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.mod ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mod li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14.5px; padding: 10px 0; border-bottom: 1px dashed var(--line); line-height: 1.35; }
.mod li:last-child { border-bottom: 0; }
.st { flex: none; font: 600 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px; border-radius: 5px; }
.st-live { background: #E3F4EA; color: var(--ok); }
.st-beta { background: var(--brand-soft); color: var(--brand-deep); }
.st-soon { background: #F1EEE8; color: #7A6A4F; }

/* AI */
.ai { background: var(--night); color: #E8EAF0; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.ai-glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(109, 93, 251, .28), transparent 60%); pointer-events: none; }
.ai::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.ai .wrap { position: relative; }
.ai h2 { color: #fff; }
.ai h2 em { color: #A99FFF; }
.ai .sec-lede { color: #A9B0BE; }
.ai-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.chat { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.chat-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--night-line); font-size: 12.5px; color: #8A93A5; }
.chat-conn { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); color: #7BD9B0; }
.chat-conn .pulse { background: #3DD68C; } .chat-conn .pulse::after { border-color: #3DD68C; }
.chat-body { padding: 20px 18px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 520px; }
.msg { max-width: 88%; font-size: 14.5px; line-height: 1.5; border-radius: 14px; padding: 11px 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.msg.show { opacity: 1; transform: none; }
.msg-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; background: #1E2430; color: #DDE1EA; border-bottom-left-radius: 4px; }
.msg-ai b { color: #fff; }
.hl { color: #FFB1C1; font-weight: 500; }
.msg-tool { align-self: flex-start; background: transparent; border: 1px dashed #3A4254; color: #9AA3B5; font-size: 12.5px; display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border-radius: 10px; }
.msg-tool .mono { color: #A99FFF; font-size: 12px; }
.msg-tool .mono::before { content: "⚙ "; color: #6B7488; }
.msg-tool code { font-family: var(--f-mono); font-size: 12px; color: #C6CCD8; word-break: break-word; }
.msg-tool-ok { border-color: #2D6B52; }
.msg-tool-ok .mono { color: #7BD9B0; }
.guard { display: flex; flex-direction: column; background: linear-gradient(160deg, #181C26, #12151C); border: 1px solid var(--night-line); border-radius: 18px; padding: 30px 28px; }
.guard h3 { color: #fff; font-size: 24px; margin-bottom: 22px; }
.guard-list { margin: 0; padding: 0; list-style: none; counter-reset: g; display: flex; flex-direction: column; gap: 18px; }
.guard-list li { counter-increment: g; position: relative; padding-left: 46px; color: #A9B0BE; font-size: 15px; line-height: 1.5; }
.guard-list li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 500 12px/1 var(--f-mono); color: #A99FFF; border: 1px solid #3A3570; border-radius: 7px; padding: 6px 6px; }
.guard-list b { color: #fff; font-weight: 600; }
.guard-list em { color: #E8EAF0; font-size: 1.05em; }
.proc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: clamp(64px, 8vw, 96px) 0 28px; }
.proc-head h3 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.proc-head p { color: #A9B0BE; max-width: 52ch; margin: 0; }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r); overflow: hidden; }
.proc { background: var(--night); padding: 26px 22px 28px; transition: background .25s; }
.proc:hover { background: #141822; }
.proc h4 { color: #fff; font-size: 18px; letter-spacing: -.02em; margin: 16px 0 8px; }
.proc p { color: #98A0B0; font-size: 14px; line-height: 1.55; margin: 0; }
.ai .st-live { background: rgba(61, 214, 140, .14); color: #7BD9B0; }
.ai .st-beta { background: rgba(169, 159, 255, .16); color: #C2BAFF; }
.ai .st-soon { background: rgba(255, 255, 255, .08); color: #B7BDC9; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 34px 34px; display: flex; flex-direction: column; }
.plan-feature { background: var(--ink); color: #E8EAF0; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -13px; right: 28px; font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--red); color: #fff; padding: 8px 11px; border-radius: 99px; }
.plan-name { font: 700 24px/1.1 var(--f-display); letter-spacing: -.025em; margin: 0; }
.plan-for { margin: 8px 0 22px; color: var(--ink-2); font-size: 15px; }
.plan-feature .plan-for { color: #A9B0BE; }
.price { font: 800 64px/1 var(--f-display); letter-spacing: -.045em; margin: 0; display: flex; align-items: baseline; gap: 2px; }
.price .cur { font-size: 30px; font-weight: 700; align-self: flex-start; margin-top: 8px; }
.price .per { font: 500 16px/1 var(--f-body); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.price .from { font: 400 22px/1 var(--f-serif); font-style: italic; letter-spacing: 0; margin-right: 8px; color: #A9B0BE; align-self: center; }
.plan-feature .price .per { color: #8A93A5; }
.plan-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.plan-feature .plan-note { color: #8A93A5; }
.tokens { display: flex; align-items: center; gap: 16px; margin: 26px 0 24px; padding: 16px 18px; border-radius: 14px; background: var(--brand-soft); border: 1px solid #D8D2FF; }
.tok-num { font: 800 34px/1 var(--f-display); letter-spacing: -.03em; color: var(--brand-deep); }
.tok-lbl { font-size: 14px; font-weight: 600; line-height: 1.35; }
.tok-lbl small { font-weight: 400; color: var(--muted); font-size: 13px; }
.tokens-feature { background: rgba(109, 93, 251, .16); border-color: rgba(169, 159, 255, .3); }
.tokens-feature .tok-num { color: #C2BAFF; }
.tokens-feature .tok-lbl small { color: #A9B0BE; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #E3F4EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23127A50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan-feature .ticks li::before { background-color: rgba(61, 214, 140, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%237BD9B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-feature .ticks b { color: #fff; }
.tok-explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 40px auto 0; }
.tok-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 24px; }
.tok-card p:last-child { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.faq { max-width: 820px; margin: 64px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 18px/1.35 var(--f-display); letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 70ch; }

/* about */
.about { background: #fff; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.about-copy p { font-size: 17.5px; color: var(--ink-2); margin: 0 0 18px; }
.about-copy p:first-child { font-size: 20px; color: var(--ink); line-height: 1.5; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 2px solid var(--ink); }
.about-stats div { padding: 18px 16px 0 0; }
.about-stats b { display: block; font: 800 44px/1 var(--f-display); letter-spacing: -.04em; }
.about-stats span { font-size: 14px; color: var(--muted); }

/* final */
.final { padding-block: 0 clamp(80px, 10vw, 120px); background: #fff; }
.final-box { text-align: center; }
.final-box > * { max-width: 780px; margin-inline: auto; }
.final-box h2 { padding-top: clamp(60px, 7vw, 90px); border-top: 1px solid var(--line); max-width: none; }
.final-box p { color: var(--ink-2); font-size: 18px; margin-block: 18px 32px; }
.final-box .final-mail { font-size: 13px; color: var(--muted); margin: 18px auto 0; }

/* footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row p { margin: 0; font-size: 14px; color: var(--muted); }
.foot-row nav { margin-left: auto; display: flex; gap: 22px; }
.foot-row nav a { font-size: 14px; text-decoration: none; color: var(--ink-2); }
.foot-row nav a:hover { color: var(--ink); }
.foot-legal { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* responsive */
@media (max-width: 1080px) {
  .float-ai { width: 260px; top: 8%; }
  .tour-shell { grid-template-columns: 1fr; }
  .tour-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tabs button { flex: none; grid-template-columns: auto; padding: 12px 14px; }
  .tour-tabs button .mono, .tour-tabs button small { display: none; }
  .mod-grid { grid-template-columns: 1fr 1fr; }
  .mod:nth-child(3) { border-left: 0; }
  .mod:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .ai-split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-row > .btn { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:nth-child(2) { padding-right: 0; }
  .plans, .tok-explain, .about-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .frame-hero { transform: none; }
  .float-live { display: none; }
  .float-ai { position: relative; right: auto; top: auto; width: auto; max-width: 360px; margin: -40px auto 0; animation: none; }
}
@media (max-width: 560px) {
  .nav-row > .btn { display: none; }
  .mod-grid, .proc-grid { grid-template-columns: 1fr; }
  .mod { border-left: 0; }
  .mod:nth-child(n+2) { border-top: 1px solid var(--line); }
  .facts-row { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2) { border-left: 0; padding: 20px 0; }
  .fact:nth-child(n+2) { border-top: 1px solid var(--line); }
  .plan { padding: 30px 22px 26px; }
  .price { font-size: 54px; }
  .frame-url { display: none; }
  .chat-body { min-height: 0; }
  .msg { max-width: 96%; }
  .about-stats b { font-size: 34px; }
  .foot-row nav { margin-left: 0; }
}

.tools { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--night-line); }
.guard-list { margin-bottom: 28px; }
.tools > .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: #8A93A5; margin: 0 0 12px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-chips span { font: 500 12px/1 var(--f-mono); color: #C6CCD8; background: #1B202B; border: 1px solid #2A3140; padding: 7px 9px; border-radius: 7px; }
.tool-chips span.w { color: #FFC2CE; border-color: #4A2A35; background: #22171C; }
.tools-note { font-size: 12px; color: #8A93A5; margin: 12px 0 0; display: flex; align-items: center; gap: 6px; }
.tools-note i { width: 10px; height: 10px; border-radius: 3px; background: #2A3140; display: inline-block; }
.tools-note i.w { background: #4A2A35; margin-left: 8px; }
h1, h2, h3, .final-box h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media (max-width: 560px) {
  .eyebrow { font-size: 11px; padding: 8px 12px; gap: 8px; white-space: nowrap; }
}
