/*
 * Only The Brave — desktop: hero + divider + 3-column band (intro | countdown | form).
 * Mobile: intro left-aligned with hero; countdown & CTA centered; divider matches video width.
 */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  background: #000;
  color: #fff;
  line-height: 1.45;
}

video {
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  outline: 2px solid #fff;
  overflow: visible;
}

.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;
}

/* ---- Hero: centered “boxed” frame (aligns with content band below) ---- */
.hero {
  width: 100%;
  margin: 0;
  padding-top: calc(clamp(1rem, 3.5vw, 2rem) / 2);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  padding-bottom: clamp(1rem, 3.5vw, 2rem);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero__column {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
}

.hero__frame {
  position: relative;
  width: 100%;
  margin-inline: 0;
  background: #000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(280px, 46vh);
}

@media (min-width: 600px) {
  .hero__frame {
    max-height: min(440px, 56vh);
  }
}

@media (min-width: 960px) {
  .hero__frame {
    aspect-ratio: 21 / 9;
    max-height: min(560px, 62vh);
  }
}

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

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  background-color: #000;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.45) 100%);
}

@media (max-width: 959px) {
  .hero {
    padding-bottom: 0;
  }

  .hero__video {
    object-position: center 18%;
  }
}

/* ---- Main shell ---- */
.site-main {
  background: #000;
}

.site-divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero__column > .site-divider {
  margin-top: clamp(10px, 2.8vw, 14px);
}

.content-shell {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.75rem) clamp(2.25rem, 5vw, 3.5rem);
}

@media (max-width: 959px) {
  .content-shell {
    padding-top: clamp(1.75rem, 5vw, 3rem);
    padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
    padding-left: clamp(1rem, 4vw, 2.5rem);
    padding-right: clamp(1rem, 4vw, 2.5rem);
  }

  .panel--intro {
    text-align: left;
    justify-self: stretch;
    width: 100%;
  }

  .panel--intro .brand-title {
    text-align: left;
  }

  .panel--intro .lede {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
  }

  .signup__form {
    max-width: min(26rem, 100%);
  }

  .signup__hint {
    font-weight: 300;
    font-size: 0.875rem;
  }
}

.content-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
}

@media (min-width: 960px) {
  .content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: 2rem;
  }

  .panel--intro {
    padding-right: 0.5rem;
  }

  .panel--cta {
    padding-left: 0.5rem;
  }
}

/* ---- Intro ---- */
.panel--intro .brand-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}

.panel--intro .lede {
  margin: 0;
  font-size: clamp(0.6875rem, 1.65vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.75;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  max-width: 28rem;
}

/* Desktop: column aligned left */
@media (min-width: 960px) {
  .panel--intro {
    text-align: left;
  }

  .panel--intro .brand-title {
    margin-bottom: 1.125rem;
  }

  .panel--intro .lede {
    max-width: none;
  }
}

/* ---- Countdown (24 : 10 : 03 : 25 style) ---- */
.panel--countdown {
  text-align: center;
}

.countdown__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.2rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.countdown__value {
  font-size: clamp(1.65rem, 6.5vw, 3rem);
  font-weight: 200;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.countdown__label {
  margin-top: 0.55rem;
  font-size: clamp(0.5625rem, 1.8vw, 0.6875rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.countdown__sep {
  flex-shrink: 0;
  font-size: clamp(1.25rem, 5vw, 2.35rem);
  font-weight: 200;
  line-height: 1;
  padding: 0 0.15rem;
  margin-top: 0.18rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 960px) {
  .panel--countdown {
    justify-self: center;
    width: 100%;
  }
}

/* ---- CTA ---- */
.panel--cta {
  text-align: center;
}

.signup__hint {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
}

/* Desktop mock: no “Get early access” line */
@media (min-width: 960px) {
  .signup__hint {
    display: none;
  }
}

.signup__form {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .signup__form {
    max-width: none;
    margin: 0;
  }
}

.signup__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 1rem;
  border: none;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 0.9375rem;
}

.signup__input::placeholder {
  color: #6b6b6b;
}

.signup__input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  z-index: 1;
}

.signup__submit {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 1.35rem;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile: light grey button, dark label */
.signup__submit {
  background: #b3b3b3;
  color: #111;
}

.signup__submit:hover {
  background: #c4c4c4;
}

.signup__submit:active {
  background: #9e9e9e;
}

/* Desktop: darker grey, white label */
@media (min-width: 960px) {
  .signup__submit {
    background: #444;
    color: #fff;
  }

  .signup__submit:hover {
    background: #555;
  }

  .signup__submit:active {
    background: #383838;
  }
}

.signup__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.signup__feedback {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.signup__feedback[hidden] {
  display: none;
}

/* ---- Social row (full width below grid) ---- */
.social {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 0.25rem;
  text-align: center;
}

.social__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.social__link:hover {
  background: #252525;
  border-color: rgba(255, 255, 255, 0.28);
}

.social__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.social__icon {
  flex-shrink: 0;
}

@media (max-width: 359px) {
  .signup__form {
    flex-wrap: wrap;
  }

  .signup__input {
    width: 100%;
    border-radius: 2px;
  }

  .signup__submit {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social__link {
    transition: none;
  }
}
