:root {
  color-scheme: dark;
  --space: #07152b;
  --space-deep: #030711;
  --space-soft: #0b1f3d;
  --panel: rgba(9, 23, 45, 0.76);
  --panel-solid: #0b1c35;
  --gold: #ffdc54;
  --gold-soft: #ffeb8b;
  --text: #f7f8fb;
  --muted: #a9b6ca;
  --line: rgba(185, 204, 232, 0.18);
  --content: 1180px;
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--space-deep);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(31, 78, 137, 0.28), transparent 31rem),
    radial-gradient(circle at 10% 34%, rgba(255, 220, 84, 0.07), transparent 25rem),
    linear-gradient(180deg, var(--space) 0%, var(--space-deep) 62%, #02050d 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.4px),
    radial-gradient(circle at 32% 68%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.4px),
    radial-gradient(circle at 86% 74%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.4px);
  background-size: 260px 260px, 340px 340px, 300px 300px, 380px 380px;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--space-deep);
  background: var(--gold);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.page-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(255, 220, 84, 0.16);
}

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

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  min-height: 760px;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 96px;
  gap: clamp(30px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-copy > .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 15px rgba(255, 220, 84, 0.75);
}

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

h1, h2 {
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  font-weight: 760;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, .text-link:focus-visible, .faq-list summary:focus-visible { outline: 3px solid rgba(255, 220, 84, 0.62); outline-offset: 3px; }
.button-primary { color: #07101f; background: var(--gold); box-shadow: 0 14px 38px rgba(255, 220, 84, 0.2); }
.button-primary:hover { background: #ffe477; }
.button-secondary { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.045); }
.button-secondary:hover { border-color: rgba(255, 220, 84, 0.42); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.trust-list li::before { margin-right: 8px; color: var(--gold); content: "·"; }

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

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(330px, 74vw);
  margin: 0;
  padding: 9px;
  overflow: hidden;
  background: #02050c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58), 0 0 55px rgba(33, 91, 158, 0.22);
  transform: rotate(2.5deg);
}

.phone-frame img { border-radius: 39px; }

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 220, 84, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.38);
}

.orbit::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 220, 84, 0.84);
}

.orbit-large { width: min(640px, 92vw); height: min(640px, 92vw); }
.orbit-small { width: min(470px, 72vw); height: min(470px, 72vw); opacity: 0.48; transform: rotate(20deg) scaleY(0.48); }

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div { padding: 28px clamp(16px, 4vw, 42px); }
.signal-strip div + div { border-left: 1px solid var(--line); }
.signal-strip strong, .signal-strip span { display: block; }
.signal-strip strong { margin-bottom: 3px; color: var(--text); font-size: 1.22rem; }
.signal-strip span { color: var(--muted); font-size: 0.84rem; }

.section,
.support-section {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .privacy-copy h2, .legal-hero h1, .support-hero h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.section-heading > p:last-child, .privacy-copy > p, .compact-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.compact-heading { max-width: 680px; }

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

.feature-card {
  min-height: 300px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(17, 43, 77, 0.72), rgba(7, 21, 43, 0.48));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-number { display: inline-block; margin-bottom: 78px; color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.5rem; }
.feature-card p { margin-bottom: 0; color: var(--muted); }

.privacy-feature {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(30px, 8vw, 110px);
  align-items: center;
}

.text-link { color: var(--gold-soft); font-weight: 700; text-underline-offset: 5px; }
.privacy-points { display: grid; gap: 14px; }
.privacy-points > div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.privacy-points span { color: var(--gold); text-shadow: 0 0 12px rgba(255, 220, 84, 0.55); }
.privacy-points p { margin: 0; color: var(--muted); }
.privacy-points strong { display: block; color: var(--text); }

.device-section { text-align: center; }
.device-section .section-heading { margin-right: auto; margin-left: auto; }
.tablet-frame { width: min(900px, 100%); margin: 0 auto; padding: 12px; overflow: hidden; background: #02050c; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 32px; box-shadow: var(--shadow); }
.tablet-frame img { width: 100%; max-height: 650px; object-fit: cover; object-position: 50% 20%; border-radius: 22px; }

.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  text-align: center;
}
.final-cta img { margin-bottom: 22px; border-radius: 22px; box-shadow: 0 0 30px rgba(255, 220, 84, 0.18); }
.final-cta h2 { margin-bottom: 20px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.final-cta > p:not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 44px 0 max(44px, env(safe-area-inset-bottom));
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-brand { margin-bottom: 8px; font-size: 1.05rem; }
.site-footer p { margin-bottom: 0; font-size: 0.82rem; }
.site-footer nav { display: flex; align-items: flex-start; gap: 20px; font-size: 0.88rem; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--gold-soft); }
.attribution, .copyright { grid-column: 1 / -1; }

.legal-layout, .support-layout {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 82px 0 120px;
}

.legal-hero, .support-hero { max-width: 820px; margin-bottom: 54px; }
.legal-hero h1, .support-hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-updated { margin-bottom: 24px; color: var(--gold-soft); font-weight: 650; }
.legal-intro, .support-hero > p { color: var(--muted); font-size: 1.18rem; }
.support-hero .button { margin-top: 12px; }

.legal-summary {
  margin-bottom: 58px;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(255, 220, 84, 0.11), rgba(11, 31, 61, 0.8));
  border: 1px solid rgba(255, 220, 84, 0.24);
  border-radius: 22px;
}
.legal-summary h2 { margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -0.02em; }
.legal-summary ul { margin: 0; padding-left: 20px; color: var(--muted); }

.legal-content { counter-reset: none; }
.legal-content section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 18px; font-size: 1.65rem; letter-spacing: -0.025em; }
.legal-content h3 { margin: 26px 0 9px; color: var(--gold-soft); font-size: 1.05rem; }
.legal-content p, .legal-content li { color: #c0cad9; }
.legal-content a, .support-layout a:not(.button) { color: var(--gold-soft); text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-content strong { color: var(--text); }
.legal-footer { width: min(calc(100% - 40px), 920px); }

.support-section { width: 100%; padding: 72px 0; border-top: 1px solid var(--line); }
.step-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.step-list li > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--space-deep); font-weight: 800; background: var(--gold); border-radius: 50%; }
.step-list h3 { margin-bottom: 5px; }
.step-list p { margin-bottom: 0; color: var(--muted); }

.backup-card { padding-right: 38px; padding-left: 38px; background: linear-gradient(145deg, rgba(18, 45, 80, 0.72), rgba(7, 21, 43, 0.55)); border: 1px solid var(--line); border-radius: var(--radius); }
.backup-card > div:first-child { max-width: 680px; }
.backup-card > div:first-child > p:last-child { color: var(--muted); }
.backup-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 38px; }
.backup-columns > div { padding-top: 24px; border-top: 1px solid var(--line); }
.backup-columns ol { padding-left: 20px; color: #c0cad9; }
.backup-columns p { color: var(--muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.faq-list summary { padding: 19px 0; cursor: pointer; color: var(--text); font-weight: 700; }
.faq-list details[open] summary { color: var(--gold-soft); }
.faq-list p { padding: 0 0 20px; margin: 0; color: var(--muted); }

.support-contact { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 30px; padding: 34px; background: rgba(255, 220, 84, 0.08); border: 1px solid rgba(255, 220, 84, 0.22); border-radius: var(--radius); }
.support-contact img { border-radius: 18px; }
.support-contact h2 { margin-bottom: 8px; font-size: 1.75rem; letter-spacing: -0.025em; }
.support-contact p:last-child { margin-bottom: 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { position: relative; z-index: 3; }
  .device-stage { min-height: 590px; }
  .signal-strip, .feature-grid { grid-template-columns: 1fr; }
  .signal-strip div + div { border-top: 1px solid var(--line); border-left: 0; }
  .feature-card { min-height: 230px; }
  .feature-number { margin-bottom: 46px; }
  .privacy-feature { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; width: min(calc(100% - 28px), var(--content)); }
  .brand { gap: 9px; font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 9px; font-size: 0.82rem; }
  .hero, .section, .signal-strip, .site-footer { width: min(calc(100% - 28px), var(--content)); }
  .hero { min-height: auto; padding: 68px 0 78px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .device-stage { min-height: 540px; margin-top: 18px; }
  .phone-frame { width: min(290px, 78vw); border-radius: 42px; }
  .phone-frame img { border-radius: 34px; }
  .section { padding: 88px 0; }
  .feature-card { padding: 25px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .attribution, .copyright { grid-column: auto; }
  .legal-layout, .support-layout, .legal-footer { width: min(calc(100% - 28px), 920px); }
  .legal-layout, .support-layout { padding-top: 62px; }
  .legal-hero h1, .support-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .legal-summary { padding: 24px; }
  .step-list, .backup-columns { grid-template-columns: 1fr; }
  .backup-card { padding: 54px 22px; }
  .support-contact { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
