@font-face {
  font-family: "Geist Mono";
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  font-size: 18px;
  --paper: #faf9f6;
  --ink: #252420;
  --muted: #65635d;
  --line: #d9d7d0;
  --wash: #f0eee8;
  --amber: #b45f06;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --paper: oklch(19% 0.01 250);
  --ink: oklch(95% 0.006 240);
  --muted: oklch(77% 0.012 240);
  --line: oklch(37% 0.01 250);
  --wash: oklch(24% 0.012 250);
  --amber: #f0a64a;
}
:root[data-size="large"] {
  font-size: 22px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 44px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: var(--wash);
}
figure {
  margin: 0;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}
.mark {
  font-weight: 600;
  letter-spacing: -0.05em;
}
.prefs {
  display: flex;
  gap: 8px;
}
.prefs button {
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.85rem;
  color: inherit;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.prefs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.hero {
  border: 0;
  padding-top: 40px;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 0 44px;
}
h2 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 32px;
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
p {
  margin: 0 0 12px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.facts b {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.me p {
  max-width: 52ch;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stats.three {
  grid-template-columns: repeat(3, 1fr);
}
.stats strong {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.punch p {
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
  max-width: 30ch;
  margin-bottom: 16px;
}
.punch p + p {
  color: var(--muted);
}

.idea {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}
.idea:last-child {
  margin-bottom: 0;
}
.idea .num {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.idea .num strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.mock {
  position: relative;
  container-type: inline-size;
  border-radius: 6px;
  overflow: hidden;
}
.mock img {
  border-radius: 0;
}
.bracket {
  position: absolute;
  left: 32.4%;
  top: 22.6%;
  width: 34.8%;
  height: 3.6%;
  border: 0.35cqw solid #fff;
  border-radius: 0.5cqw;
  box-shadow: 0 0 0 0.3cqw rgb(0 0 0 / 0.25);
}
.panel {
  position: absolute;
  left: 16%;
  top: 50%;
  display: grid;
  gap: 0.8cqw;
  padding: 2.6cqw 3.4cqw;
  background: rgb(10 12 16 / 0.82);
  border: 0.2cqw solid rgb(255 255 255 / 0.35);
  border-radius: 1.4cqw;
  color: #fff;
  font-size: 4.2cqw;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.panel small {
  font-size: 2.6cqw;
  font-weight: 500;
  color: #9fe0a8;
}
.glow {
  position: absolute;
  inset: 0 0 0 auto;
  width: 30%;
  background: linear-gradient(to left, rgb(245 150 40 / 0.62), rgb(245 150 40 / 0));
}
.chevron {
  position: absolute;
  right: 5%;
  top: 38%;
  width: 9cqw;
  height: 9cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0962a;
  color: #1c1406;
  font-size: 7cqw;
  line-height: 1;
  padding-bottom: 1cqw;
  box-shadow: 0 0 0 1.4cqw rgb(240 150 42 / 0.35);
}
.tap {
  position: absolute;
  left: 4%;
  bottom: 5%;
  padding: 1cqw 2.2cqw;
  border-radius: 99px;
  background: rgb(10 12 16 / 0.78);
  color: #f0a64a;
  font-size: 2.4cqw;
  font-weight: 600;
}

.lineup {
  list-style: none;
  margin: 0;
  padding: 6%;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  background: var(--wash);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 12px;
}
.lineup li {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.profile,
.quote {
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  background: var(--wash);
  display: grid;
  place-items: center;
}
.quote {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-align: center;
}
.phone {
  width: min(56%, 240px);
  aspect-ratio: 9 / 16;
  max-height: 90%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.72rem;
}
.phone-title {
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0;
}
.ramp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ramp i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--ink);
}
.ramp i:nth-child(2) { opacity: 0.7; }
.ramp i:nth-child(3) { opacity: 0.45; }
.ramp i:nth-child(4) { opacity: 0.25; }
.ramp i:nth-child(5) { opacity: 0.12; }
.ramp i:nth-child(6) { opacity: 0.05; outline: 2px solid var(--amber); outline-offset: 2px; }
.phone dl {
  margin: 0;
  display: grid;
  gap: 8px;
}
.phone dl div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.phone dt {
  color: var(--muted);
}
.retest {
  margin-top: auto;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.phone dd {
  margin: 0;
  font-weight: 600;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: s;
}
.wide + .steps {
  margin-top: 40px;
}
.steps li {
  counter-increment: s;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.steps li::before {
  content: counter(s);
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.steps b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tests {
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.tests li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 60px;
  color: var(--muted);
  font-size: 0.8rem;
}
summary {
  cursor: pointer;
  padding: 12px 0;
}
footer ul {
  padding-left: 1.2em;
}
footer li {
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  body {
    padding: 0 20px;
  }
  section {
    padding: 52px 0;
  }
  .facts,
  .stats,
  .stats.three,
  .steps,
  .idea {
    grid-template-columns: 1fr 1fr;
  }
  .idea {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .facts,
  .steps {
    grid-template-columns: 1fr;
  }
}
