:root {
  --paper: #f1f0ee;
  --ink: #161513;
  --muted: #8a8a86;
  --lime: #c6e000;
  --night: #0a0a09;
  --white: #fff;
  --r: 34px;
  --r2: 22px;
  --max: 1240px;
  --sans: "Onest", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
input, textarea {
  -webkit-appearance: none;
  border-radius: 16px;
  font-size: 16px;
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  background: var(--paper);
  padding: 0 16px;
  height: 48px;
  outline: none;
}
textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink); }
label { display: block; font-size: 14px; font-weight: 500; }
label > * { margin-top: 6px; }

.page {
  min-height: 100dvh;
  padding-bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom)));
}
@media (min-width: 640px) { .page { padding-bottom: 2rem; } }

.inner { width: min(var(--max), calc(100% - 1.5rem)); margin-inline: auto; }
@media (min-width: 640px) { .inner { width: min(var(--max), calc(100% - 2rem)); } }

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: max(0.5rem, env(safe-area-inset-top)) 0.75rem 0;
}
.hdr-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: blur(24px);
  border-radius: 999px;
}
@media (min-width: 640px) { .hdr-bar { height: 64px; padding: 0 20px; } }
.brand { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.nav { display: none; gap: 24px; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (min-width: 768px) { .nav { display: flex; } }
.hdr-right { display: flex; align-items: center; gap: 8px; }

.lang {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 44px;
  width: 92px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  padding: 3px;
  font-size: 13px;
  font-weight: 600;
}
.lang-pill {
  position: absolute;
  top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--lime);
  transition: transform 0.3s ease;
}
html[lang="ru"] .lang-pill { transform: translateX(100%); }
.lang button { position: relative; z-index: 1; color: var(--muted); }
.lang button[aria-pressed="true"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
}
.btn-full { width: 100%; }
.desk-cta { display: none; }
@media (min-width: 640px) { .desk-cta { display: inline-flex; } }

.hero {
  padding: 12px 0 8px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  border-radius: var(--r);
  background: var(--night);
  color: var(--paper);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
@media (min-width: 640px) { .hero-card { padding: 112px 48px; } }
.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kicker { position: relative; font-size: 15px; color: color-mix(in oklab, var(--paper) 70%, transparent); }
.hero h1 {
  position: relative;
  margin-top: 24px;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  letter-spacing: -0.04em;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.lede {
  position: relative;
  margin: 24px auto 0;
  max-width: 36rem;
  font-size: 18px;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
}
.hero-cta {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-meta {
  position: relative;
  margin-top: 56px;
  width: min(48rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--white) 10%, transparent);
  background: color-mix(in oklab, var(--white) 5%, transparent);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
}
@media (min-width: 640px) {
  .hero-meta { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 32px; }
}
.dot { display: inline-flex; align-items: center; gap: 8px; }
.dot i { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); }

.sec { padding: 32px 0; }
.center { text-align: center; max-width: 860px; margin-inline: auto; padding: 80px 24px; }
.center h2, .panel h2, .block h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.muted { color: var(--muted); }

.panel {
  background: var(--white);
  border-radius: var(--r);
  padding: 32px 20px;
}
@media (min-width: 640px) { .panel { padding: 64px 48px; } }

.gs {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .gs { grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
}
.gs-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
@media (min-width: 900px) { .gs-tabs { flex-direction: column; overflow: visible; } }
.gs-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.gs-tab[aria-selected="true"] {
  background: var(--night);
  color: var(--paper);
}
.gs-tab svg { width: 22px; height: 22px; flex: none; }
.gs-hello { margin-bottom: 22px; }
.gs-hello h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  cursor: default;
}
.step:last-child { border-bottom: 0; }
.step-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.step-ico svg { width: 22px; height: 22px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.cards {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards.three { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--white);
  border-radius: var(--r2);
  padding: 28px;
}
.card.night { background: var(--night); color: var(--paper); }
.card.night p { color: color-mix(in oklab, var(--paper) 70%, transparent); }
.card h3 { font-size: 22px; margin-top: 12px; }
.card p { margin-top: 8px; color: var(--muted); }
.num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card.night .num { color: var(--lime); }

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 5%, transparent);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.card.night .chip {
  background: color-mix(in oklab, var(--paper) 12%, transparent);
  color: var(--paper);
}

.form-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form { display: grid; gap: 14px; }
.ok {
  display: none;
  padding: 16px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--lime) 35%, var(--paper));
  font-weight: 600;
}
.ok.show { display: block; }

.faq { max-width: 860px; margin: 0 auto; padding: 80px 24px; }
.faq details {
  background: var(--white);
  border-radius: var(--r2);
  padding: 20px 24px;
  margin-top: 12px;
}
.faq summary { cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 12px; color: var(--muted); }

.foot {
  position: relative;
  overflow: hidden;
  margin: 0 12px 16px;
  border-radius: var(--r);
  background: var(--night);
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  padding: 48px 32px 24px;
}
@media (min-width: 640px) { .foot { margin-inline: 16px; } }
.foot-row {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 640px) { .foot-row { flex-direction: row; justify-content: space-between; } }
.foot strong { color: var(--paper); font-size: 20px; }
.foot a { color: var(--paper); }
.foot a:hover { color: var(--lime); }
.wordmark {
  position: relative;
  margin-top: 64px;
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--paper);
  user-select: none;
}

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  background: color-mix(in oklab, var(--paper) 95%, transparent);
  backdrop-filter: blur(12px);
  padding: 12px 12px max(0.75rem, env(safe-area-inset-bottom));
}
.mobile-bar .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-bar .btn { height: 44px; font-size: 13px; }
@media (min-width: 640px) { .mobile-bar { display: none; } }
@media (max-width: 639px) {
  body:has(input:focus, textarea:focus) .mobile-bar { display: none; }
}

.hidden { display: none !important; }
.lime { color: var(--lime); }
