:root {
  --navy: #003A5D;
  --navy-deep: #002B45;
  --navy-ink: #001C2E;
  --blue: #2B63A8;
  --blue-light: #BFDDEF;
  --tint: #E8F1F8;
  --bg: #F6F7F9;
  --text: #0F1F2E;
  --body: #3B4858;
  --muted: #6B7684;
  --line: #E3E7EC;
  --radius: 20px;
  --max: 1120px;
  --bezel: #0B1620;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 43, 69, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 17px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav-links { display: none; align-items: center; gap: 22px; }
.nav-links a { color: var(--blue-light); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { background: #fff; color: var(--navy) !important; padding: 8px 16px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue-light); }

/* Phone frame */
.phone {
  position: relative;
  background: var(--bezel);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 20, 40, 0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
  width: 100%;
}
.phone::before {
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 26px; background: var(--bezel); border-radius: 999px; z-index: 2;
}
.phone img { border-radius: 34px; width: 100%; }
.phone.sm { border-radius: 32px; padding: 8px; }
.phone.sm::before { top: 16px; height: 18px; }
.phone.sm img { border-radius: 26px; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  background: radial-gradient(1200px 600px at 80% -10%, #0B5A8A 0%, transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 70%, var(--navy-ink) 100%);
  color: #fff;
  padding: 56px 0 0;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-kicker { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); opacity: 0.85; margin-bottom: 14px; }
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; max-width: 12ch; }
.hero .tagline { max-width: 540px; margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--blue-light); }
.hero .platforms { margin-top: 16px; font-size: 13px; color: rgba(191, 221, 239, 0.7); }

.hero-phones {
  position: relative; height: 400px; margin: 0 auto; width: 100%; max-width: 420px;
}
.hero-phones .phone { position: absolute; width: 240px; }
.hero-phones .phone-front { left: 50%; bottom: -120px; transform: translateX(-30%); z-index: 2; }
.hero-phones .phone-back { left: 50%; bottom: -70px; transform: translateX(-95%) scale(0.86); opacity: 0.9; }

/* Store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 176px; height: 54px; padding: 0 18px 0 14px;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 12px;
  text-align: left; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.badge:hover { background: #111; text-decoration: none; transform: translateY(-1px); }
.badge:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.badge svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.badge-text small { font-size: 10px; font-weight: 400; letter-spacing: 0.02em; opacity: 0.85; }
.badge-text strong { font-size: 17px; font-weight: 500; }

/* Facts strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); padding: 150px 0 28px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.facts li { display: grid; gap: 2px; }
.facts strong { font-size: 22px; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }
.facts span { font-size: 13px; color: var(--muted); }

/* Feature sections */
.feature { padding: 64px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.feature h2 { font-size: 28px; color: var(--navy); }
.feature .copy > p { margin-top: 12px; font-size: 16px; color: var(--body); }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 22px; color: var(--body); font-size: 15px; }
.feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.feature li strong { color: var(--text); font-weight: 600; }
.feature .shot { margin: 0; display: flex; justify-content: center; }
.feature .shot .phone { max-width: 300px; }

/* Gallery */
.gallery { padding: 72px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border-top: 1px solid var(--line); }
.gallery h2 { font-size: 26px; color: var(--navy); }
.gallery .sub { margin-top: 10px; color: var(--body); }
.gallery-row {
  display: flex; gap: 20px; padding: 36px 20px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery-row figure { margin: 0; flex: 0 0 180px; scroll-snap-align: center; text-align: center; }
.gallery-row figcaption { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--navy); }

/* Density note */
.note { padding: 64px 0 24px; }
.note-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; }
.note-card .eyebrow { color: var(--blue-light); }
.note-card h2 { font-size: 22px; }
.note-card p { color: var(--blue-light); font-size: 15px; }
.note-card .unit { white-space: nowrap; color: #fff; font-weight: 500; }

/* CTA */
.cta { padding: 24px 0; }
.cta-card { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cta-card h2 { font-size: 24px; color: var(--navy); }
.cta-card p { margin-top: 6px; color: var(--body); font-size: 15px; }
.cta-card .badges { margin-top: 0; }

/* Privacy */
.privacy { padding: 24px 0 64px; }
.privacy-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 24px 28px; }
.privacy-card h2 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.privacy-card p { font-size: 15px; color: var(--body); }

/* Footer */
.footer { background: var(--navy-ink); color: var(--blue-light); padding: 40px 0 48px; font-size: 14px; }
.footer .wrap { display: grid; gap: 10px; }
.footer .poh { color: #fff; font-weight: 500; font-size: 15px; }
.footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.footer a:hover { text-decoration-color: #fff; }
.footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; }
.notfound { text-align: center; padding: 40px 20px; display: grid; justify-items: center; gap: 10px; }
.notfound-icon { border-radius: 16px; margin-bottom: 8px; }
.notfound h1 { font-size: 28px; color: var(--navy); }
.btn { display: inline-block; margin-top: 12px; padding: 12px 22px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); text-decoration: none; }

/* Wider layouts */
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .hero { padding: 80px 0 0; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; }
  .hero h1 { font-size: 52px; }
  .hero .tagline { font-size: 18px; }
  .hero-phones { height: 560px; max-width: none; }
  .hero-phones .phone { width: 270px; }
  .hero-phones .phone-front { left: 55%; bottom: -150px; transform: translateX(-35%); }
  .hero-phones .phone-back { left: 55%; bottom: -90px; transform: translateX(-100%) scale(0.86); }
  .strip { padding: 180px 0 32px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .feature { padding: 96px 0; }
  .feature .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .feature.flip .copy { order: 2; }
  .feature.flip .shot { order: 1; }
  .feature h2 { font-size: 34px; }
  .feature .shot .phone { max-width: 320px; }
  .gallery h2 { font-size: 32px; }
  .gallery-row { justify-content: center; padding-top: 44px; }
  .gallery-row figure { flex-basis: 196px; }
  .note-card { padding: 40px; }
  .note-card h2 { font-size: 26px; }
  .cta-card { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 58px; }
  .hero-phones .phone { width: 290px; }
}

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

/* Support page */
.subhero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 56px 0 48px;
}
.subhero h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.subhero .tagline { max-width: 600px; margin-top: 14px; font-size: 17px; color: var(--blue-light); }
.subhero .tagline a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.faq-page { padding: 48px 0 72px; }
.faq-grid { display: grid; gap: 32px; }
.faq-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-toc a {
  font-size: 13px; font-weight: 500; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.faq-toc a:hover { background: var(--tint); text-decoration: none; }
.faq-body { display: grid; gap: 40px; min-width: 0; }
.faq-body section { scroll-margin-top: 80px; }
.faq-body h2 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.faq-body details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-top: 8px; }
.faq-body summary {
  cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-weight: 500; color: var(--text); position: relative; font-size: 15px;
}
.faq-body summary::-webkit-details-marker { display: none; }
.faq-body summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--navy); font-weight: 600; font-size: 16px; line-height: 1;
}
.faq-body details[open] summary::after { content: "\2212"; }
.faq-body details p { padding: 0 0 16px; color: var(--body); font-size: 15px; }
.faq-body details p + p { margin-top: -6px; }
@media (min-width: 760px) {
  .subhero { padding: 72px 0 56px; }
  .subhero h1 { font-size: 46px; }
  .faq-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
  .faq-toc { position: sticky; top: 80px; flex-direction: column; gap: 4px; }
  .faq-toc a { background: transparent; border: 0; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
  .faq-body h2 { font-size: 26px; }
}
