:root {
  --green: #0b7a4b;
  --green-deep: #0b4a30;
  --gold: #e0a100;
  --ink: #101512;
  --body: #3e4842;
  --muted: #5a635c;
  --line: #e3e7e2;
  --bg: #f4f6f3;
  --surface: #fff;
  --navy: #0e1c24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--green-deep); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 0.45em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 16em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 0.75em; }
.top {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 5vw;
  background: var(--navy);
}
.top img { height: 42px; width: auto; display: block; }
.top nav { display: flex; gap: 1rem; margin-left: auto; flex-wrap: wrap; }
.top nav a, .top .text-link { color: #d5ddd8; text-decoration: none; font-size: 0.92rem; }
.top .btn { margin-left: 0.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; text-decoration: none; border: 0;
  border-radius: 12px; padding: 0.75rem 1.05rem;
  font: 600 0.95rem "IBM Plex Sans", sans-serif; cursor: pointer;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.wrap { padding: 3.2rem 5vw 3.6rem; max-width: 1100px; }
.lede { font-size: 1.12rem; max-width: 40rem; color: var(--body); }
.kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 0.55rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.card, .panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.15rem 1.15rem 0.4rem;
}
.card a.more { font-weight: 600; }
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; align-items: start; }
ul.clean { margin: 0.2rem 0 1rem; padding-left: 1.1rem; }
ul.clean li { margin: 0.4rem 0; color: var(--body); }
.note { color: var(--muted); font-size: 0.95rem; }
footer {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center;
  padding: 1.3rem 5vw 1.8rem; border-top: 1px solid var(--line); color: var(--muted);
}
dialog {
  border: 0; border-radius: 16px; padding: 0; width: min(520px, calc(100% - 1.5rem));
  box-shadow: none;
}
dialog::backdrop { background: rgba(16, 21, 18, 0.55); }
form { display: grid; gap: 0.7rem; padding: 1.2rem 1.2rem 1.3rem; }
form h2 { font-size: 1.35rem; }
label { display: grid; gap: 0.28rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.75rem;
  font: 400 1rem "IBM Plex Sans", sans-serif; color: var(--ink); background: #fff;
  text-transform: none; letter-spacing: 0;
}
textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.check { display: flex; gap: 0.55rem; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.92rem; color: var(--body); }
.check input { width: auto; margin-top: 0.15rem; }
.hp { position: absolute; left: -9999px; }
.form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.close {
  border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted);
}
.status { min-height: 1.2em; font-size: 0.95rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.status.ok { color: var(--green-deep); }
.status.err { color: #b42318; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; margin: 0.5rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0.9rem; margin-top: 1.5rem; align-items: stretch; }
.steps { display: grid; gap: 0.4rem; align-content: start; }
.steps button {
  text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 0.72rem 0.85rem; cursor: pointer; color: var(--ink);
  font: 600 0.98rem "Space Grotesk", sans-serif;
  display: flex; gap: 0.7rem; align-items: center;
}
.steps button span { color: var(--green); min-width: 1.6rem; }
.steps button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.steps button.on span { color: var(--gold); }
.stage {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.35rem 1.3rem 0.6rem; min-height: 16rem;
}
.stage h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100svh - 70px);
  padding: 3rem 6vw 4rem;
  color: #f4f7f5;
  background:
    radial-gradient(520px 280px at 88% 12%, rgba(11, 122, 75, 0.45), transparent 62%),
    radial-gradient(380px 220px at 8% 92%, rgba(224, 161, 0, 0.16), transparent 70%),
    var(--navy);
}
.hero h1 { color: #fff; max-width: none; font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin: 0 0 0.7rem; }
.hero h1 span { display: block; animation: rise 0.7s ease both; }
.hero h1 span:nth-child(2) { animation-delay: 0.12s; }
.hero h1 span:nth-child(3) { animation-delay: 0.24s; color: var(--gold); }
.hero .kicker { color: #8dcea9; }
.hero .lede { color: #d5ddd8; font-size: 1.2rem; max-width: 28rem; animation: rise 0.8s 0.35s ease both; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; animation: rise 0.8s 0.48s ease both; }
.board {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.25rem 1.2rem 1.3rem;
  animation: rise 0.9s 0.2s ease both;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.board-bar { display: flex; align-items: center; gap: 0.5rem; color: #b7c4bc; font-size: 0.85rem; margin-bottom: 1.1rem; }
.board-bar strong { margin-left: auto; color: var(--gold); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.7);
  animation: ping 1.8s ease infinite;
}
.rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 1rem; }
.rail-line {
  position: absolute; left: 16%; right: 16%; top: 22px; height: 2px;
  background: rgba(255, 255, 255, 0.16);
}
.mover {
  position: absolute; top: -6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 18px var(--gold);
  left: calc(var(--p, 0) * (100% - 14px));
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.node {
  position: relative; z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 28, 36, 0.72);
  color: #d5ddd8; border-radius: 14px; padding: 0.7rem 0.45rem 0.6rem;
  cursor: pointer; font: 600 0.95rem "Space Grotesk", sans-serif;
}
.node small { display: block; font: 400 0.75rem "IBM Plex Sans", sans-serif; color: #8ea097; margin-top: 0.15rem; }
.node.on { border-color: var(--gold); color: #fff; transform: translateY(-3px); transition: transform 0.35s ease, border-color 0.35s ease; }
.ticket { background: #fff; color: var(--ink); border-radius: 16px; padding: 1rem 1rem 0.4rem; min-height: 8.2rem; }
.ticket .kicker { color: var(--green); }
.ticket h2 { font-size: 1.55rem; margin-bottom: 0.25rem; }
.ticket h2.swap { animation: rise 0.45s ease; }
.ticket p:last-child { color: var(--body); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); }
.door {
  min-height: 320px; padding: 1.6rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
}
.door span { font: 600 0.8rem "Space Grotesk", sans-serif; letter-spacing: 0.08em; color: var(--green); }
.door h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0.3rem 0; }
.door p { max-width: 22ch; }
.door i { font-style: normal; font-weight: 600; }
.door:nth-child(1) { background: #fff; }
.door:nth-child(2) { background: var(--green); color: #fff; }
.door:nth-child(2) span, .door:nth-child(3) span { color: var(--gold); }
.door:nth-child(2) p, .door:nth-child(3) p { color: rgba(255, 255, 255, 0.86); }
.door:nth-child(3) { background: var(--navy); color: #fff; }
.door:hover i { display: inline-block; animation: nudge 0.45s ease; }
.zero {
  padding: 4.5rem 6vw; text-align: center;
  background: var(--bg);
}
.zero p { color: var(--green); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.zero strong {
  display: block; font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.04em; line-height: 0.95;
  margin: 0.2rem 0 0.6rem;
}
.zero-note { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.05rem; color: var(--body); max-width: 28rem; margin: 0 auto 1.2rem; }
[data-reveal] { animation: rise 0.7s ease both; }
.door:nth-child(2) { animation-delay: 0.08s; }
.door:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
@keyframes nudge {
  from { transform: translateX(0); }
  to { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 span, .hero .lede, .hero-actions, .board, [data-reveal], .pulse-dot, .mover { animation: none; transition: none; }
}
@media (max-width: 800px) {
  .top { flex-wrap: wrap; }
  .top nav { width: 100%; margin-left: 0; }
  .grid, .two, .row2, .story, .hero, .doors { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 2.2rem 1.15rem 2.6rem; }
  .door { min-height: 220px; }
  .wrap { padding: 2.2rem 1.15rem 2.6rem; }
}
