/* ============================================================================
   TokenLight Alert — state-of-the-art landing (site.css)
   Self-contained design system. Independent of styles.css (used by legal pages).
   ============================================================================ */

:root {
  /* palette */
  --bg:        #05060c;
  --bg-2:      #080a14;
  --ink:       #eef2ff;
  --muted:     rgba(238, 242, 255, .70);
  --muted-2:   rgba(238, 242, 255, .62); /* was .46 — small text at 46% failed WCAG-AA contrast */
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);
  --glass:     rgba(255, 255, 255, .045);
  --glass-2:   rgba(255, 255, 255, .08);

  --violet:    #8b5cf6;
  --violet-2:  #a855f7;
  --magenta:   #d946ef;
  --cyan:      #22d3ee;
  --blue:      #3b82f6;
  --emerald:   #34d399;
  --amber:     #fbbf24;
  --rose:      #fb7185;

  --grad-brand: linear-gradient(120deg, #8b5cf6 0%, #d946ef 50%, #22d3ee 100%);
  --grad-brand-2: linear-gradient(120deg, #a855f7, #22d3ee);

  --shadow:    0 30px 80px -20px rgba(0,0,0,.7);
  --shadow-glow: 0 0 60px -12px rgba(139,92,246,.55);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { margin: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(217,70,239,.35); color: #fff; }

/* custom cursor (desktop, pointer-fine only) */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; mix-blend-mode: screen; will-change: transform; opacity: 0; }
.cursor { width: 34px; height: 34px; border: 1.5px solid rgba(168,85,247,.7);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s; }
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); }
.cursor.is-hot { width: 60px; height: 60px; background: rgba(139,92,246,.12); border-color: rgba(34,211,238,.8); }
@media (hover: hover) and (pointer: fine) { body.has-cursor { cursor: none; } .cursor, .cursor-dot { opacity: 1; } }

/* scroll progress */
.scrollbar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: transparent; }
.scrollbar__fill { height: 100%; width: 0%; background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(217,70,239,.7); transform-origin: left; }

/* ---------- background canvas layers ---------- */
.fx { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
#gl { width: 100%; height: 100%; display: block; }
.fx__grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.fx__noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- layout ---------- */
.container { width: min(var(--maxw), calc(100% - 44px)); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
section[id], [id] { scroll-margin-top: 92px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); opacity: .6; }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 68px); }
.h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.06; margin: 16px 0 18px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin: 0; max-width: 60ch; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(6,7,14,.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between;
  height: 74px; width: min(var(--maxw), calc(100% - 44px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(139,92,246,.5)); }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 9px 15px; font-size: 14.5px; color: var(--muted); border-radius: 10px;
  position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px;
  background: var(--grad-brand-2); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--grad-brand-2); color: #07121a;
  box-shadow: 0 8px 24px -8px rgba(34,211,238,.6); transition: transform .25s var(--ease), box-shadow .25s; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(34,211,238,.75); }
.nav__menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--glass); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__menu span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__drawer { position: fixed; inset: 74px 0 auto 0; z-index: 99; background: rgba(6,7,14,.96);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); display: grid; gap: 4px; padding: 16px 22px 24px; }
.nav__drawer a { padding: 13px 12px; border-radius: 12px; color: var(--muted); font-size: 16px; }
.nav__drawer a:hover { background: var(--glass); color: var(--ink); }
.nav__drawer[hidden] { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform; position: relative; }
.btn__icon { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; }
.btn__icon img { width: 20px; height: 20px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 40px -12px rgba(217,70,239,.7); }
.btn--primary:hover { box-shadow: 0 20px 54px -12px rgba(217,70,239,.9); }
.btn--ghost { background: var(--glass); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--glass-2); border-color: var(--violet); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 90px; overflow: hidden; }
/* NOTE: no width here — this element also carries .container, whose width:min(--maxw, 100%-44px)
   centers it. A later width:100% at equal specificity was overriding it and pinning the whole
   hero to the left edge on desktop (the rest of the page centered fine). */
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted);
  backdrop-filter: blur(8px); }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6);} 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0);} 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0);} }
.hero__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em;
  font-size: clamp(40px, 7vw, 82px); line-height: .98; margin: 22px 0 24px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.7vw, 20px); max-width: 54ch; margin: 0 0 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stat__k { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px);
  background: var(--grad-brand-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__v { color: var(--muted-2); font-size: 13.5px; letter-spacing: .01em; }

/* hero phone/app mock */
.hero__art { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .8; will-change: transform; }
.orb--1 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(139,92,246,.9), transparent 70%); top: 4%; left: 2%; }
.orb--2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(34,211,238,.75), transparent 70%); bottom: 2%; right: 0; }
.orb--3 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(217,70,239,.8), transparent 70%); top: 40%; left: 45%; }

.phone { position: relative; width: 300px; height: 610px; border-radius: 46px; z-index: 2;
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  padding: 12px; box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--line-2); transform-style: preserve-3d; will-change: transform; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #0a0d18, #070912); border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 96px; height: 26px; border-radius: 999px; background: #05060c; border: 1px solid rgba(255,255,255,.08); }
.scr__head { padding: 40px 18px 14px; display: flex; align-items: center; justify-content: space-between; }
.scr__brand { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.scr__live { font-family: var(--font-mono); font-size: 10px; color: var(--emerald); display: inline-flex; gap: 6px; align-items: center; }
.scr__live::before { content:""; width:6px;height:6px;border-radius:50%;background:var(--emerald); box-shadow:0 0 8px var(--emerald); }
.scr__chart { height: 150px; margin: 4px 14px 10px; position: relative; }
.scr__chart canvas { width: 100%; height: 100%; display: block; }
.scr__price { position: absolute; top: 8px; left: 14px; }
.scr__price .p { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.scr__price .c { font-family: var(--font-mono); font-size: 12px; color: var(--emerald); }
.scr__list { padding: 6px 14px 16px; display: grid; gap: 9px; overflow: hidden; }
.scr__row { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.scr__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px;
  background: rgba(139,92,246,.18); }
.scr__row .t { font-size: 12.5px; font-weight: 600; }
.scr__row .s { font-size: 10.5px; color: var(--muted-2); }
.scr__row .meta { margin-left: auto; }
.tag { font-family: var(--font-mono); font-size: 9.5px; padding: 3px 8px; border-radius: 999px;
  background: rgba(52,211,153,.16); color: var(--emerald); }
.tag--vio  { background: rgba(168,85,247,.18); color: #c4a5ff; }

/* ---------- logos / trust marquee ---------- */
.trust { padding: 30px 0 6px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 54px; width: max-content; will-change: transform; }
.marquee__track .m { font-family: var(--font-display); font-size: clamp(18px,2.4vw,26px); font-weight: 600; color: var(--muted-2); opacity: .8; white-space: nowrap; }
.marquee__track .sep { color: var(--violet); align-self: center; }

/* ---------- feature bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--r-lg); padding: 30px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d; will-change: transform; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(139,92,246,.18), transparent 60%);
  transition: opacity .4s; pointer-events: none; }
.tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.tile:hover::before { opacity: 1; }
.tile__body { transform: translateZ(30px); }
.tile--lg { grid-column: span 4; }
.tile--sm { grid-column: span 2; }
.tile__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(140deg, rgba(139,92,246,.3), rgba(34,211,238,.18)); border: 1px solid var(--line-2); margin-bottom: 18px; }
.tile h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 0 0 8px; letter-spacing: -.01em; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }
.tile__meta { margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: .02em; }

/* interactive demo strips inside tiles */
.demo-alert { margin-top: 20px; position: relative; height: 118px; border-radius: 16px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line); overflow: hidden; touch-action: none; }
.demo-alert canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-alert__hint { position: absolute; bottom: 8px; left: 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); }
.handle { position: absolute; right: 0; height: 30px; margin-top: -15px; display: flex; align-items: center; gap: 6px;
  padding-left: 10px; cursor: grab; }
.handle.is-drag { cursor: grabbing; }
.handle__line { position: absolute; left: 0; right: 44px; top: 50%; height: 0; border-top: 1.5px dashed var(--amber); }
.handle__tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 8px;
  background: var(--amber); color: #241a02; white-space: nowrap; }

/* trailing demo */
.demo-trail { margin-top: 20px; }
.demo-trail__canvas { height: 150px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line); overflow: hidden; }
.demo-trail__canvas canvas { width: 100%; height: 100%; display: block; }
.demo-trail__ctl { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.demo-trail__ctl label { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.slider { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; flex: 1; min-width: 120px;
  background: linear-gradient(90deg, var(--violet), var(--cyan)); outline: none; }
/* keyboard focus must stay visible — outline:none above killed the only native control's ring */
.slider:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.handle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.5); border: 3px solid var(--violet); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: pointer; border: 3px solid var(--violet); }
.demo-trail__val { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); min-width: 42px; text-align: right; }

/* rug-checker demo */
.demo-rug { margin-top: 20px; }
.demo-tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 5px 11px;
  border-radius: 999px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em;
  color: var(--amber); background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.28); }
.rug-note { padding: 16px 18px; border-radius: 14px; background: rgba(34,211,238,.06);
  border: 1px solid rgba(34,211,238,.28); font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.rug-note b { color: var(--ink); }
.rug-note a { display: inline-block; margin-top: 8px; color: var(--cyan); font-weight: 600;
  border-bottom: 1px solid rgba(34,211,238,.4); }
.demo-rug__bar { display: flex; gap: 10px; }
.demo-rug__input { flex: 1; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; color: var(--ink); font-family: var(--font-mono); font-size: 12.5px; }
.demo-rug__input::placeholder { color: var(--muted-2); }
.demo-rug__btn { padding: 12px 18px; border-radius: 12px; border: none; cursor: pointer; font-weight: 600; font-size: 13px;
  background: var(--grad-brand-2); color: #06121a; }
.demo-rug__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo-rug__chip { font-family: var(--font-mono); font-size: 11px; padding: 6px 10px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-2); color: var(--muted-2); cursor: pointer; transition: .2s; }
.demo-rug__chip:hover { border-color: var(--violet); color: var(--ink); }
.demo-rug__out { margin-top: 16px; display: grid; gap: 9px; }
.rug-line { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rug-line.in { opacity: 1; transform: none; }
.rug-line__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.rug-line__dot.pass { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.rug-line__dot.warn { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.rug-line__dot.fail { background: var(--rose); box-shadow: 0 0 10px var(--rose); }
.rug-line__dot.unknown { background: var(--muted-2); }
.rug-line__t { font-size: 13px; }
.rug-line__s { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); margin-left: auto; }
.rug-score { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 14px; border-radius: 14px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line); opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rug-score.in { opacity: 1; transform: none; }
.rug-score__ring { width: 54px; height: 54px; flex: none; }
.rug-score__verdict { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.rug-score__note { font-size: 11.5px; color: var(--muted-2); }
.disclaimer { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.5; }

/* ---------- Sentry AI ---------- */
.sentry { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.chat { border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px); overflow: hidden; box-shadow: var(--shadow); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__dot { width: 11px; height: 11px; border-radius: 50%; }
.chat__dot.r { background: #ff5f57; } .chat__dot.y { background: #febc2e; } .chat__dot.g { background: #28c840; }
.chat__title { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.chat__body { padding: 20px; display: flex; flex-direction: column; gap: 14px;
  height: 380px; overflow-y: auto; scrollbar-width: none; }
.chat__body::-webkit-scrollbar { display: none; }
.chat__body .bubble { flex: none; }
.bubble { max-width: 84%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bubble--user { justify-self: end; background: var(--grad-brand-2); color: #06121a; border-bottom-right-radius: 5px; }
.bubble--ai { justify-self: start; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-bottom-left-radius: 5px; }
.bubble--ai .cursor-blink { display: inline-block; width: 8px; height: 16px; background: var(--cyan); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bubble__action { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
  background: rgba(52,211,153,.16); border: 1px solid rgba(52,211,153,.4); color: var(--emerald); font-family: var(--font-mono); font-size: 11.5px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { position: relative; border-radius: var(--r-lg); padding: 34px; background: var(--glass);
  border: 1px solid var(--line); backdrop-filter: blur(10px); overflow: hidden; }
.plan--feat { border-color: rgba(168,85,247,.5); background: linear-gradient(160deg, rgba(139,92,246,.12), var(--glass)); }
.plan--feat::after { content: "POPULAR"; position: absolute; top: 20px; right: -34px; transform: rotate(45deg);
  background: var(--grad-brand); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; padding: 5px 44px; }
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan__tag { color: var(--muted); margin: 8px 0 22px; font-size: 14.5px; }
.plan__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.plan__list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--muted); }
.check { color: var(--emerald); font-weight: 700; flex: none; }
.plans__fine { margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); text-align: center; }

/* ---------- security split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.slist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.slist li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--muted); }
.slist .ico { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; font-size: 15px;
  background: linear-gradient(140deg, rgba(52,211,153,.22), rgba(34,211,238,.14)); border: 1px solid var(--line-2); }
.glass-card { border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px); overflow: hidden; box-shadow: var(--shadow); }
.glass-card__head { display: flex; align-items: center; gap: 8px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.glass-card__head .d { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.glass-card__head .t { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.glass-card__body { padding: 8px 8px; }
.kv { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-radius: 12px; }
.kv:nth-child(odd) { background: rgba(255,255,255,.025); }
.kv .k { font-weight: 600; font-size: 14px; }
.kv .v { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); overflow: hidden;
  background: linear-gradient(140deg, rgba(139,92,246,.16), rgba(34,211,238,.08));
  border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cta__glow { position: absolute; inset: -40%; background: radial-gradient(closest-side, rgba(217,70,239,.4), transparent);
  filter: blur(40px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(-8%, -6%);} to { transform: translate(10%, 8%);} }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.02em; margin: 0 0 14px; }
.cta p { color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.cta__fine { margin-top: 26px; display: grid; gap: 8px; }
.cta__fine .row { display: flex; gap: 12px; font-size: 13.5px; color: var(--muted-2); }
.cta__fine .row .label { font-family: var(--font-mono); color: var(--cyan); min-width: 70px; }
.cta__fine a { color: var(--muted); border-bottom: 1px solid var(--line-2); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--muted-2); font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.muted { color: var(--muted-2); font-size: 13px; }

/* ---------- iOS modal ---------- */
.iosModal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.iosModal[hidden] { display: none; }
.iosModal__backdrop { position: absolute; inset: 0; background: rgba(4,5,10,.75); backdrop-filter: blur(8px); }
.iosModal__card { position: relative; width: min(440px, 100%); border-radius: var(--r-lg); padding: 30px;
  background: linear-gradient(160deg, rgba(20,22,34,.98), rgba(10,12,20,.98)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.iosModal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); cursor: pointer; }
.iosModal__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.iosModal__subtitle { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.iosModal__steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; }
.iosModal__steps li { color: var(--muted); font-size: 14.5px; }
.iosModal__link { color: var(--cyan); border-bottom: 1px solid var(--cyan); }
.iosModal__share svg { width: 22px; height: 22px; fill: var(--cyan); vertical-align: -5px; margin-left: 6px; }
.iosModal__note { margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { padding: 132px 0 96px; position: relative; }
.legal__head { max-width: 880px; margin: 0 auto 30px; }
.legal__head .eyebrow { margin-bottom: 14px; }
.legal__head h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(34px, 6vw, 58px); line-height: 1.02; margin: 0 0 16px; }
.legal__meta { font-family: var(--font-mono); font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.legal__meta strong { color: var(--ink); font-weight: 600; }
.legal__meta a { color: var(--cyan); border-bottom: 1px solid rgba(34,211,238,.35); }
.legal__doc { max-width: 880px; margin: 0 auto; border-radius: var(--r-lg); background: var(--glass);
  border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 46px); }
.legal__doc h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em;
  color: var(--ink); margin: 32px 0 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.legal__doc h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal__doc h3 { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--cyan);
  letter-spacing: .01em; margin: 20px 0 9px; }
.legal__doc p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.legal__doc ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
/* NOTE: li must NOT be a flex container — flex turns every inline child (each <strong>,
   each text run) into its own column, which shatters sentences that contain mid-text bold.
   Hanging-indent instead: the ✓ is pulled out absolutely, text flows normally inline. */
.legal__doc li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.legal__doc .check { position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 700; }
.legal__doc a { color: var(--cyan); border-bottom: 1px solid rgba(34,211,238,.4); }
.legal__doc strong { color: var(--ink); font-weight: 600; }
.legal__back { display: inline-flex; align-items: center; gap: 9px; margin: 26px auto 0; max-width: 880px;
  color: var(--muted); font-size: 14.5px; transition: color .2s, gap .2s; }
.legal__back:hover { color: var(--ink); gap: 13px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__art { height: 500px; order: -1; }
  .sentry, .split, .cta__inner { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile--lg { grid-column: span 4; }
  .tile--sm { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: flex; }
  .plans, .bento { grid-template-columns: 1fr; }
  .tile--lg, .tile--sm { grid-column: span 1; }
  .hero__stats { gap: 22px; }
  .hero { min-height: auto; padding-top: 116px; padding-bottom: 40px; }
  .hero__art { height: auto; margin-bottom: 30px; }
  .phone { width: 248px; height: 512px; }
  body.has-cursor { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__pill .dot { animation: none; }
}
