/* ============================================================
   Landing — Система учёта заказов для дилеров
   Tokens copied from concept deck
   ============================================================ */

:root {
  /* === Default palette: Carbon + Saffron + Cream === */
  /* Warm dark editorial — like a well-printed magazine in the dark */
  --bg: #14120E;            /* warm near-black, brown-tinted */
  --fg: #ECE2C9;            /* warm cream, paper */
  --muted: #8C8676;         /* warm gray */
  --line: #2A2620;
  --line-strong: #44403A;
  --accent: #F5B82E;        /* saffron / marigold — used on dark areas */
  --accent-ink: #14120E;    /* dark text on saffron buttons */
  --card: #1F1C16;          /* slightly lighter dark surface */
  --tag: rgba(236, 226, 201, 0.08);
  --highlight: #C8351F;     /* deep brick — pops on inverted cream sections */

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 32px 80px rgba(0, 0, 0, 0.45);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 9vw, 144px);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ===== Chip checkbox group ===== */

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.chip-check {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-check span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 14px;
  background: var(--card);
  color: var(--fg);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  line-height: 1;
}

.chip-check:hover span {
  border-color: var(--fg);
}

.chip-check input:checked + span {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.chip-check input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Reusable atoms ===== */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
}

.mono-sm {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .num {
  color: var(--accent);
  margin-right: 8px;
}

.accent {
  color: var(--accent);
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #000);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-lg {
  padding: 18px 28px;
  font-size: 17px;
}

.btn-arrow::after {
  content: "→";
  font-family: var(--font-mono);
  font-weight: 400;
}

.btn-dark {
  background: var(--fg);
  color: var(--bg);
}
.btn-dark:hover {
  background: #2a2d33;
}

/* ===== Nav ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: var(--fg);
  color: var(--accent-ink);
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.brand-mark::after {
  content: "";
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===== Hero ===== */

.hero {
  padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 80px);
  position: relative;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  color: var(--muted);
}

.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 16ch;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 40px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero-trust .item strong {
  color: var(--fg);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: 0;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Hero mockup */

.hero-mockup {
  margin-top: 56px;
  position: relative;
}

/* ===== Section ===== */

section.block {
  padding-block: var(--section-y);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 64px;
  max-width: 880px;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

.section-head p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
  line-height: 1.5;
}

/* ===== Problem section ===== */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-card {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  transition: background 0.15s;
}
.problem-card:hover { background: var(--card); }

.problem-card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.problem-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.problem-card p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.problem-pull {
  margin-top: 56px;
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.problem-pull .figure {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}
.problem-pull p {
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0;
  color: var(--fg);
  line-height: 1.4;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-pull { grid-template-columns: 1fr; }
}

/* ===== Solution (dark) ===== */

.solution {
  background: var(--fg);
  color: var(--bg);
}

.solution .eyebrow {
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.solution .eyebrow .num { color: var(--highlight); }

.solution h2 {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 64px;
  text-wrap: balance;
  max-width: 18ch;
}
.solution h2 .accent { color: var(--highlight); }

.solution-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
}

.solution-col h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.solution-col p {
  color: color-mix(in srgb, var(--bg) 65%, transparent);
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.solution-col .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 720px) {
  .solution-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Dealer features ===== */

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 64px;
}

.feature-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-cell .num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.feature-cell h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.feature-cell p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .features-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-row { grid-template-columns: 1fr; }
}

/* ===== Order card mockup ===== */

.order-mockup {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.order-mockup .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.order-mockup .head .id {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.order-mockup .head .title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 100px;
  white-space: nowrap;
}

.stages {
  display: flex;
  align-items: center;
  margin-top: 6px;
  overflow-x: auto;
  padding: 10px 6px 6px;
}

.stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 90px;
  position: relative;
}

.stage .dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  position: relative;
}

.stage.done .dot { background: var(--fg); border-color: var(--fg); }
.stage.current .dot { background: var(--fg); border-color: var(--fg); }
.stage.current .dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.stage .label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.stage.done .label, .stage.current .label { color: var(--fg); }

.stage-connector {
  flex: 0 0 24px;
  height: 2px;
  background: var(--line);
  margin-bottom: 24px;
}
.stage-connector.filled { background: var(--fg); }

.kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.kv {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  font-size: 14px;
  gap: 16px;
}
.kv .k { color: var(--muted); }
.kv .v { font-weight: 500; text-align: right; }

@media (max-width: 640px) {
  .kv-grid { grid-template-columns: 1fr; }
}

/* ===== Manufacturer benefits ===== */

.manuf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.manuf-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.manuf-card.lg { grid-column: span 8; }
.manuf-card.md { grid-column: span 4; }
.manuf-card.sm { grid-column: span 6; }
.manuf-card.dark {
  background: var(--fg);
  color: var(--bg);
}
.manuf-card.dark .mono { color: var(--highlight); }
.manuf-card.dark .desc { color: color-mix(in srgb, var(--bg) 65%, transparent); }

.manuf-card h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.manuf-card .desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.manuf-card .figure-big {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-top: auto;
}

@media (max-width: 920px) {
  .manuf-grid { grid-template-columns: repeat(2, 1fr); }
  .manuf-card.lg, .manuf-card.md, .manuf-card.sm { grid-column: span 2; }
}
@media (max-width: 540px) {
  .manuf-grid { grid-template-columns: 1fr; }
  .manuf-card.lg, .manuf-card.md, .manuf-card.sm { grid-column: span 1; }
}

/* ===== Rollout (dark) ===== */

.rollout {
  background: var(--fg);
  color: var(--bg);
}
.rollout .eyebrow { color: color-mix(in srgb, var(--bg) 55%, transparent); }
.rollout .eyebrow .num { color: var(--highlight); }
.rollout h2 { color: var(--bg); }
.rollout .section-head p { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
}
.timeline-step {
  padding: 32px 28px;
  border-right: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.timeline-step .mono {
  color: var(--highlight);
}
.timeline-step h4 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.timeline-step p {
  color: color-mix(in srgb, var(--bg) 65%, transparent);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

.pilot-banner {
  margin-top: 48px;
  padding: 32px 40px;
  border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.pilot-banner .text {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.pilot-banner .text .accent { color: var(--highlight); }
.pilot-banner .seats {
  font-family: var(--font-mono);
  font-size: 13px;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  .pilot-banner { grid-template-columns: 1fr; padding: 28px; }
}

/* ===== Pricing strip ===== */

.pricing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.price-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card.featured {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}
.price-card.featured .desc { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.price-card.featured .mono { color: var(--highlight); }

.price-card .price {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 8px 0;
}
.price-card .price .unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-card.featured .price .unit { color: color-mix(in srgb, var(--bg) 55%, transparent); }

.price-card .desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.price-card .fake-door-btn {
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 820px) {
  .pricing-strip { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  gap: 24px;
}

.faq-q .toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-item.open .toggle {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 70ch;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 28px;
}

/* ===== Form ===== */

.form-section {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.form-wrap .lead h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.form-wrap .lead h2 .accent { color: var(--accent); }

.form-wrap .lead p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 44ch;
}

.lead-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.lead-list li {
  padding-left: 22px;
  position: relative;
  color: var(--fg);
}
.lead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fg);
  background: var(--bg);
}
.field input.error,
.field select.error {
  border-color: var(--accent);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.4;
  margin: 12px 0 20px;
}

.checkbox input { accent-color: var(--accent); margin-top: 3px; }

.form-foot {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.form-success {
  text-align: center;
  padding: 32px 0;
}
.form-success h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.form-success p {
  color: var(--muted);
  margin: 0 0 24px;
}

@media (max-width: 920px) {
  .form-wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ===== Footer ===== */

.footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col a {
  font-size: 14px;
  color: var(--fg);
}
.foot-col a:hover { color: var(--accent); }

.foot-bot {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 720px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}

/* ===== Modal ===== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 22, 0.6);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg);
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: pop 0.22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--muted);
}
.modal-close:hover { background: var(--card); color: var(--fg); }

.modal h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.modal p { color: var(--muted); margin: 0 0 24px; }

/* ===== Web mockup (hero) ===== */

.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.browser-chrome {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in oklch, var(--fg) 3%, var(--card));
}
.browser-chrome .lights {
  display: flex;
  gap: 6px;
}
.browser-chrome .lights span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.browser-chrome .url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.browser-body {
  display: flex;
  min-height: 420px;
}

.sidebar {
  width: 200px;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.sidebar .head {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 10px 8px;
}
.sidebar .item {
  padding: 8px 10px;
  border-radius: 4px;
}
.sidebar .item.active {
  background: var(--fg);
  color: var(--bg);
}

.dash-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-head .title {
  font-size: 18px;
  font-weight: 600;
}

.chips {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  flex-wrap: wrap;
}
.chips .chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.chips .chip.active {
  background: var(--fg);
  color: var(--bg);
}

.order-table {
  display: grid;
  grid-template-columns: 70px 1.2fr 1.6fr 1.2fr 1fr 1fr;
  font-size: 12px;
  width: 100%;
}

.order-table .th {
  font-family: var(--font-mono);
  color: var(--muted);
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 10px;
}
.order-table .td {
  padding: 10px 8px 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  align-items: center;
}
.order-table .td.id { font-family: var(--font-mono); color: var(--muted); font-size: 12px; }
.order-table .td.muted { color: var(--muted); }

.pill {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  background: var(--tag);
}
.pill.accent { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 720px) {
  .sidebar { display: none; }
  .order-table { grid-template-columns: 60px 1fr 1fr; font-size: 11px; }
  .order-table .td.hide-sm, .order-table .th.hide-sm { display: none; }
}

/* ===== Telegram mini-mockup ===== */

.tg-mockup {
  width: 100%;
  max-width: 320px;
  border: 10px solid var(--fg);
  border-radius: 32px;
  background: #17212B;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tg-header {
  background: #242F3D;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
}
.tg-avatar {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.tg-header .name { font-size: 13px; font-weight: 500; }
.tg-header .status { font-size: 10px; color: #7E8A99; }

.tg-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  min-height: 280px;
}

.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.35;
}
.bubble.bot { background: #182533; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.user { background: #2B5278; align-self: flex-end; border-bottom-right-radius: 4px; }

.tg-buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  width: 80%;
}
.tg-buttons .b {
  background: #182533;
  color: #8AB4F8;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-align: center;
}

/* Reveal animation — gated on JS success (.reveal-enabled added to <html> by main.js) */
.reveal-enabled .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-enabled .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-enabled .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Language picker ─────────────────────────────────────── */
.lang-picker { position: relative; }
.lang-picker-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.lang-picker-btn:hover { border-color: var(--accent); }
.lang-picker-flag { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.05em; }
.lang-picker .chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px; min-width: 170px; z-index: 50; box-shadow: var(--shadow-lg); }
.lang-menu li { margin: 0; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--fg); text-decoration: none; font-size: 13px; }
.lang-menu a:hover { background: var(--tag); }
.lang-menu a[aria-current] { color: var(--accent); }

/* ── Pricing trial + misc helpers ────────────────────────── */
.trial-badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 10px; margin: 4px 0 8px; }
.pricing-trial-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }
.price-title { font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.eyebrow-spaced { margin-bottom: 32px; }
.mono-cell { font-family: var(--font-mono); font-size: 12px; }
.foot-about { font-size: 13px; color: var(--muted); margin: 0; max-width: 36ch; line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; margin-top: 8px; }

/* The [hidden] attribute is toggled by main.js (modal, lang-menu, form success/error).
   Author rules like `.modal-backdrop { display: grid }` would otherwise beat the UA
   `[hidden] { display: none }` (author origin > UA) and leave them stuck visible. */
[hidden] { display: none !important; }

/* Consent checkbox (waitlist form) */
.consent-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); margin: 4px 0; cursor: pointer; }
.consent-check input { margin-top: 3px; flex-shrink: 0; }
.consent-check a { color: var(--accent); }
.consent-check.error { color: var(--accent); }

/* Honeypot: off-screen (not display:none, which some bots skip) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
