/* Brand tokens. The original five mascot colors remain the source of truth. */
:root {
  color-scheme: dark;
  --cyan: #00b2e3;
  --mauve: #935b75;
  --charcoal: #333333;
  --brown: #4d3227;
  --peach: #f9d8c3;
  --page: #1b1d1d;
  --surface: #252828;
  --text: #f5f4f0;
  --muted: #b4baba;
  --quiet: #9ca4a4;
  --line: #ffffff1f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --space-sm: 13px;
  --space-md: 21px;
  --space-lg: 34px;
  --space-xl: 55px;
  --space-2xl: 89px;
  --radius: 12px;
  --shell: 1312px;
}

/* Base and accessible shared primitives. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body::before { position: absolute; top: 0; right: 0; width: 45%; height: 3px; background: var(--cyan); content: ""; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
::selection { color: var(--page); background: var(--cyan); }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 5px; }
.shell { width: min(var(--shell), calc(100% - 112px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; color: var(--page); background: var(--peach); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header. */
.site-header { min-height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 15px; min-height: 48px; font-size: 29px; font-weight: 720; letter-spacing: -1.4px; }
.brand__mark { width: 52px; height: 38px; object-fit: contain; }
.brand__period { color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: var(--space-lg); }
.header-note { color: var(--quiet); font-size: 13px; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 0 18px; border: 1px solid #ffffff40; border-radius: 8px; font-size: 13px; font-weight: 650; transition: border-color 180ms ease, background-color 180ms ease; }
.header-cta:hover { border-color: var(--cyan); background: #00b2e30a; }

/* Major columns use the golden ratio, with practical type and mobile overrides. */
.hero { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: 34px; align-items: center; padding-block: 65px 55px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 27px; color: var(--muted); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.75px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--cyan); }
h1 { margin: 0; font-size: clamp(54px, 6.25vw, 90px); line-height: 1.04; letter-spacing: -0.062em; font-weight: 760; }
h1 > span { color: var(--cyan); }
.hero-description { max-width: 500px; margin: 27px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.highlights { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.highlights li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #d0d5d5; }
.highlights svg { width: 20px; height: 20px; color: var(--cyan); }

/* Signup is explicitly a non-collecting preview until the backend is connected. */
.signup { max-width: 560px; margin-top: 45px; scroll-margin-top: 32px; }
.signup h2 { margin: 0; font-size: 21px; letter-spacing: -.55px; font-weight: 650; }
.signup-description { margin: 8px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.signup-controls { min-width: 0; padding: 0; margin: 0; border: 0; }
.signup-row { display: flex; gap: 8px; padding: 6px; border: 1px solid #ffffff38; border-radius: var(--radius); background: #ffffff04; }
.email-field { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; padding-left: 12px; color: var(--quiet); }
.email-field input { min-width: 0; width: 100%; padding: 14px 0; border: 0; border-radius: 2px; color: var(--text); background: transparent; font-size: 14px; }
.email-field input::placeholder { color: var(--quiet); opacity: 1; }
.email-field input:focus { outline: none; }
.signup-row:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.email-field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 100px var(--surface) inset; }
.button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 20px; flex-shrink: 0; min-height: 51px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; background: var(--cyan); color: #08242c; font-size: 13px; font-weight: 750; transition: background-color 180ms ease, transform 180ms ease; }
.button-primary span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-primary:hover { background: #38c5ec; }
.button-primary:active { transform: translateY(1px); }
.signup-fine-print { margin: 12px 0 0; color: var(--quiet); font-size: 11px; line-height: 1.6; }
.preview-note { margin: 9px 0 0; color: var(--peach); font-size: 10px; line-height: 1.6; }
.preview-note > span { margin-right: 4px; }
.form-status { margin: 0; color: var(--peach); font-size: 12px; line-height: 1.6; }
.form-status:not(:empty) { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--mauve); background: #935b751a; }

/* All illustration layers are layout elements, not a flattened/generated mockup. */
.hero-art { position: relative; isolation: isolate; height: 618px; margin: 0; min-width: 0; }
.gym-window { position: absolute; inset: 51px 0 51px 0; overflow: hidden; border-radius: 230px 230px 22px 22px; background: var(--charcoal); border: 1px solid #ffffff25; }
.gym-window img { width: 100%; height: 100%; object-fit: cover; object-position: 64% center; opacity: .43; filter: saturate(.7); }
.gym-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1b1d1d00 35%, #1b1d1d80 100%); }
.art-outline { position: absolute; inset: 33px 16px 69px -16px; z-index: -1; border: 1px solid #00b2e333; border-radius: 230px 230px 22px 22px; }
.art-ticks { position: absolute; top: 53px; left: 12px; display: flex; gap: 5px; transform: rotate(-28deg); }
.art-ticks span { display: block; width: 3px; height: 24px; background: var(--cyan); }
.art-ticks span:nth-child(2) { opacity: .55; }
.art-ticks span:nth-child(3) { opacity: .25; }
.zoe { position: absolute; bottom: 35px; left: 52%; transform: translateX(-50%); display: block; height: 605px; width: auto; }
.zoe img { width: auto; height: 100%; max-width: none; filter: drop-shadow(6px 14px 16px #00000040); }
.zoe-intro { position: absolute; right: -9px; top: 104px; display: grid; gap: 5px; padding: 15px 19px; transform: rotate(5deg); border: 1px solid #b987a04d; border-radius: 14px 14px 14px 3px; background: var(--brown); color: var(--peach); box-shadow: 0 12px 30px #00000020; }
.zoe-intro__hello { font-size: 20px; font-weight: 700; letter-spacing: -.6px; }
.zoe-intro > span + span { font-size: 10px; color: var(--peach); opacity: .85; }
.timer-preview { position: absolute; left: -42px; bottom: 58px; width: 264px; padding: 17px 18px; border: 1px solid #ffffff36; border-radius: 14px; background: #292d2df5; box-shadow: 0 18px 35px #00000040; transform: rotate(-4deg); }
.timer-preview__heading { display: flex; align-items: center; gap: 7px; color: #c8cece; font-size: 8px; font-weight: 600; letter-spacing: .6px; }
.timer-preview__dots { margin-left: auto; color: var(--quiet); font-size: 16px; line-height: 1; }
.timer-preview__main { display: flex; align-items: center; gap: 13px; margin-block: 16px; }
.timer-dial { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.timer-dial > svg:first-child { width: 100%; height: 100%; fill: none; stroke-width: 4; transform: rotate(-90deg); }
.timer-dial__track { stroke: #ffffff15; }
.timer-dial__progress { stroke: var(--cyan); stroke-dasharray: 155 208; stroke-linecap: round; }
.timer-dial__icon { position: absolute; inset: 19px; width: 26px; height: 26px; color: var(--cyan); }
.timer-number { display: block; color: var(--text); font-size: 40px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.timer-label { display: block; margin-top: 7px; font-size: 8px; color: #c8cece; }
.tempo-track { display: flex; align-items: center; justify-content: space-between; height: 23px; }
.tempo-track span { width: 13px; height: 10px; border-radius: 3px; background: var(--cyan); }
.tempo-track span:nth-child(3n + 2) { height: 19px; }
.tempo-track span:nth-child(3n) { height: 14px; }
.tempo-track span:nth-child(n + 7) { background: #b3829966; }
.tempo-labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 11px; color: #c8cece; font-size: 8px; }
.tempo-labels > span:last-child { font-size: 6px; letter-spacing: .6px; color: var(--quiet); }
.art-footnote { position: absolute; bottom: 0; right: 0; color: var(--quiet); font-size: 10px; letter-spacing: .2px; }

/* A quiet closing line leaves room for the next phase's supporting sections. */
.hero-signoff { display: flex; align-items: center; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--quiet); font-size: 19px; letter-spacing: -.4px; }
.signoff-number { color: var(--cyan); font-size: 11px; letter-spacing: 1px; }
.hero-signoff strong { color: var(--text); font-weight: 500; }
.signoff-line { height: 1px; flex: 1; margin-inline: 12px; background: var(--line); }
.signoff-detail { font-size: 9px; letter-spacing: 1.5px; }
.mobile-break { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 27px; color: var(--quiet); font-size: 10px; line-height: 1.7; }

@media (min-width: 1550px) {
  .hero { padding-block: 89px; }
}
@media (max-width: 1150px) {
  .shell { width: calc(100% - 72px); }
  .header-note { display: none; }
  .hero { gap: 28px; padding-block: 55px; }
  h1 { font-size: clamp(48px, 6.1vw, 70px); }
  .hero-description { font-size: 16px; max-width: 430px; }
  .hero-art { height: 580px; }
  .zoe { height: 552px; left: 55%; }
  .zoe-intro { right: -4px; top: 102px; padding: 12px 14px; }
  .zoe-intro__hello { font-size: 17px; }
  .timer-preview { left: -22px; width: 238px; bottom: 63px; padding: 15px; }
  .timer-number { font-size: 34px; }
  .timer-preview__main { gap: 10px; }
  .highlights { gap: 14px; }
  .highlights li { font-size: 11px; gap: 6px; }
  .button-primary { gap: 12px; padding-inline: 14px; }
  .email-field { gap: 8px; padding-left: 8px; }
  .email-field input { font-size: 13px; }
}
@media (min-width: 761px) and (max-width: 950px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
  h1 { font-size: 5.75vw; }
  .hero-art { height: 560px; }
  .zoe { height: 522px; }
  .signup-row { flex-direction: column; gap: 2px; }
  .email-field { padding-inline: 12px; }
  .highlights { gap: 10px 13px; }
  .highlights li:last-child { display: none; }
  .signup { margin-top: 34px; }
  .zoe-intro { top: 117px; }
  .timer-preview { width: 218px; left: -9px; bottom: 60px; }
  .timer-dial { width: 53px; height: 53px; }
  .timer-dial__icon { inset: 14px; }
  .signoff-detail { display: none; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 44px); max-width: 540px; }
  .site-header { min-height: 89px; gap: 14px; }
  .brand { font-size: 24px; gap: 9px; letter-spacing: -1px; }
  .brand__mark { width: 38px; height: 29px; }
  .header-cta { min-height: 44px; padding: 0 11px; font-size: 10px; gap: 8px; }
  .header-cta svg { width: 14px; height: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 45px; padding-top: 43px; padding-bottom: 33px; }
  .eyebrow { margin-bottom: 22px; font-size: 9px; letter-spacing: 1.15px; }
  h1 { font-size: clamp(42px, 10.65vw, 61px); line-height: 1.07; letter-spacing: -.065em; }
  .hero-description { margin-top: 23px; max-width: 460px; font-size: 15px; line-height: 1.7; }
  .highlights { gap: 16px; margin-top: 21px; }
  .highlights li { font-size: 10px; gap: 6px; }
  .highlights svg { width: 18px; height: 18px; }
  .signup { max-width: none; margin-top: 32px; }
  .signup h2 { font-size: 20px; }
  .signup-description { font-size: 12px; margin-bottom: 16px; }
  .signup-row { flex-direction: column; padding: 6px; gap: 5px; }
  .email-field { padding-inline: 12px; }
  .email-field input { font-size: 16px; padding-block: 13px; }
  .button-primary { min-height: 50px; font-size: 13px; justify-content: space-between; padding-inline: 18px; }
  .signup-fine-print { font-size: 10px; }
  .preview-note { font-size: 9px; }
  .hero-art { height: 561px; width: calc(100% - 12px); max-width: 420px; margin: 0 auto; }
  .gym-window { inset: 45px 0 55px; }
  .art-outline { inset: 29px 12px 72px -12px; }
  .zoe { height: 541px; bottom: 37px; left: 54%; }
  .zoe-intro { right: -4px; top: 100px; }
  .timer-preview { width: 230px; left: -4px; bottom: 66px; }
  .art-footnote { bottom: 5px; font-size: 9px; }
  .hero-signoff { font-size: 16px; gap: 16px; line-height: 1.5; padding-block: 22px; }
  .signoff-detail { display: none; }
  .signoff-line { margin-inline: 0; }
  .mobile-break { display: initial; }
  .site-footer { font-size: 9px; flex-direction: column; gap: 5px; padding-block: 22px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .header-cta { font-size: 9px; padding-inline: 9px; }
  .brand { font-size: 22px; }
  .brand__mark { width: 32px; }
  h1 { font-size: 10.7vw; }
  .highlights { gap: 12px; }
  .highlights li { font-size: 9px; }
  .hero-art { height: 515px; }
  .zoe { height: 493px; }
  .zoe-intro { top: 91px; right: -5px; }
  .timer-preview { width: 214px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
