:root {
  --ink: #111513;
  --ink-soft: #26302b;
  --paper: #f4eddd;
  --paper-light: #fffaf0;
  --muted: #606a63;
  --line: #cfc3ad;
  --signal: #ff6b45;
  --signal-dark: #c83d1b;
  --acid: #ceff54;
  --mint: #7fd6ac;
  --white: #fff;
  --shadow: 0 34px 90px rgba(17, 21, 19, 0.22);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(17, 21, 19, 0.09) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 5px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 7px;
  background: rgba(17, 21, 19, 0.82);
  color: var(--paper-light);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.3vw, 28px);
}

.topbar nav a {
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.9rem;
  font-weight: 740;
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--white);
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 5px;
}

.language-button {
  min-width: 35px;
  min-height: 32px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 250, 240, 0.68);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-button.is-active {
  background: var(--paper-light);
  color: var(--ink);
}

.topbar a:focus-visible,
.language-button:focus-visible,
.button:focus-visible,
.choice-button:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 6vw, 96px);
  overflow: hidden;
  padding: 116px clamp(24px, 7vw, 104px) 70px;
  background:
    linear-gradient(90deg, rgba(17, 21, 19, 0.99) 0%, rgba(17, 21, 19, 0.94) 53%, rgba(17, 21, 19, 0.72) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 250, 240, 0.035) 20px);
  color: var(--paper-light);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -14vw;
  bottom: -34vw;
  width: 76vw;
  height: 76vw;
  border: 1px solid rgba(206, 255, 84, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 7vw rgba(206, 255, 84, 0.025),
    0 0 0 14vw rgba(206, 255, 84, 0.018);
  content: "";
}

.hero__copy {
  width: min(740px, 100%);
  animation: hero-rise 700ms ease-out both;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-name {
  margin: 0 0 22px;
  color: var(--paper-light);
  font-size: clamp(1.02rem, 1.7vw, 1.38rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 8.2vw, 8.2rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.065em;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__lede {
  max-width: 39rem;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.hero__actions,
.package__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 860;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--signal {
  background: var(--acid);
  color: var(--ink);
}

.button--signal:hover {
  background: var(--paper-light);
}

.button--ghost {
  border-color: rgba(255, 250, 240, 0.34);
  background: rgba(255, 250, 240, 0.04);
  color: var(--paper-light);
}

.button--dark {
  background: var(--ink);
  color: var(--paper-light);
}

.button--dark:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.button--paper {
  border-color: var(--line);
  background: var(--paper-light);
  color: var(--ink);
}

.ownership-note {
  max-width: 34rem;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.55);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero__visual {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: hero-rise 820ms 100ms ease-out both;
}

.signal-orbit {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(330px, 70vw);
  height: min(330px, 70vw);
  transform: translateX(-50%);
}

.signal-orbit__core,
.signal-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.signal-orbit__core {
  z-index: 2;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  background: var(--signal);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.6rem;
  line-height: 1;
  box-shadow: 0 0 70px rgba(255, 107, 69, 0.38);
}

.signal-orbit__ring {
  border: 1px solid rgba(255, 250, 240, 0.26);
}

.signal-orbit__ring--one {
  width: 210px;
  height: 210px;
  animation: orbit-breathe 4.2s ease-in-out infinite;
}

.signal-orbit__ring--two {
  width: 318px;
  height: 318px;
  border-color: rgba(206, 255, 84, 0.22);
  animation: orbit-breathe 4.2s 700ms ease-in-out infinite;
}

.hero__sequence {
  z-index: 3;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 240, 0.22);
  list-style: none;
}

.hero__sequence li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.15);
}

.hero__sequence > li > span {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero__sequence strong,
.hero__sequence small {
  display: block;
}

.hero__sequence small {
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.6);
  line-height: 1.4;
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.proof-rail div {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(17, 21, 19, 0.25);
}

.proof-rail div:last-child {
  border-right: 0;
}

.proof-rail strong {
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
  letter-spacing: -0.05em;
}

.proof-rail span {
  margin-top: 5px;
  color: rgba(17, 21, 19, 0.66);
  font-size: 0.84rem;
  font-weight: 730;
}

.scenario,
.method,
.storyboard,
.package,
.decisions,
.evaluation,
.offer {
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 104px);
}

.section-heading {
  display: grid;
  max-width: 1000px;
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.section-heading > p:last-child {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-heading--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 7vw, 100px);
}

.scenario {
  background: var(--paper-light);
}

.scenario-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.58fr);
  gap: 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.scenario-progress {
  grid-column: 1 / -1;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.scenario-progress__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 840;
}

.scenario-progress__track {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.18);
}

.scenario-progress__track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--acid);
  transition: width 360ms ease;
}

.scenario-stage {
  min-height: 660px;
  padding: clamp(28px, 5vw, 68px);
  border-right: 1px solid var(--ink);
}

.scenario-stage__kicker {
  margin-bottom: 18px;
  color: var(--signal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-stage h3 {
  max-width: 22ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.scenario-stage blockquote {
  max-width: 46rem;
  margin: 34px 0;
  padding: 22px 0 22px 24px;
  border-left: 5px solid var(--signal);
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.45;
}

#stage-prompt {
  margin-bottom: 14px;
  font-weight: 850;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.choice-button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 250, 240, 0.48);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.choice-button:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}

.choice-button:disabled {
  cursor: default;
  transform: none;
}

.choice-button.is-selected {
  border-color: var(--ink);
  background: var(--paper-light);
}

.choice-button.is-correct {
  border-color: #287453;
  background: #e1f5e8;
}

.choice-button.is-incorrect {
  border-color: #a3381f;
  background: #f9dfd7;
}

.choice-letter {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 0.76rem;
  font-weight: 900;
}

.feedback {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--signal);
  background: var(--paper-light);
}

.feedback strong {
  display: block;
  margin-bottom: 6px;
}

.feedback p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.evidence-readout {
  padding: clamp(28px, 4vw, 48px);
  background: #dbe2d7;
}

.evidence-readout h3 {
  margin-bottom: 34px;
}

.evidence-readout dl {
  margin: 0;
  border-top: 1px solid rgba(17, 21, 19, 0.28);
}

.evidence-readout dl div {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 21, 19, 0.22);
}

.evidence-readout dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.evidence-readout dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
}

.evidence-readout > p:last-child {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.method {
  background: var(--ink);
  color: var(--paper-light);
}

.method .section-heading > p:last-child {
  color: rgba(255, 250, 240, 0.6);
}

.method-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 240, 0.28);
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.2);
}

.method-list span {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.method-list p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 1.04rem;
  line-height: 1.6;
}

.storyboard {
  background: var(--paper);
}

.storyboard-flow {
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.storyboard-flow li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(130px, 0.24fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.storyboard-flow__number {
  color: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.storyboard-flow strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.3rem;
}

.storyboard-flow p,
.storyboard-flow small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.storyboard-flow small {
  font-weight: 780;
}

.text-link {
  color: var(--signal-dark);
  font-weight: 850;
  text-underline-offset: 5px;
}

.package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  background: #dbe2d7;
}

.package__copy > p:not(.section-label) {
  max-width: 47rem;
  color: var(--muted);
  line-height: 1.65;
}

.package__checks {
  display: grid;
  gap: 10px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.package__checks li {
  position: relative;
  padding-left: 24px;
}

.package__checks li::before {
  position: absolute;
  left: 0;
  color: #287453;
  content: "✓";
  font-weight: 900;
}

.file-tree {
  min-height: 360px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 38px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 7px;
  overflow: auto;
  background: var(--ink);
  color: var(--acid);
  box-shadow: var(--shadow);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.86rem, 1.5vw, 1.1rem);
  line-height: 1.75;
}

.decisions {
  background: var(--paper-light);
}

.decision-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.decision-columns > div {
  padding: 30px clamp(18px, 3vw, 42px) 0 0;
  border-right: 1px solid var(--line);
}

.decision-columns > div + div {
  padding-left: clamp(18px, 3vw, 42px);
}

.decision-columns > div:last-child {
  border-right: 0;
}

.decision-columns h3 {
  color: var(--signal-dark);
}

.decision-columns ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.52;
}

.evaluation {
  background: var(--paper);
}

.evaluation-table {
  border-top: 1px solid var(--ink);
}

.evaluation-table__row {
  display: grid;
  grid-template-columns: minmax(120px, 0.24fr) minmax(220px, 0.72fr) 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.evaluation-table__row span {
  color: var(--muted);
}

.evaluation-table__head {
  padding: 12px 0;
  color: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--signal);
  color: var(--ink);
}

.offer .section-label {
  color: var(--ink);
}

.offer h2 {
  max-width: 11ch;
}

.offer > p:not(.section-label) {
  max-width: 48rem;
  margin: 28px 0 34px;
  font-size: 1.08rem;
  line-height: 1.65;
}

footer {
  display: flex;
  min-height: 240px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 56px clamp(22px, 7vw, 104px);
  background: var(--ink);
  color: var(--paper-light);
}

.brand--footer {
  margin-bottom: 16px;
}

footer p {
  margin: 0;
  color: rgba(255, 250, 240, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 250, 240, 0.72);
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes orbit-breathe {
  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 116px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .proof-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-rail div:nth-child(2) {
    border-right: 0;
  }

  .proof-rail div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(17, 21, 19, 0.25);
  }

  .scenario-shell {
    grid-template-columns: 1fr;
  }

  .scenario-stage {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .section-heading--split,
  .package {
    grid-template-columns: 1fr;
  }

  .decision-columns {
    grid-template-columns: 1fr;
  }

  .decision-columns > div,
  .decision-columns > div + div {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-columns > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 8px;
    width: calc(100% - 16px);
  }

  .brand span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.6rem);
  }

  .hero {
    padding-inline: 20px;
  }

  .hero__visual {
    min-height: 430px;
  }

  .signal-orbit {
    width: 260px;
    height: 260px;
  }

  .signal-orbit__ring--one {
    width: 178px;
    height: 178px;
  }

  .signal-orbit__ring--two {
    width: 258px;
    height: 258px;
  }

  .proof-rail {
    grid-template-columns: 1fr;
  }

  .proof-rail div,
  .proof-rail div:nth-child(2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 21, 19, 0.25);
  }

  .scenario,
  .method,
  .storyboard,
  .package,
  .decisions,
  .evaluation,
  .offer {
    padding-inline: 20px;
  }

  .scenario-stage {
    padding: 30px 20px;
  }

  .scenario-stage h3 {
    font-size: 2.55rem;
  }

  .method-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .storyboard-flow li {
    grid-template-columns: 42px 1fr;
  }

  .storyboard-flow small {
    grid-column: 2;
  }

  .evaluation-table__head {
    display: none;
  }

  .evaluation-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
