:root {
  --red: #cc0001;
  --black: #000000;
  --white: #fffffd;
  --ink: #171717;
  --muted: #6f6f6f;
  --line: rgba(0, 0, 0, 0.12);
  --line-dark: rgba(255, 255, 253, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(204, 0, 1, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  width: min(210px, 50vw);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 253, 0.14);
  color: var(--white);
}

.site-nav .nav-cta,
.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(204, 0, 1, 0.24);
}

.site-nav .nav-cta {
  background: var(--white);
  color: var(--red);
  box-shadow: none;
}

.site-nav .nav-cta:hover,
.button-primary:hover {
  background: #a90001;
  color: var(--white);
}

.site-nav .nav-cta:hover {
  background: var(--black);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 253, 0.36);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, var(--black) 0 54%, var(--white) 54% 100%);
  overflow: hidden;
}

.hero-copy {
  color: var(--white);
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.app-strip .eyebrow {
  color: var(--white);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 253, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.app-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.hero-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.phone-mockup {
  width: min(315px, 54.6vw);
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.2));
}

.section {
  padding: clamp(62px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-light {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.app-strip h2 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.stats-grid,
.support-grid {
  display: grid;
  gap: 14px;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid div,
.support-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stats-grid div {
  padding: 24px;
}

.stats-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.stats-grid span,
.support-card p,
.legal-card p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.support-card strong,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.app-strip {
  justify-content: space-between;
  margin: clamp(18px, 4vw, 56px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
}

.app-strip div {
  max-width: 780px;
}

.store-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-strip .button-primary {
  background: var(--white);
  color: var(--red);
  box-shadow: none;
}

.app-strip .button-secondary {
  border-color: rgba(255, 255, 253, 0.74);
  color: var(--white);
}

.support-grid {
  grid-template-columns: repeat(3, 1fr);
}

.support-card {
  min-height: 210px;
  padding: 24px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.support-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.support-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-card strong {
  display: block;
  color: var(--black);
}

.legal-page {
  min-height: 70vh;
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: linear-gradient(90deg, var(--black) 0 30%, var(--white) 30% 100%);
}

.legal-content {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--black);
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.95;
}

.updated,
.legal-note {
  font-size: 0.92rem;
}

.legal-content h2 {
  margin: 34px 0 10px;
  color: var(--black);
  font-size: 1.35rem;
}

.legal-content a {
  color: var(--red);
  font-weight: 800;
}

.legal-content li {
  margin-bottom: 8px;
}

.notice {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid rgba(204, 0, 1, 0.28);
  border-radius: 8px;
  background: rgba(204, 0, 1, 0.06);
  color: #5f0000;
}

.legal-card {
  margin: 18px 0;
  padding: 22px;
}

.request-form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.88rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--black);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(204, 0, 1, 0.12);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--red);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--black);
  color: rgba(255, 255, 253, 0.78);
  flex-wrap: wrap;
}

.site-footer img {
  width: 150px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    background: var(--black);
  }

  .hero-stage {
    min-height: 560px;
  }

  .phone-mockup {
    width: min(301px, 57.4vw);
  }

  .stats-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-page {
    background: var(--white);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 14px 18px 18px;
    background: var(--red);
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .phone-mockup {
    width: min(252px, 61.6vw);
  }

  .stats-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .app-strip {
    margin: 18px;
  }

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