:root {
  color-scheme: dark;
  --ink: #0b0e14;
  --surf: #131822;
  --surf2: #1a2030;
  --line: #2a3041;
  --text: #e8dcc0;
  --dim: #8a8676;
  --accent: #f0b86a;
  --accent-dim: #c99245;
  --green: #4ecf7a;
  --amber: #f0b86a;
  --topbar-height: 56px;
  --shot-sticky-offset: 64px;
  --shot-viewport-gap: 20px;
  --max: 1350px;
  --stage-shot-width: 525px;
  --stage-shot-height: 323px;
  --stage-shot-ratio: 2118 / 1301;
  --pad: clamp(22px, 4vw, 40px);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1500px 750px at 10% -10%, rgba(240, 184, 106, 0.08), transparent 60%),
    radial-gradient(1125px 625px at 90% 0%, rgba(78, 207, 122, 0.05), transparent 55%),
    var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 14, 20, 0.88);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 19px;
  flex: 0 0 auto;
}

.top-quote {
  margin: 0;
  flex: 1 1 220px;
  text-align: right;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.top-quote q {
  quotes: "\201C" "\201D";
  font-style: italic;
}

.top-quote-attr {
  white-space: nowrap;
}

.top-quote-name {
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
}

.button:hover { filter: brightness(1.05); text-decoration: none; }

.button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.content-stage {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

.content-column {
  min-width: 0;
  padding-bottom: 60px;
}

.stage-shot {
  align-self: start;
  min-width: 0;
}

.stage-shot:empty {
  display: block;
}

.stage-shot-frame {
  --shot-max-height: min(
    var(--stage-shot-height),
    calc(100dvh - var(--shot-sticky-offset) - var(--shot-viewport-gap) - var(--shot-pad-top, 0px))
  );
  aspect-ratio: var(--stage-shot-ratio);
  width: min(var(--stage-shot-width), calc(var(--shot-max-height) * 2118 / 1301));
  max-height: var(--shot-max-height);
  height: auto;
  border: 1px solid var(--line);
  background: var(--surf2);
  overflow: hidden;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.35);
}

.stage-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.hero {
  padding: clamp(60px, 10vw, 120px) 0 50px;
}

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(35px, 6vw, 55px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 14ch;
}

.lead {
  margin: 0 0 35px;
  color: #cfc3a5;
  font-size: clamp(19px, 2.4vw, 22px);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.section {
  padding: 70px 0 15px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 4vw, 35px);
  letter-spacing: -0.3px;
}

.section-intro {
  margin: 0 0 30px;
  color: var(--dim);
  max-width: 60ch;
}

.story {
  display: grid;
  gap: 20px;
  max-width: 60ch;
  color: #cfc3a5;
}

.story p {
  margin: 0;
}

.story code {
  color: var(--accent);
  font-size: 0.95em;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  color: var(--green);
  box-shadow: 0 0 8px currentColor;
  display: inline-block;
  justify-self: center;
}

.feature-copy {
  min-width: 0;
  color: #cfc3a5;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 15px;
}

.step {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  background: var(--surf);
  padding: 20px 22px;
}

.step-num {
  color: var(--accent);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 5px;
  font-size: 1em;
}

.step p {
  margin: 0;
  color: #cfc3a5;
  font-size: 16px;
}

.waitlist-full {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(60px, 8vw, 120px) var(--pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(1125px 625px at 50% 100%, rgba(240, 184, 106, 0.06), transparent 60%),
    var(--surf);
}

.waitlist-inner {
  width: min(525px, 100%);
  text-align: center;
}

.waitlist-full h2 {
  margin: 0 0 15px;
  font-size: clamp(30px, 5vw, 40px);
}

.waitlist-full p {
  margin: 0 0 35px;
  color: var(--dim);
}

form.waitlist-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
}

input[type="text"],
input[type="email"] {
  min-height: 55px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--text);
  font: inherit;
  border-radius: 4px;
}

input:focus {
  outline: 2px solid rgba(240, 184, 106, 0.35);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2em;
  font-size: 16px;
  text-align: center;
}

.form-status.ok { color: var(--green); }
.form-status.err { color: #f08a7a; }

.footer {
  padding: 30px var(--pad) 60px;
  color: var(--dim);
  font-size: 15px;
  text-align: center;
}

@media (min-width: 1000px) {
  .content-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--stage-shot-width);
    gap: clamp(30px, 4vw, 60px);
    align-items: start;
  }

  .stage-shot:not(:empty) {
    --shot-pad-top: clamp(10px, 6vw, 70px);
    position: sticky;
    top: var(--shot-sticky-offset);
    padding-top: var(--shot-pad-top);
  }
}

@media (max-width: 999px) {
  .content-stage {
    display: flex;
    flex-direction: column;
  }

  .stage-shot {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .top-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .top-quote {
    flex: 1 1 100%;
    text-align: left;
    font-size: 12px;
    padding-top: 4px;
  }
}