/* GetToken storefront — compact dark layout after the resip.net reference. */

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;

  --bg: #0b0b10;
  --bg-tint: #0e0e14;
  --card: #111118;
  --line: #1f2030;
  --line-2: #2c2d40;
  --ink: #f4f5f8;
  --ink-2: #cdd0dc;
  --muted: #8f93a6;
  --faint: #7a7e93;

  --blue: #3b82f6;
  --blue-2: #7aa7ff;
  --violet: #a855f7;
  --violet-2: #c4a3ff;
  --green: #10b981;
  --green-2: #4ee0b0;
  --red: #fb7185;

  --grad: linear-gradient(100deg, #a78bfa 0%, #c084fc 50%, #e879f9 100%);
  --grad-line: linear-gradient(90deg, #3b82f6, #a855f7);

  --shell: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Glass surfaces: translucent fill, strong blur, a faint top highlight. */
  --glass-bg: rgba(20, 20, 30, .5);
  --glass-border: rgba(255, 255, 255, .1);
  --glass-blur: blur(22px) saturate(1.6);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .07);

  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html { scrollbar-color: #2c2d40 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, select, summary, label { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; }
[hidden] { display: none !important; }
::selection { background: #7c3aed; color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.c-blue { color: var(--blue-2); } .c-green { color: var(--green-2); } .c-red { color: var(--red); } .c-mute { color: var(--faint); }

.live-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); animation: live 2.2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 150; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad-line); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); }

/* Product glyphs */
.glyph { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; font-size: 14px; line-height: 1; }
.glyph--lg { width: 36px; height: 36px; border-radius: 10px; font-size: 17px; }
.glyph--codex { color: var(--blue-2); background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .28); font-family: var(--mono); font-size: 11px; font-weight: 700; }
.glyph--lg.glyph--codex { font-size: 13px; }
.glyph--claude { color: var(--violet-2); background: rgba(168, 85, 247, .12); border: 1px solid rgba(168, 85, 247, .3); }

/* Feature icons */
.icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid; }
.icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--blue { color: #60a5fa; background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .25); }
.icon--green { color: #34d399; background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .25); }
.icon--violet { color: #c084fc; background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .25); }
.icon--cyan { color: #67e8f9; background: rgba(34, 195, 230, .1); border-color: rgba(34, 195, 230, .25); }
.icon--orange { color: #fbbf24; background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .25); }
.icon--pink { color: #f472b6; background: rgba(236, 72, 153, .1); border-color: rgba(236, 72, 153, .25); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .3s, border-color .3s, color .3s; }
.button span { transition: transform .3s var(--ease); }
.button:hover span { transform: translateX(3px); }
.button--light { background: #fff; color: #0b0b10; }
.button--light:hover { box-shadow: 0 8px 28px -8px rgba(168, 85, 247, .6); }
.button--ghost { border-color: rgba(255, 255, 255, .14); color: var(--ink-2); background: rgba(255, 255, 255, .02); }
.button--ghost:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.pill-button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: #fff; color: #0b0b10; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .3s; }
.pill-button:hover { box-shadow: 0 4px 18px -4px rgba(168, 85, 247, .6); }
.ghost-button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: transparent; color: var(--muted); font-size: 13px; white-space: nowrap; transition: color .2s, border-color .2s; }
.ghost-button:hover { color: var(--ink); border-color: rgba(255, 255, 255, .22); }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--blue-2); font-size: 13px; font-weight: 500; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 16, .42); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: rgba(255, 255, 255, .07); background: rgba(11, 11, 16, .62); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand-logo { width: 28px; height: 28px; }
.brand-word { font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; }
.desktop-nav > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 14px; white-space: nowrap; transition: color .2s, background .2s; }
.desktop-nav > a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.desktop-nav > a.is-current { color: var(--ink); background: rgba(255, 255, 255, .06); box-shadow: var(--glass-highlight); }
.site-header a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; }
.menu-toggle span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
/* The CSS glow is the fallback when WebGL is unavailable; the canvas paints over it. */
.hero { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(130% 55% at 50% 100%, rgba(80, 110, 255, .2), rgba(124, 58, 237, .08) 45%, transparent 70%); }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 8vh, 84px) 0 64px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 26px; border: 1px solid var(--glass-border); border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--ink-2); font-size: 12px; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-highlight); transition: border-color .3s; }
.status-pill:hover { border-color: rgba(255, 255, 255, .25); }
.status-pill > span:last-child { color: var(--muted); }
.hero-title { font-weight: 800; letter-spacing: -.02em; }
.hero-title .line { display: block; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.15; text-wrap: balance; }
.hero-title .line--grad { margin-top: 6px; font-size: clamp(28px, 3.9vw, 52px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 620px; margin-top: 22px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.hero-products { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 22px; }
.hero-products li { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 14px; }
.hero-products li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-products .glyph { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
.hero-products .glyph--codex { font-size: 10px; }
.hero-products b { font-weight: 600; color: var(--ink); }
.hero-products small { font-size: 12px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(640px, 100%); margin-top: clamp(72px, 11vh, 120px); padding: 20px 12px; border: 1px solid var(--glass-border); border-radius: 16px; background: linear-gradient(180deg, rgba(30, 32, 52, .45), rgba(14, 14, 22, .4)); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-highlight), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.hero-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, .06); }
.hero-stats strong { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats strong small { margin-left: 2px; font-size: .55em; font-weight: 600; color: var(--ink-2); }
.hero-stats > div > span { font-size: 12px; color: var(--muted); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--glass-border); border-radius: 8px; background: rgba(20, 20, 30, .35); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-highlight); font-size: 12px; color: var(--muted); }
.hero-chips b { color: var(--ink-2); font-weight: 600; }
.hero-chips .dot { width: 6px; height: 6px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .16); }
.hero-chips .dot--open { background: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.hero-copy .keep { display: inline-block; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 88px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid rgba(255, 255, 255, .04); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.eyebrow { margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.lead { max-width: 560px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* Shared card surface with cursor spotlight */
.product { --rgb: 59, 130, 246; position: relative; border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--card); box-shadow: var(--glass-highlight), 0 0 0 0 rgba(0, 0, 0, 0); transition: border-color .35s, box-shadow .45s var(--ease); }
/* Hover lifts with shadow only — no movement or tilt. Touch devices skip hover. */
@media (hover: hover) {
  .product:hover { border-color: rgba(255, 255, 255, .13); box-shadow: var(--glass-highlight), 0 22px 48px -24px rgba(0, 0, 0, .9), 0 12px 36px -18px rgba(var(--rgb), .35); }
}

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.product--claude { --rgb: 168, 85, 247; }
.product--ip { --rgb: 249, 115, 22; }
.product__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.product__head { align-items: flex-start; }
.product__mark { display: inline-flex; align-items: center; gap: 12px; }
.product__mark b { display: block; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.product__mark small { display: block; color: rgb(var(--rgb)); font-size: 12px; font-weight: 600; filter: brightness(1.3); }
.product__price { text-align: right; white-space: nowrap; }
.product__price b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.product__price small { color: var(--muted); font-size: 12px; }
.product__price em { display: block; color: var(--muted); font-size: 12px; font-style: normal; }
.product__price .is-pending { color: var(--muted); font-size: 15px; font-weight: 600; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.product > p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.product__tags li { padding: 3px 9px; border-radius: 6px; border: 1px solid rgba(var(--rgb), .22); background: rgba(var(--rgb), .06); color: var(--ink-2); font-size: 12px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.why h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.25; letter-spacing: -.02em; text-wrap: initial; }
.why__lead { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.why__facts { display: grid; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.why__facts li { display: flex; align-items: center; gap: 10px; }
.why__facts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.why__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.why__list li:last-child { border-bottom: 1px solid var(--line-2); }
.why__no { font: 700 40px/1 var(--mono); color: var(--blue); }
.why__list h3 { font-size: 22px; line-height: 1.35; font-weight: 700; }
.why__list p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.8; }

/* ---------- Pricing ---------- */
.price-table { overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--card); box-shadow: var(--glass-highlight); }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table thead th { border-top: 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.price-table tbody th { width: 22%; font-size: 15px; font-weight: 700; }
.price-table tbody th .glyph { margin-right: 12px; vertical-align: middle; }
.price-table td b { display: block; font-size: 15px; font-weight: 700; }
.price-table td small { display: block; color: var(--faint); font-size: 12px; }
.price-table__wide b { color: var(--ink-2); font-weight: 500 !important; }
.price-table__go { width: 12%; text-align: right !important; }
.price-table__go a { color: rgb(var(--rgb)); font-size: 13px; font-weight: 600; filter: brightness(1.3); white-space: nowrap; }
.price-table__go a:hover { text-decoration: underline; text-underline-offset: 4px; }
.price-notes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 18px; color: var(--faint); font-size: 12px; }
.state-pill { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(245, 158, 11, .13); color: #fbbf24; font-size: 12px; font-weight: 600; }
.state-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state-pill--open { background: rgba(16, 185, 129, .14); color: var(--green-2); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.legal { max-width: 820px; margin: 72px auto 0; text-align: center; color: var(--faint); font-size: 12px; line-height: 1.8; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; text-align: center; }
.steps::before, .steps::after { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 19px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--grad-line); transform-origin: 0 50%; transform: scaleX(var(--steps, 0)); transition: transform .3s linear; }
.steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.steps__no { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; border: 1px solid rgba(59, 130, 246, .35); background: #121524; color: var(--blue-2); font-size: 15px; font-weight: 700; transition: background .5s, color .5s, box-shadow .5s, border-color .5s; }
.steps li.is-lit .steps__no { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(59, 130, 246, .15), 0 0 24px rgba(59, 130, 246, .5); }
.steps h3 { font-size: 15px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-main { display: flex; justify-content: space-between; gap: 48px; padding: 44px 0 32px; }
.footer-brand p { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer-links { display: flex; gap: clamp(40px, 6vw, 88px); }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links > div > span { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 30px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--ink); }
.footer-note { padding: 0 0 18px; font-size: 12px; line-height: 1.8; color: var(--faint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 12px; color: var(--faint); }

.buy-bar { display: none; }

/* ---------- Dialogs ---------- */
.sheet { width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--glass-border); border-radius: 18px; background: rgba(18, 18, 27, .84); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9); overflow: auto; overscroll-behavior: contain; }
.sheet[open] { animation: sheet-in .45s var(--ease); }
.sheet::backdrop { background: rgba(3, 3, 6, .72); backdrop-filter: blur(6px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet--small { width: min(480px, calc(100% - 32px)); }
.sheet__close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; transition: color .2s, background .2s, transform .4s var(--ease); }
.sheet__close:hover { color: #fff; background: rgba(255, 255, 255, .06); transform: rotate(90deg); }
.sheet__body { padding: 36px 28px 26px; }
.sheet h2 { font-size: 22px; }
.sheet__text { margin: 10px 0 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.sheet__action { width: 100%; margin-top: 18px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; }
.contact-row span { color: var(--muted); }
.contact-row b { flex: 1; font-weight: 600; text-align: right; word-break: break-all; }
.contact-row button { min-height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line-2); background: transparent; font-size: 12px; }
.contact-empty { padding: 11px 14px; border-radius: 10px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; padding: 10px 18px; border-radius: 999px; background: #fff; color: #0b0b10; font-size: 13px; font-weight: 600; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .6); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }
.noscript-note { padding: 14px; text-align: center; font-size: 13px; color: #dbeafe; background: #172033; }

/* ---------- Motion (progressive) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split]:not(.is-split) { opacity: 0; }
.char-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.char { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 32ms + var(--delay, 0s)); }
.is-in .char { transform: none; }
/* Gradient text split into transformed chars: each char paints its slice of one shared gradient. */
.is-split.line--grad { background: none; }
.is-split.line--grad .char { background-image: var(--grad); background-size: var(--w, 100%) 100%; background-position: calc(-1 * var(--x, 0px)) 0; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .desktop-nav > a { padding: 0 8px; }
}

@media (max-width: 960px) {
  :root { --header-h: 58px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: flex; flex-direction: column; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; padding: 4px var(--gutter) 16px; border-top: 1px solid var(--line); background: rgba(11, 11, 16, .97); }
  .mobile-nav a, .mobile-nav button { display: flex; align-items: center; min-height: 48px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: 15px; color: var(--ink-2); text-align: left; }
  .mobile-nav a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .brand-word { font-size: 17px; }
  .hero-inner { padding: 40px 0 48px; }
  .hero-title .line { font-size: clamp(24px, 7.2vw, 34px); }
  .hero-title .line--grad { font-size: clamp(21px, 6.4vw, 30px); }
  .hero-copy { font-size: 14px; }
  .hero-copy br { display: none; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1; padding: 0 12px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; margin-top: 88px; padding: 16px 8px; }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-products li { padding: 0 10px; gap: 6px; font-size: 13px; }
  .hero-products small { display: none; }
  .hero-chips { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-chips span { justify-content: center; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  h2 { font-size: 23px; }
  .lead { font-size: 13px; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .steps::before, .steps::after { display: none; }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 0 0 26px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
  .steps__no { grid-row: span 2; margin-bottom: 0; }
  .steps h3 { padding-top: 9px; }
  .why__list li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 22px 0; }
  .why__no { font-size: 26px; line-height: 1.1; }
  .why__list h3 { font-size: 17px; }
  .why__list p { margin-top: 6px; font-size: 13px; }
  .why__facts { margin-top: 24px; padding-top: 20px; }
  .price-table table, .price-table tbody { display: block; }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .price-table tr:first-child { border-top: 0; }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { grid-column: 1 / 3; grid-row: 1; width: auto; }
  .price-table__go { grid-column: 3; grid-row: 1; width: auto; }
  .price-table td:not(.price-table__go) { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
  .price-table td b { font-size: 13px; }
  .price-table__wide { grid-column: 1 / -1; }
  .legal { margin-top: 48px; }
  .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .buy-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 9px 16px; border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(20, 20, 30, .62); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .8); animation: barin .45s var(--ease); }
  .buy-bar strong { display: block; font-size: 13px; }
  .buy-bar small { display: block; font-size: 12px; color: var(--muted); }
  @keyframes barin { from { transform: translateY(120%); } }
  body.has-buy-bar .site-footer { padding-bottom: 76px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sheet { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .sheet[open] { animation: sheet-up .45s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(40%); opacity: 0; } }
  .sheet__body { padding: 32px 18px 22px; }
}

@media (max-width: 370px) {
  .header-actions .pill-button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split]:not(.is-split) { opacity: 1; transform: none; }
  .char { transform: none; }
}

/* Product tones, matching the product pages: Claude violet, Codex blue, Gemini cyan, Grok green, 住宅 IP orange. */
.glyph--gemini { color: #67e8f9; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .28); }
.glyph--grok { color: var(--green-2); background: rgba(16, 185, 129, .1); border: 1px solid rgba(16, 185, 129, .28); font-weight: 700; }
.glyph--ip { color: #fdba74; background: rgba(249, 115, 22, .1); border: 1px solid rgba(249, 115, 22, .3); }
.glyph--kyc { color: #f472b6; background: rgba(236, 72, 153, .1); border: 1px solid rgba(236, 72, 153, .3); }
.glyph svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.price-table .glyph { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
.price-table .glyph--codex { font-size: 11px; }
.product--gemini { --rgb: 34, 211, 238; }
.product--grok { --rgb: 16, 185, 129; }
.product--kyc { --rgb: 236, 72, 153; }
.product__more { display: inline-flex; align-items: center; gap: 6px; color: rgb(var(--rgb)); font-size: 13px; font-weight: 600; filter: brightness(1.3); }
a.product:hover .product__more { text-decoration: underline; text-underline-offset: 4px; }
