/*
 * SHR Sports coming soon page.
 * Tokens copied from the main design system (packages/ui globals.css, docs/BRAND.md).
 */
:root {
  --navy: #0b1f3a;
  --deep-blue: #13305a;
  --lime: #b6f000;
  --ice: #f2f5f9;
  --mist: #c5d3e6;
  --haze: #9fb3cf;
  --line: rgb(242 245 249 / 0.12);
  --navy-gradient: radial-gradient(ellipse at 25% 15%, #1b3f72 0%, #0b1f3a 55%, #06142a 100%);
  --ease-sprint: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Saira", ui-sans-serif, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  color-scheme: dark;
}

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

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--navy);
  background-image: var(--navy-gradient);
  background-attachment: fixed;
  color: var(--ice);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--lime);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--lime);
}

img,
svg {
  display: block;
}

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

/* Layout */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4.5rem) var(--gutter) 1.5rem;
}

.hero {
  flex: 1;
  display: grid;
  align-content: center;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.hero__logo img {
  width: clamp(170px, 46vw, 240px);
  height: auto;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .hero__logo {
    order: 2;
    justify-self: end;
  }
  .hero__logo img {
    /* Logo with sport icons: 400 px minimum (BRAND.md). */
    width: clamp(400px, 36vw, 480px);
  }
}

/* Eyebrow with the lime strip */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  color: var(--lime);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.strip {
  display: inline-block;
  width: 3rem;
  height: 0.375rem;
  background: var(--lime);
  transform: skewX(-12deg);
  transform-origin: left;
  animation: strip-grow 520ms var(--ease-sprint) both;
  animation-delay: 120ms;
}

/* Headline: Saira Black Italic, 125% width */
.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(3.25rem, 1.6rem + 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.headline__line {
  display: block;
  padding-right: 0.1em; /* room for the italic overhang */
}

.headline__line--lime {
  display: flex;
  align-items: center;
  gap: 0.18em;
  color: var(--lime);
}

/* Speed slashes (///): once on the page */
.slashes {
  width: 0.62em;
  height: auto;
  margin-top: -0.04em;
  fill: var(--lime);
  overflow: visible;
}

.slashes polygon {
  transform-box: fill-box;
  animation: slash-in 520ms var(--ease-sprint) both;
  animation-delay: var(--d, 0ms);
}

.tagline {
  margin: 1.5rem 0 0;
  color: var(--ice);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  max-width: 34rem;
  margin: 0.75rem 0 0;
  color: var(--ice);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.sub {
  max-width: 34rem;
  margin: 0.5rem 0 0;
  color: var(--haze);
  font-size: 1rem;
  line-height: 1.6;
}

/* Rotating sport word */
.rotator {
  display: inline-block;
  position: relative;
  color: var(--lime);
  font-weight: 700;
  vertical-align: bottom;
  overflow: hidden;
}

.rotator__word {
  display: inline-block;
}

.rotator__word.is-out {
  animation: word-out 260ms var(--ease-sprint) both;
}

.rotator__word.is-in {
  animation: word-in 360ms var(--ease-sprint) both;
}

/* Buttons: pills, lime primary with navy text */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 120ms var(--ease-sprint),
    border-color 120ms var(--ease-sprint),
    transform 120ms var(--ease-sprint);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--lime);
  color: var(--navy);
}

.btn--primary:hover {
  background: #c4f52e;
}

.btn--ghost {
  color: var(--ice);
  border-color: rgb(242 245 249 / 0.35);
}

.btn--ghost:hover {
  background: rgb(242 245 249 / 0.08);
  border-color: rgb(242 245 249 / 0.6);
}

@media (max-width: 479px) {
  .btn {
    width: 100%;
  }
}

/* Trust bar */
.trust {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust__list {
  display: grid;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 720px) {
  .trust__list {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }
}

.trust__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
}

.trust__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  background: var(--lime);
  color: var(--navy);
  transform: skewX(-12deg);
}

.trust__icon svg {
  width: 1.125rem;
  height: 1.125rem;
  transform: skewX(12deg);
}

/* Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--mist);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: color 120ms var(--ease-sprint);
}

.contact a:hover {
  color: var(--ice);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.copyright {
  margin: 0;
  color: var(--haze);
  font-size: 0.8125rem;
}

/* Entrance motion (from the design system) */
.reveal {
  animation: dash-in 480ms var(--ease-sprint) both;
  animation-delay: var(--d, 0ms);
}

.wipe {
  animation: slash-wipe 640ms var(--ease-sprint) both;
  animation-delay: var(--d, 0ms);
}

@keyframes dash-in {
  from {
    opacity: 0;
    transform: translateX(-1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slash-wipe {
  from {
    clip-path: polygon(0 0, 0 0, -25% 100%, -25% 100%);
  }
  to {
    clip-path: polygon(0 0, 125% 0, 100% 100%, -25% 100%);
  }
}

@keyframes slash-in {
  from {
    opacity: 0;
    transform: translateX(-40%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes strip-grow {
  from {
    transform: skewX(-12deg) scaleX(0);
  }
  to {
    transform: skewX(-12deg) scaleX(1);
  }
}

@keyframes word-out {
  to {
    opacity: 0;
    transform: translateY(-0.6em);
  }
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}
