/* Nullway landing. Tokens mirror services/miniapp/src/styles/global.css + nullway.css. */

:root {
  --bg: #08080a;
  --bg-2: #111114;
  --graphite: #18181c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f1ef;
  --text-2: #a9a4a3;
  --text-3: #6c6869;
  --muted: #8e8a8b;
  --accent: #ff2e3e;
  --accent-rgb: 255, 46, 62;
  --accent-2: #8f0d1a;
  --accent-2-rgb: 143, 13, 26;
  --accent-soft: #ff8a93;
  --ok: #3ddc97;
  --grad: linear-gradient(135deg, #ff4150 0%, #e0101f 48%, #8f0d1a 100%);
  --grad-text: linear-gradient(100deg, #ffc2c6 0%, #ff8a93 30%, #ff2e3e 100%);
  --glass: linear-gradient(180deg, rgba(22, 22, 26, 0.74), rgba(9, 9, 11, 0.82));
  --rim: linear-gradient(135deg, rgba(255, 60, 74, 0.75), rgba(255, 60, 74, 0.08) 38%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 60, 74, 0.55));
  --rim-soft: linear-gradient(135deg, rgba(255, 60, 74, 0.32), rgba(255, 255, 255, 0.05) 45%, rgba(255, 60, 74, 0.22));
  --red-glow: 0 0 28px -6px rgba(255, 46, 62, 0.45);
  --radius: 20px;
  --radius-sm: 13px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: 16px;
  --hdr-h: 64px;
  color-scheme: dark;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --hdr-h: 72px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 12px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- backdrop ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 85% -5%, rgba(var(--accent-rgb), 0.18), transparent 70%),
    radial-gradient(50% 35% at -10% 30%, rgba(var(--accent-2-rgb), 0.35), transparent 70%),
    radial-gradient(60% 45% at 110% 85%, rgba(var(--accent-2-rgb), 0.28), transparent 70%),
    #050506;
}
.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 80%);
}

/* ---------- glass + gradient rim ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px -28px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--rim-soft);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 1;
}
.glass--hot {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), 0.16), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(var(--accent-2-rgb), 0.3), transparent 60%),
    var(--glass);
  box-shadow: inset 0 0 26px rgba(var(--accent-rgb), 0.1), var(--red-glow), 0 20px 40px -28px #000;
}
.glass--hot::after { background: var(--rim); }

/* ---------- type ---------- */
.accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex: none;
}

.h2 {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 560px;
  text-wrap: pretty;
}

.note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}

.link { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 138, 147, 0.4); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn .ic { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  color: #fff;
  background: radial-gradient(130% 160% at 50% -20%, #ff3a4b 0%, #c8101f 42%, #6d0711 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 130, 140, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -12px 20px rgba(0, 0, 0, 0.35),
    0 0 22px -6px rgba(var(--accent-rgb), 0.7),
    0 14px 26px -16px #000;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.btn--primary:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 150, 160, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -12px 20px rgba(0, 0, 0, 0.3),
    0 0 34px -4px rgba(var(--accent-rgb), 0.85),
    0 14px 26px -16px #000;
}

.btn--glass {
  color: var(--text);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn--glass:hover { border-color: rgba(var(--accent-rgb), 0.55); box-shadow: 0 0 20px -8px rgba(var(--accent-rgb), 0.8); }

.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 16px; border-radius: 16px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.35)); }
.brand__word {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.45em;
  margin-right: -0.45em;
}

/* ---------- 1. header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.hdr--scrolled,
.hdr--open {
  background: rgba(8, 8, 10, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px -20px #000;
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--hdr-h);
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
}
.hdr__burger .ic { width: 20px; height: 20px; }
.hdr__burger .ic--close { display: none; }
.hdr--open .hdr__burger .ic--menu { display: none; }
.hdr--open .hdr__burger .ic--close { display: block; }

@media (max-width: 859px) {
  .hdr__in { justify-content: space-between; gap: 10px; }
  .hdr__burger { display: inline-flex; }
  .nav {
    position: absolute;
    top: var(--hdr-h);
    left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px var(--gutter) 16px;
    background: #0a0a0c;
    box-shadow: 0 24px 40px -20px #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .hdr--open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 14px 12px; font-size: 16px; }
}
@media (max-width: 359px) {
  .brand__word { display: none; }
}

/* ---------- 2. hero ---------- */
.hero { padding: 28px 0 24px; overflow-x: clip; }
main { overflow-x: clip; }
.hero__grid {
  display: grid;
  gap: 8px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero__h {
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero__h .accent { display: inline; }
.hero__sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__art {
  position: relative;
  order: -1;
  width: min(62vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.hero__globe {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(var(--accent-rgb), 0.35));
  animation: float 9s ease-in-out infinite;
}
.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-2-rgb), 0.15) 45%, transparent 70%);
  filter: blur(20px);
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
}
.hero__ring--1 { inset: -6%; }
.hero__ring--2 {
  inset: -18%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.07);
  animation: spin 80s linear infinite;
}

@media (min-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero__grid { grid-template-columns: 1.45fr 1fr; gap: 32px; }
  .hero__art { order: 0; width: min(100%, 440px); }
}

.fcards {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 760px) { .fcards { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; } }
.fcard {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px 16px 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fcard__art { width: 60px; height: 60px; flex: none; }
.fcard__h { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.fcard__p { margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.4; }

/* ---------- 3. stats ---------- */
.stats { padding: 24px 0 8px; }
.stats__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 8px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
}
.stat:nth-child(3)::before { display: none; }
.stat:nth-child(n + 3)::after {
  content: '';
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.stat__n {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #ff9aa2 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.stat__l { font-size: 13px; color: var(--text-2); line-height: 1.3; }

@media (min-width: 760px) {
  .stats__row { grid-template-columns: repeat(4, 1fr); padding: 12px; }
  .stat { padding: 24px 16px; }
  .stat:nth-child(3)::before { display: block; }
  .stat:nth-child(n + 3)::after { display: none; }
}

/* ---------- 4–6. feature blocks ---------- */
.feat { padding: 72px 0 8px; }
.feat__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.feat__copy { min-width: 0; }
.feat__visual { min-width: 0; }
@media (min-width: 960px) {
  .feat { padding: 112px 0 16px; }
  .feat__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feat--rev .feat__copy { order: 2; }
}

.checks { margin-top: 24px; display: grid; gap: 14px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.5;
}
.checks b { color: var(--text); font-weight: 600; }
.checks .ic {
  width: 24px; height: 24px;
  padding: 4px;
  margin-top: 0;
  border-radius: 8px;
  color: #fff;
  background: radial-gradient(130% 160% at 50% -20%, #ff3a4b 0%, #c8101f 50%, #6d0711 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 130, 140, 0.4), 0 0 12px -4px rgba(var(--accent-rgb), 0.9);
}

/* A: comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.compare__col { padding: 20px 16px 22px; min-width: 0; }
.compare__col--ok {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(61, 220, 151, 0.08), transparent 60%);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}
.compare__h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--text);
}
.compare__led {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--ok); box-shadow: 0 0 10px var(--ok);
}
.compare__led--bad { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.6s steps(2, jump-none) infinite; }
.compare ul { display: grid; gap: 6px; }
.compare li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.25;
  min-width: 0;
}
.compare li .d { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--text-3); }
.compare__col--bad li { color: var(--text-2); }
.compare__col--bad li.is-bad { color: var(--text-3); border-color: rgba(var(--accent-rgb), 0.14); }
.compare__col--bad li.is-bad s { text-decoration-color: rgba(var(--accent-rgb), 0.8); text-decoration-thickness: 1.5px; }
.compare__col--bad li.is-bad .d { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.compare__col--ok li { color: var(--text); border-color: rgba(61, 220, 151, 0.12); }
.compare__col--ok li .d { background: var(--ok); box-shadow: 0 0 8px rgba(61, 220, 151, 0.8); }
@media (max-width: 380px) {
  .compare__col { padding: 16px 10px 18px; }
  .compare li { padding: 8px 8px; gap: 8px; font-size: 13px; }
  .compare__h { font-size: 12px; }
}

/* B: radar + platforms */
.plats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  max-width: 460px;
}
.plats li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  min-width: 0;
}
.plats img { width: 32px; height: 32px; flex: none; }
.plats span { white-space: nowrap; }

.radar {
  --r: 33%;
  --T: 6s;
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 0 auto;
}
@media (min-width: 480px) { .radar { --r: 38%; } }
.radar__disc {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-2-rgb), 0.12) 40%, rgba(0, 0, 0, 0.4) 72%);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.28), inset 0 0 60px rgba(var(--accent-rgb), 0.12), 0 0 80px -30px rgba(var(--accent-rgb), 0.6);
}
.radar__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: calc(var(--s) * 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
}
.radar__cross::before,
.radar__cross::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
}
.radar__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 270deg, rgba(var(--accent-rgb), 0.05) 300deg, rgba(var(--accent-rgb), 0.45) 359deg, transparent 360deg);
  animation: spin var(--T) linear infinite;
}
.radar__sweep::after {
  /* leading edge line */
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 2px; height: 50%;
  margin-left: -1px;
  background: linear-gradient(to top, rgba(255, 138, 147, 0.1), rgba(255, 138, 147, 0.9));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.9);
}
.radar__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #1d0a0d, #09090b 70%);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.6), 0 0 30px -4px rgba(var(--accent-rgb), 0.55), inset 0 0 24px rgba(var(--accent-rgb), 0.2);
  z-index: 2;
}
.radar__core img { width: 34%; height: auto; margin-bottom: 2px; }
.radar__core b { font-size: clamp(16px, 4.2vw, 24px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.radar__core span { font-size: clamp(10px, 2.6vw, 12.5px); color: var(--text-2); }

.rchip {
  position: absolute;
  left: calc(50% + var(--r) * var(--sx));
  top: calc(50% + var(--r) * var(--cy));
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-2);
  background: rgba(12, 12, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px -12px #000;
  animation: chip var(--T) linear infinite;
  /* negative delay: the chip peaks exactly when the sweep (which starts at 0deg) reaches --a */
  animation-delay: calc((var(--a) / 360 - 1) * var(--T));
}
.rchip .ic { width: 16px; height: 16px; color: var(--text-3); animation: chipic var(--T) linear infinite; animation-delay: inherit; }
@media (max-width: 400px) {
  .rchip { font-size: 11px; padding: 5px 8px 5px 6px; gap: 5px; }
  .rchip .ic { width: 14px; height: 14px; }
}

@keyframes chip {
  0% { color: #fff; border-color: rgba(var(--accent-rgb), 0.9); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.3), 0 0 22px -2px rgba(var(--accent-rgb), 0.8); background: rgba(40, 8, 12, 0.95); }
  35% { color: var(--text); border-color: rgba(var(--accent-rgb), 0.35); box-shadow: 0 0 12px -6px rgba(var(--accent-rgb), 0.5); background: rgba(20, 10, 12, 0.93); }
  60%, 100% { color: var(--text-2); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 8px 20px -12px #000; background: rgba(12, 12, 14, 0.92); }
}
@keyframes chipic {
  0% { color: var(--accent); }
  35% { color: var(--accent-soft); }
  60%, 100% { color: var(--text-3); }
}

/* C: ping */
.ping { padding: 18px 18px 14px; }
.ping__top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ping__meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}
.ping__meter--ok { border-color: rgba(var(--accent-rgb), 0.35); box-shadow: inset 0 0 20px rgba(var(--accent-rgb), 0.1); }
.ping__lbl { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.ping__lbl .d { width: 10px; height: 3px; border-radius: 2px; flex: none; }
.ping__meter--bad .d { background: #6c6869; }
.ping__meter--ok .d { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ping__val { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.ping__val b { font-size: clamp(24px, 5vw, 32px); font-weight: 600; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.ping__meter--bad .ping__val b { color: var(--text-2); }
.ping__meter--ok .ping__val b { color: #fff; text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.7); }

.ping__chart {
  position: relative;
  margin-top: 14px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ping__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ping__grid line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.ping__track { animation: track 26.5s linear infinite; }
.ping__bad { fill: none; stroke: #77706f; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: 0.85; }
.ping__ok { fill: none; stroke: var(--accent); stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 46, 62, 0.9)); }
.ping__okfill { fill: url(#okFill); stroke: none; }
.ping__axis {
  position: absolute;
  left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  transform: translateY(-50%);
}
.ping__axis--1 { top: 12px; transform: none; }
.ping__axis--2 { top: 50%; }
.ping__axis--3 { bottom: 6px; transform: none; }

@keyframes track { to { transform: translateX(-612px); } }

/* ---------- generic section ---------- */
.sect { padding: 88px 0 8px; }
@media (min-width: 960px) { .sect { padding: 128px 0 16px; } }
.sect__head { margin-bottom: 32px; }
.sect__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sect__head--center .lead { margin-inline: auto; }

/* 7. mini cards */
.mini { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mini { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mini { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.minicard {
  padding: 22px 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.minicard img { width: 72px; height: 72px; margin: -4px 0 14px -6px; filter: drop-shadow(0 8px 18px rgba(var(--accent-rgb), 0.25)); }
.minicard h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.minicard p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

@media (hover: hover) {
  .fcard:hover,
  .minicard:hover,
  .step:hover,
  .plan:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 26px rgba(var(--accent-rgb), 0.08), 0 0 32px -10px rgba(var(--accent-rgb), 0.55), 0 24px 40px -24px #000;
  }
  .fcard:hover::after,
  .minicard:hover::after,
  .step:hover::after,
  .plan:hover::after { background: var(--rim); }
}

/* ---------- 8. pricing ---------- */
.periods {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto 20px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.period {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 50px;
  padding: 6px 4px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.period em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-soft);
}
.period:hover { color: var(--text); }
.period[aria-checked='true'] {
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.28), rgba(var(--accent-2-rgb), 0.3));
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.55), 0 0 16px -6px rgba(var(--accent-rgb), 0.9);
}
.period[aria-checked='true'] em { color: #ffd0d4; }

.trial {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 12px 14px 12px 12px;
  background:
    radial-gradient(90% 160% at 0% 50%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    var(--glass);
  transition: box-shadow 0.25s ease;
}
.trial::after { background: var(--rim); }
.trial:hover { box-shadow: var(--red-glow); }
.trial img { width: 52px; height: 52px; flex: none; }
.trial__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.trial__txt b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.trial__txt > span { font-size: 13.5px; color: var(--text-2); }
.trial__go {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: radial-gradient(130% 160% at 50% -20%, #ff3a4b 0%, #c8101f 42%, #6d0711 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 130, 140, 0.45), 0 0 18px -6px rgba(var(--accent-rgb), 0.8);
}
.trial__go .ic { width: 18px; height: 18px; }

.plans {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .plans { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.plan {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan--pop {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(var(--accent-rgb), 0.2), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(var(--accent-2-rgb), 0.3), transparent 60%),
    var(--glass);
  box-shadow: inset 0 0 26px rgba(var(--accent-rgb), 0.12), 0 0 40px -12px rgba(var(--accent-rgb), 0.55), 0 20px 40px -28px #000;
}
.plan--pop::after { background: var(--rim); padding: 1.5px; }
.plan__badge {
  position: absolute;
  top: 18px; right: 16px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: radial-gradient(130% 160% at 50% -20%, #ff3a4b 0%, #c8101f 42%, #6d0711 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 130, 140, 0.45), 0 0 16px -4px rgba(var(--accent-rgb), 0.9);
}
.plan__head { display: flex; align-items: center; gap: 12px; }
.plan__head img { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 6px 14px rgba(var(--accent-rgb), 0.3)); }
.plan__name { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.plan__tag { font-size: 13px; color: var(--muted); margin-top: 1px; }

.plan__price {
  margin-top: 18px;
  padding: 16px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.plan__amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__amount b {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.plan--pop .plan__amount b { text-shadow: 0 0 28px rgba(var(--accent-rgb), 0.45); }
.plan__amount span { font-size: 15px; color: var(--text-2); font-weight: 500; }
.plan__amount.bump b { animation: bump 0.35s ease; }
.plan__meta { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-top: 10px; }
.plan__old { font-size: 14px; color: var(--text-3); text-decoration-color: rgba(var(--accent-rgb), 0.7); }
.plan__old:empty { display: none; }
.plan__save {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #ffd0d4;
  background: rgba(var(--accent-rgb), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.5);
}
.plan__total { margin-top: 6px; font-size: 13.5px; color: var(--text-2); }

.plan__list { display: grid; gap: 10px; margin: 18px 0 22px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); line-height: 1.35; }
.plan__list .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 0; }
.plan__cta { width: 100%; }

/* add-ons */
.addons { margin-top: 32px; }
.addons__h {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.addons__row { display: grid; gap: 12px; }
@media (min-width: 760px) { .addons__row { grid-template-columns: 1fr 2fr; } }
.addon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
}
.addon__ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent-soft);
  background: rgba(var(--accent-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35);
}
.addon b { display: block; font-size: 15px; font-weight: 700; }
.addon > div > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--text-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.pill b { display: inline; color: var(--text); font-size: inherit; }
.addons__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-2);
}
.addons__note .ic { width: 18px; height: 18px; color: var(--accent-soft); margin-top: 1px; }

/* ---------- 9. steps ---------- */
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:first-child {
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%),
    var(--glass);
}
.step:first-child::after { background: var(--rim); }
.step__n {
  position: absolute;
  top: 10px; right: 18px;
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), 0.35);
  pointer-events: none;
}
.step__art { width: 76px; height: 76px; margin: -4px 0 12px -6px; filter: drop-shadow(0 8px 18px rgba(var(--accent-rgb), 0.3)); }
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.step .btn { margin-top: 18px; }

/* ---------- 10. FAQ ---------- */
@media (min-width: 960px) {
  .faq__wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq__wrap .sect__head { position: sticky; top: calc(var(--hdr-h) + 32px); }
}
.faq { display: grid; gap: 10px; }
.qa { border-radius: 16px; }
.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
  z-index: 2;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '';
  width: 28px; height: 28px; flex: none;
  border-radius: 9px;
  background:
    linear-gradient(var(--accent-soft), var(--accent-soft)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-soft), var(--accent-soft)) center / 2px 12px no-repeat,
    rgba(var(--accent-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.35);
  transition: background 0.2s ease;
}
.qa[open] summary::after {
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    rgba(var(--accent-rgb), 0.28);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.7), 0 0 14px -4px rgba(var(--accent-rgb), 0.9);
}
.qa[open] { box-shadow: inset 0 0 26px rgba(var(--accent-rgb), 0.07), 0 20px 40px -28px #000; }
.qa[open]::after { background: var(--rim); }
.qa__a { padding: 0 20px 20px; color: var(--text-2); font-size: 15px; line-height: 1.6; position: relative; z-index: 2; }
.qa[open] .qa__a { animation: fadeDown 0.3s ease; }

/* ---------- 11. final CTA ---------- */
.sect--last { padding-bottom: 88px; }
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 36px 20px 32px;
  border-radius: 28px;
  background:
    radial-gradient(90% 120% at 50% 120%, rgba(var(--accent-rgb), 0.45), transparent 60%),
    radial-gradient(60% 80% at 0% 0%, rgba(var(--accent-2-rgb), 0.45), transparent 70%),
    linear-gradient(180deg, #1c0a0d 0%, #0b0405 100%);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.7),
    0 0 50px -10px rgba(var(--accent-rgb), 0.5),
    inset 0 0 40px rgba(var(--accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.final__art { width: 112px; height: 112px; filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.55)); }
.final .h2 { font-size: clamp(26px, 3.6vw, 40px); max-width: 760px; }
.final .lead { margin-inline: auto; }
@media (min-width: 900px) {
  .final {
    flex-direction: row;
    text-align: left;
    padding: 40px 48px;
    gap: 36px;
  }
  .final__art { width: 150px; height: 150px; }
  .final__copy { flex: 1; }
  .final .lead { margin-inline: 0; }
}
@media (max-width: 380px) {
  .final .btn { width: 100%; white-space: normal; }
}

/* ---------- 12. footer ---------- */
.ftr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 6, 0.6);
  padding: 48px 0 28px;
}
.ftr__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 2fr 1fr 1.3fr; } }
.ftr__brand p { margin-top: 14px; color: var(--text-2); font-size: 14.5px; max-width: 340px; }
.ftr__brand .brand__mark { width: 30px; height: 30px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr__h { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ftr__col a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.ftr__col a:hover { color: var(--accent-soft); }
.ftr__base {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-3);
}
.ftr__base::before {
  content: '';
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.ftr__up:hover { color: var(--text); }

/* ---------- small-screen tuning ---------- */
@media (max-width: 400px) {
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .btn--lg { padding-inline: 18px; }
  .plan__amount b { font-size: 40px; }
  .period { font-size: 13px; }
  .ping { padding: 14px 12px 12px; }
  .ping__meter { padding: 10px 10px; }
  .ping__lbl { font-size: 11.5px; gap: 6px; }
  .addon { padding: 14px; }
}
@media (max-width: 340px) {
  .hdr__actions .btn--sm { padding-inline: 12px; font-size: 13px; }
  .trial { flex-wrap: wrap; }
  .trial__go { display: none; }
}

/* ---------- reveal ---------- */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js-reveal .reveal.in { opacity: 1; transform: none; }
/* once revealed, hover transitions shouldn't inherit the stagger delay */
.js-reveal .reveal.in:hover { transition-delay: 0s !important; }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes bump { 0% { transform: translateY(-4px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .radar__sweep { transform: rotate(40deg); }
  .rchip:nth-of-type(1) { color: #fff; border-color: rgba(var(--accent-rgb), 0.8); }
}
