:root {
  --bg: #eef1f6;
  --ink: #12161f;
  --ink-fixed: #10141c;
  --paper-fixed: #eef1f6;
  --muted: #5a6473;
  --surface: #ffffff;
  --surface-2: #e1e7ef;
  --blue: #2f5fe0;
  --blue-soft: #dee6fb;
  --amber: #c8830e;
  --amber-soft: #f8e7c8;

  --font-display: 'Golos Text', ui-serif, Georgia, serif;
  --font-body: 'Onest', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 6vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--font-mono); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--muted);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  padding: 7px 12px;
  border: none;
  background: transparent;
  color: #596373;
  cursor: pointer;
}
.lang-btn.is-active { background: var(--blue); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-sm { padding: 11px 20px; }
.btn-outline {
  border-color: var(--muted);
  color: var(--ink);
  font-size: 15px;
  padding: 13px 24px;
}
.btn-paper { background: var(--paper-fixed); color: var(--ink); padding: 14px 26px; }

/* ---------- cover ---------- */
.cover {
  background: var(--ink-fixed);
  padding: clamp(64px, 10vw, 140px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.cover-mark { width: 64px; height: 64px; }
.cover-title {
  font-weight: 800;
  line-height: 0.95;
  font-size: clamp(56px, 9vw, 120px);
  color: var(--paper-fixed);
}
.cover-title .accent { color: var(--blue); }
.cover-steps, .hero-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
}
.cover-steps { color: var(--paper-fixed); }
.cover-steps .arrow, .hero-steps .arrow { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.cover-steps-last { max-width: 260px; }
.cover-tagline {
  font-size: 22px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 760px;
}

/* ---------- hero ---------- */
.hero {
  border-top: 1px solid var(--ink);
  padding: clamp(48px, 8vw, 88px) var(--gutter) clamp(40px, 6vw, 72px);
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.12;
  max-width: 640px;
}
.hero-lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.hero-steps { font-size: 16px; color: var(--ink); flex-wrap: wrap; }
.hero-steps-last { color: var(--amber); }
.hero-visual {
  flex: 0 0 auto;
  width: min(420px, 100%);
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img { width: 42%; height: auto; }

/* ---------- gate sections ---------- */
.gate {
  border-top: 1px solid var(--ink);
  padding: clamp(56px, 9vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.gate-kicker { display: flex; align-items: center; gap: 10px; }
.gate-n { font-size: 13px; color: var(--muted); }
.gate-title { font-weight: 700; font-size: clamp(24px, 3vw, 32px); }
.gate-lede { font-size: 16px; line-height: 1.55; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-amber-outline { background: transparent; color: var(--amber); border: 1px dashed var(--amber); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}
.feature-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-card h4 { font-weight: 600; font-size: 17px; }
.feature-card p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.spec-card {
  background: var(--surface);
  border: 1px solid var(--muted);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 480px;
}
.spec-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--muted);
  border-radius: 3px;
}
.spec-thumb span { position: absolute; width: 16px; height: 16px; background: var(--ink); }
.spec-thumb span:nth-child(1) { left: 4px; top: 4px; }
.spec-thumb span:nth-child(2) { left: 42px; top: 4px; }
.spec-thumb span:nth-child(3) { left: 4px; top: 42px; }
.spec-thumb span:nth-child(4) { left: 23px; top: 23px; }
.spec-meta { display: flex; flex-direction: column; gap: 6px; }
.spec-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.spec-sku { font-size: 13px; color: var(--muted); }

/* ---------- outputs ---------- */
.outputs {
  background: var(--surface-2);
  border-top: 1px solid var(--ink);
  padding: clamp(48px, 8vw, 88px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section-title { font-weight: 700; font-size: 32px; }
.output-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.output-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.output-n { color: var(--blue); font-size: 12px; letter-spacing: 0.06em; }
.output-card h4 { font-weight: 600; font-size: 16px; }
.output-card p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- pricing ---------- */
.price-row { display: flex; }
.price-card {
  background: var(--surface);
  border: 2px solid var(--blue);
  border-radius: 10px;
  padding: 26px;
  width: min(329px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-plan { font-size: 13px; color: var(--muted); font-weight: 500; }
.price-value { font-family: var(--font-display); font-weight: 800; font-size: 32px; }
.price-feature { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.price-feature .check { color: var(--blue); }

.notice-amber {
  background: var(--amber-soft);
  border: 1px dashed var(--amber);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}
.notice-kicker { color: var(--amber); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; flex: 0 0 auto; }
.notice-amber p:not(.notice-kicker) { flex: 1 1 260px; font-size: 14px; line-height: 1.5; }

/* ---------- scope band ---------- */
.scope-band {
  background: var(--surface-2);
  padding: 56px var(--gutter);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.scope-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border: 1.6px solid var(--blue);
  transform: rotate(45deg);
}
.scope-band p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 900px; }

/* ---------- final CTA + footer ---------- */
.cta-final {
  background: var(--ink-fixed);
  padding: clamp(56px, 9vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.cta-final h3 {
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--paper-fixed);
  max-width: 620px;
}

.site-footer {
  background: var(--ink-fixed);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .brand-name { color: var(--paper-fixed); font-size: 16px; font-weight: 600; }
.footer-note { color: var(--muted); font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .output-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-steps-last { max-width: none; }
}
@media (max-width: 600px) {
  .feature-grid, .output-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-visual { width: 100%; }
  .cover-steps, .hero-steps { font-size: 16px; gap: 8px; }
  .nav-actions .lang-switch { display: none; }
}
