:root {
  --bg: #080d1f;
  --surface: #121b35;
  --surface-2: #172448;
  --primary: #00cfc8;
  --accent: #ff6b2c;
  --gold: #ffc857;
  --text: #f5f7ff;
  --muted: #a8b3d6;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 207, 200, 0.18), transparent 30rem),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 44, 0.16), transparent 24rem),
    linear-gradient(135deg, #080d1f 0%, #111633 52%, #070a16 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px;
}

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

.app-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
}

.nav a:hover,
.footer a:hover {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px 86px;
}

.hero-copy h1,
.legal-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.button.primary {
  color: #071225;
  background: linear-gradient(135deg, var(--primary), #7affef);
  box-shadow: 0 16px 44px rgba(0, 207, 200, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.notice {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 44px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(18, 27, 53, 0.9), rgba(8, 13, 31, 0.92));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: var(--shadow);
}

.phone {
  width: 260px;
  min-height: 400px;
  padding: 22px;
  border: 8px solid #050814;
  border-radius: 48px;
  background: linear-gradient(180deg, #2f3d5d, #11182d);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.42);
}

.speaker {
  width: 70px;
  height: 10px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #050814;
}

.screen {
  position: relative;
  height: 160px;
  overflow: hidden;
  border: 7px solid #050814;
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 50%, transparent 50%),
    radial-gradient(circle at 56% 42%, #7affef 0 7px, #00cfc8 8px 16px, transparent 18px),
    linear-gradient(135deg, #0b1530, #071225);
  background-size: auto, auto, auto;
}

.pixel {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary);
}

.p1 { left: 35px; top: 38px; }
.p2 { right: 42px; top: 58px; }
.p3 { left: 58px; bottom: 30px; }
.p4 { right: 78px; bottom: 38px; background: var(--gold); box-shadow: 0 0 16px var(--gold); }

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 44px;
}

.dpad {
  position: relative;
  width: 74px;
  height: 74px;
}

.dpad::before,
.dpad::after {
  position: absolute;
  content: "";
  border-radius: 12px;
  background: #050814;
  box-shadow: 0 0 0 4px var(--primary);
}

.dpad::before {
  left: 25px;
  top: 0;
  width: 24px;
  height: 74px;
}

.dpad::after {
  left: 0;
  top: 25px;
  width: 74px;
  height: 24px;
}

.buttons {
  display: flex;
  gap: 16px;
  transform: rotate(-18deg);
}

.buttons span {
  width: 38px;
  height: 38px;
  border: 4px solid #050814;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 68px 24px;
}

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

.section h2,
.legal-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.feature-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(18, 27, 53, 0.74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
}

.feature-card p,
.split p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 42px auto 0;
  padding: 34px 24px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.footer p {
  margin: 6px 0 0;
}

.legal-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px;
}

.legal-hero {
  margin-bottom: 30px;
}

.legal-card {
  padding: clamp(24px, 5vw, 46px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .footer,
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

  .hero {
    gap: 36px;
    padding-top: 28px;
  }

  .hero-card {
    min-height: 440px;
  }

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

@media (max-width: 520px) {
  .nav,
  .footer-links {
    flex-wrap: wrap;
  }

  .hero-card {
    border-radius: 28px;
  }

  .phone {
    transform: scale(0.88);
  }
}
