:root {
  --bg: #07080b;
  --text: #f6f1e8;
  --muted: rgba(246, 241, 232, 0.62);
  --faint: rgba(246, 241, 232, 0.38);
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff7a1a;
  --on: #0c0c0c;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(820px 520px at 78% 8%, rgba(255, 122, 26, 0.16), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow: hidden;
}
button, a { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.top, .bottom {
  position: fixed; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.top { top: 0; }
.bottom { bottom: 10px; padding-bottom: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; letter-spacing: -0.03em;
}
.brand img { width: 32px; height: 32px; }
.eyebrow, .count, .hint, .kicker, .latin, .meta {
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}
.eyebrow, .count { color: var(--faint); }
.stage {
  height: 100dvh;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
  padding: 92px 72px 108px 48px;
}
.dots {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  justify-self: end;
}
.dots button {
  width: 7px; height: 7px; border-radius: 50%;
  border: 0; padding: 0; background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.dots button[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.16);
}
.slide { display: none; max-width: 1080px; }
.slide.active { display: block; animation: in 0.32s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes in {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}
.kicker { color: var(--accent); margin: 0 0 18px; }
h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(52px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 500;
}
h1 .warm { color: #f3e2cf; }
.lede {
  margin: 22px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.latin { margin: 28px 0 0; color: var(--faint); letter-spacing: 0.16em; }
h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.grid { display: grid; gap: 12px; margin-top: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card, .step, .limit {
  border: 1px solid var(--line);
  background: rgba(11, 11, 11, 0.72);
  border-radius: 22px;
  padding: 18px 18px 16px;
}
.card h3, .step h3, .limit h3 {
  margin: 8px 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 560;
}
.card p, .step p, .limit p, .rows dd { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.meta { color: var(--accent); letter-spacing: 0.14em; }
.rows { margin: 22px 0 0; display: grid; }
.rows div {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--line);
}
.rows dt { color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.step em { font-style: normal; font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: 0.14em; }
table { width: 100%; border-collapse: collapse; margin-top: 22px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
td:first-child { font-weight: 650; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; background: transparent;
}
.btn-primary { background: var(--accent); color: var(--on); }
.btn-ghost { border-color: var(--line); }
.navbtn {
  background: transparent; border: 0; color: rgba(246, 241, 232, 0.72);
  cursor: pointer; font-size: 14px; padding: 8px 4px;
}
.navbtn:disabled { opacity: 0.35; cursor: default; }
.navbtn.next {
  background: var(--accent); color: var(--on); border-radius: 999px;
  padding: 10px 16px; font-weight: 700;
}
.hint { color: var(--faint); }
.bar {
  position: fixed; left: 28px; right: 28px; bottom: 14px; height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.bar span {
  display: block; height: 1px; background: var(--accent);
  width: 0; transition: width 0.25s ease;
}

@media (max-width: 860px) {
  body { overflow: auto; }
  .stage {
    height: auto; min-height: 100dvh;
    grid-template-columns: 1fr;
    padding: 92px 20px 110px;
    align-items: start;
  }
  .dots { flex-direction: row; justify-self: start; margin-bottom: 18px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-5, .rows div { grid-template-columns: 1fr; }
  .top, .bottom { padding-left: 16px; padding-right: 16px; }
  .hint { display: none; }
  h1 { max-width: none; font-size: 48px; }
  table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .slide.active { animation: none; }
  .bar span { transition: none; }
}
