/* HELIX promo site — layout + components.
   Built on the HELIX design system tokens (styles/tokens/), per the promo_site
   handoff. Desktop is designed at 1360px content width; responsive behaviour
   below desktop follows the handoff's written guidance. */

/* ---------- shell ---------- */

.band {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 72px;
}

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

a { color: var(--text-link); }

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.nav-lockup { height: 30px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 14px;
  color: var(--text-strong);
  text-decoration: none;
}

.nav-links a:hover { color: var(--text-primary); }

.pill {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--helix-blue);
}

/* ---------- buttons ---------- */

.btn {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--duration-fast) var(--ease-standard);
}

.btn-primary {
  background: var(--action-primary);
  color: var(--text-on-brand);
}

.btn-primary:hover { background: var(--action-primary-hover); }

.btn-primary:disabled {
  background: var(--blue-100);
  cursor: default;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
  padding: 64px 0 80px;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 62px;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  margin: 18px 0 22px;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 18px;
  line-height: var(--leading-normal);
  color: var(--text-strong);
  margin: 0 0 32px;
  max-width: 480px;
  text-wrap: pretty;
}

/* ---------- notify form ---------- */

.notify {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.notify-row {
  display: flex;
  gap: 10px;
}

.notify-row[hidden] { display: none; }

.notify-input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  width: 280px;
  border-radius: var(--radius-lg);
  border: var(--border-width-strong) solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-primary);
  outline: none;
}

.notify-caption {
  font-family: var(--font-body);
  font-size: 13px;
  margin: 0;
  color: var(--text-secondary);
}

.notify-caption--done { color: var(--text-strong); }

.turnstile-slot:empty { display: none; }

/* Honeypot — visually removed, present for bots */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- phone mock (static marketing illustration) ---------- */

.phone {
  background: var(--helix-ink);
  border-radius: 40px;
  padding: 9px;
  box-shadow: var(--shadow-phone);
  width: 330px;
  flex: 0 0 auto;
}

.phone-screen {
  background: var(--surface-page);
  border-radius: 32px;
  overflow: hidden;
  height: 680px;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.phone-notch span {
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: rgba(20, 24, 33, 0.18);
}

.phone-body {
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.mock-matchbar {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.mock-scoreblock {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mock-scorecol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.mock-barlabel {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 8px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-secondary);
}

.mock-scorenum {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mock-scorenum.dash { color: var(--text-secondary); }

.mock-clockblock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.mock-clockhead {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-badge {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 8px;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1;
  color: var(--helix-blue);
}

.mock-clockdivider {
  width: 1px;
  height: 8px;
  background: var(--border-strong);
}

.mock-clock {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mock-overline {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 9px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 7px;
}

.mock-posrows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Positions arrange as the court reads: GS GA / WA C WD / GD GK */
.mock-posrow {
  display: flex;
  gap: 6px;
}

.pos {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 13px;
  letter-spacing: var(--tracking-code);
  padding: 11px 6px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: var(--border-width-strong) solid transparent;
  background: var(--surface-card);
  color: var(--text-primary);
}

.pos--scoring {
  background: var(--helix-blue);
  color: var(--text-on-brand);
}

.pos--default { border-color: var(--border-default); }

/* The one place orange appears on this page — armed, mid-entry */
.pos--armed {
  background: var(--armed);
  border-color: var(--armed);
  color: var(--text-on-brand);
}

.pos--opp {
  border-style: dashed;
  border-color: var(--border-dashed);
}

.mock-evgroups {
  display: flex;
  gap: 8px;
}

.mock-evcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-grouplabel {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 7px;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  text-align: center;
  color: var(--text-secondary);
}

.ev {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 11px;
  text-align: center;
  padding: 10px 3px;
  border-radius: var(--radius-md);
  border: var(--border-width-strong) solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-primary);
}

/* The shooting pair carries scoring blue: Goal solid, Miss outlined */
.ev--lead {
  background: var(--action-primary);
  color: var(--text-on-brand);
  border-color: var(--action-primary);
}

.ev--leadoutline {
  border-color: var(--action-primary);
  color: var(--action-primary);
}

.mock-history {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-historyrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-poscode {
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
  font-size: 9px;
  letter-spacing: var(--tracking-code);
  padding: 2px 4px;
  min-width: 26px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: var(--border-width) solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-primary);
}

.mock-poscode--scoring {
  background: var(--helix-blue);
  border-color: var(--helix-blue);
  color: var(--text-on-brand);
}

.mock-poscode--opp {
  border-style: dashed;
  border-color: var(--border-dashed);
}

.mock-historyrow .what {
  flex: 1;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: 11px;
  color: var(--text-strong);
}

.mock-historyrow .when {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

/* Bleeds to the screen edges, like the app's bottom bar */
.mock-controlbar {
  margin: 0 -14px -16px;
  padding: 10px 14px 14px;
  border-top: var(--border-width) solid var(--border-default);
  background: var(--surface-card);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-controlbar svg {
  width: 14px;
  height: 14px;
}

.mock-iconbtn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: var(--border-width-strong) solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-primary);
}

.mock-iconbtn--off { color: var(--text-disabled); }

.mock-pausebtn {
  flex: 1;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 11.5px;
  border-radius: var(--radius-md);
  border: var(--border-width-strong) solid var(--border-default);
  background: var(--surface-card);
  color: var(--text-primary);
}

.mock-endbtn {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 11.5px;
  border-radius: var(--radius-md);
  background: var(--action-primary);
  color: var(--text-on-brand);
}

/* ---------- feature cards ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 80px;
}

.feature {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 26px 26px 28px;
}

.feature .eyebrow { color: var(--helix-blue); }

.feature h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 19px;
  margin: 12px 0 8px;
}

.feature p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- court-photo band ---------- */

.photo-band { padding-bottom: 84px; }

.photo-frame { position: relative; }

/* Placeholder until court photography is supplied — flat neutral block per the handoff */
.photo-slot {
  width: 100%;
  height: 420px;
  display: block;
  border-radius: var(--radius-xl);
  background: var(--neutral-100);
  object-fit: cover;
}

.photo-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
  padding: 16px 20px;
  max-width: 380px;
}

.photo-card h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 16px;
  margin: 0 0 4px;
}

.photo-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- footer ---------- */

.footer {
  border-top: var(--border-width) solid var(--border-default);
  padding: 40px 0 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-lockup {
  height: 24px;
  display: block;
  margin-bottom: 14px;
}

.footer p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.footer .copyright {
  margin-top: 18px;
  font-size: 13px;
}

.footer .eyebrow { margin: 0 0 14px; }

.footer a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer a:hover { color: var(--text-link); }

.footer a.mail { color: var(--text-link); }

/* ---------- utility pages (privacy / terms / support / thanks / 404) ---------- */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 0 72px;
}

.page h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: 40px;
  letter-spacing: var(--tracking-display);
  margin: 0 0 10px;
}

.page-meta {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 36px;
}

.page h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 20px;
  margin: 0 0 12px;
}

.page section { margin-bottom: 32px; }

.page section p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.page section ul {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
  padding-left: 22px;
}

.page section li { margin-bottom: 6px; }

/* Owner-supplied text goes here — dashed stub per the handoff */
.stub {
  background: var(--surface-sunken);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.stub p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
}

/* ---------- support ---------- */

.contact-card {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-card h2 { margin: 0 0 6px; font-size: 19px; }

.contact-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.contact-card .btn { white-space: nowrap; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq .q {
  font-size: 15px;
  font-weight: var(--weight-semibold);
}

.faq .a {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- responsive (handoff guidance — not designed) ---------- */

@media (max-width: 1024px) {
  .band { padding: 0 40px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    justify-items: center;
    text-align: left;
    padding: 40px 0 64px;
  }

  .hero-copy { justify-self: start; }

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

  .phone { zoom: 0.85; }
}

@media (max-width: 760px) {
  .band { padding: 0 20px; }

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

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 56px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-links { gap: 18px; }

  .photo-band { padding-bottom: 56px; }

  .photo-slot { height: 280px; }

  .photo-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .notify-row { flex-wrap: wrap; }

  .notify-input { width: min(280px, 100%); }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .page { padding: 32px 0 56px; }
}
