:root {
  color-scheme: dark;
  --bg0: #0e1512;
  --bg1: #162019;
  --ink: #f4f7f2;
  --muted: #9bb0a3;
  --accent: #c8f542;
  --accent-ink: #132006;
  --line: rgba(244, 247, 242, 0.12);
  --glow: rgba(200, 245, 66, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(900px 520px at 78% 8%, var(--glow), transparent 55%),
    linear-gradient(160deg, #1a2a20 0%, var(--bg0) 42%, #0a100d 100%);
}

.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lang { display: flex; gap: 6px; }
.lang button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-width: 42px;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.lang button.active {
  background: var(--ink);
  color: var(--bg0);
  border-color: var(--ink);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 8vh 0 6vh;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lead {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.45;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--ink); }

.help {
  margin: 0 0 28px;
  padding: 20px 0 8px;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}
.help h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.help ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}
.help-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.foot {
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.foot a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .cta { flex-direction: column; }
  .btn { width: 100%; }
}
