:root {
  --bg: #101411;
  --paper: #f0eddc;
  --acid: #d8ff52;
  --muted: #9ba396;
  --line: rgba(240, 237, 220, 0.20);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(216,255,82,.08), transparent 28rem),
    radial-gradient(circle at 84% 74%, rgba(240,237,220,.05), transparent 31rem),
    var(--bg);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 42px);
  position: relative;
}

.eyebrow,
footer {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: .12em;
  font-size: clamp(10px, 1.1vw, 13px);
}

.eyebrow {
  color: var(--acid);
  width: max-content;
  border: 1px solid rgba(216,255,82,.38);
  padding: 8px 10px 7px;
  border-radius: 999px;
}

.hero {
  align-self: center;
  width: min(1050px, 100%);
  padding: 7vh 0 9vh;
}

h1 {
  font-size: clamp(68px, 15.2vw, 220px);
  line-height: .72;
  letter-spacing: -.075em;
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
}

h1 > span { display: block; }

.ish {
  font-family: Georgia, "Times New Roman", serif;
  font-size: .29em;
  letter-spacing: -.03em;
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
  vertical-align: 1.5em;
  margin-left: .18em;
}

.strap {
  margin: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 46px);
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.go-button {
  appearance: none;
  width: min(760px, 100%);
  border: 0;
  border-radius: 0;
  background: var(--acid);
  color: #11160e;
  min-height: clamp(88px, 11vw, 132px);
  padding: 18px clamp(22px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(216,255,82,.06), 0 18px 60px rgba(0,0,0,.2);
  transition: transform 120ms ease, background 160ms ease, box-shadow 160ms ease;
}

.go-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--paper);
}

.go-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--paper);
}

.go-button:focus-visible {
  outline: 4px solid var(--paper);
  outline-offset: 5px;
}

.button-label {
  font-size: clamp(21px, 3.2vw, 46px);
  letter-spacing: -.035em;
}

.button-arrow {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 400;
  transition: transform 160ms ease;
}

.go-button:hover .button-arrow { transform: translate(5px, -5px); }

.promise {
  color: var(--muted);
  margin: 18px 0 0;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(11px, 1.25vw, 15px);
}

footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dot { color: var(--acid); }

.ambush {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--paper);
  color: #11160e;
  opacity: 0;
  visibility: hidden;
  transition: opacity 120ms linear, visibility 0s linear 120ms;
}

.ambush.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 120ms linear;
}

.ambush-inner { padding: 28px; }

.ambush-mark {
  font-weight: 900;
  font-size: clamp(58px, 13vw, 180px);
  line-height: .8;
  letter-spacing: -.07em;
}

.ambush-copy {
  margin-top: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(22px, 3vw, 42px);
}

.ambush.just-kidding { background: var(--acid); }
.ambush.just-kidding .ambush-mark { font-size: clamp(62px, 13vw, 180px); }
.ambush.just-kidding .ambush-copy { display: none; }

.noscript {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--paper);
  color: #11160e;
  padding: 16px;
  font-family: "Courier New", Courier, monospace;
  z-index: 100;
}

@media (max-width: 620px) {
  .shell { padding: 18px; }
  .hero { padding: 8vh 0; }
  h1 { font-size: clamp(66px, 25vw, 112px); line-height: .74; }
  .ish { font-size: .25em; vertical-align: 1.7em; }
  .strap { max-width: 95%; }
  footer { line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}


/* v1.2 — desktop fit: keep the primary action above the fold */
@media (min-width: 769px) {
  main,
  .shell,
  .page,
  .container {
    max-height: 100vh;
  }

  .hero {
    padding-top: clamp(24px, 3vh, 42px);
  }

  h1,
  .title {
    font-size: clamp(76px, 10.2vh, 128px);
    line-height: 0.78;
  }

  .tagline,
  .subtitle {
    margin-top: clamp(16px, 2vh, 28px);
    font-size: clamp(28px, 4vh, 48px);
    line-height: 1.02;
  }

  .launch,
  .cta,
  #launchButton,
  #goButton,
  button {
    margin-top: clamp(18px, 2.5vh, 32px);
  }
}

@media (min-width: 769px) and (max-height: 850px) {
  body {
    overflow-y: auto;
  }

  .hero {
    padding-top: 18px;
  }

  h1,
  .title {
    font-size: clamp(64px, 9.2vh, 92px);
  }

  .tagline,
  .subtitle {
    margin-top: 12px;
    font-size: clamp(25px, 3.5vh, 34px);
  }

  .launch,
  .cta,
  #launchButton,
  #goButton,
  button {
    margin-top: 14px;
  }
}


/* v1.3 — final shell: WHY? manifesto + app identity */
footer {
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.why-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--acid);
  padding: 2px 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.why-button:hover { text-decoration: underline; }
.why-button:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.why-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}

.why-modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease;
}

.why-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 4, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.why-panel {
  position: absolute;
  top: 50%;
  right: clamp(18px, 4vw, 56px);
  transform: translateY(-50%);
  width: min(470px, calc(100vw - 36px));
  max-height: min(820px, calc(100svh - 36px));
  overflow: auto;
  background: #101411;
  color: var(--paper);
  border: 1px solid rgba(216,255,82,.68);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  padding: clamp(26px, 4vw, 46px);
}

.why-close {
  position: absolute;
  top: 14px;
  right: 16px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.why-kicker {
  color: var(--acid);
  font-weight: 900;
  font-size: clamp(23px, 3vw, 32px);
  margin-bottom: 24px;
}

.why-panel h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: .98;
  letter-spacing: -.025em;
}

.why-panel p {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.38;
  max-width: 36ch;
}

.why-panel .why-accent {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
}

.why-panel .why-last {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 34px);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  footer {
    align-items: flex-end;
  }

  .footer-copy {
    max-width: 78%;
    line-height: 1.5;
  }

  .why-panel {
    inset: 14px;
    width: auto;
    max-height: none;
    transform: none;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    overflow-y: auto;
  }
}
