/* Private beta: editorial composition from v7, real product captures, semantic colours.
 * Brand: docs/sportdeck/product/brand.md. Font Lab overrides only --font-heading.
 * Body Inter (SIL OFL) / Roboto Slab 800 headlines (Apache 2.0). Both self-hosted. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-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.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: 'Roboto Slab';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/roboto-slab-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/roboto-slab-latin.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 {
  --sd-brand-bg: #0b1220;
  --sd-brand-navy: #00133a;
  --sd-ui-blue: #1f6feb;
  --sd-ui-blue-light: #60a5fa;
  --page-bg: #f6f9fe;
  --page-text: #0b1220;
  --page-muted: #40536c;
  --page-surface: #ffffff;
  --page-border: #cdd9e8;
  --page-link: #175bc4;
  --page-button: var(--sd-ui-blue);
  --page-button-text: #ffffff;
  --page-soft: #eaf2fc;
  --page-error: #a52334;
  --font-body: Inter, system-ui, sans-serif;
  --font-heading: 'Roboto Slab', Georgia, serif;
  --heading-weight: 800;
  --gutter: max(clamp(1.25rem, 4vw, 2.5rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --measure: 70rem;
  --section-gap: clamp(4.5rem, 8vw, 7.5rem);
  color-scheme: light;
}
.dark {
  --page-bg: var(--sd-brand-bg);
  --page-text: #ffffff;
  --page-muted: #c5d0e0;
  --page-surface: var(--sd-brand-navy);
  --page-border: #6a7d98;
  --page-link: #93c5fd;
  --page-error: #ffbac5;
  color-scheme: dark;
  background: var(--page-bg);
  color: var(--page-text);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font: 400 1.125rem/1.6 var(--font-body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--page-link);
  text-underline-offset: 0.22em;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--page-link);
  outline-offset: 5px;
}
::selection {
  color: #ffffff;
  background: #175bc4;
}
.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.section {
  padding: var(--section-gap) max(var(--gutter), calc((100% - var(--measure)) / 2));
}
.section > p {
  max-width: 46rem;
  color: var(--page-muted);
  margin: 1.1rem 0;
}
h1,
h2 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: -0.045em;
  line-height: 1.09;
  text-wrap: balance;
  margin: 0 0 1.75rem;
}
h1 {
  font-size: clamp(2.65rem, 6.4vw, 5.5rem);
}
h2 {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  max-width: 58rem;
}
h3 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 2rem 0 0.8rem;
}
p {
  overflow-wrap: break-word;
}
.section > .eyebrow,
.hero > p:first-child {
  text-transform: uppercase;
  font: 700 0.75rem/1.5 var(--font-body);
  letter-spacing: 0.14em;
  margin: 0 0 1.4rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--page-bg);
  background: color-mix(in srgb, var(--page-bg) 96%, transparent);
  border-bottom: 1px solid var(--page-border);
  padding: calc(1.25rem + env(safe-area-inset-top)) 0 1.25rem;
  backdrop-filter: blur(12px);
}
.header-bar,
.header-tools,
.desktop-nav,
.lang {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-bar {
  justify-content: space-between;
}
.logo {
  width: 207px;
  height: 32px;
}
.logo-link {
  display: inline-flex;
  flex-shrink: 0;
  padding: 12px;
  margin: -12px;
}
.desktop-nav {
  gap: 1.75rem;
  font-size: 0.875rem;
}
.desktop-nav a {
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--page-muted);
}
.header-link,
.hero p a:first-child,
.submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--page-button);
  color: var(--page-button-text);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.header-link {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}
.lang {
  gap: 0.25rem;
}
.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0.3rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--page-muted);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--page-soft);
  color: var(--page-text);
  border-color: var(--page-border);
}
.hero {
  text-align: center;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 5rem;
}
.hero > p,
.hero h1 {
  margin-inline: auto;
}
.hero h1 {
  max-width: 64rem;
}
.hero > .lede {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  max-width: 45rem;
  color: var(--page-text);
}
.hero > p:nth-of-type(3) {
  max-width: 43rem;
}
.hero p a {
  margin: 0.3rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}
.hero p a:last-child {
  padding: 0.7rem 1.2rem;
}
.hero > .microcopy {
  font-size: 0.8rem;
  margin-top: 1rem;
}
figure {
  margin: 0;
}
.hero-preview {
  max-width: 62.5rem;
  margin: 3.5rem auto 0;
}
.hero-preview img,
.detail-preview img {
  border-radius: 16px;
  border: 1px solid var(--page-border);
  box-shadow: 0 28px 60px #00133a1a;
  width: 100%;
}
figcaption {
  color: var(--page-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}
.story {
  text-align: center;
}
.story > p,
.story > h2 {
  margin-inline: auto;
}
.story > p {
  max-width: 44rem;
}
.story > p:nth-of-type(4) {
  color: var(--page-text);
  font-weight: 600;
}
.value {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  align-content: center;
}
.value > :not(figure) {
  grid-column: 1;
}
.value > .detail-preview {
  grid-column: 2;
  grid-row: 1 / span 8;
  align-self: center;
}
.value > p {
  margin: 0 0 1.25rem;
}
.value h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
.tools {
  background: var(--page-soft);
}
.tools > h2,
.tools > p {
  text-align: center;
  margin-inline: auto;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.tool-card {
  min-width: 0;
  background: var(--page-surface);
  border: 1px solid var(--page-border);
  border-radius: 20px;
  padding: 1.25rem;
}
.tool-card img {
  border-radius: 10px;
  width: 100%;
  border: 1px solid var(--page-border);
}
.tool-card h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.tool-card p {
  font-size: 1rem;
  color: var(--page-muted);
}
.tool-card strong {
  color: var(--page-text);
}
.moments > h3 {
  padding-top: 1.8rem;
  border-top: 1px solid var(--page-border);
  max-width: 46rem;
}
.moments > p:not(.eyebrow) {
  margin-bottom: 2rem;
}
.scope > h2 {
  max-width: 53rem;
}
.scope > p:not(.eyebrow) {
  max-width: 43rem;
}
.faq > h3 {
  padding-top: 1.75rem;
  border-top: 1px solid var(--page-border);
  max-width: 50rem;
}
.faq > p {
  max-width: 48rem;
}
.waitlist {
  text-align: center;
}
.waitlist > p,
.waitlist > h2 {
  margin-inline: auto;
}
.waitlist > p {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}
.waitlist h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}
.waitlist-form {
  width: min(100%, 42rem);
  margin: 3rem auto 0;
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}
.email-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: #ffffff0d;
  border: 1px solid var(--page-border);
}
.email-row:focus-within {
  outline: 2px solid var(--page-link);
  outline-offset: 3px;
}
.email-row input[type='email'] {
  flex: 1;
  min-width: 0;
  min-height: 56px;
  padding-inline: 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.05rem;
}
.email-row input:focus-visible {
  outline: none;
}
.email-row .submit {
  width: auto;
  flex: none;
  gap: 0.75rem;
  padding-inline: 1.5rem;
}
.sport-field legend {
  width: 100%;
  margin-bottom: 0.5rem;
  color: var(--page-muted);
  font-size: 0.8rem;
  font-weight: 400;
}
.sport-options {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.sport-choice {
  position: relative;
  width: min(11rem, calc((100% - 0.6rem) / 2));
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}
.sport-choice > span {
  position: relative;
  display: grid;
  gap: 0.65rem;
  padding: 0.5rem 0.5rem 0.7rem;
  border: 2px solid var(--page-border);
  border-radius: 14px;
  color: var(--page-muted);
  background: #ffffff05;
}
.sport-choice img {
  width: 100%;
  border-radius: 7px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.sport-check {
  visibility: hidden;
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: #175bc4;
  font-weight: 700;
}
.sport-choice input:checked + span {
  color: #ffffff;
  background: var(--page-surface);
  border-color: var(--sd-ui-blue-light);
}
.sport-choice input:checked + span .sport-check {
  visibility: visible;
}
.sport-choice input:focus-visible + span {
  outline: 3px solid var(--page-link);
  outline-offset: 3px;
}
.sport-clear {
  flex-basis: 100%;
  min-height: 44px;
  padding: 0.5rem;
  background: transparent;
  border: 0;
  color: var(--page-link);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.signup-fields {
  display: grid;
  gap: 1.1rem;
}
#confirmed-email {
  overflow-wrap: anywhere;
  font-weight: 600;
}
.reset-button {
  min-height: 44px;
  padding: 0.5rem 0;
  background: transparent;
  border: 0;
  color: var(--page-link);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 0.95rem;
}
.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend,
.field > label {
  font-size: 0.9rem;
  font-weight: 600;
}
input[type='email'],
input[type='text'],
select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  background: var(--page-bg);
  color: var(--page-text);
  border: 1px solid var(--page-border);
  border-radius: 10px;
  font-size: 1rem;
}
input::placeholder {
  color: var(--page-muted);
  opacity: 1;
}
[aria-invalid='true'] {
  outline: 2px solid var(--page-error);
  outline-offset: 2px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  cursor: pointer;
  font-size: 1rem;
}
.check {
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--page-muted);
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  flex: none;
  accent-color: var(--sd-ui-blue);
}
.submit {
  width: 100%;
  font-size: 1rem;
}
.submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.signup-fields > p:last-child {
  margin: 0;
  font-size: 0.8rem;
  color: var(--page-muted);
}
.form-status {
  margin: 0;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1rem;
}
.form-status[data-state='success'] {
  background: var(--page-bg);
  border: 1px solid var(--sd-ui-blue-light);
}
.form-status[data-state='error'] {
  background: var(--page-bg);
  border: 1px solid var(--page-error);
}
.hp,
.sr-only,
.sport-choice input,
.form-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: 0.8rem 1.2rem;
  background: var(--sd-ui-blue);
  color: #ffffff;
  border-radius: 999px;
}
.skip:focus {
  transform: none;
}
.site-footer {
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--page-border);
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-bar p {
  font-size: 0.8rem;
  color: var(--page-muted);
}
.mobile-cta {
  display: none;
}
.result {
  padding: 4rem 0;
}
.font-lab {
  padding: 1.25rem var(--gutter);
  background: var(--page-soft);
  border-bottom: 1px solid var(--page-border);
  font-size: 0.9rem;
}
.font-lab-inner {
  max-width: var(--measure);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.font-lab label {
  font-weight: 700;
}
.font-lab select {
  width: auto;
  max-width: 100%;
  color-scheme: light;
}
.font-lab output {
  color: var(--page-muted);
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  body {
    font-size: 1.3rem;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .value,
  .waitlist {
    column-gap: 2rem;
  }
}
@media (max-width: 900px) {
  .tool-grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
  }
  .tool-card {
    padding: 1.5rem;
  }
  .value,
  .waitlist {
    display: block;
  }
  .value > .detail-preview {
    margin: 2rem 0 0;
  }
  .value {
    display: flex;
    flex-direction: column;
  }
  .detail-preview {
    order: 1;
  }
  .waitlist-form {
    margin-top: 2.5rem;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 6rem;
  }
  .site-header {
    padding-block: calc(0.7rem + env(safe-area-inset-top)) 0.7rem;
  }
  .header-bar {
    gap: 0.6rem;
  }
  .logo {
    width: 155px;
    height: 24px;
  }
  .header-tools {
    gap: 0.2rem;
  }
  .header-link {
    display: none;
  }
  .hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }
  .hero-preview {
    margin-top: 2.5rem;
  }
  .hero-preview img {
    border-radius: 9px;
  }
  .hero > p:nth-of-type(4) {
    font-size: 0;
  }
  .hero p a {
    display: flex;
    justify-content: center;
    margin-inline: 0;
  }
  .hero p a:last-child {
    font-size: 0.95rem;
  }
  .section > p {
    line-height: 1.6;
  }
  .email-row {
    flex-direction: column;
    border: 0;
    background: transparent;
    padding: 0;
    gap: 0.8rem;
  }
  .email-row:focus-within {
    outline: none;
  }
  .email-row input[type='email'] {
    background: #ffffff0d;
    border: 1px solid var(--page-border);
    text-align: center;
  }
  .email-row input:focus-visible {
    outline: 3px solid var(--page-link);
    outline-offset: 3px;
  }
  .email-row .submit {
    min-height: 56px;
    width: 100%;
  }
  .waitlist-form .check {
    text-align: left;
  }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }
  .mobile-cta {
    position: fixed;
    z-index: 25;
    left: max(var(--gutter), env(safe-area-inset-left));
    right: max(var(--gutter), env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 1px solid #6a7d98;
    padding: 0.8rem;
    border-radius: 999px;
    background: var(--sd-brand-navy);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 25px #00133a33;
  }
  .mobile-cta.is-hidden {
    visibility: hidden;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
