:root {
  color-scheme: dark;
  --deep: #031b33;
  --navy: #073b67;
  --blue: #087cc1;
  --cyan: #21d6ed;
  --foam: #eafcff;
  --muted: #a9d6e8;
  --panel: rgba(8, 73, 119, 0.58);
  --line: rgba(144, 224, 239, 0.22);
  --shadow: 0 24px 70px rgba(0, 16, 36, 0.34);
}

* { box-sizing: border-box; }

html {
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--foam);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 78% 12%, rgba(33, 214, 237, 0.24), transparent 27rem),
    radial-gradient(circle at 12% 42%, rgba(15, 129, 196, 0.30), transparent 30rem),
    linear-gradient(155deg, #052949 0%, #064b7b 45%, #03213e 100%);
}

a { color: inherit; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand img,
.app-card img {
  border-radius: 24%;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 19, 42, 0.38);
}

.brand img { border-radius: 14px; }

nav,
footer div {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: white;
}

.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
  padding: 64px 0 88px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: #c8ecf8;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.play-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.play-button {
  color: #01273d;
  background: linear-gradient(135deg, #65f0ff, #21d6ed);
  box-shadow: 0 14px 34px rgba(33, 214, 237, 0.22);
}

.secondary-button {
  color: white;
  background: rgba(255,255,255,0.08);
}

.play-button:hover,
.play-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(33, 214, 237, 0.28);
}

.app-card {
  justify-self: end;
  width: min(100%, 340px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 34px;
  text-align: center;
  background: linear-gradient(165deg, rgba(18, 121, 179, 0.74), rgba(3, 35, 65, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.app-card img {
  display: block;
  width: min(196px, 76%);
  height: auto;
  margin: 0 auto 24px;
}

.app-card strong {
  display: block;
  font-size: 1.3rem;
}

.app-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.features {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

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

.feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 14px 42px rgba(0, 18, 38, 0.16);
}

.feature-grid p,
.support p,
.legal p,
.legal li {
  color: #c5e4f0;
}

.feature-icon {
  display: block;
  margin-bottom: 18px;
  font-size: 2rem;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 80px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(2, 31, 57, 0.52);
}

.support p {
  max-width: 670px;
  margin-bottom: 0;
}

.legal {
  max-width: 820px;
  padding: 64px 0 96px;
}

.legal h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.legal h2 {
  margin-top: 44px;
  font-size: 1.7rem;
}

.legal h3 {
  margin-top: 28px;
}

.legal li + li { margin-top: 8px; }

.notice {
  margin: 28px 0 40px;
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px 16px 16px 8px;
  color: #d9f6ff;
  background: rgba(33, 214, 237, 0.10);
}

.text-link {
  color: #62ecfb;
  font-weight: 750;
}

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  nav { gap: 14px; }

  .brand span { display: none; }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 56px 0 72px;
  }

  h1 { font-size: clamp(3rem, 17vw, 5rem); }

  .app-card {
    justify-self: stretch;
    width: 100%;
  }

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

  .support {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .secondary-button {
    width: 100%;
    overflow-wrap: anywhere;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
