:root {
  color-scheme: dark;
  --bg: #080d0b;
  --bg-soft: #101814;
  --panel: #14211c;
  --panel-strong: #1d2c25;
  --text: #fff8e8;
  --muted: #b9c7bb;
  --line: rgba(255, 248, 232, 0.16);
  --gold: #ffd66e;
  --green: #92e6b7;
  --red: #f06a62;
  --blue: #75b8ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #080d0b 0%, #0d1511 46%, #080d0b 100%);
  color: var(--text);
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--gold);
  color: #151008;
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding: 0.95rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(8, 13, 11, 0.86), rgba(8, 13, 11, 0.08));
  backdrop-filter: blur(12px);
}

.site-header.compact {
  position: sticky;
  background: rgba(8, 13, 11, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: clamp(7.8rem, 14vw, 10rem);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 11, 0.58);
  padding: 0.3rem;
  backdrop-filter: blur(18px);
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.62rem 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(255, 248, 232, 0.12);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(8, 13, 11, 0.72);
  color: var(--text);
  padding: 0.72rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0 0 5px;
  background: currentColor;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 248, 232, 0.12);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 11, 0.94), rgba(8, 13, 11, 0.62) 42%, rgba(8, 13, 11, 0.2)),
    linear-gradient(0deg, rgba(8, 13, 11, 0.96), rgba(8, 13, 11, 0.18) 54%, rgba(8, 13, 11, 0.54));
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(8rem, 16vh, 11rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3.75rem, 9vh, 6rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(3.25rem, 9.4vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 950;
  text-wrap: balance;
}

.hero h1 span {
  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;
}

.hero p {
  max-width: 36rem;
  margin-bottom: 0;
  color: #f7efdf;
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  font-weight: 760;
  line-height: 1.36;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  border-radius: 0.65rem;
  padding: 0.86rem 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #161107;
  box-shadow: 0 16px 38px rgba(255, 214, 110, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #ffe08b;
  box-shadow: 0 20px 48px rgba(255, 214, 110, 0.3);
  transform: translateY(-2px);
  outline: none;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 3.5rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-copy {
  max-width: 48rem;
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.28rem;
  font-size: 1.22rem;
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  min-height: 10rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 248, 232, 0.06), rgba(255, 248, 232, 0.02)),
    rgba(20, 33, 28, 0.82);
  padding: 1.25rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.feature strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.feature:nth-child(2) strong {
  color: var(--green);
}

.feature:nth-child(3) strong {
  color: var(--blue);
}

.feature span,
.proof-copy p,
.legal-page p,
.legal-page li,
.contact-panel p {
  color: var(--muted);
}

.proof {
  display: block;
  border-top: 1px solid rgba(255, 248, 232, 0.14);
  border-bottom: 1px solid rgba(255, 248, 232, 0.14);
}

.proof-copy p {
  max-width: 46rem;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

.legal-page,
.contact-page {
  width: min(860px, 100%);
  min-height: calc(100vh - 16rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem);
}

.legal-page h1,
.contact-panel h1 {
  max-width: none;
  margin-bottom: 0.6rem;
  font-size: clamp(3rem, 10vw, 6.4rem);
}

.updated,
.fine-print {
  color: #92e6b7;
  font-size: 0.95rem;
  font-weight: 800;
}

.legal-page h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.legal-page h3 {
  margin-top: 1.4rem;
  color: var(--gold);
}

.legal-page ul {
  padding-left: 1.4rem;
}

.legal-page li {
  margin: 0.55rem 0;
}

.contact-page {
  display: grid;
  place-items: center;
}

.contact-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(146, 230, 183, 0.12), rgba(240, 106, 98, 0.08)),
    var(--panel);
  padding: clamp(1.4rem, 5vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 42rem;
  font-size: 1.08rem;
}

.email-image {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin: 1.6rem 0 0.8rem;
  border-radius: 0.9rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 5vw, 3.5rem);
  color: var(--muted);
}

.footer div {
  display: grid;
  gap: 0.25rem;
}

.footer strong {
  color: var(--text);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .nav-links {
    position: fixed;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    display: none;
    border-radius: 0.75rem;
    background: rgba(8, 13, 11, 0.96);
    padding: 0.6rem;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
  }

  .hero {
    min-height: 86vh;
    min-height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 13, 11, 0.26), rgba(8, 13, 11, 0.96)),
      linear-gradient(90deg, rgba(8, 13, 11, 0.84), rgba(8, 13, 11, 0.28));
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 0.85rem;
  }

  .brand img {
    width: min(7.2rem, 40vw);
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 11.8vw, 3.35rem);
    line-height: 0.94;
  }

  .hero p {
    max-width: 21rem;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    white-space: nowrap;
  }

}

@media (max-width: 360px) {
  h1 {
    font-size: 2.7rem;
  }

  .button {
    font-size: 0.95rem;
  }
}

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

  .hero-video {
    display: none;
  }

  .hero {
    background: #0c120f url("assets/word-smash-logo.png") center / min(70vw, 32rem) no-repeat;
  }
}
