:root {
  color-scheme: dark;
  --bg: #06151b;
  --bg-soft: #0b2029;
  --surface: rgba(18, 47, 59, 0.62);
  --surface-strong: rgba(15, 37, 47, 0.92);
  --text: #f5fbff;
  --muted: #a9bdc7;
  --cyan: #20e5f2;
  --mint: #4ce1c6;
  --violet: #9a6bff;
  --amber: #ffb52c;
  --line: rgba(165, 229, 242, 0.18);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
  --shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 229, 242, 0.12), transparent 28rem),
    radial-gradient(circle at 18% 38%, rgba(154, 107, 255, 0.10), transparent 34rem),
    var(--bg);
  font-size: 1rem;
  line-height: 1.55;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: .7rem .8rem .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(5, 21, 27, 0.68);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 21, 27, 0.92);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .24);
}

.brand { display: flex; align-items: center; gap: .7rem; font-weight: 720; letter-spacing: -.01em; }
.brand img { border-radius: .75rem; }

nav { display: flex; align-items: center; gap: .25rem; }
nav a { padding: .62rem .82rem; border-radius: .8rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--text); background: rgba(255,255,255,.07); }
.nav-download { color: #03171d; background: var(--mint); }
.nav-download:hover, .nav-download:focus-visible { color: #03171d; background: #72ecd6; }

.shell { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }

.hero {
  min-height: 750px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.eyebrow { margin: 0 0 1.15rem; color: var(--mint); font-size: .76rem; font-weight: 760; letter-spacing: .16em; }
h1, h2 { margin: 0; letter-spacing: -.045em; }
h1 { max-width: 760px; font-size: clamp(3.5rem, 7vw, 6.9rem); line-height: .94; font-weight: 760; }
h1 span { color: transparent; background: linear-gradient(95deg, var(--cyan), var(--violet) 65%, var(--amber)); background-clip: text; -webkit-background-clip: text; }
h2 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1; }
.lede { max-width: 650px; margin: 1.8rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }

.hero-actions { display: flex; align-items: stretch; gap: .8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-weight: 720;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background .18s ease;
}
.button:active { transform: scale(.975); }
.button-primary { flex-direction: column; align-items: flex-start; min-width: 13.5rem; color: #03171d; border-color: transparent; background: var(--mint); }
.button-primary small { font-size: .72rem; opacity: .68; font-weight: 650; }
.button-primary:hover { background: #72ecd6; }
.button-secondary { background: rgba(255,255,255,.055); }
.button-secondary:hover { background: rgba(255,255,255,.10); }

.trust-list { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.trust-list li::before { content: "✓"; margin-right: .45rem; color: var(--mint); font-weight: 800; }

.hero-visual { position: relative; min-height: 640px; display: grid; place-items: center; perspective: 1100px; }
.phone-frame {
  position: relative;
  z-index: 2;
  width: min(78%, 355px);
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 3.05rem;
  background: linear-gradient(145deg, #27414c, #071319 35% 70%, #213b46);
  box-shadow: var(--shadow), 0 0 80px rgba(32,229,242,.13);
  transform: rotateY(-8deg) rotateX(2deg);
}
.phone-frame::before { content: ""; position: absolute; z-index: 3; left: 50%; top: .95rem; width: 5rem; height: 1.3rem; border-radius: 1rem; background: #02090c; transform: translateX(-50%); }
.phone-frame img { display: block; width: 100%; border-radius: 2.55rem; }
.signal-orbit { position: absolute; border: 1px solid rgba(32,229,242,.22); border-radius: 50%; }
.signal-orbit-one { width: 540px; height: 540px; }
.signal-orbit-two { width: 400px; height: 400px; border-color: rgba(154,107,255,.25); }
.live-chip { position: absolute; z-index: 4; right: 1rem; top: 22%; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 3rem; background: rgba(9,29,37,.72); backdrop-filter: blur(16px); color: var(--muted); font-size: .86rem; font-weight: 700; }
.live-chip i { display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }

.signal-strip {
  width: min(1060px, calc(100% - 2.5rem));
  margin: -2rem auto 7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(145%);
  overflow: hidden;
}
.signal-strip div { display: flex; flex-direction: column; padding: 1.5rem 1.75rem; border-right: 1px solid var(--line); }
.signal-strip div:last-child { border-right: 0; }
.signal-strip strong { font-size: 1.65rem; letter-spacing: -.035em; }
.signal-strip span { color: var(--muted); font-size: .82rem; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { max-width: 650px; margin: 1.2rem auto 0; color: var(--muted); font-size: 1.08rem; }
.film-section, .features-section, .stories-section { padding-block: 5.5rem; }
.film-frame { padding: .55rem; border: 1px solid var(--line); border-radius: 2rem; background: linear-gradient(145deg, rgba(32,229,242,.14), rgba(154,107,255,.12)); box-shadow: var(--shadow); }
.film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 1.55rem; background: #02080b; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.feature-card { position: relative; min-height: 590px; padding: clamp(1.5rem, 3vw, 2.7rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(12,34,43,.76); overflow: hidden; }
.feature-card h3, .story-card h3 { max-width: 560px; margin: .5rem 0 .8rem; font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; }
.feature-card p { max-width: 600px; margin: 0; color: var(--muted); }
.feature-card > img { position: absolute; left: 50%; bottom: -12rem; width: min(64%, 330px); border-radius: 2.45rem; transform: translateX(-50%); box-shadow: 0 28px 60px rgba(0,0,0,.38); }
.feature-number { color: var(--mint); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.feature-wide { grid-column: 1 / -1; min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: radial-gradient(circle at 78% 45%, rgba(32,229,242,.19), transparent 26rem), rgba(12,34,43,.76); }
.feature-wide > img { left: auto; right: 8%; bottom: -7.2rem; width: min(32%, 350px); transform: none; }
.feature-dark { background: linear-gradient(145deg, #0c222b, #08161c); }
.feature-violet { background: radial-gradient(circle at 75% 70%, rgba(154,107,255,.32), transparent 22rem), #111628; }
.feature-amber { background: radial-gradient(circle at 24% 72%, rgba(255,181,44,.23), transparent 22rem), #1d1813; }
.feature-quiet { display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 70% 25%, rgba(76,225,198,.2), transparent 22rem), #0c2326; }
.feature-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.feature-pills span { padding: .58rem .8rem; border: 1px solid rgba(255,255,255,.14); border-radius: 3rem; background: rgba(255,255,255,.05); color: #d6e8ee; font-size: .82rem; font-weight: 680; }

.story-section { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); margin-block: 7rem; padding: clamp(2rem, 5vw, 5rem); border: 1px solid var(--line); border-radius: 2.5rem; background: linear-gradient(135deg, rgba(21,59,69,.76), rgba(16,28,47,.64)); }
.story-mark { display: grid; place-items: center; }
.story-mark img { width: min(100%, 270px); border-radius: 25%; box-shadow: 0 25px 65px rgba(0,0,0,.38), 0 0 55px rgba(32,229,242,.14); }
.story-section h2 { max-width: 740px; }
.story-section p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.story-card { border: 1px solid var(--line); border-radius: 1.6rem; background: var(--surface); overflow: hidden; }
.story-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #02080b; }
.story-card > div { padding: 1.25rem; }
.story-card span { color: var(--mint); font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.story-card h3 { margin-top: .6rem; font-size: 1.35rem; }

.download-section { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-block: 7rem; padding: clamp(2rem, 6vw, 5rem); border-radius: 2.5rem; background: #effbff; color: #07181e; }
.download-icon { display: grid; place-items: center; }
.download-icon img { width: min(100%, 240px); border-radius: 25%; box-shadow: 0 25px 70px rgba(3,30,38,.22); }
.download-section .eyebrow { color: #087f75; }
.download-section p { max-width: 720px; color: #52656d; font-size: 1.06rem; }
.download-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; }
.download-section details { margin-top: 1.4rem; }
.download-section summary { cursor: pointer; color: #36515b; font-size: .88rem; font-weight: 700; }
.download-section code { display: block; margin-top: .65rem; overflow-wrap: anywhere; color: #45616b; font-size: .72rem; }
.text-link { color: var(--mint); font-weight: 740; }
.download-section .text-link { color: #087f75; }

.privacy-section { margin-block: 7rem; padding-block: 4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-section > div:first-child { display: grid; grid-template-columns: .5fr 1.5fr; align-items: end; margin-bottom: 3rem; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.8rem; }
.privacy-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.035); }
.privacy-grid strong { font-size: 1.05rem; }
.privacy-grid p { color: var(--muted); font-size: .92rem; }
.support-section { margin-block: 7rem; padding: clamp(2rem, 6vw, 5rem); border: 1px solid var(--line); border-radius: 2.5rem; text-align: center; background: radial-gradient(circle at 50% 110%, rgba(32,229,242,.2), transparent 25rem), var(--surface); }
.support-section h2, .support-section p { max-width: 750px; margin-inline: auto; }
.support-section p { color: var(--muted); font-size: 1.08rem; }
.support-section .button { margin-top: 1rem; }

.site-footer { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 1.5rem; padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 0; font-size: .78rem; }
.site-footer nav a { font-size: .8rem; }
.site-footer small { grid-column: 1 / -1; font-size: .75rem; }

.page-main { min-height: 70vh; }
.page-hero { max-width: 920px; padding-block: 7rem 4rem; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p:last-child { max-width: 700px; color: var(--muted); font-size: 1.2rem; }
.guide-section, .legal-section { max-width: 900px; padding-block: 1rem 6rem; }
.guide-step { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.guide-step:last-child { border-bottom: 1px solid var(--line); }
.guide-step > span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--mint); color: #06151b; font-weight: 800; }
.guide-step h2 { margin-bottom: .75rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.guide-step p, .guide-step li, .legal-section p, .legal-section li { color: var(--muted); }
.guide-note { margin: 2rem 0; padding: 1.35rem; border: 1px solid rgba(255,181,44,.35); border-radius: 1rem; background: rgba(255,181,44,.08); }
.legal-section h2 { margin: 2.5rem 0 .7rem; font-size: 1.6rem; letter-spacing: -.025em; }
.legal-section code { overflow-wrap: anywhere; color: var(--mint); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 850px) {
  nav a:not(.nav-download) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 5.5rem; }
  .lede { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .hero-visual { min-height: 600px; }
  .live-chip { right: 3%; }
  .feature-wide { display: block; }
  .feature-wide > img { left: 50%; right: auto; bottom: -10rem; width: min(64%, 330px); transform: translateX(-50%); }
  .story-section { grid-template-columns: 1fr; text-align: center; }
  .story-section p { margin-inline: auto; }
  .story-grid { grid-template-columns: 1fr; }
  .download-section { grid-template-columns: 1fr; text-align: center; }
  .download-section p { margin-inline: auto; }
  .download-actions { justify-content: center; }
  .privacy-section > div:first-child { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand, .site-footer nav { justify-content: center; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 1rem); margin-top: .5rem; }
  .brand span { font-size: .9rem; }
  .nav-download { padding-inline: .75rem; }
  .shell { width: min(100% - 1.5rem, 1160px); }
  .hero { min-height: auto; gap: 2rem; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.2rem); }
  .hero-actions { flex-direction: column; }
  .button-primary { align-items: center; }
  .hero-visual { min-height: 530px; }
  .phone-frame { width: min(82%, 320px); transform: none; }
  .signal-orbit-one { width: 390px; height: 390px; }
  .signal-orbit-two { width: 280px; height: 280px; }
  .live-chip { top: 14%; right: 0; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: 4rem; }
  .signal-strip div:nth-child(2) { border-right: 0; }
  .signal-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .film-section, .features-section, .stories-section { padding-block: 3.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .feature-card { min-height: 535px; }
  .feature-quiet { min-height: 380px; }
  .story-section, .download-section, .support-section { margin-block: 4rem; border-radius: 1.6rem; }
  .story-mark img, .download-icon img { width: 170px; }
  .download-actions { flex-direction: column; }
  .privacy-grid { grid-template-columns: 1fr; }
  .page-hero { padding-block: 5rem 3rem; }
  .guide-step { grid-template-columns: 1fr; }
}

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

@media (prefers-reduced-transparency: reduce) {
  .site-header, .signal-strip, .live-chip { background: #0a2028; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #d8e8ef; --line: rgba(255,255,255,.55); }
}
