/* Fyntic AI — design system
   Reference: deep-space control room. Near-black violet canvas, blue horizon halo,
   hairline glass panels, monospace telemetry labels.
   Type: Manrope (200 / 400 / 500 / 800) + JetBrains Mono (400 / 500) for meta.
   Dominant #040208, accent #1452fc -> #4476ff. */

:root {
  --bg: #040208;
  --bg-raised: #0a0713;

  --primary: #1452fc;
  --primary-soft: #4476ff;
  --primary-dim: #0b2a80;

  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-mute: rgba(255, 255, 255, 0.54);
  --ink-faint: rgba(255, 255, 255, 0.36);

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  --panel-hover: linear-gradient(180deg, rgba(68, 118, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 100%);

  --ok: #3ddc97;
  --warn: #ffb257;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1240px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --nav-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.26'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6.1vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
h4 { font-size: 1.16rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 500; }

::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; position: relative; z-index: 1; }
.wrap--narrow { max-width: 880px; }
.section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

/* ---------- typographic utilities ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary-soft);
  padding: 7px 13px 7px 11px;
  border: 1px solid rgba(68, 118, 255, 0.28);
  border-radius: 100px;
  background: rgba(20, 82, 252, 0.09);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-soft); box-shadow: 0 0 10px 2px rgba(68, 118, 255, 0.85); }
.kicker--plain { border-color: var(--line); background: rgba(255, 255, 255, 0.03); color: var(--ink-mute); }
.kicker--plain::before { background: var(--ink-faint); box-shadow: none; }

.mono-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-mute); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}
.btn svg { flex: none; }
.btn--primary {
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(20, 82, 252, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(20, 82, 252, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(4, 2, 8, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(4, 2, 8, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: -0.03em; }
.brand__mark { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(145deg, var(--primary-soft), var(--primary-dim)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px -8px rgba(20, 82, 252, 0.9); }
.brand__mark svg { width: 16px; height: 16px; }
.brand__ai { color: var(--primary-soft); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { font-size: 14.5px; color: var(--ink-mute); padding: 9px 14px; border-radius: 100px; transition: color 0.25s ease, background 0.25s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav__toggle svg { width: 18px; height: 18px; }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 55;
  background: rgba(4, 2, 8, 0.97);
  backdrop-filter: blur(20px);
  padding: 26px 22px 40px;
  display: flex; flex-direction: column; gap: 2px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a { font-size: 19px; color: var(--ink); padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 500; letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(66px, 10vw, 112px) clamp(56px, 8vw, 96px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; left: 50%; top: -6%; width: min(1500px, 155%); transform: translateX(-50%);
  opacity: 0; animation: glowIn 1.6s var(--ease-out) 0.05s forwards;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; mix-blend-mode: screen; }
.hero__dots { position: absolute; left: 50%; top: 0; width: min(1440px, 150%); transform: translateX(-50%); opacity: 0.3; mix-blend-mode: overlay; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 42%; background: linear-gradient(180deg, transparent, var(--bg) 88%); }
@keyframes glowIn { from { opacity: 0; transform: translateX(-50%) translateY(-28px) scale(0.94); } to { opacity: 0.95; transform: translateX(-50%) scale(1); } }

.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin-inline: auto; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #fff 32%, var(--primary-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.03rem, 1.7vw, 1.22rem); color: var(--ink-mute); max-width: 58ch; margin-inline: auto; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-bottom: 20px; }
.hero__note { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }

.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-top: clamp(46px, 6vw, 70px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; }
.hero__fact { flex: 1 1 190px; padding: 24px 22px; text-align: center; border-right: 1px solid var(--line); }
.hero__fact:last-child { border-right: 0; }
.hero__fact b { display: block; font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 200; color: var(--ink); letter-spacing: -0.05em; line-height: 1.15; }
.hero__fact span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 700px) {
  .hero__fact { flex-basis: 50%; border-bottom: 1px solid var(--line); }
  .hero__fact:nth-child(2n) { border-right: 0; }
  .hero__fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* entrance stagger */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.85s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .hero__glow { animation: none; opacity: 0.95; transform: translateX(-50%); }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: slide 38s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.marquee__item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--primary-soft); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- panels & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 28px 26px; transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out); }
.card:hover { border-color: rgba(68, 118, 255, 0.4); background: var(--panel-hover); transform: translateY(-3px); }
.card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(68, 118, 255, 0.3); background: rgba(20, 82, 252, 0.12); color: var(--primary-soft); }
.card__icon svg { width: 19px; height: 19px; }
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { font-size: 14.8px; color: var(--ink-mute); margin: 0; }
.card__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--primary-soft); display: block; margin-bottom: 14px; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.3px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background-color: rgba(20, 82, 252, 0.16); border: 1px solid rgba(68, 118, 255, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234476ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.crosslist li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8b8b' stroke-width='3.2' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-color: rgba(255, 120, 120, 0.12); border-color: rgba(255, 140, 140, 0.4);
}

/* ---------- email mockup ---------- */
.mock { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, #0d0a18, #06040c); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock__bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: 0.06em; }
.mock__body { padding: 24px 24px 28px; }
.mock__meta { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.mock__avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: #fff; background: linear-gradient(145deg, var(--primary-soft), var(--primary-dim)); }
.mock__from { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.mock__from small { display: block; font-weight: 400; color: var(--ink-faint); font-size: 12px; }
.mock__day { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-soft); border: 1px solid rgba(68, 118, 255, 0.32); border-radius: 100px; padding: 5px 10px; white-space: nowrap; }
.mock__subject { font-size: 1.12rem; color: var(--ink); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 12px; }
.mock__body p { font-size: 14.4px; color: var(--ink-mute); margin-bottom: 0.85em; }
.mock__pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-soft); }

/* ---------- curriculum ---------- */
.weeks { display: grid; gap: 16px; }
.week { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); overflow: hidden; }
.week__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.week__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary-soft); }
.week__head h3 { margin: 0; font-size: 1.32rem; }
.week__head p { width: 100%; margin: 4px 0 0; font-size: 14.4px; color: var(--ink-mute); }
.lessons { list-style: none; margin: 0; padding: 8px 10px 14px; }
.lessons li { display: flex; gap: 16px; align-items: baseline; padding: 11px 16px; border-radius: var(--radius); transition: background 0.3s ease; }
.lessons li:hover { background: rgba(255, 255, 255, 0.035); }
.lessons .d { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); flex: none; width: 54px; letter-spacing: 0.08em; }
.lessons .t { font-size: 15.2px; color: var(--ink-soft); }
@media (max-width: 560px) { .lessons li { flex-direction: column; gap: 3px; padding-inline: 12px; } .lessons .d { width: auto; } }

.daystrip { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; }
.daystrip i {
  font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint);
  width: 40px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02);
}
.daystrip i.on { color: #fff; border-color: rgba(68, 118, 255, 0.55); background: rgba(20, 82, 252, 0.2); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
.step { padding: 30px 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--primary-soft); margin-bottom: 16px; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14.4px; color: var(--ink-mute); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:nth-child(2n) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); padding: 30px 28px 32px; display: flex; flex-direction: column; position: relative; transition: border-color 0.4s ease; }
.plan:hover { border-color: var(--line-strong); }
.plan--best { border-color: rgba(68, 118, 255, 0.5); background: linear-gradient(180deg, rgba(20, 82, 252, 0.13), rgba(255, 255, 255, 0.015)); box-shadow: 0 30px 70px -40px rgba(20, 82, 252, 0.9); }
.plan__flag { position: absolute; top: -12px; left: 28px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--primary-soft), var(--primary)); padding: 6px 12px; border-radius: 100px; box-shadow: 0 8px 20px -8px rgba(20, 82, 252, 1); }
.plan__name { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.plan__price { display: flex; align-items: baseline; color: var(--ink); margin-bottom: 6px; }
.plan__price b { font-size: clamp(2.5rem, 5vw, 3.2rem); font-weight: 200; letter-spacing: -0.055em; line-height: 1; }
.plan__price span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-left: 8px; }
.plan__once { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ok); margin-bottom: 18px; }
.plan__desc { font-size: 14.6px; color: var(--ink-mute); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.plan .checklist { margin-top: 0; margin-bottom: 26px; flex: 1; }
.plan .checklist li { font-size: 14.5px; }
.plan form { margin: 0; }

.guarantee { display: flex; gap: 18px; align-items: flex-start; border: 1px solid rgba(61, 220, 151, 0.26); border-radius: var(--radius-lg); background: rgba(61, 220, 151, 0.06); padding: 24px 26px; margin-top: 22px; }
.guarantee svg { flex: none; width: 24px; height: 24px; color: var(--ok); margin-top: 2px; }
.guarantee h4 { margin-bottom: 6px; }
.guarantee p { font-size: 14.5px; color: var(--ink-mute); margin: 0; }
@media (max-width: 560px) { .guarantee { flex-direction: column; gap: 12px; } }

.paynote { text-align: center; margin-top: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); line-height: 2.1; }
.paynote a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.paynote a:hover { color: var(--ink); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 18px; padding: 24px 4px; font-size: clamp(1rem, 1.7vw, 1.12rem); color: var(--ink); font-weight: 500; letter-spacing: -0.02em; transition: color 0.25s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-soft); }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 22px; height: 22px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0.55; transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); opacity: 1; }
.faq__answer { padding: 0 60px 26px 4px; font-size: 15.2px; color: var(--ink-mute); }
.faq__answer p { margin-bottom: 0.8em; }
@media (max-width: 640px) { .faq__answer { padding-right: 10px; } }

/* ---------- cta band ---------- */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: clamp(20px, 3vw, 30px); padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 56px); text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(20, 82, 252, 0.28) 0%, rgba(4, 2, 8, 0) 62%), var(--bg-raised); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 30px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 40%); margin-top: clamp(40px, 6vw, 80px); position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 54px); padding-block: clamp(46px, 6vw, 68px) clamp(34px, 4vw, 46px); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 14.6px; color: var(--ink-mute); max-width: 36ch; margin-bottom: 20px; }
.footer__contact { display: grid; gap: 10px; font-size: 14.2px; }
.footer__contact a, .footer__contact span { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-mute); transition: color 0.25s ease; }
.footer__contact a:hover { color: var(--ink); }
.footer__contact svg { flex: none; width: 15px; height: 15px; margin-top: 4px; color: var(--primary-soft); }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 14.4px; color: var(--ink-mute); transition: color 0.25s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__col button { font: inherit; font-size: 14.4px; color: var(--ink-mute); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color 0.25s ease; }
.footer__col button:hover { color: var(--ink); }

.footer__legal { border-top: 1px solid var(--line); padding-block: 24px 32px; display: grid; gap: 16px; }
.footer__seller { font-size: 13px; color: var(--ink-faint); line-height: 1.8; max-width: 94ch; }
.footer__seller strong { color: var(--ink-mute); font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
.footer__bottom p { font-size: 13px; color: var(--ink-faint); margin: 0; }
.footer__mini { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__mini a { font-size: 13px; color: var(--ink-faint); transition: color 0.25s ease; }
.footer__mini a:hover { color: var(--ink-mute); }

@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 620px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- legal / prose pages ---------- */
.page-head { padding-block: clamp(44px, 6vw, 76px) clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 460px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(20, 82, 252, 0.3), transparent 70%); pointer-events: none; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); margin-bottom: 12px; }
.page-head .lead { margin-bottom: 0; }
.page-head .updated { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-top: 18px; display: block; }

.prose { max-width: 800px; font-size: 15.8px; }
.prose h2 { font-size: clamp(1.28rem, 2.2vw, 1.62rem); margin-top: 2.2em; margin-bottom: 0.6em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0.4em; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; margin-bottom: 0.5em; }
.prose p, .prose li { color: var(--ink-mute); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--primary-soft); }
.prose a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14.4px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; color: var(--ink-mute); }
.prose th { background: rgba(255, 255, 255, 0.03); color: var(--ink); font-weight: 500; }
.prose .callout { border: 1px solid var(--line); border-left: 2px solid var(--primary); border-radius: var(--radius); background: rgba(20, 82, 252, 0.06); padding: 18px 20px; margin: 0 0 1.4em; }
.prose .callout p { margin-bottom: 0.6em; color: var(--ink-soft); }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .table-scroll { overflow-x: auto; margin-bottom: 1.4em; }
.prose .table-scroll table { margin-bottom: 0; min-width: 440px; }

.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-nav { display: none; } }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 26px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 20px 18px; }
.legal-nav h5 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 14px; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.legal-nav a { font-size: 13.6px; color: var(--ink-mute); transition: color 0.25s ease; }
.legal-nav a:hover { color: var(--primary-soft); }
.legal-nav a[aria-current="page"] { color: var(--primary-soft); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 13px 15px; width: 100%;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-soft); background: rgba(20, 82, 252, 0.08); }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.6px; color: var(--ink-mute); }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.consent a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 780px; margin-inline: auto;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: rgba(8, 5, 16, 0.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
  padding: 22px 24px;
  display: none;
  transform: translateY(18px); opacity: 0;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.cookie.is-visible { display: block; }
.cookie.is-shown { opacity: 1; transform: none; }
.cookie h4 { font-size: 1rem; margin-bottom: 7px; }
.cookie p { font-size: 13.8px; color: var(--ink-mute); margin-bottom: 16px; }
.cookie p a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { flex: 1 1 auto; min-width: 150px; }
@media (max-width: 560px) { .cookie { padding: 20px 18px; } .cookie__actions .btn { flex-basis: 100%; } }

.cookie-prefs { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 1, 5, 0.72); backdrop-filter: blur(6px); }
.cookie-prefs.is-open { display: flex; }
.cookie-prefs__box { width: 100%; max-width: 580px; max-height: 86vh; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #0a0713; padding: 28px 26px; }
.cookie-prefs__box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cookie-prefs__box > p { font-size: 14px; color: var(--ink-mute); margin-bottom: 22px; }
.cookie-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.cookie-row__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.cookie-row__head b { color: var(--ink); font-weight: 500; font-size: 15px; }
.cookie-row p { font-size: 13.4px; color: var(--ink-mute); margin: 0; }
.cookie-row small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ok); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.switch span { position: absolute; inset: 0; border-radius: 100px; background: rgba(255, 255, 255, 0.12); border: 1px solid var(--line-strong); transition: background 0.3s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease-spring); }
.switch input:checked + span { background: var(--primary); border-color: var(--primary-soft); }
.switch input:checked + span::after { transform: translateX(18px); }
.cookie-prefs__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-prefs__actions .btn { flex: 1 1 160px; }

/* ---------- misc ---------- */
.notice { border: 1px solid var(--line); border-left: 2px solid var(--primary); border-radius: var(--radius); background: rgba(20, 82, 252, 0.07); padding: 18px 20px; font-size: 14.6px; color: var(--ink-soft); }
.notice--ok { border-left-color: var(--ok); background: rgba(61, 220, 151, 0.07); }
.notice--warn { border-left-color: var(--warn); background: rgba(255, 178, 87, 0.07); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
