@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #00442d;
  --forest-deep: #022e1f;
  --mint: #d9f0d4;
  --mint-deep: #c3e3bd;
  --paper: #fafcf7;
  --white: #ffffff;
  --amber: #e8a33a;
  --ink-soft: #2f5a47;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--forest);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-weight: 800; font-size: 24px; letter-spacing: -0.02em;
}
.brand img { width: 40px; height: 40px; display: block; }
.header-note { font-size: 16px; color: var(--ink-soft); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
  padding: 56px 0 40px;
}
h1 {
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}
.lede {
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 44ch;
}

form.waitlist {
  margin-top: 32px;
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 540px;
}
.waitlist input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  font: inherit; color: var(--forest);
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 999px;
}
.waitlist input[type="email"]::placeholder { color: #6f8f7f; }
.waitlist button {
  flex: 0 0 auto;
  font: inherit; font-weight: 700; cursor: pointer;
  padding: 16px 26px;
  color: var(--mint); background: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 999px;
}
.waitlist button:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.fine { margin-top: 14px; font-size: 15px; color: var(--ink-soft); max-width: 48ch; }
.fine a { color: var(--forest); }
.notice {
  display: none; margin-top: 12px; font-size: 15px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--white); border: 2px solid var(--amber);
}
.notice.show { display: block; }

/* The comparison: the one bold element */
.compare {
  background: var(--forest);
  color: var(--mint);
  border-radius: 28px;
  padding: 28px 28px 24px;
}
.compare h2 {
  font-size: 17px; font-weight: 500; letter-spacing: 0;
  color: var(--mint-deep);
  margin-bottom: 22px;
}
.bar-row + .bar-row { margin-top: 18px; }
.bar-row .label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 16px;
  margin-bottom: 8px;
}
.bar-row .label strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.bar {
  height: 22px; border-radius: 999px;
  background: var(--mint-deep);
  transform-origin: left center;
  animation: grow 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.bar.slow { width: 100%; opacity: .55; }
.bar.fast { width: 42%; background: var(--amber); animation-delay: .25s; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.compare p {
  margin-top: 22px; font-size: 15px; color: var(--mint-deep); line-height: 1.45;
}

/* Plan: what the hour looks like, on the one mint band */
.band { background: var(--mint); margin-top: 40px; }
.plan { padding: 56px 0 48px; }
.section-title {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 22ch;
}
.section-sub { margin-top: 12px; color: var(--ink-soft); max-width: 56ch; }

.lanes {
  margin-top: 32px;
  background: var(--white);
  border-radius: 24px;
  padding: 24px 20px 18px;
}
.lane {
  display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px;
  padding: 8px 0;
}
.lane + .lane { border-top: 1px solid var(--mint); }
.lane-name { font-weight: 600; font-size: 16px; }
.track {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px;
  min-height: 40px; align-items: center;
}
.block {
  height: 36px; border-radius: 10px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--mint); color: var(--forest);
}
.block.you { background: var(--forest); color: var(--mint); }
.block.idle { background: transparent; color: var(--ink-soft); font-weight: 500; border: 1.5px dashed var(--mint-deep); }
.c-1-3 { grid-column: 1 / 3; }  .c-2-9 { grid-column: 2 / 9; }
.c-3-5 { grid-column: 3 / 5; }  .c-3-11 { grid-column: 3 / 11; }
.c-5-11 { grid-column: 5 / 11; } .c-5-12 { grid-column: 5 / 12; }
.c-11-13 { grid-column: 11 / 13; }
.axis {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; margin-top: 10px;
  font-size: 13px; color: var(--ink-soft);
}
.axis div:last-child { display: flex; justify-content: space-between; }
.plan-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* What you end up with */
.result { padding: 64px 0 24px; }
.containers {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.box {
  min-width: 0;
  aspect-ratio: 1 / 0.62;
  background: var(--white);
  border: 2px solid var(--forest);
  border-radius: 10px 10px 14px 14px;
  position: relative;
  padding: 10px 10px 8px;
  display: flex; flex-direction: column; justify-content: flex-end;
  font-size: 13px; line-height: 1.25;
}
.box::before {
  content: ""; position: absolute; left: -2px; right: -2px; top: -2px;
  height: 9px; background: var(--forest); border-radius: 10px 10px 2px 2px;
}
.box b { display: block; font-size: 14px; }
.box span { color: var(--ink-soft); }
.result-note { margin-top: 18px; color: var(--ink-soft); max-width: 56ch; }

/* Also */
.also { padding: 40px 0 8px; }
.also-grid {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.also h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.also p { color: var(--ink-soft); font-size: 17px; }

/* Closing */
.closing {
  margin: 56px 0 0;
  padding: 44px 32px;
  background: var(--forest); color: var(--mint);
  border-radius: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.closing p {
  font-weight: 800; font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.03em; line-height: 1.05;
}
.closing a {
  display: inline-block; text-decoration: none; font-weight: 700;
  color: var(--forest); background: var(--mint);
  padding: 16px 26px; border-radius: 999px;
}
.closing a:focus-visible { outline-color: var(--mint); }

footer {
  padding: 32px 0 48px; font-size: 15px; color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
}
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--forest); }

/* Privacy page */
.doc { max-width: 68ch; padding: 24px 0 8px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); max-width: none; margin-bottom: 10px; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p, .doc ul + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin-top: 8px; }
.doc li + li { margin-top: 6px; }
.doc .eff { font-size: 15px; }
.doc a { color: var(--forest); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; }
  .also-grid { grid-template-columns: 1fr; gap: 24px; }
  .containers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .lane, .axis { grid-template-columns: 60px 1fr; gap: 8px; }
  .lane-name { font-size: 14px; }
  .block { font-size: 12px; padding: 0 8px; }
  .waitlist button { flex: 1 1 100%; }
  .containers { gap: 8px; }
  .box { font-size: 11px; padding: 8px 7px 6px; aspect-ratio: 1 / 0.8; }
  .box b { font-size: 12px; }
  .box span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .closing { padding: 32px 22px; }
  .compare { padding: 22px 20px 20px; }
  .bar-row .label strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar { animation: none; }
}

/* Confirmation page */
.confirmed { padding: 56px 0 72px; max-width: 640px; }
.confirmed-mark { display: block; width: 96px; height: 96px; margin-bottom: 28px; }
.confirmed h1 { max-width: none; font-size: clamp(44px, 7vw, 76px); }
.confirmed-next { margin-top: 18px; color: var(--ink-soft); max-width: 44ch; }
.confirmed-next a { color: var(--forest); font-weight: 600; }
.confirmed-back {
  display: inline-block; margin-top: 32px;
  text-decoration: none; font-weight: 700;
  color: var(--mint); background: var(--forest);
  padding: 14px 24px; border-radius: 999px;
}
.confirmed-back:hover { background: var(--forest-deep); }
