@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;700&display=swap");

:root {
  --bg: #efeee9;
  --ink: #141414;
  --muted: #5f5c56;
  --line: rgba(20, 20, 20, 0.1);
  --card: #fffcf7;
  --black: #111111;
  --lime: #d6f25c;
  --hot: #ff5c2a;
  --warn: #9a3412;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, #e7f7a8 0%, transparent 50%),
    var(--bg);
  font: 17px/1.6 Manrope, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 238, 233, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 72px;
}
.logo {
  text-decoration: none;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.04em;
}
.logo span {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 7px 3px;
  border-radius: 999px;
  background: var(--lime);
}
nav { display: flex; flex-wrap: wrap; gap: 6px; }
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}
nav a:hover { background: #fff; }

.hero { padding: 28px 0 8px; }
.stage {
  background: var(--black);
  color: #f7f4ee;
  border-radius: 32px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 30px 80px rgba(17, 17, 17, 0.16);
}
.stage .eyebrow { color: var(--lime); }
.stage h1 { color: #fff; max-width: 14ch; }
.stage .lead { color: #d9d4cb; }
.stage .small { color: #a39e95; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--hot);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Unbounded, Manrope, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}
h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 19px; max-width: 40rem; margin-top: 0; }
.muted, .small { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.metric {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.metric b {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--lime);
}
.metric span { color: #c8c2b8; font-size: 13px; }

.grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: 16px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card, .calc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
section > .card { margin-top: 16px; }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.route {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  text-decoration: none;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, background 0.18s ease;
}
.route:hover { transform: translateY(-3px); background: var(--lime); }
.route em {
  font-style: normal;
  font-family: Unbounded, sans-serif;
  font-size: 13px;
  color: var(--hot);
}
.route strong { font-family: Unbounded, sans-serif; font-size: 22px; letter-spacing: -0.04em; }
.route span { color: var(--muted); font-size: 14px; }
.route:hover span { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--black);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
}
.btn:hover { background: #2a2a2a; }
.stage .btn { background: var(--lime); color: #111 !important; }
.btn.is-waiting { background: #8a8680; color: #fff !important; }
.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  background: var(--black);
  color: #fff;
  margin: 12px 0 20px;
}
.calc label { color: #d7d2ca; }
.calc .result, .calc .muted, .calc .small { grid-column: 1 / -1; }
.calc .muted { color: #bdb7ae; margin: 8px 0 0; }
.calc .small { color: #9c968e; }
.result {
  font-family: Unbounded, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.05em;
  margin: 0;
  color: var(--lime);
}
input:disabled, select:disabled { opacity: 0.4; }
input, select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0;
  background: #1d1d1d;
  color: #fff;
  font: inherit;
}
.warn {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff1ea;
  color: var(--warn);
}

.site-footer { margin-top: 56px; }
.site-footer .wrap {
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
}
code {
  font-family: Consolas, monospace;
  font-size: 0.92em;
  background: #fff;
  padding: 1px 6px;
  border-radius: 6px;
}
ul, ol { padding-left: 18px; }
li + li { margin-top: 6px; }

@media (max-width: 860px) {
  .grid, .cards-3, .routes, .metrics, .calc { grid-template-columns: 1fr; }
  .bar { align-items: flex-start; flex-direction: column; padding: 12px 0; }
  .stage h1, h1 { max-width: none; }
  .route { min-height: 0; }
}
