@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/archivo-latin-ext-600-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/archivo-latin-600-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-ext-400-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f5f1e8;
  --paper-bright: #fffdf8;
  --stone: #ddd5c7;
  --ink: #171b1e;
  --graphite: #20272b;
  --night: #101719;
  --teal: #176c68;
  --teal-dark: #10514e;
  --teal-light: #7bc0b8;
  --coral: #b84a32;
  --coral-light: #f38f70;
  --burgundy: #783f48;
  --muted: #646c70;
  --success: #2d704d;
  --warning: #9b6b2f;
  --error: #a23e48;
  --white: #ffffff;
  --content: 1180px;
  --vsl: 1040px;
  --reading: 780px;
  --radius: 8px;
  --shadow: 0 20px 70px rgba(10, 18, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.vsl-shell {
  width: min(100%, var(--vsl));
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: #f8f3e9;
}

.site-header.is-solid {
  position: relative;
  background: var(--night);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-family: "Archivo", Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.brand__accent {
  color: var(--coral-light);
}

.header-note {
  margin: 0;
  color: rgba(248, 243, 233, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.eyebrow,
.question-kicker,
.step-counter {
  margin: 0;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.eyebrow.is-light {
  color: #b6ddd7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 20px;
}

.lede {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button.is-accent {
  min-width: 310px;
  background: var(--coral);
}

.button.is-accent:hover {
  background: #9f3e29;
}

.button.is-ghost {
  border-color: var(--stone);
  background: transparent;
  color: var(--ink);
}

.button.is-ghost:hover {
  border-color: var(--teal);
  background: rgba(23, 108, 104, 0.07);
}

.button[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

.button:focus-visible,
.icon-button:focus-visible,
.field:focus-visible,
.choice:focus-within,
.consent-row:focus-within {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
}

.lucide {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
  color: #f8f3e9;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 19, 21, 0.97) 0%, rgba(12, 19, 21, 0.9) 48%, rgba(12, 19, 21, 0.2) 84%),
    linear-gradient(0deg, rgba(12, 19, 21, 0.58) 0%, transparent 34%);
}

.hero__layout {
  position: relative;
  z-index: 2;
}

.hero__content {
  width: min(100%, 760px);
  padding: 118px 0 48px;
}

.hero h1 {
  max-width: 760px;
  font-size: 46px;
}

.hero__lede {
  max-width: 720px;
  color: rgba(248, 243, 233, 0.84);
}

.optin-form {
  max-width: 760px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 243, 233, 0.26);
}

.optin-form__fields {
  display: grid;
  grid-template-columns: 0.72fr 1.2fr 0.92fr;
  gap: 10px;
}

.field-group {
  display: grid;
  align-content: start;
  gap: 7px;
}

.field-group > label {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.field {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #bbb2a5;
  border-radius: var(--radius);
  background: var(--paper-bright);
  color: var(--ink);
}

.field::placeholder {
  color: #8a8f91;
}

.field.is-invalid {
  border-color: #ec7c83;
  box-shadow: 0 0 0 1px #ec7c83;
}

.field-error {
  min-height: 17px;
  color: #ffb8bd;
  font-size: 11px;
  line-height: 1.35;
}

.phone-field {
  position: relative;
}

.phone-field__prefix {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 50%;
  color: var(--muted);
  font-size: 14px;
  transform: translateY(-50%);
}

.phone-field .field {
  padding-left: 48px;
}

.optin-form__consents {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(248, 243, 233, 0.76);
  font-size: 11px;
  line-height: 1.42;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--coral);
  flex: 0 0 auto;
}

.consent-row a {
  text-underline-offset: 2px;
}

.optin-form__submit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.optin-form__submit p {
  max-width: 260px;
  margin: 0;
  color: rgba(248, 243, 233, 0.65);
  font-size: 11px;
}

.form-error,
.inline-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #ffb8bd;
  font-size: 12px;
  font-weight: 600;
}

.process-band {
  padding: 86px 0 92px;
  background: var(--paper);
}

.band__header {
  max-width: 820px;
  margin-bottom: 44px;
}

.band__header h2 {
  max-width: 780px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #bfb6a8;
  border-bottom: 1px solid #bfb6a8;
}

.process-step {
  min-height: 220px;
  position: relative;
  padding: 26px 24px 28px;
  border-right: 1px solid #bfb6a8;
}

.process-step:last-child {
  border-right: 0;
}

.process-step__number {
  position: absolute;
  right: 20px;
  top: 22px;
  color: #736c62;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.process-step .lucide {
  width: 28px;
  height: 28px;
  margin-bottom: 42px;
  color: var(--coral);
}

.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.process-band__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.process-band__cta p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.value-band {
  padding: 82px 0;
  background: var(--graphite);
  color: #f8f3e9;
}

.value-band__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.evidence-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(248, 243, 233, 0.2);
}

.evidence-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(248, 243, 233, 0.2);
}

.evidence-list .lucide {
  color: var(--teal-light);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--stone);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer__links {
  display: flex;
  gap: 18px;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.consent-dialog {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.consent-dialog__inner {
  width: min(100%, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #171d20;
  color: #f8f3e9;
  box-shadow: 0 18px 70px rgba(4, 9, 10, 0.42);
  pointer-events: auto;
}

.consent-dialog__copy {
  max-width: 560px;
}

.consent-dialog__eyebrow {
  margin: 0 0 6px;
  color: var(--teal-light);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.consent-dialog h2 {
  font-size: 23px;
}

.consent-dialog__copy > p:last-child {
  margin: 8px 0 0;
  color: rgba(248, 243, 233, 0.76);
  font-size: 12px;
  line-height: 1.5;
}

.consent-dialog__copy a {
  text-underline-offset: 2px;
}

.consent-dialog__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: center;
}

.consent-dialog__actions button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(248, 243, 233, 0.32);
  border-radius: 6px;
  background: transparent;
  color: #f8f3e9;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.consent-dialog__actions button:first-child {
  border-color: var(--coral);
  background: var(--coral);
}

.consent-dialog__actions button:hover,
.consent-dialog__actions button:focus-visible {
  border-color: var(--teal-light);
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

.consent-dialog__settings {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.consent-switch {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(248, 243, 233, 0.2);
  border-radius: 6px;
  cursor: pointer;
}

.consent-switch span,
.consent-switch small {
  display: block;
}

.consent-switch strong {
  font-size: 12px;
}

.consent-switch small {
  margin-top: 3px;
  color: rgba(248, 243, 233, 0.62);
  font-size: 10px;
  line-height: 1.35;
}

.consent-switch input {
  width: 19px;
  height: 19px;
  accent-color: var(--coral);
  flex: 0 0 auto;
}

.consent-switch.is-locked {
  cursor: default;
  opacity: 0.7;
}

/* VSL */
.vsl-page {
  background: #ece7dd;
}

.vsl-intro {
  padding: 58px 0 36px;
}

.vsl-intro h1 {
  max-width: 1010px;
  font-size: 44px;
}

.vsl-intro__accent {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--burgundy);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.video-wrap {
  padding-bottom: 54px;
}

.video-frame {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  box-shadow: var(--shadow);
}

.video-frame video,
.video-player-host,
.video-player-host iframe,
.video-placeholder,
.video-placeholder img {
  width: 100%;
  height: 100%;
}

.video-player-host,
.video-player-host iframe {
  position: absolute;
  inset: 0;
}

.video-player-host iframe {
  display: block;
  border: 0;
}

.video-frame video,
.video-placeholder img {
  object-fit: cover;
}

.video-placeholder {
  position: relative;
}

.video-frame__shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 16, 0.2);
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: #f8f3e9;
  color: var(--night);
  box-shadow: 0 14px 38px rgba(5, 10, 12, 0.34);
}

.play-button .lucide {
  width: 25px;
  height: 25px;
  margin-left: 3px;
}

.play-button > i[data-lucide="play"] {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

.video-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(10, 17, 19, 0.88);
  color: #f8f3e9;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.video-summary {
  max-width: 860px;
  margin: 22px 0 0;
  color: #515b5f;
  font-size: 17px;
}

.qualification-gate {
  padding: 66px 0 82px;
  border-top: 1px solid #c8c0b3;
  background: var(--paper-bright);
}

.qualification-card {
  min-height: 620px;
}

.qualification-card__header {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr);
  align-items: center;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--stone);
}

.qualification-card__header > div:first-child {
  min-width: 210px;
}

.step-counter {
  margin-top: 5px;
  color: var(--muted);
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: #ded8cd;
}

.progress-track__bar {
  width: 0;
  height: 100%;
  background: var(--coral);
  transition: width 220ms ease;
}

.question-panel {
  max-width: var(--reading);
  min-height: 510px;
  display: flex;
  flex-direction: column;
  padding: 54px 0 0;
}

.question-copy {
  min-height: 118px;
}

.question-title {
  font-size: 35px;
}

.question-hint {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.question-control {
  margin-top: 26px;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #c8c0b3;
  border-radius: var(--radius);
  background: #fbf9f4;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.choice:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.choice:has(input:checked) {
  border-color: var(--teal);
  background: rgba(23, 108, 104, 0.08);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__key {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #bdb5a8;
  border-radius: 4px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  flex: 0 0 auto;
}

.choice:has(input:checked) .choice__key {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.choice > span:last-child {
  font-size: 14px;
  font-weight: 600;
}

.inline-error {
  color: var(--error);
}

.question-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 26px;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #bdb5a8;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.processing {
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
}

.processing p,
.calendar-loading p {
  color: var(--muted);
}

.processing__spinner {
  width: 38px;
  height: 38px;
  margin: 0 auto 18px;
  border: 3px solid var(--stone);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.result-panel {
  min-height: 500px;
  padding-top: 52px;
}

.result-header {
  max-width: 800px;
  margin-bottom: 30px;
}

.result-header h2 {
  font-size: 42px;
}

.result-header p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.result-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(45, 112, 77, 0.12);
  color: var(--success);
}

.result-mark.is-review {
  background: rgba(155, 107, 47, 0.12);
  color: var(--warning);
}

.result-mark.is-muted {
  background: var(--stone);
  color: var(--muted);
}

.result-mark.is-error {
  background: rgba(162, 62, 72, 0.12);
  color: var(--error);
}

.result-mark > i[data-lucide] {
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.result-mark > i[data-lucide="check"]::before,
.result-mark > i[data-lucide="clipboard-check"]::before,
.result-mark > i[data-lucide="circle-check"]::before {
  content: "✓";
}

.result-mark > i[data-lucide="triangle-alert"]::before {
  content: "!";
}

.session-error {
  min-height: calc(100vh - 190px);
  display: grid;
  align-items: center;
  padding: 72px 0;
  background: var(--paper);
}

.session-error__inner {
  max-width: 760px;
}

.session-error h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.session-error p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.calendar-frame {
  min-height: 720px;
  overflow: hidden;
  border-top: 1px solid var(--stone);
  background: var(--white);
}

.calendar-embed {
  position: relative;
  min-height: 720px;
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.calendar-frame.is-ready iframe {
  opacity: 1;
}

.calendar-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 720px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--white);
}

.calendar-frame.has-error .calendar-loading {
  min-height: 280px;
}

.calendar-fallback {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.calendar-fallback a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 4px auto 0;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .consent-dialog__inner {
    grid-template-columns: 1fr;
  }

  .consent-dialog__actions {
    width: 100%;
  }

  .hero__media img {
    object-position: 68% center;
  }

  .hero__shade {
    background: rgba(10, 17, 19, 0.78);
  }

  .hero__content {
    width: min(100%, 720px);
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid #bfb6a8;
  }

  .value-band__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 720px) {
  .consent-dialog {
    inset: auto 8px 8px;
  }

  .consent-dialog__inner {
    max-height: calc(100svh - 16px);
    overflow-y: auto;
    gap: 14px;
    padding: 17px;
  }

  .consent-dialog h2 {
    font-size: 21px;
  }

  .consent-dialog__settings,
  .consent-dialog__actions {
    grid-template-columns: 1fr;
  }

  .consent-switch {
    min-height: 62px;
  }

  .consent-dialog__actions button {
    min-height: 42px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header__inner {
    min-height: 60px;
  }

  .header-note {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero__media img {
    object-position: 57% top;
  }

  .hero__shade {
    background: rgba(10, 17, 19, 0.83);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    padding: 86px 0 24px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .hero__lede {
    order: 5;
    margin-top: 22px;
    font-size: 15px;
  }

  .optin-form {
    order: 4;
    margin-top: 19px;
    padding-top: 17px;
  }

  .optin-form__fields {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .field-group {
    gap: 4px;
  }

  .field {
    min-height: 47px;
  }

  .field-error {
    min-height: 0;
  }

  .field-error:not(:empty) {
    min-height: 15px;
  }

  .optin-form__consents {
    gap: 8px;
    margin-top: 8px;
  }

  .consent-row {
    font-size: 10px;
    line-height: 1.35;
  }

  .optin-form__submit {
    display: grid;
    gap: 8px;
    margin-top: 14px;
  }

  .button,
  .button.is-accent {
    width: 100%;
    min-width: 0;
  }

  .optin-form__submit p {
    max-width: none;
    text-align: center;
  }

  .process-band,
  .value-band {
    padding: 62px 0;
  }

  .band__header {
    margin-bottom: 30px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2) {
    min-height: 156px;
    border-right: 0;
    border-bottom: 1px solid #bfb6a8;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step .lucide {
    margin-bottom: 24px;
  }

  .process-band__cta {
    display: grid;
    gap: 10px;
  }

  .process-band__cta p {
    max-width: none;
    text-align: center;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer__links {
    flex-wrap: wrap;
  }

  .vsl-intro {
    padding: 40px 0 26px;
  }

  .vsl-intro .eyebrow {
    font-size: 9px;
  }

  .vsl-intro h1 {
    font-size: 31px;
  }

  .vsl-intro__accent {
    font-size: 19px;
  }

  .video-wrap {
    padding-bottom: 42px;
  }

  .video-frame {
    border-radius: 4px;
  }

  .play-button {
    width: 56px;
    height: 56px;
  }

  .video-status {
    left: 8px;
    right: 8px;
    bottom: 8px;
    text-align: center;
    font-size: 8px;
  }

  .video-summary {
    margin-top: 16px;
    font-size: 14px;
  }

  .qualification-gate {
    padding: 44px 0 58px;
  }

  .qualification-card {
    min-height: 0;
  }

  .qualification-card__header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 16px;
  }

  .qualification-card__header > div:first-child {
    min-width: 0;
  }

  .question-panel {
    min-height: 570px;
    padding-top: 34px;
  }

  .question-copy {
    min-height: 136px;
  }

  .question-title {
    font-size: 28px;
  }

  .question-hint {
    font-size: 14px;
  }

  .question-control {
    margin-top: 22px;
  }

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

  .choice {
    min-height: 56px;
    padding: 11px 13px;
  }

  .choice > span:last-child {
    font-size: 13px;
  }

  .question-actions {
    padding-top: 22px;
  }

  .question-actions .button {
    width: auto;
    flex: 1;
  }

  .result-panel {
    min-height: 420px;
    padding-top: 38px;
  }

  .result-header h2 {
    font-size: 31px;
  }

  .result-header p:not(.eyebrow) {
    font-size: 15px;
  }

  .calendar-frame,
  .calendar-embed,
  .calendar-loading,
  .calendar-frame iframe {
    min-height: 780px;
  }

  .session-error {
    min-height: calc(100vh - 160px);
    padding: 52px 0;
  }

  .session-error h1 {
    font-size: 38px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 28px;
  }

  .question-title {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
