/* INB Style Guide tokens */
@font-face {
  font-family: "Chamfer Gothic Ludlow";
  src:
    url("../fonts/ChamferGothicLudlow-Bold.woff2") format("woff2"),
    url("../fonts/ChamferGothicLudlow-Bold.woff") format("woff"),
    url("../fonts/ChamferGothicLudlow-Bold.ttf") format("truetype"),
    url("../fonts/ChamferGothicLudlow-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mono45 Headline";
  src:
    url("../fonts/Mono45Headline-Regular.woff2") format("woff2"),
    url("../fonts/Mono45Headline-Regular.woff") format("woff"),
    url("../fonts/Mono45Headline-Regular.ttf") format("truetype"),
    url("../fonts/Mono45Headline-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --blue-1: #3054ff;
  --blue-2: #3957d7;
  --blue-3: #2941a5;
  --yellow: #e0c92b;
  --yellow-deep: #daae26;
  --green: #39ff14;
  --red: #e10600;
  --white: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #cfcfcf;
  --font-display: "Chamfer Gothic Ludlow", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-sub: "Mono45 Headline", "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --column: 520px;
  --column-reg: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* —— Page stage —— */
.stage {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: #000;
}

/* Hero art only at the top (matches XD composition) */
.stage__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(72vh, 720px);
  z-index: 0;
  background: #000 url("../img/hero-bg.png") center top / cover no-repeat;
  pointer-events: none;
}

.stage__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, #000);
}

.stage__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 80px;
  text-align: center;
}

/* —— Hero (dark zone) —— */
.hero {
  width: min(100%, 900px);
  margin: 0 auto 28px;
}

.page-funnel .hero {
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 16px 6px;
  background: var(--yellow);
  color: #111;
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero-logo {
  display: block;
  width: min(92%, 680px);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.headline {
  margin: 0 auto 14px;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.65);
}

.subhead {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.subhead--single {
  width: max-content;
  max-width: min(100%, 58rem);
  white-space: nowrap;
  letter-spacing: 0.05em;
  font-size: clamp(0.8rem, 2.1vw, 1.3rem);
}

/* —— White column + arrows (XD layout) —— */
.column-wrap {
  position: relative;
  z-index: 3;
  width: min(100%, calc(var(--column) + 280px));
  margin: 0 auto;
  padding: 0 110px;
  overflow: visible;
}

/* Separate L/R arrows anchored to CTA */
.cta-aim {
  position: relative;
  z-index: 4;
  width: min(100%, 420px);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  overflow: visible;
}

.cta-aim--spaced {
  margin-top: 24px;
}

.arrow {
  position: absolute;
  /* Tip is at bottom of asset — align tip to CTA vertical center */
  top: 50%;
  width: 128px;
  height: auto;
  transform: translateY(-78%);
  pointer-events: none;
  z-index: 5;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.arrow--left {
  right: calc(100% + 18px);
}

.arrow--right {
  left: calc(100% + 18px);
}

.cta-aim .cta,
.cta-aim .typ__actions {
  position: relative;
  z-index: 1;
}

.optin-card,
.column {
  position: relative;
  z-index: 1;
  width: min(100%, var(--column));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 36px 34px 48px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  /* visible so side arrows can paint outside the card */
  overflow: visible;
}

.optin-card--wide,
.column--wide {
  --column: 560px;
}

/* Wide white panel — headline/copy live inside the card (REG / VIP / TYP) */
.page-funnel .column-wrap {
  width: min(100%, calc(var(--column-reg) + 280px));
}

.optin-card--panel,
.optin-card--reg {
  width: min(100%, var(--column-reg));
  padding: 40px 48px 52px;
}

.optin-card--panel .headline,
.optin-card--reg .headline {
  max-width: 16ch;
  color: #0d0d0d;
  text-shadow: none;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  margin-bottom: 12px;
}

.optin-card--panel .subhead,
.optin-card--reg .subhead {
  color: #1a1a1a;
  margin-bottom: 22px;
}

.optin-card--panel .scarcity {
  color: #b8860b;
  text-shadow: none;
  margin-bottom: 20px;
}

.optin-card--panel .letter {
  width: 100%;
  max-width: 38rem;
  margin: 28px auto 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.benefits-box {
  margin: 24px auto 20px;
  max-width: 520px;
  padding: 22px 24px 18px;
  border: 2px solid rgba(41, 65, 165, 0.35);
  background:
    linear-gradient(180deg, rgba(48, 84, 255, 0.06), rgba(224, 201, 43, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  text-align: left;
}

.benefits-box__title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d0d0d;
  text-align: center;
}

.optin-card--panel .benefits,
.optin-card--reg .benefits {
  margin: 0;
  max-width: none;
}

.optin-card--panel .card__title,
.optin-card--reg .card__title {
  margin-top: 8px;
}

.optin-card--panel .optin_form,
.optin-card--panel .cta-aim,
.optin-card--reg .optin_form,
.optin-card--reg .cta-aim {
  width: 100%;
  max-width: min(100%, 580px);
  min-width: 0;
}

.optin-card--panel .cta,
.optin-card--reg .cta {
  flex-wrap: wrap;
  white-space: normal;
  font-size: clamp(0.72rem, 1.7vw, 1.05rem);
  letter-spacing: 0.02em;
  padding: 16px 20px;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}

.optin-card--panel .cta > span,
.optin-card--reg .cta > span {
  white-space: normal;
}

/* Single-line CTAs only when the card is wide enough */
@media (min-width: 900px) {
  .optin-card--panel .cta,
  .optin-card--reg .cta {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 16px 36px;
  }

  .optin-card--panel .cta > span,
  .optin-card--reg .cta > span {
    white-space: nowrap;
  }
}

.optin-card--panel .card__body {
  margin-top: 8px;
  max-width: 38rem;
  text-align: left;
}

.lede {
  margin: 0 auto 22px;
  max-width: 38rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #222;
}

.story {
  margin: 28px auto 0;
  max-width: 38rem;
  text-align: left;
  color: #1a1a1a;
  font-size: 1.02rem;
  line-height: 1.55;
}

.story p {
  margin: 0 0 14px;
}

.story p:last-child {
  margin-bottom: 0;
}

.story__callout {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  color: #0d0d0d;
  padding: 10px 12px;
  background: rgba(224, 201, 43, 0.18);
}

.story--close {
  margin: 8px auto 24px;
  text-align: left;
}

.card__title {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: #0d0d0d;
  text-wrap: balance;
}

/* —— Form —— */
.optin_form {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  margin: 0 auto;
  overflow: visible;
}

.optin_form > * {
  min-width: 0;
  max-width: 100%;
}

.optin_form input[type="email"],
.optin_form input[type="tel"],
.optin_form input[type="text"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 1.05rem/1.2 var(--font-body);
  padding: 16px 22px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.optin_form input::placeholder {
  color: #9a9a9a;
}

.optin_form input:focus {
  border-color: #222;
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.22);
}

.optin_form input.is-invalid {
  border-color: #d32f2f;
}

.field-error {
  display: none;
  margin-top: -6px;
  color: #d32f2f;
  font-size: 0.85rem;
  text-align: left;
}

.field-error.is-visible {
  display: block;
}

.form-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 36em;
  justify-self: center;
}

.form-consent {
  margin: 14px auto 0;
  max-width: 36rem;
  text-align: center;
  color: #6b6b6b;
  font-size: 0.68rem;
  line-height: 1.45;
}

.form-consent p {
  margin: 0 0 8px;
}

.form-consent p:last-child {
  margin-bottom: 0;
}

.form-consent strong {
  color: #333;
  font-weight: 700;
}

.form-consent a {
  color: #333;
  font-weight: 700;
  text-decoration: underline;
}

.form-consent__secure {
  margin-top: 10px !important;
  color: #7a7a7a;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.consent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.consent a {
  color: #222;
  font-weight: 700;
  text-decoration: underline;
}

/* —— CTA —— */
.cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 3px solid var(--green);
  border-radius: 999px;
  padding: 16px 18px;
  background: #0a0a0a;
  color: var(--white);
  font-family: var(--font-sub);
  font-size: clamp(0.95rem, 2.6vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.25;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(57, 255, 20, 0.2),
    0 0 28px rgba(57, 255, 20, 0.45),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(57, 255, 20, 0.35),
    0 0 36px rgba(57, 255, 20, 0.55),
    0 14px 32px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.cta:active {
  transform: translateY(1px);
}

.cta:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.cta__yes {
  color: var(--green);
}

.cta__play {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.cta--block {
  display: inline-flex;
  width: 100%;
  text-align: center;
}

.cta--ghost {
  background: transparent;
  color: var(--ink);
  border-color: #222;
  box-shadow: none;
}

.cta--ghost:hover {
  color: #000;
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.25);
  filter: none;
}

/* Body block under CTA (XD) */
.card__body {
  margin: 28px auto 0;
  max-width: 420px;
  text-align: center;
  color: #1a1a1a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.card__body p {
  margin: 0 0 12px;
}

.card__body p:last-child {
  margin-bottom: 0;
}

.benefits {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 420px;
  text-align: left;
}

.benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #161616;
  line-height: 1.4;
}

.benefits li:last-child {
  margin-bottom: 0;
}

.check {
  flex-shrink: 0;
  color: #0a8f2a;
  font-weight: 800;
}

/* —— Letter (VIP) —— */
.letter {
  margin: 28px auto 0;
  width: min(100%, 560px);
  padding: 28px 32px 20px;
  background: #fff;
  color: #1a1a1a;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.letter p {
  margin: 0 0 14px;
  font-size: 1rem;
  color: #222;
}

.letter strong {
  color: #000;
}

.scarcity {
  margin: 0 auto 22px;
  max-width: 28ch;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* —— TYP —— */
.typ__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(57, 255, 20, 0.12);
  border: 2px solid var(--green);
  color: #0a8f2a;
  font-size: 1.8rem;
  font-weight: 800;
}

.optin-card--panel .card__body p {
  color: #333;
  font-size: 1.02rem;
}

.typ__actions {
  display: grid;
  gap: 12px;
  width: 100%;
}

.cta-aim .typ__actions {
  margin: 0;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 0 20px 36px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.site-footer__disclaimer {
  max-width: 640px;
  margin: 0 auto 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
}

/* —— Responsive —— */
@media (min-width: 761px) {
  .stage__inner {
    padding-top: 52px;
  }
}

@media (max-width: 900px) {
  .column-wrap,
  .page-funnel .column-wrap {
    width: min(100%, var(--column-reg));
    padding: 0 12px;
  }

  .arrow {
    width: 96px;
  }

  .arrow--left {
    right: calc(100% + 4px);
  }

  .arrow--right {
    left: calc(100% + 4px);
  }
}

@media (max-width: 760px) {
  .stage__bg {
    height: min(56vh, 480px);
    background-position: center top;
  }

  .stage__inner {
    padding: 20px 12px 56px;
  }

  .hero {
    margin-bottom: 16px;
  }

  .eyebrow {
    margin-bottom: 12px;
    padding: 6px 12px 5px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    max-width: 100%;
  }

  .hero-logo {
    width: min(100%, 420px);
    margin-bottom: 12px;
  }

  .column-wrap,
  .page-funnel .column-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .arrow {
    display: none;
  }

  .cta-aim,
  .optin-card--panel .cta-aim,
  .optin-card--reg .cta-aim,
  .optin-card--panel .optin_form,
  .optin-card--reg .optin_form,
  .optin_form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .headline {
    max-width: 16ch;
    font-size: clamp(2rem, 10vw, 3.2rem);
    line-height: 0.92;
  }

  .optin-card--panel .headline,
  .optin-card--reg .headline {
    max-width: 14ch;
    font-size: clamp(1.85rem, 8.5vw, 2.8rem);
  }

  .optin-card,
  .column,
  .optin-card--panel,
  .optin-card--reg {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px 16px 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    /* arrows hidden on mobile — clip stray form overflow */
    overflow-x: clip;
    overflow-y: visible;
  }

  .subhead--single {
    white-space: normal;
    width: auto;
  }

  .lede {
    font-size: 0.98rem;
    margin-bottom: 18px;
  }

  .scarcity {
    max-width: none;
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
    margin-bottom: 16px;
  }

  .card__title {
    margin-bottom: 16px;
    font-size: 1.05rem;
  }

  .story,
  .letter,
  .optin-card--panel .letter {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .letter {
    padding: 0;
    box-shadow: none;
  }

  .benefits-box {
    padding: 16px 14px 12px;
    margin: 20px auto 16px;
  }

  .benefits-box__title {
    font-size: 0.98rem;
  }

  .benefits li {
    font-size: 0.92rem;
  }

  .story__callout {
    font-size: 1.02rem;
    padding: 10px;
  }

  .optin_form {
    max-width: none;
    gap: 12px;
  }

  .optin_form input[type="email"],
  .optin_form input[type="tel"],
  .optin_form input[type="text"] {
    font-size: 16px; /* prevent iOS zoom */
    padding: 15px 18px;
  }

  .consent {
    gap: 12px;
  }

  .consent input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .consent p {
    font-size: 0.72rem;
  }

  .form-consent {
    font-size: 0.72rem;
  }

  /* Long CTA labels must wrap — never expand the card */
  .cta,
  .optin-card--panel .cta,
  .optin-card--reg .cta {
    flex-wrap: wrap;
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(0.72rem, 3.2vw, 0.9rem);
    letter-spacing: 0.02em;
    padding: 14px 14px;
    gap: 6px 8px;
    line-height: 1.25;
    min-height: 52px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-shadow:
      0 0 0 1px rgba(57, 255, 20, 0.2),
      0 0 16px rgba(57, 255, 20, 0.35),
      0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .cta > span,
  .optin-card--panel .cta > span,
  .optin-card--reg .cta > span {
    white-space: normal;
    max-width: 100%;
  }

  .cta__play {
    border-width: 6px 0 6px 10px;
    flex-shrink: 0;
  }

  .card__body,
  .optin-card--panel .card__body {
    max-width: none;
    font-size: 0.95rem;
  }

  .typ__icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .site-footer {
    padding: 0 14px 28px;
    font-size: 0.68rem;
  }

  .site-footer__disclaimer {
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .stage__inner {
    padding: 16px 10px 48px;
  }

  .eyebrow {
    font-size: 0.65rem;
    padding: 5px 10px 4px;
  }

  .hero-logo {
    width: 100%;
  }

  .optin-card,
  .column,
  .optin-card--panel,
  .optin-card--reg {
    padding: 20px 12px 28px;
  }

  .optin-card--panel .headline,
  .optin-card--reg .headline {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
  }

  .cta,
  .optin-card--panel .cta,
  .optin-card--reg .cta {
    font-size: 0.74rem;
    padding: 13px 12px;
    border-width: 2px;
  }

  .consent p,
  .form-consent {
    font-size: 0.68rem;
  }

  .lede,
  .story,
  .letter p {
    font-size: 0.94rem;
  }
}

@media (max-width: 360px) {
  .cta,
  .optin-card--panel .cta,
  .optin-card--reg .cta {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .eyebrow {
    font-size: 0.6rem;
  }
}

/* Safe areas (notched phones) */
@supports (padding: max(0px)) {
  .stage__inner {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .site-footer {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}
