@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090d;
  --bg-raise: #10151d;
  --card: #141b26;
  --line: rgba(148, 176, 214, 0.18);
  --text: #f4f7fb;
  --muted: #a8b4c6;
  --blue: #3d8bff;
  --blue-soft: #9dc4ff;
  --ok: #8fd0b0;
  --wait: #e2c27a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1120px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(61, 139, 255, 0.22), transparent 60%),
    radial-gradient(700px 320px at -10% 20%, rgba(61, 139, 255, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-soft); text-underline-offset: 0.18em; }
a:hover { color: white; }
:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  color: #07101c;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 0.7rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.cookie-bar {
  position: fixed;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #10161f;
  box-shadow: var(--shadow);
}
.cookie-bar[hidden] { display: none; }
.cookie-title { margin: 0 0 0.25rem; color: white; font-weight: 700; }
.cookie-bar p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions button, .footer-links button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
}
.cookie-actions [data-cookie-accept], .cookie-actions [data-cookie-save] {
  border-color: transparent;
  background: var(--blue);
}
.cookie-dialog {
  width: min(36rem, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #10161f;
  color: white;
  padding: 1.2rem;
}
.cookie-dialog::backdrop { background: rgba(0, 0, 0, 0.68); }
.cookie-dialog p { color: var(--muted); }
.cookie-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.8rem 0;
  color: var(--muted);
}
.cookie-choice strong { color: white; }
.footer-links button { color: var(--muted); font-weight: 400; min-height: 0; padding: 0; border: 0; }
body:has(.cookie-bar:not([hidden])) .zap { bottom: 11rem; }
body:has(.cookie-dialog[open]) .cookie-bar { display: none; }

@media (max-width: 700px) {
  .cookie-bar {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    max-height: 46dvh;
    overflow: auto;
    gap: 0.75rem;
    padding: 0.85rem;
  }
  .cookie-actions { display: grid; }
  .cookie-actions button { width: 100%; }
  .cookie-dialog {
    max-height: calc(100dvh - 1.25rem);
    overflow: auto;
    padding: 1rem;
  }
  body:has(.cookie-bar:not([hidden])) main { padding-bottom: 18rem; }
  body:has(.cookie-bar:not([hidden])) .zap { display: none; }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 9, 13, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: white; text-decoration: none; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(61, 139, 255, 0.8);
  background: #0c121c;
  color: white;
  font-size: 0.82rem;
}
.menu-button {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
}
.nav { display: none; }
.nav.is-open {
  display: grid;
  position: fixed;
  z-index: 30;
  top: var(--header);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--header));
  align-content: start;
  gap: 0.15rem;
  padding: 0.7rem 1rem 1.4rem;
  background: #0b1018;
  overflow: auto;
}
.nav a { color: var(--text); text-decoration: none; padding: 0.7rem 0.4rem; border-radius: 10px; }
.nav a[aria-current="page"] { color: var(--blue-soft); }

.hero, .section { padding: 4.2rem 0; }
.hero { padding-top: 3.2rem; }
.hero-grid, .split { display: grid; gap: 2rem; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-soft);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.fine { color: var(--muted); font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.8rem; }
.button, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button { background: var(--blue); color: white; }
.button:hover { background: #5b9bff; color: white; }
.button-zap, .zap {
  background: #1faf5a;
  color: #04210f;
}
.button-zap:hover, .zap:hover { background: #39c872; color: #04210f; }
.zap {
  position: fixed;
  z-index: 25;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.button-ghost { border: 1px solid var(--line); color: white; background: transparent; }

.stage {
  margin: 0;
  background: linear-gradient(180deg, rgba(61, 139, 255, 0.16), rgba(20, 27, 38, 0.9));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 0.9rem;
}
.stage figcaption { color: var(--muted); font-size: 0.82rem; padding: 0.2rem 0.5rem 0.7rem; }
.window { background: #0c121b; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.04); }
.window-bar { display: flex; gap: 0.4rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #314158; }
.tabs { display: flex; gap: 0.35rem; padding: 0.55rem 0.7rem 0; }
.tabs b, .tabs i {
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px 10px 0 0;
  color: var(--muted);
}
.tabs b { color: white; background: #0c121b; border: 1px solid var(--line); border-bottom: 0; }
.board { display: grid; grid-template-columns: 148px 1fr; min-height: 280px; }
.rail { padding: 1rem; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 0.45rem; }
.rail b { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.rail i { font-style: normal; font-size: 0.92rem; padding: 0.35rem 0.2rem; }
.rail i.on { color: var(--blue-soft); }
.day { padding: 1rem; display: grid; gap: 0.7rem; align-content: start; }
.slot { display: grid; grid-template-columns: 52px 1fr; gap: 0.7rem; align-items: center; }
.slot strong { font-size: 0.95rem; }
.slot small { display: block; color: var(--muted); }
.chip { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), transparent); }

.notice, .card, .module, .step, .plan, .callout {
  background: rgba(20, 27, 38, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.notice { padding: 1rem 1.1rem; color: var(--muted); }
.grid, .modules, .steps, .plans { display: grid; gap: 1rem; }
.card, .module, .step, .plan { padding: 1.15rem 1.2rem; }
.card p, .module p, .step p, .plan p { margin: 0.35rem 0 0; color: var(--muted); }
.section-head { margin-bottom: 1.4rem; max-width: 46rem; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  color: var(--ok);
}
.badge.wait { color: var(--wait); }
.list { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.list li + li { margin-top: 0.25rem; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 1.3rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--blue-soft);
  font-weight: 700;
}
.company {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.company strong { font-size: 1rem; }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.3rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.review {
  border-left: 3px solid var(--wait);
  padding: 0.7rem 0.9rem;
  margin: 1rem 0;
  color: #efe2c2;
  background: rgba(226, 194, 122, 0.06);
  border-radius: 0 12px 12px 0;
}

.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: white; }
.legal-name { color: var(--text); }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .grid, .plans { grid-template-columns: repeat(3, 1fr); }
  .modules { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .cookie-bar { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1080px) {
  .menu-button { display: none; }
  .nav,
  .nav.is-open {
    display: flex;
    position: static;
    top: auto;
    bottom: auto;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  .nav a { padding: 0.45rem 0.65rem; font-size: 0.95rem; }
}

@media (max-width: 560px) {
  .board { grid-template-columns: 1fr; }
  .rail { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .site-footer { padding-bottom: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
