:root {
  color-scheme: dark;
  --bg: #051424;
  --bg-deep: #010f1f;
  --surface: #0d1c2d;
  --surface-high: #12283a;
  --line: rgba(144, 160, 176, 0.24);
  --line-strong: rgba(78, 222, 163, 0.44);
  --text: #d4e4fa;
  --muted: #a9b4c4;
  --accent: #4edea3;
  --accent-ink: #003824;
  --warm: #ffb95f;
  --danger: #ffb4ab;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(78, 222, 163, 0.09), transparent 32rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 20, 36, 0.88);
  backdrop-filter: blur(18px);
}

.nav,
.page,
.footer-inner {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 222, 163, 0.42);
  border-radius: 10px;
  background: rgba(78, 222, 163, 0.12);
}

.brand-mark::before {
  width: 13px;
  height: 15px;
  content: "";
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  box-shadow: 4px 0 0 -2px var(--accent), -4px 0 0 -2px var(--accent);
  border-radius: 2px;
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.nav-action:hover,
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button:focus-visible,
.nav-action:focus-visible,
a:focus-visible,
input:focus-visible { outline: 3px solid rgba(78, 222, 163, 0.34); outline-offset: 3px; }
.button[disabled] { cursor: wait; filter: saturate(0.45); transform: none; }

.page { flex: 1; padding: 72px 0 104px; }
.page--narrow { width: min(100% - 40px, 820px); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.035em;
}

h1 { max-width: 900px; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; }
h2 { margin-top: 58px; font-size: clamp(27px, 4vw, 38px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.25; }

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button--secondary { border: 1px solid var(--line); background: var(--surface); color: var(--text); }

.price-stage {
  margin-top: 52px;
  padding: clamp(28px, 6vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    linear-gradient(115deg, rgba(78, 222, 163, 0.11), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
}

.price-stage__label { color: var(--muted); font-size: 13px; }
.price-stage__name { max-width: 760px; margin-top: 13px; font-size: clamp(22px, 4vw, 34px); line-height: 1.25; }
.price-stage__value { margin-top: 34px; color: var(--accent); font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(42px, 8vw, 78px); font-weight: 800; letter-spacing: -0.055em; line-height: 1; }
.price-stage__value span { color: var(--muted); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.price-stage__note { max-width: 720px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; }

.steps,
.contact-list,
.fact-list { margin: 26px 0 0; padding: 0; list-style: none; }

.steps { counter-reset: steps; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}
.steps li::before { content: "0" counter(steps); color: var(--accent); font-weight: 750; }
.steps strong { display: block; margin-bottom: 4px; color: var(--text); }

.callout {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 3px solid var(--warm);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 185, 95, 0.08);
  color: var(--muted);
  line-height: 1.65;
}
.callout strong { color: var(--text); }

.legal-head { padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(38px, 6vw, 62px); }
.revision { margin-top: 18px; color: var(--muted); font-size: 13px; }
.legal-copy h2 { margin-top: 48px; font-size: 28px; }
.legal-copy h3 { margin-top: 28px; }
.legal-copy p,
.legal-copy li { color: var(--muted); line-height: 1.75; }
.legal-copy p { margin: 15px 0 0; }
.legal-copy ul,
.legal-copy ol { margin: 16px 0 0; padding-left: 24px; }
.legal-copy strong { color: var(--text); }
.legal-copy a { color: var(--accent); }

.details {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) 1fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; overflow-wrap: anywhere; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  margin-top: 52px;
  align-items: start;
}
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.contact-list a { font-size: clamp(19px, 3vw, 26px); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }

.contact-panel,
.payment-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-panel p { color: var(--muted); line-height: 1.65; }

.payment-wrap { width: min(100% - 40px, 560px); margin: auto; padding: 54px 0 80px; }
.payment-panel h1 { margin-top: 18px; font-size: clamp(32px, 7vw, 48px); }
.payment-summary { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; padding: 19px 0; border-block: 1px solid var(--line); }
.payment-summary span { color: var(--muted); }
.payment-summary strong { font-size: 24px; }
.field { display: grid; gap: 8px; margin-top: 20px; }
.field span { color: var(--muted); font-size: 13px; font-weight: 650; }
.field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-deep);
  color: var(--text);
  padding: 0 15px;
  font: inherit;
}
.payment-panel .button { width: 100%; margin-top: 18px; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-note a { color: var(--text); }
.payment-status { margin-top: 20px; padding: 14px; border-radius: 10px; background: rgba(78, 222, 163, 0.09); color: var(--accent); font-weight: 650; }
.payment-status--error { background: rgba(255, 180, 171, 0.09); color: var(--danger); }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nav { min-height: 68px; }
  .nav-links { display: none; }
  .nav-action { min-height: 40px; padding-inline: 15px; }
  .page { padding-top: 52px; padding-bottom: 76px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-row { grid-template-columns: 1fr; gap: 7px; }
  .footer-inner { padding-block: 28px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
