:root {
  --ink: #0b1f14;
  --muted: #3a4f45;
  --bg: #ffffff;
  --soft: #e9fff2;
  --card: #ffffff;
  --line: #d5e5db;
  --green: #00a850;
  --deep: #03552d;
  --deep-2: #024525;
  --mint-ink: #c9f5dc;
  --danger: #8c1d18;
  --max: 1120px;
  --radius: 16px;
  --shadow: 0 24px 60px -32px rgba(11, 31, 20, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--deep); }
:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { transform: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  font: 600 15px/1 inherit;
  color: var(--ink);
  padding: 0 16px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font: 600 16px/1.2 inherit;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  text-decoration: none;
}
.btn:hover { background: var(--deep-2); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn.sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn.mint { background: #b6f3cf; color: var(--ink); }
.btn.mint:hover { background: #d4fbe4; }

section { padding: 80px 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.45em; }
h1 { font-size: clamp(36px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep);
  margin: 0 0 12px;
}
.lead { font-size: 20px; color: var(--muted); max-width: 40em; }
.note { font-size: 15px; color: var(--muted); }
.hero { padding: 56px 0 40px; }
.hero-grid, .lang-grid, .signup, .cgrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--muted); }
.card h2 { font-size: 22px; }
.grid3, .grid4 { display: grid; gap: 16px; margin-top: 28px; list-style: none; padding: 0; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
.step b {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--deep);
  margin-bottom: 12px;
}
.alt { background: var(--soft); }
.stack { display: grid; gap: 12px; list-style: none; padding: 0; margin: 20px 0 0; }
.stack li, .channel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--deep);
  white-space: nowrap;
}
.badge.wait { background: #fff4d6; color: #5c3b00; }
.badge.hand { background: #e7eef8; color: #1d3d66; }

.chat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.chat-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.chat-h small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 12px; }
.log {
  height: 320px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}
.m { max-width: 86%; padding: 10px 14px; border-radius: 16px; margin: 0; }
.m.bot { background: var(--soft); border-bottom-left-radius: 4px; }
.m.me { background: var(--ink); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.m.sys { align-self: center; max-width: 100%; font-size: 13px; color: var(--muted); background: none; padding: 0; text-align: center; }
.m.gate { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.chip {
  font: inherit;
  font-size: 14px;
  min-height: 44px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.chip:hover { border-color: var(--deep); }
.chip:disabled { opacity: 0.45; cursor: default; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tab {
  font: inherit;
  font-size: 15px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.greet { font-size: clamp(22px, 3vw, 28px); line-height: 1.35; min-height: 3.2em; font-weight: 700; margin: 0 0 12px; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.gov { background: var(--ink); color: #fff; }
.gov .eyebrow { color: #8ee0b4; }
.gov .lead, .gov .card p { color: var(--mint-ink); }
.gov .card { background: #12281d; border-color: #234233; }
.gov a { color: #b6f3cf; }
.not-yet {
  margin-top: 28px;
  background: var(--green);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.not-yet h2 { font-size: 22px; color: var(--ink); }
.not-yet p { margin: 0; color: var(--ink); }

.price {
  text-align: center;
  padding: 40px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
}
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; color: var(--deep); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); }

.signup {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
}
.signup .lead { color: var(--mint-ink); }
.signup .eyebrow { color: #8ee0b4; }
.signup .note { color: var(--mint-ink); }
.signup a { color: #b6f3cf; }
.signup :focus-visible,
.gov :focus-visible,
footer :focus-visible { outline-color: #b6f3cf; }
form { display: grid; gap: 14px; }
label { font-size: 15px; font-weight: 700; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  color: inherit;
}
.check input { width: 20px; height: 20px; min-height: 20px; margin-top: 4px; }
.err { color: #ffd0c8; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.fb .err, .page .err { color: var(--danger); }
.status {
  background: #123524;
  border: 1px solid #8ee0b4;
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
}
.prose h2 { margin-top: 1.4em; }
.prose ul { color: var(--muted); padding-left: 1.2em; }
.prose li { margin: 0.4em 0; }
.prose strong { color: var(--ink); }
.callout {
  background: var(--soft);
  border-left: 4px solid var(--deep);
  border-radius: 12px;
  padding: 16px 18px;
}

.fb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.stars, .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.stars input, .nps input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 32px; line-height: 1; color: #8a8478; cursor: pointer; min-height: 44px; }
.stars input:focus-visible + label,
.nps input:focus-visible + label { outline: 3px solid var(--deep); outline-offset: 2px; }
.stars:has(input:checked) label { color: var(--deep); }
.stars input:checked + label ~ label { color: #8a8478; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; }
.nps label {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.nps input:checked + label { background: var(--deep); border-color: var(--deep); color: #fff; }
.scale { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.opts label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.opts input { width: 20px; height: 20px; min-height: 20px; }

footer { padding: 36px 0 48px; background: var(--deep); color: #e7f7ee; font-size: 15px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer a { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; }
address { font-style: normal; color: var(--muted); }

@media (max-width: 980px) {
  .grid4 { grid-template-columns: 1fr 1fr; }
  .hero-grid, .lang-grid, .signup, .cgrid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; }
  .grid3, .trust, .row, .nps { grid-template-columns: 1fr; }
  .nps { grid-template-columns: repeat(6, 1fr); }
  section { padding: 56px 0; }
  .signup, .fb { padding: 22px; }
  .channel, .stack li { flex-direction: column; align-items: flex-start; }
}
