:root {
  color-scheme: light;
  --ink: #10212b;
  --muted: #3d5563;
  --line: #c5d5df;
  --paper: #e7f0f4;
  --card: #f7fbfc;
  --field: #0c3f73;
  --field-2: #155e9c;
  --ok: #0f6b45;
  --bad: #9f1239;
  --focus: #f2c14e;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --display: Unbounded, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 18px/1.55 var(--font);
  color: var(--ink);
  background: var(--paper);
  caret-color: var(--field);
}
::selection { background: var(--field); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
a { color: inherit; }
img, svg { display: block; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 18px 28px;
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 92%, white);
  z-index: 2;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.04em; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; }
.nav a.quiet { color: var(--muted); }

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 16px 16px;
  padding: 56px 40px;
  border-radius: 28px;
  background: var(--field);
  color: #f4f8fb;
}
.hero-copy { max-width: 760px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.2rem, 9vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero p { margin: 0; max-width: 38rem; font-size: 1.15rem; color: #d5e6f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.key-mark { width: 168px; height: 96px; flex: 0 0 168px; }
.key-mark path {
  fill: none;
  stroke: #f4f8fb;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: #f4f8fb;
  color: var(--field);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.btn.line { background: transparent; color: #f4f8fb; box-shadow: inset 0 0 0 1.5px #d5e6f2; }
.btn.ink { background: var(--ink); color: #f4f8fb; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn:disabled { opacity: 0.55; cursor: default; }

.sheet { max-width: 920px; margin: 0 auto; padding: 72px 24px; }
.sheet h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.lead { font-size: 1.2rem; max-width: 65ch; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps b { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.04em; }
.points { margin: 8px 0 0; padding: 0; list-style: none; }
.points li { padding: 14px 0 14px 18px; border-top: 1px solid var(--line); max-width: 68ch; }
.price {
  margin: 0 16px 28px;
  padding: 48px 40px;
  border-radius: 28px;
  background: #12324f;
  color: #f4f8fb;
}
.price h2 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.045em; margin: 0 0 12px; line-height: 1; }
.price p { max-width: 62ch; color: #d5e6f2; }
footer { padding: 8px 28px 72px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 18px; }
footer a { color: var(--muted); }
.legal h1 { font-family: var(--display); letter-spacing: -0.04em; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 12px 0 8px; }
.legal h2 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.03em; margin: 28px 0 8px; }
.legal p, .legal li { max-width: 72ch; }
.legal ul { padding-left: 1.2rem; }
.license-text { white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--card); border-radius: 16px; padding: 16px; overflow: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; color: var(--ink); font-size: 15px; }
.check input { width: auto; margin-top: 4px; }
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  background: var(--ink);
  color: #f4f8fb;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgb(16 33 43 / 24%);
}
.cookie p { margin: 0; flex: 1 1 220px; }
.cookie a { color: #f4f8fb; }

.wrap { max-width: 980px; margin: 0 auto; padding: 12px 20px 64px; }
.panel { background: var(--card); border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px rgb(16 33 43 / 8%); }
label { display: block; margin: 12px 0 4px; color: var(--muted); font-size: 14px; }
input, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.grid { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.key {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  word-break: break-all;
  background: #e7f0f4;
  border-radius: 12px;
  padding: 12px;
}
.ok { color: var(--ok); }
.bad { color: var(--bad); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
.tiny { font: 600 13px/1 var(--font); min-height: 34px; padding: 0 10px; }

@media (max-width: 800px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 32px 22px; }
  .split, .two { grid-template-columns: 1fr; }
  .key-mark { width: 140px; height: 80px; flex-basis: 80px; }
  .nav { padding: 14px 16px; }
  table { display: block; overflow-x: auto; }
}
