:root {
  --bg: #070b14;
  --raised: #10182a;
  --text: #e8f1ff;
  --muted: #93a4c3;
  --line: rgba(148, 196, 255, 0.16);
  --cyan: #22d3ee;
  --blue: #2f6bff;
  --violet: #8b7cff;
  --ink: #061018;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Segoe UI", Aptos, sans-serif;
  color: var(--text);
  background:
    radial-gradient(880px 420px at 0% -8%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(720px 380px at 100% 0%, rgba(47, 107, 255, 0.16), transparent 48%),
    radial-gradient(540px 280px at 70% 18%, rgba(139, 124, 255, 0.08), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, var(--bg) 28%, #060910 100%);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  border-radius: 0.7rem;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}
.skip:focus { top: 1rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(16px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.brand { display: flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 7.4rem; height: auto; }
.desk { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 0.35rem 1rem; min-width: 0; }
.desk a:not(.btn) { white-space: nowrap; }
.desk .btn { margin-left: 0.85rem; flex: 0 0 auto; }
.desk a, .menu a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.desk a:hover, .menu a:hover, .desk a[aria-current="page"], .menu a[aria-current="page"] { color: var(--text); }
.menu { display: none; }
.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.35rem 0.9rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute;
  right: 0;
  z-index: 5;
  top: calc(100% + 0.55rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #10182a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.menu nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.7rem;
}
.menu nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.04); }
.menu .btn { width: 100%; margin-top: 0.35rem; }
.menu { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(180deg, #4d86ff, var(--blue)); color: white; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(16, 24, 42, 0.65); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr); gap: 2.5rem; align-items: center; padding: 3.5rem 0 2.5rem; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); font-size: 0.78rem; font-weight: 700; margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); margin: 0.35rem 0 0.8rem; max-width: 12ch; }
.lead { max-width: 38rem; color: var(--muted); font-size: 1.12rem; margin: 0; }
.hero .btn-row { margin-top: 1.5rem; }

.stage {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    rgba(16, 24, 42, 0.82);
  box-shadow: 0 24px 60px rgba(2, 6, 16, 0.45);
  overflow: hidden;
}
.stage-bar { display: flex; gap: 0.35rem; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.stage-bar span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(148, 196, 255, 0.35); }
.stage-body { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); min-height: 16rem; }
.stage-nav { border-right: 1px solid var(--line); padding: 0.8rem 0.55rem; display: flex; flex-direction: column; gap: 0.35rem; }
.stage-nav b, .stage-nav i { display: block; border-radius: 0.55rem; padding: 0.35rem 0.45rem; font-style: normal; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.stage-nav b { color: white; background: linear-gradient(90deg, rgba(34, 211, 238, 0.18), rgba(47, 107, 255, 0.1)); box-shadow: inset 2px 0 0 var(--cyan); }
.stage-main { padding: 0.85rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.stat { border: 1px solid var(--line); border-radius: 0.75rem; padding: 0.55rem 0.6rem; background: rgba(5, 10, 20, 0.35); }
.stat small { display: block; color: var(--muted); font-size: 0.68rem; }
.stat strong { display: block; margin-top: 0.2rem; font-size: 0.95rem; }
.rows { margin: 0.7rem 0 0; padding: 0; list-style: none; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.45rem 0; border-top: 1px solid var(--line); font-size: 0.78rem; }
.rows li span:first-child { min-width: 0; }
.pill { flex: none; white-space: nowrap; border: 1px solid rgba(34, 211, 238, 0.4); border-radius: 999px; padding: 0.05rem 0.45rem; color: #d9fbff; }
.sheet { background: #f4f7fb; color: #172033; border-radius: 0.7rem; padding: 0.9rem; min-height: 9rem; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.sheet-top b { border: 1px dashed #8aa0c2; border-radius: 0.4rem; padding: 0.35rem 0.55rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sheet p { margin: 0.2rem 0; font-size: 0.86rem; }
.sheet strong { display: block; margin-top: 0.7rem; }
.sheet small { color: #5c6b84; }
.caption { margin: 0; padding: 0.55rem 0.9rem 0.8rem; color: var(--muted); font-size: 0.75rem; }

section { padding: 2.4rem 0; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0.3rem 0 0.7rem; }
.panel {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 30%), rgba(16, 24, 42, 0.78);
  box-shadow: 0 18px 50px rgba(2, 6, 16, 0.28);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split article, .card, .step, .price-main, .price-side { padding: 1.25rem 1.3rem; }
.card h3, .step h3, .split h3 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; }
.card p, .step p, .split p, .prose p, .faq p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(14rem, 0.9fr); gap: 1.25rem; align-items: center; padding: 1.2rem; }
.feature + .feature { margin-top: 1rem; }
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }
.mini { display: grid; gap: 0.45rem; }
.mini div { border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.7rem 0.8rem; background: rgba(5, 10, 20, 0.4); }
.mini strong { display: block; }
.mini span { color: var(--muted); font-size: 0.85rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step-no { color: var(--violet); font-weight: 750; letter-spacing: 0.08em; }

.price { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; }
.amount { font-size: clamp(2.5rem, 5vw, 3.6rem); font-weight: 750; letter-spacing: -0.04em; margin: 0.4rem 0; }
.amount span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.note, .banner {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  color: var(--text);
}
.note { background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.28); }
.banner { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.35); }

.band { text-align: left; padding: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.band > div { min-width: min(100%, 18rem); flex: 1 1 18rem; }
.band .btn { flex: 0 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin-top: 0.45rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.6rem; color: var(--muted); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.6rem; }
.crumbs a { color: var(--muted); }
.prose { padding-bottom: 3rem; }
.prose h1 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.prose h2 { margin-top: 1.6rem; }

@media (max-width: 1100px) {
  .desk { display: none; }
  .menu { display: block; }
  .hero, .feature, .feature.reverse, .price { grid-template-columns: 1fr; direction: ltr; }
}
@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .stage-body { grid-template-columns: 6.2rem minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .split, .site-footer, .cards, .steps { grid-template-columns: 1fr; direction: ltr; }
  .stage-body { grid-template-columns: 1fr; }
  .stage-nav { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  h1 { font-size: 2.15rem; }
  .stats { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .wrap { width: min(1120px, calc(100% - 1.5rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary { transition: none; }
  .btn-primary:hover { filter: none; }
}
