@font-face {
  font-family: Archivo;
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #0b1514;
  --paper: #f1f7f3;
  --muted: #b0c4bd;
  --mint: #72efae;
  --line: #304640;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: Archivo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 74% 570px at 78% 21%, #153f32 0%, transparent 72%), var(--ink);
  color: var(--paper);
}
.wrap { width: min(100% - 96px, 1352px); margin-inline: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.symbols, .sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 3; top: 10px; left: 10px; background: var(--ink); padding: 12px; }
.mast {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.identity { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.identity svg { width: 30px; height: 30px; color: var(--mint); }
.identity span { font-size: 29px; font-weight: 760; letter-spacing: -.055em; }
.identity small { color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; font-size: 12px; white-space: nowrap; }
.mast-link { color: var(--mint); font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.mast-link:hover, .footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(32px, 5vw, 76px); padding-block: 65px 73px; }
.hero > * { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--mint);
  font: 650 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .105em;
}
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
h1 {
  margin: 20px 0 18px;
  font-size: clamp(47px, 4.85vw, 74px);
  line-height: .97;
  font-weight: 740;
  letter-spacing: -.055em;
  word-spacing: .035em;
}
h1 em { color: var(--mint); font-style: normal; }
.lead { max-width: 34ch; margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.button {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--mint);
  color: #092018;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #a0f8c8; }
.walkthrough > h2 { margin-bottom: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.steps button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #122622;
  color: var(--paper);
  font: 650 14px/1.1 Archivo, system-ui, sans-serif;
  cursor: pointer;
}
.steps button span { color: var(--muted); font: 600 11px/1 var(--mono); }
.steps button:hover { border-color: var(--mint); }
.steps button[aria-pressed="true"] { color: var(--mint); border-color: #63ad8b; background: #1c3d31; }
.steps button[aria-pressed="true"] span { color: inherit; }
.window { overflow: hidden; border: 1px solid #4b6559; border-radius: 11px; background: #0d1b18; box-shadow: 0 17px 46px #030c0b88; }
.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 33px;
  gap: 5px;
  padding: 0 11px;
  color: #c4d7ce;
  font: 550 10px/1 var(--mono);
}
.window-dots { width: 5px; height: 5px; margin-left: 1px; border-radius: 50%; background: #8da59a; box-shadow: 9px 0 #637e72, 18px 0 #496459; }
.sample { justify-self: end; color: var(--mint); }
.example-prompt {
  margin: 0;
  padding: 10px 13px 12px;
  border-top: 1px solid var(--line);
  background: #142823;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.screen { position: relative; isolation: isolate; }
.screen img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 780; object-fit: cover; }
.focus-ring { display: none; position: absolute; pointer-events: none; border: 2px solid #087b57; border-radius: 6px; box-shadow: 0 0 0 3px #a4f7cd70; }
.scene + .scene { margin-top: 20px; }
/* Share row sizes across every example so switching steps cannot reflow the page. */
.steps:not([hidden]) ~ .scenes { display: grid; grid-template-rows: repeat(4, auto); }
.steps:not([hidden]) ~ .scenes .scene {
  display: grid;
  grid-column: 1;
  grid-row: 1 / 5;
  grid-template-rows: subgrid;
  min-width: 0;
  margin-top: 0;
}
.steps:not([hidden]) ~ .scenes .scene[hidden] {
  display: grid !important;
  visibility: hidden;
}
.steps:not([hidden]) ~ .scenes .window { display: grid; grid-row: 1 / 4; grid-template-rows: subgrid; }
.steps:not([hidden]) ~ .scenes .scene:not([hidden]) { animation: fade-in 240ms ease-out both; }
.steps:not([hidden]) ~ .scenes .focus-ring { display: block; }
.design .focus-ring { inset: 56% 10.5% 31% 53%; }
.review .focus-ring { inset: 35% 31% 25% 58%; }
.market .focus-ring { inset: 15% 66% 1% 22%; }
@keyframes fade-in { from { opacity: .55; } to { opacity: 1; } }
.scene-copy { display: flex; gap: 12px; align-items: baseline; padding: 15px 0 0; }
.scene-number { color: var(--mint); font: 650 12px/1 var(--mono); }
.scene-copy h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.35; }
.scene-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 23px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #112420;
}
.demo h2 { margin: 7px 0 0; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.03em; word-spacing: .04em; }
.footer { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
@media (min-width: 961px) and (max-height: 700px) {
  .mast { min-height: 66px; }
  .hero { padding-block: 12px 44px; }
  .walkthrough { max-width: 535px; justify-self: center; width: 100%; }
  h1 { font-size: clamp(45px, 4.65vw, 70px); }
}
@media (max-width: 960px) {
  .wrap { width: min(100% - 48px, 700px); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 43px 46px; }
  h1 { max-width: 15ch; font-size: clamp(47px, 8vw, 69px); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .mast { min-height: 62px; }
  .identity { gap: 6px; }
  .identity svg { width: 23px; height: 23px; }
  .identity span { font-size: 24px; }
  .identity small { padding-left: 6px; font-size: 10px; }
  .mast-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 12px; }
  .hero { gap: 26px; padding-block: 26px 28px; }
  .intro .eyebrow { display: none; }
  h1 { font-size: clamp(37px, 10.2vw, 58px); margin: 0 0 12px; }
  .lead { max-width: 42ch; margin: 0; font-size: 15px; line-height: 1.5; }
  .intro .button { display: none; }

  .walkthrough > h2 { margin-bottom: 5px; }
  .steps { gap: 0; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .steps button {
    justify-content: flex-start;
    gap: 5px;
    padding-inline: 3px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
  }
  .steps button[aria-pressed="true"] { border-color: var(--mint); background: transparent; }
  .steps button:focus-visible { outline-offset: -2px; }
  .window { border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; }
  .window-bar { grid-template-columns: 1fr auto; min-height: 20px; padding: 0; }
  .window-dots { display: none; }
  .example-prompt { padding: 3px 0 11px; border: 0; background: transparent; }
  .screen { overflow: hidden; border: 1px solid #4b6559; border-radius: 8px; }
  .screen img { aspect-ratio: 576 / 308; }
  .design .focus-ring { inset: 34% 3% 35% 7%; }
  .review .focus-ring { inset: 12% 62% 8% 19%; }
  .market .focus-ring { inset: 6% 38% 6% 32%; }
  .scene-copy { gap: 8px; padding-top: 12px; }
  .scene-copy h3 { font-size: 15px; }

  .demo { gap: 12px; padding: 12px 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; }
  .demo .eyebrow { display: none; }
  .demo h2 { margin: 0; font-size: 17px; }
  .demo .button { min-height: 44px; gap: 5px; padding: 0; background: transparent; color: var(--mint); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps:not([hidden]) ~ .scenes .scene:not([hidden]) { animation: none; }
}
