:root {
  --navy: #17284f;
  --navy-2: #213b73;
  --ink: #152033;
  --muted: #667085;
  --line: #e4e8f0;
  --paper: #fbfcff;
  --white: #ffffff;
  --amber: #f0a72f;
  --green: #28a66a;
  --red: #d94f4f;
  --blue: #3168d8;
  --shadow: 0 22px 60px rgba(21, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

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

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

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(251, 252, 255, 0.88);
  border-bottom: 1px solid rgba(228, 232, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  color: var(--navy);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 64px) clamp(54px, 7vw, 84px);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 167, 47, 0.22), transparent 28%),
    linear-gradient(145deg, #fdfdfb 0%, #eef4ff 56%, #f7faf8 100%);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(49, 104, 216, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
  color: var(--navy);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: #475467;
  font-size: clamp(18px, 2.2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(23, 40, 79, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.subnote {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.phone-wrap {
  display: grid;
  place-items: center;
}

.phone {
  width: min(360px, 82vw);
  padding: 14px;
  border-radius: 44px;
  background: #101828;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 650px;
  overflow: hidden;
  border-radius: 32px;
  background: #f5f8ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-top {
  padding: 22px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}

.app-top img {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
}

.app-top h2 {
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1;
}

.app-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.score-card {
  margin: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(21, 32, 51, 0.12);
}

.score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-pill {
  color: var(--green);
}

.teams {
  display: grid;
  gap: 12px;
}

.team-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f3f6fb;
}

.team-row strong {
  font-size: 15px;
}

.team-row span {
  color: var(--muted);
  font-size: 12px;
}

.team-row b {
  color: var(--navy);
  font-size: 44px;
  line-height: 1;
}

.controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.control {
  padding: 13px 6px;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  font-weight: 850;
}

.control:nth-child(2) {
  background: var(--amber);
}

.control:nth-child(3) {
  background: var(--red);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 64px);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

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

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 900;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.screen {
  min-height: 190px;
  padding: 18px;
  border-radius: 20px;
  color: var(--white);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen:nth-child(2) {
  background: var(--green);
}

.screen:nth-child(3) {
  background: var(--blue);
}

.screen:nth-child(4) {
  background: #783f9b;
}

.screen strong {
  font-size: 20px;
}

.screen span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background: #f4f7fc;
  counter-increment: steps;
}

.step::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 28px;
  color: var(--amber);
  font-size: 15px;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  margin: 0 clamp(20px, 5vw, 64px) clamp(40px, 7vw, 72px);
  padding: clamp(34px, 6vw, 62px);
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(240, 167, 47, 0.28), transparent 36%),
    linear-gradient(145deg, var(--navy), #0f1b37);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.cta-band .button.primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.cta-band .button.primary:hover {
  background: #f4f7fc;
}

.cta-band .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.cta-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 750;
}

.footer a {
  text-decoration: none;
}

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 74px) 20px 84px;
}

.legal-page h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 7vw, 64px);
}

.updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--amber);
  border-radius: 14px;
  background: var(--white);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 26px;
}

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

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .phone {
    transform: none;
  }

  .grid,
  .showcase,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    padding-top: 38px;
  }

  .phone-screen {
    min-height: 560px;
  }

  .grid,
  .showcase,
  .steps {
    grid-template-columns: 1fr;
  }

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