:root {
  --red: #E63946;
  --blue: #1D3557;
  --yellow: #F4C430;
  --paper: #FDFBF3;
  --ink: #111111;
  --ink-soft: #444444;
  --rule: #1D3557;

  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 4px;
  --col: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  font-feature-settings: "ss01", "onum";
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 0.3em;
}
h1 { font-size: clamp(56px, 9vw, 128px); }
h2 { font-size: clamp(40px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); }

p { margin: 0 0 1em; }
small, .mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.02em; }

.container {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}
.brand .logo {
  width: 36px; height: 36px;
  background:
    radial-gradient(circle at 30% 30%, var(--yellow) 0 30%, transparent 31%),
    radial-gradient(circle at 70% 70%, var(--red) 0 35%, transparent 36%),
    var(--blue);
  border-radius: 50%;
}
.nav { display: flex; gap: 28px; }
.nav a { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--red); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.hero h1 .accent-red { color: var(--red); }
.hero h1 .accent-blue { color: var(--blue); }
.hero .lede {
  max-width: 620px;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--ink-soft);
  margin-top: 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-shapes { position: relative; aspect-ratio: 1 / 1; }
.hero-shapes .circle-big {
  position: absolute; inset: 5% 20% auto auto; width: 60%; aspect-ratio: 1;
  background: var(--red); border-radius: 50%;
}
.hero-shapes .circle-mid {
  position: absolute; left: 8%; top: 38%; width: 35%; aspect-ratio: 1;
  background: var(--yellow); border-radius: 50%;
  mix-blend-mode: multiply;
}
.hero-shapes .triangle {
  position: absolute; right: 2%; bottom: 4%;
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 110px solid var(--blue);
  transform: rotate(18deg);
}
.hero-shapes .bar {
  position: absolute; left: 0; bottom: 8%;
  width: 45%; height: 16px; background: var(--blue);
}
.hero-shapes .dot {
  position: absolute; left: 55%; top: 12%; width: 16px; height: 16px;
  background: var(--ink); border-radius: 50%;
}

.hero-cta {
  margin-top: 36px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 28px;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: transform 80ms ease, background 120ms;
  border-radius: var(--radius);
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* Sections */
section { padding: 96px 0; border-bottom: 2px solid var(--ink); }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  margin-top: 48px;
}
.feature {
  padding: 36px 28px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: relative;
}
.feature:nth-child(3n) { border-right: none; }
.feature h3 { margin-bottom: 10px; }
.feature .mark {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  background: var(--yellow);
}
.feature:nth-child(2) .mark { background: var(--red); border-radius: 50%; }
.feature:nth-child(3) .mark { background: transparent; border-left: 22px solid transparent; border-right: 22px solid transparent; border-bottom: 38px solid var(--blue); width: 0; height: 0; }
.feature p { color: var(--ink-soft); font-size: 17px; }

/* Tariffs */
.tariffs-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--ink);
}
.promo-box {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 340px;
  justify-self: end;
}
@media (max-width: 720px) {
  .tariffs-head { grid-template-columns: 1fr; }
  .promo-box { min-width: 0; justify-self: stretch; }
}
.promo-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.promo-input-row { display: flex; gap: 8px; }
.promo-input-row input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
}
.promo-input-row input:focus { outline: none; background: #fff8d8; }
.promo-input-row button {
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em;
  border: 2px solid var(--ink);
  background: var(--ink); color: var(--paper);
  padding: 0 20px; cursor: pointer;
  border-radius: var(--radius);
}
.promo-input-row button:hover { background: var(--red); border-color: var(--red); }
.promo-status { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); min-height: 1em; }
.promo-status.ok { color: #057a3b; }
.promo-status.err { color: var(--red); }

.tariff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tariff {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  border-radius: var(--radius);
  transition: transform 120ms ease, box-shadow 120ms;
}
.tariff:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.tariff .corner {
  position: absolute; top: -2px; right: -2px;
  width: 52px; height: 52px;
}
.tariff-1 .corner { background: var(--yellow); }
.tariff-3 .corner { background: var(--red); }
.tariff-12 .corner { background: var(--blue); }
.tariff .badge {
  position: absolute; top: 12px; left: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.tariff-3 .ribbon, .tariff-12 .ribbon {
  position: absolute; top: -14px; left: 24px;
  background: var(--red); color: var(--paper);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.tariff-12 .ribbon { background: var(--blue); }
.tariff h3 { margin-top: 32px; }
.tariff .duration { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.tariff .price {
  display: flex; align-items: baseline; gap: 10px; margin: 20px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
}
.tariff .price .ccy { font-size: 28px; color: var(--ink-soft); }
.tariff .price-old {
  font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft);
  text-decoration: line-through; min-height: 1em;
}
.tariff .per-month { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); margin: 4px 0 20px; }
.tariff ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tariff li { font-size: 15px; padding: 8px 0; border-bottom: 1px dashed var(--ink); }
.tariff li:last-child { border-bottom: none; }
.tariff .btn { width: 100%; }

/* FAQ */
.faq-list { margin-top: 40px; border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); padding: 24px 0; }
.faq-item summary {
  font-family: var(--font-display); font-size: 22px; text-transform: uppercase;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 28px; color: var(--red);
}
.faq-item[open] summary::after { content: "—"; }
.faq-item p { margin-top: 16px; color: var(--ink-soft); max-width: 780px; }

/* Footer */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 64px 0 32px;
}
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; margin: 0 0 16px; font-size: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .legal {
  font-family: var(--font-mono); font-size: 12px; color: #bbb;
  border-top: 1px solid #333; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* Legal pages */
.legal-page { padding: 64px 0 96px; }
.legal-page h1 { font-size: clamp(40px, 6vw, 72px); }
.legal-page h2 { font-size: clamp(24px, 2.4vw, 36px); margin-top: 48px; }
.legal-page .container { max-width: 820px; }
.legal-page p, .legal-page li { font-size: 17px; color: var(--ink); }
.legal-page ol, .legal-page ul { padding-left: 24px; }
.legal-page .meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); margin-bottom: 40px; }

/* Success page */
.success-hero { padding: 96px 0; text-align: center; }
.success-hero .code-box {
  display: inline-block;
  margin: 32px 0;
  padding: 24px 36px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.2em;
  border-radius: var(--radius);
}
.success-hero .steps { max-width: 640px; margin: 32px auto 0; text-align: left; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-shapes {
    order: -1;
    width: 220px; height: 220px;
    aspect-ratio: 1 / 1;
    margin: 0 0 8px;
  }
  .hero-shapes .triangle {
    border-left-width: 42px; border-right-width: 42px; border-bottom-width: 68px;
  }
  .features { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .tariff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
