/* ============================================================
   QUIFY Landing — design tokens ported from the app
   (ui_design_system.md: black canvas, #2F80ED accent,
    #EAF2FD text, #333540 borders, r30 cards, ultralight display)
   ============================================================ */

:root {
  --black: #000000;
  --text: #EAF2FD;
  --muted: #8C8C8C;
  --muted-2: #595959;
  --line: #333540;
  --blue: #2F80ED;
  --blue-deep: #102D53;
  --blue-active: #153A6B;
  --blue-soft: #BFD8F9;
  --green: #39AD86;
  --green-2: #27AE60;
  --r-card: 30px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --pad-x: clamp(20px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

/* hard clamp on horizontal overflow — nothing may widen the page */
html { overflow-x: clip; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blue); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ Smooth scroll wrapper ============ */
body.smooth #smooth-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
#smooth-content { will-change: transform; }

/* ============ Grain / atmosphere ============ */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2%,1%); }
  50% { transform: translate(1%,-2%); }
  75% { transform: translate(-1%,2%); }
  100% { transform: translate(0,0); }
}

/* ============ Cursor ============ */
.cursor-dot, .cursor-ring, .mouse-glow { pointer-events: none; }
.cursor-dot {
  position: fixed; z-index: 300;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
  transform: translate(-50%,-50%);
  transition: opacity .3s;
}
.cursor-ring {
  position: fixed; z-index: 300;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(234,242,253,0.35);
  transform: translate(-50%,-50%);
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: rgba(47,128,237,0.8);
  background: rgba(47,128,237,0.08);
}
.mouse-glow {
  position: fixed; z-index: 1;
  width: 700px; height: 700px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(47,128,237,0.10) 0%, rgba(47,128,237,0.04) 35%, transparent 70%);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring, .mouse-glow { display: none; }
}

/* ============ Progress bar ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 400;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 14px var(--pad-x);
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: 4px;
}
.logo-img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; gap: 34px; }
.site-nav a, .footer-nav a {
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.4px;
  transition: color .25s;
  position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
@media (max-width: 760px) { .site-nav { display: none; } }

/* ============ Buttons (AppButton port: 66pt pill, r30) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 62px; padding: 0 36px;
  border-radius: var(--r-card);
  font-size: 14px; font-weight: 600; letter-spacing: -0.28px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .3s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: #fff; color: #000;
  border: 0.5px solid #fff;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 40px rgba(234,242,253,0.25);
}
.btn-secondary {
  background: transparent; color: var(--text);
  border: 0.5px solid var(--text);
  font-weight: 400;
}
.btn-secondary:hover { border-color: var(--blue-soft); color: var(--blue-soft); }
.btn-sm { height: 46px; padding: 0 24px; }
.btn-lg { height: 70px; padding: 0 44px; font-size: 15px; }

/* ============ App Store badge ============ */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 14px;
  height: 66px; padding: 0 30px;
  border-radius: var(--r-card);
  background: #fff; color: #000;
  border: 0.5px solid #fff;
  transition: transform .15s ease, box-shadow .3s ease, background .2s ease;
  will-change: transform;
}
.appstore-badge:hover { background: rgba(255,255,255,0.92); box-shadow: 0 0 44px rgba(234,242,253,0.25); }
.appstore-badge:active { transform: scale(0.97); }
.ab-logo { width: 26px; height: 26px; flex-shrink: 0; }
.ab-text {
  display: flex; flex-direction: column;
  font-size: 19px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.1;
}
.ab-text small { font-size: 10.5px; font-weight: 400; letter-spacing: 0.4px; opacity: 0.75; }
.appstore-badge-lg { height: 76px; padding: 0 38px; }
.appstore-badge-lg .ab-text { font-size: 22px; }
.appstore-badge-lg .ab-logo { width: 30px; height: 30px; }

/* ============ Typography ============ */
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 26px;
}
.eyebrow-green { color: var(--green); }

.hero-title, .cta-title {
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
/* split hero: title lives in a column, size down a notch */
.hero-split .hero-title { font-size: clamp(42px, 5.6vw, 84px); }
.section-title {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.accent-word { color: var(--blue); }
.section-sub {
  max-width: 520px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* line-mask reveal (title lines slide up) */
.line-mask { display: block; overflow: hidden; }
.reveal-line {
  display: block;
  transform: translateY(115%);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.in-view .reveal-line, .reveal-line.in-view { transform: translateY(0); }

/* generic reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .48s; }
.d5 { transition-delay: .6s; }
.d6 { transition-delay: .75s; }

/* ============ Hero (split: big phone left, message right) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 100px;
  overflow: hidden;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
.hero-inner { position: relative; z-index: 5; }
.hero-title { text-align: left; }
.hero-sub {
  max-width: 560px; margin: 34px 0 0;
  color: var(--muted); font-size: 17px; line-height: 1.75;
}
.hero-cta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 44px;
}
.trust-line {
  display: flex; align-items: center; gap: 12px;
  margin-top: 26px;
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.3px;
}
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 14px; height: 14px; fill: var(--blue-soft); }
/* hero rating: big golden stars + bold white 5.0, sits above the CTA row */
.trust-line { margin-top: 36px; }
.stars-gold svg {
  width: 44px; height: 44px;
  fill: #FFC94D;
  filter: drop-shadow(0 0 14px rgba(255,201,77,0.4));
}
.stars-gold { gap: 6px; }
.rating-num {
  font-size: 36px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.trust-note { font-size: 13px; }
@media (max-width: 560px) {
  .stars-gold svg { width: 30px; height: 30px; }
  .rating-num { font-size: 26px; }
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-inner { order: 1; }
  .hero-split .hero-phone { order: 2; margin-top: 30px; }
  .hero-title { text-align: center; }
  .hero-sub { margin: 34px auto 0; }
  .hero-cta, .trust-line { justify-content: center; }
}

.hero-orb {
  position: absolute; z-index: 1;
  top: 8%; left: 50%;
  width: 640px; height: 640px;
  margin-left: -320px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    rgba(47,128,237,0.28) 0%,
    rgba(47,128,237,0.12) 32%,
    rgba(16,45,83,0.18) 55%,
    transparent 72%);
  filter: blur(2px);
  will-change: transform;
  animation: orb-breathe 7s ease-in-out infinite;
}
@keyframes orb-breathe {
  0%, 100% { scale: 1; opacity: .9; }
  50% { scale: 1.07; opacity: 1; }
}

/* DecorativeHalos port — concentric border circles */
.hero-halo {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.5);
  will-change: transform;
}
.hero-halo-1 { width: 520px; height: 520px; top: -220px; left: -160px; }
.hero-halo-2 { width: 700px; height: 700px; bottom: -350px; right: -260px; opacity: .7; }

/* ============ Phone mockups ============ */
.phone {
  position: relative;
  width: clamp(320px, 30vw, 430px);
  /* iPhone 14 Pro screen-recording aspect (1179×2556) so videos fit uncropped */
  aspect-ratio: 1179 / 2556;
  border-radius: 54px;
  border: 1px solid var(--line);
  background: #0A0A0D;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.9),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  will-change: transform;
}
.phone-hero { width: clamp(340px, 34vw, 500px); }
.phone-sm { width: clamp(300px, 26vw, 380px); }
@media (max-width: 560px) {
  .phone, .phone-hero, .phone-sm { width: min(86vw, 360px); }
}
.phone-notch {
  position: absolute; z-index: 3;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px;
  border-radius: 100px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.05);
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: #050507;
}
.phone-screen img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* videos sit above the fallback image; if the .mp4 is missing, onerror hides it
   and the .png below (or the placeholder) shows instead */
.phone-screen video {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Plan switcher screens (img + video alike): stacked, crossfade + scale */
.phone-screen .plan-img {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.phone-screen .plan-img.is-active { opacity: 1; transform: scale(1); }
.phone-screen .img-missing { visibility: hidden; }

/* placeholder shown until you drop a screenshot into assets/ */
.phone-placeholder {
  position: absolute; inset: 12px; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--line);
  border-radius: 28px;
  text-align: center; padding: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47,128,237,0.08), transparent 60%);
}
.ph-icon { width: 36px; height: 36px; color: var(--muted-2); }
.ph-name {
  font-size: 11px; color: var(--blue-soft);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(47,128,237,0.1);
  border: 1px solid rgba(47,128,237,0.25);
  padding: 5px 10px; border-radius: 100px;
}
.ph-hint { font-size: 11px; color: var(--muted-2); line-height: 1.5; max-width: 180px; }

.hero-phone {
  position: relative; z-index: 4;
  display: flex; justify-content: center;
}
.phone-glow {
  position: absolute; z-index: -1;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,242,253,0.07) 0%, transparent 65%);
}
.glow-blue { background: radial-gradient(circle, rgba(47,128,237,0.14) 0%, transparent 65%); }
.glow-green { background: radial-gradient(circle, rgba(57,173,134,0.14) 0%, transparent 65%); }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted-2);
  z-index: 5;
}
.scroll-hint span {
  width: 1px; height: 46px;
  background: linear-gradient(var(--blue), transparent);
  animation: hint-drop 2s ease-in-out infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  position: relative;
}
.marquee-track {
  display: flex; align-items: center; gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 200; letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee i { font-style: normal; font-size: 8px; color: var(--blue); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  background: var(--black);
  padding: clamp(40px, 5vw, 70px) clamp(24px, 3vw, 50px);
}
.stat-value {
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 200; letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 12px;
  font-size: 13px; color: var(--muted); line-height: 1.6;
  max-width: 240px;
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ============ Sections ============ */
.section {
  position: relative;
  padding: clamp(110px, 14vw, 200px) var(--pad-x);
  overflow: hidden;
}
.section-head { max-width: 820px; margin-bottom: clamp(50px, 6vw, 90px); }
.section-halo {
  position: absolute; z-index: 0;
  width: 800px; height: 800px; border-radius: 50%;
  pointer-events: none;
}
.halo-green {
  top: -200px; right: -300px;
  background: radial-gradient(circle, rgba(57,173,134,0.12) 0%, transparent 65%);
}
.halo-blue {
  bottom: -300px; left: -300px;
  background: radial-gradient(circle, rgba(47,128,237,0.12) 0%, transparent 65%);
}

/* ============ Problem block — brutalist white cards ============ */
.bru-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bru-card {
  position: relative;
  min-height: clamp(280px, 30vw, 380px);
  border-radius: 40px;
  background: #F2F2F0;
  color: #0A0A0A;
  padding: 32px 36px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 60px;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  will-change: transform;
}
.bru-card:hover { box-shadow: 0 40px 90px rgba(0,0,0,0.55); }
.bru-tag {
  align-self: flex-start;
  font-size: 12.5px; font-weight: 500;
  color: #555;
  background: #E3E3E0;
  border-radius: 100px;
  padding: 9px 18px;
}
.bru-text {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400; line-height: 1.45;
  letter-spacing: -0.02em;
  color: #8a8a88;
  max-width: 30ch;
}
.bru-text b { color: #0A0A0A; font-weight: 600; }
.bru-card-dark {
  background: linear-gradient(135deg, #0b1526 0%, var(--blue-deep) 130%);
  border: 1px solid rgba(47,128,237,0.35);
  color: var(--text);
}
.bru-card-dark .bru-text { color: rgba(234,242,253,0.55); }
.bru-card-dark .bru-text b { color: var(--text); }
.bru-tag-dark { background: rgba(47,128,237,0.16); color: var(--blue-soft); }
@media (max-width: 800px) { .bru-grid { grid-template-columns: 1fr; } }

/* FAQ ambient strip — sits above the title, block-width; the video keeps
   its natural aspect (no crop) and has no border */
.faq-video {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  border-radius: var(--r-card);
  overflow: hidden;
}
.faq-video video {
  display: block;
  width: 100%; height: auto;
}

/* AI assistant voice */
.ai-dot {
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--blue-soft), var(--blue));
  box-shadow: 0 0 12px rgba(47,128,237,0.9);
  animation: ai-pulse 2.4s ease-in-out infinite;
  vertical-align: 1px;
}
@keyframes ai-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(47,128,237,0.7); }
  50% { transform: scale(1.25); box-shadow: 0 0 20px rgba(47,128,237,1); }
}
.ai-line {
  margin-top: 26px;
  max-width: 640px;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.45;
  color: var(--text);
}
.faq-section .ai-line { margin-left: auto; margin-right: auto; }

/* per-card AI quip */
.card-ai {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 14.5px; font-weight: 300;
  letter-spacing: -0.01em;
  color: rgba(234,242,253,0.85);
  line-height: 1.6;
}
.card-ai .ai-dot { width: 7px; height: 7px; flex-shrink: 0; align-self: center; }

/* card art slot (PNG on top of each how-card) */
.card-art {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.02);
}
.card-art img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-art-ph {
  position: absolute; inset: 8px; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
}
.card-art-ph .ph-icon { width: 26px; height: 26px; }
/* the how-* images have alpha — hide the placeholder entirely once loaded,
   otherwise the dashed hint shows through the transparent areas */
.card-art.loaded .card-art-ph { display: none; }

/* cards sitting over the video need a solid-ish fill (no glassmorphism —
   plain black at reduced opacity, per the app's rules). Doubled class beats
   the later `.card { background: var(--black) }` rule. */
.card.card-glass { background: rgba(0,0,0,0.72); }

/* ============ 3-card row ============ */
.cards-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 44px 34px 34px;
  background: var(--black);
  transition: border-color .35s ease, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  will-change: transform;
}
.card:hover {
  border-color: rgba(47,128,237,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 60px rgba(47,128,237,0.06);
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-num {
  font-size: 12px; letter-spacing: 3px;
  color: var(--muted-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.card-ico { width: 26px; height: 26px; color: var(--blue-soft); }
.card h3 {
  margin: 20px 0 14px;
  font-size: 26px; font-weight: 300; letter-spacing: -0.02em;
}
.card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-line {
  height: 1px; background: var(--line);
  margin: 28px 0 18px;
}
.card-tag {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue);
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* ============ Split sections ============ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split-reverse { grid-template-columns: 0.9fr 1.1fr; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-phone { order: 1; }
.split-phone {
  position: relative;
  display: flex; justify-content: center;
}
@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-phone { order: 2; }
}

/* Plans section: named areas so the phone slots between the chips and the
   plan-modes list on mobile (chips → phone → text), while desktop keeps
   the phone in the right column */
#plans.split {
  grid-template-areas:
    "text phone"
    "extras phone";
}
#plans .split-text { grid-area: text; align-self: end; }
#plans .split-phone { grid-area: phone; }
#plans .plan-extras { grid-area: extras; align-self: start; }
@media (max-width: 900px) {
  #plans.split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "phone"
      "extras";
  }
  #plans .split-phone { margin-top: 6px; }
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 13px; color: var(--text);
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}
.chip:hover { border-color: var(--blue-soft); transform: translateY(-2px); }
.chip-accent { border-color: var(--blue); color: var(--blue-soft); background: rgba(47,128,237,0.08); }
button.chip { cursor: pointer; }
.plan-chip.is-active {
  background: #fff; color: #000;
  border-color: #fff;
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin-top: 34px;
  display: flex; flex-direction: column; gap: 16px;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--blue);
}
.feature-list b { color: var(--text); font-weight: 600; }

/* ============ Health bars ============ */
.health-bars {
  margin-top: 38px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 500px;
}
.hbar { display: flex; align-items: center; gap: 18px; }
.hbar-ico {
  flex-shrink: 0;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(57,173,134,0.4);
  background: radial-gradient(circle at 30% 25%, rgba(99,214,188,0.14), transparent 70%);
  color: #63D6BC;
}
.hbar-ico svg { width: 28px; height: 28px; }
.hbar-main { flex: 1; min-width: 0; }
.hbar span { font-size: 13px; color: var(--muted); display: block; margin-bottom: 8px; }
.hbar-track {
  height: 8px; border-radius: 100px;
  background: rgba(234,242,253,0.08);
  overflow: hidden;
}
.hbar-fill {
  height: 100%; width: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, #1F3329, var(--green), #63D6BC);
  transition: width 1.6s cubic-bezier(.22,1,.36,1);
}
.in-view .hbar-fill, .health-bars.in-view .hbar-fill { width: var(--w); }

/* ============ Library ============ */
.library-section .section-head { text-align: left; }
.typewriter-title { min-height: 2.3em; }
.tw-caret {
  display: inline-block;
  width: 3px; height: 0.85em;
  margin-left: 6px;
  background: var(--blue);
  vertical-align: -0.08em;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* Scrollytelling: card column left, manually-pinned phone right.
   JS drives .is-active on steps + phone screens as you scroll. */
.lib-scroll {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.lib-steps {
  display: flex; flex-direction: column;
  gap: clamp(60px, 8vh, 110px);
  padding: 10vh 0 14vh;
}
.lib-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 36px;
  max-width: 560px;
  background: var(--black);
  opacity: 0.35;
  transform: scale(0.98);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1),
              border-color .5s ease, box-shadow .5s ease;
  will-change: transform;
}
.lib-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(47,128,237,0.55);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 70px rgba(47,128,237,0.07);
}
.lib-card.is-active .lib-ico { border-color: var(--blue); color: var(--blue-soft); }
.lib-ico {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  margin-bottom: 22px;
  transition: border-color .5s, color .5s;
}
.lib-ico svg { width: 22px; height: 22px; }
.lib-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.lib-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

.lib-pin {
  position: relative;
  will-change: transform;
  padding-top: 10vh;
}
.phone-screen .lib-img {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.phone-screen .lib-img.is-active { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .lib-scroll { grid-template-columns: 1fr; }
  .lib-pin { display: none; }               /* on mobile the cards carry the story */
  .lib-steps { padding: 0; gap: 24px; }
  .lib-card { opacity: 1; transform: none; }
}

/* ============ Levels strip ============ */
.levels-section { padding-left: 0; padding-right: 0; }
.levels-section .section-head, .levels-foot { padding: 0 var(--pad-x); }

/* manual pin: outer defines scroll distance, inner is translated by JS */
.levels-pin-outer { height: 280vh; }
.levels-pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  will-change: transform;
}
.levels-pin .section-head { margin-bottom: clamp(30px, 4vw, 60px); }

.levels-viewport { overflow: hidden; padding: 20px 0; }
.levels-strip {
  display: flex; gap: 20px;
  width: max-content;
  padding: 0 var(--pad-x);
  will-change: transform;
}
.level-card {
  position: relative;
  width: clamp(240px, 26vw, 320px);
  height: clamp(300px, 32vw, 400px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 130%);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  flex-shrink: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.level-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lv-num {
  font-size: 12px; letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.lv-name {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 200; letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}
.levels-foot {
  margin: clamp(60px, 8vw, 110px) auto 0;   /* centered on screen */
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  justify-items: center;
  max-width: 1000px;
}
.levels-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.levels-copy p { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 440px; }
.levels-foot-reverse {
  grid-template-columns: 1fr auto;
  margin: clamp(70px, 9vw, 130px) auto 0;
}
@media (max-width: 800px) {
  .levels-foot, .levels-foot-reverse { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .levels-foot-reverse .levels-copy { order: 1; }
  .levels-foot-reverse .split-phone { order: 2; }
}

/* Touch / narrow screens: the scroll-driven pin fights native scrolling and
   judders — switch to a plain finger-scrollable horizontal strip instead */
@media (hover: none), (max-width: 900px) {
  .levels-pin-outer { height: auto; }
  .levels-pin { min-height: 0; transform: none !important; }
  .levels-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .levels-viewport::-webkit-scrollbar { display: none; }
  .levels-strip { transform: none !important; }
}

/* ============ Metrics ============ */
.metrics-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.metric-tile {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(36px, 4vw, 56px) clamp(26px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 10px;
  background: var(--black);
  transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .35s;
  will-change: transform;
}
.metric-tile:hover { border-color: rgba(234,242,253,0.35); }
.mt-green {
  background:
    radial-gradient(circle at 0% 0%, rgba(99,214,188,0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(57,173,134,0.18), transparent 55%),
    var(--black);
  border-color: rgba(57,173,134,0.4);
}
.mt-blue {
  background:
    radial-gradient(circle at 0% 0%, rgba(90,169,255,0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(47,128,237,0.18), transparent 55%),
    var(--black);
  border-color: rgba(47,128,237,0.4);
}
.mt-value {
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 300; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mt-label { font-size: 13px; color: var(--muted); letter-spacing: 0.3px; }
.metrics-note { margin-top: 26px; font-size: 12px; color: var(--muted-2); }
@media (max-width: 860px) { .metrics-row { grid-template-columns: 1fr; } }

/* ============ Reviews ============ */
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  background: var(--black);
  transition: border-color .35s, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  will-change: transform;
}
.review-card:hover {
  border-color: rgba(234,242,253,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.review-card h4 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.review-card .stars svg { width: 26px; height: 26px; fill: #FFC94D; }
.review-card .stars { gap: 5px; }
.review-card p {
  color: var(--text); font-size: 15px; line-height: 1.75;
  font-weight: 300; letter-spacing: -0.01em;
}
.review-card footer { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-card footer b { font-size: 13.5px; font-weight: 600; }
.review-card footer span { font-size: 12px; color: var(--muted); }

/* ============ FAQ (centered block) ============ */
.faq-section .section-head {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 6px;
  background: none; border: none;
  font-family: inherit; text-align: left;
  font-size: clamp(17px, 2vw, 21px); font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  transition: color .25s;
}
.faq-q:hover { color: var(--blue-soft); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--muted);
  transition: transform .4s cubic-bezier(.22,1,.36,1), color .25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-soft); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.22,1,.36,1);
}
.faq-a p {
  padding: 0 6px 28px;
  color: var(--muted); font-size: 14.5px; line-height: 1.8;
  max-width: 620px;
}

/* ============ Privacy ============ */
/* overflow visible + tight padding so the blue glows of this section and
   the CTA below blend into one continuous field instead of being clipped
   at the section edges */
.privacy-section {
  display: flex; justify-content: center;
  overflow: visible;
  padding-bottom: 10px;
}
.privacy-card {
  position: relative; z-index: 2;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: clamp(50px, 6vw, 90px);
  text-align: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.privacy-ico {
  width: 64px; height: 64px; margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue-soft);
}
.privacy-ico svg { width: 26px; height: 26px; }
.privacy-card h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 200; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.privacy-card p { color: var(--muted); font-size: 15.5px; line-height: 1.8; max-width: 540px; margin: 0 auto; }
.privacy-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }

/* ============ CTA ============ */
.cta-section {
  position: relative;
  text-align: center;
  padding: clamp(40px, 5vw, 70px) var(--pad-x) clamp(110px, 12vw, 170px);
  overflow: visible;
}
.cta-section .section-sub { margin-left: auto; margin-right: auto; }
.cta-section .eyebrow { margin-bottom: 30px; }
.cta-section .hero-cta { justify-content: center; }
.cta-halo {
  position: absolute; z-index: 0;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,128,237,0.14) 0%, rgba(16,45,83,0.1) 40%, transparent 70%);
  pointer-events: none;
}
/* :not(.cta-halo) — the halo must stay absolutely positioned; without the
   exclusion this rule pulled it into the flow as a 900px block, bloating the
   gap above the CTA and clipping the glow */
.cta-section > *:not(.cta-halo) { position: relative; z-index: 2; }
.cta-fine { margin-top: 24px; font-size: 12px; color: var(--muted-2); letter-spacing: 1px; }

/* ============ Made by (justvova.com) ============ */
.vova-section {
  position: relative;
  border-top: 1px solid var(--line);
}
.vova-link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(380px, 60vh, 640px);
  overflow: hidden;
}
/* video stays perfectly static — no mouse-follow, no hover scale
   (moving it exposed flickering edges and hurt performance) */
.vova-video {
  position: absolute;
  inset: -2px;               /* bleed past the box so no edge lines show */
  width: calc(100% + 4px); height: calc(100% + 4px);
  object-fit: cover;
  opacity: 0.55;
  transition: opacity .6s ease;
}
.vova-link:hover .vova-video { opacity: 0.75; }
.vova-inner { will-change: transform; }
.vova-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.25) 70%, var(--black) 100%);
  pointer-events: none;
}
.vova-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 60px var(--pad-x);
}
.vova-title {
  display: block;
  font-size: clamp(52px, 10vw, 150px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.vova-title sup { font-size: 0.22em; font-weight: 400; vertical-align: super; letter-spacing: 0; }
.vova-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px;
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.vova-cta svg { width: 18px; height: 18px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.vova-link:hover .vova-cta { color: var(--text); }
.vova-link:hover .vova-cta svg { transform: translateX(6px); }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px var(--pad-x) 40px;
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
/* brutalist mega-contact */
.footer-mega {
  display: block;
  padding: clamp(40px, 7vw, 90px) 0;
  /* sized so the 21-char address never exceeds the viewport width */
  font-size: clamp(20px, 7.6vw, 130px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  transition: color .3s ease, text-shadow .3s ease;
}
.footer-mega:hover {
  color: #fff;
  text-shadow: 0 0 60px rgba(47,128,237,0.5);
}
.footer-nav { display: flex; gap: 28px; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
  font-size: 12.5px; color: var(--muted-2);
}
.footer-company {
  display: inline-flex; align-items: center; gap: 12px;
}
.footer-company img { height: 22px; width: auto; opacity: 0.85; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); transition: color .25s; }
.footer-legal a:hover { color: var(--text); }

/* ============================================================
   Legal pages (privacy.html / terms.html)
   ============================================================ */
.legal-body { background: var(--black); }
.legal-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 160px var(--pad-x) 80px;
}
.legal-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 200; letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.legal-version { color: var(--muted); font-size: 14px; margin-bottom: 40px; }

/* doc switch pills */
.legal-switch { display: inline-flex; gap: 8px; margin-bottom: 44px; }
.legal-switch a {
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
  transition: color .25s, border-color .25s, background .25s;
}
.legal-switch a:hover { color: var(--text); border-color: var(--blue-soft); }
.legal-switch a.is-current {
  background: #fff; color: #000; border-color: #fff;
  font-weight: 600;
}

/* meta table */
.legal-meta {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-bottom: 30px;
}
.legal-meta-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
.legal-meta-row:last-child { border-bottom: none; }
.legal-meta-row dt {
  padding: 16px 24px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border-right: 1px solid var(--line);
}
.legal-meta-row dd { padding: 16px 24px; font-size: 14px; color: var(--text); }
.legal-meta-row dd a { color: var(--blue-soft); }
@media (max-width: 560px) { .legal-meta-row { grid-template-columns: 130px 1fr; } }

/* important-summary callout */
.legal-callout {
  border: 1px solid rgba(47,128,237,0.4);
  border-radius: var(--r-card);
  background:
    radial-gradient(circle at 0% 0%, rgba(47,128,237,0.14), transparent 55%),
    rgba(16,45,83,0.15);
  padding: 30px 32px;
  margin-bottom: 50px;
}
.legal-callout h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; margin-bottom: 14px;
  color: var(--blue-soft);
}
.legal-callout h3 svg { width: 18px; height: 18px; }
.legal-callout p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-callout p + p { margin-top: 10px; }
.legal-callout b { color: var(--text); font-weight: 600; }

/* search */
.legal-search { position: relative; margin-bottom: 26px; }
.legal-search input {
  width: 100%;
  height: 62px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 0 56px 0 54px;
  outline: none;
  transition: border-color .25s;
}
.legal-search input::placeholder { color: var(--muted-2); }
.legal-search input:focus { border-color: var(--blue-soft); }
.legal-search .ls-icon {
  position: absolute; left: 22px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.legal-search .ls-clear {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: none; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer;
  color: var(--muted); font-size: 16px; font-family: inherit;
  border-radius: 50%;
}
.legal-search .ls-clear:hover { color: var(--text); }
.legal-search.has-query .ls-clear { display: flex; }
.legal-count { font-size: 12.5px; color: var(--muted-2); margin-bottom: 20px; min-height: 18px; }

/* accordion sections */
.legal-list { border-top: 1px solid var(--line); }
.legal-item { border-bottom: 1px solid var(--line); }
.legal-item.hidden-by-search { display: none; }
.legal-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 6px;
  background: none; border: none;
  font-family: inherit; text-align: left;
  font-size: clamp(15.5px, 1.8vw, 18px); font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  transition: color .25s;
}
.legal-q:hover { color: var(--blue-soft); }
.legal-q .faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--muted);
  transition: transform .4s cubic-bezier(.22,1,.36,1), color .25s;
}
.legal-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-soft); }
.legal-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,1,.36,1);
}
.legal-a-inner {
  padding: 2px 6px 30px;
  color: var(--muted);
  font-size: 14.5px; line-height: 1.85;
  max-width: 700px;
}
.legal-a-inner p + p, .legal-a-inner ul + p, .legal-a-inner p + ul { margin-top: 12px; }
.legal-a-inner b { color: var(--text); font-weight: 600; }
.legal-a-inner a { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-a-inner ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-a-inner ul li { position: relative; padding-left: 22px; }
.legal-a-inner ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  border: 1.5px solid var(--blue);
}
.legal-a-inner h4 {
  color: var(--text); font-size: 15px; font-weight: 600;
  margin: 22px 0 8px;
}
.legal-a-inner mark {
  background: rgba(47,128,237,0.35);
  color: var(--text);
  border-radius: 3px;
  padding: 0 2px;
}

.legal-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px var(--pad-x) 50px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted-2);
}
.legal-footer nav { display: flex; gap: 22px; }
.legal-footer a { color: var(--muted); transition: color .25s; }
.legal-footer a:hover { color: var(--text); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-line { opacity: 1; transform: none; }
}
