:root {
  color-scheme: dark;
  --bg: #050817;
  --bg-deep: #02040d;
  --panel: rgba(15, 21, 45, 0.78);
  --panel-strong: rgba(19, 25, 53, 0.94);
  --panel-soft: rgba(23, 31, 63, 0.58);
  --line: rgba(145, 164, 223, 0.24);
  --line-strong: rgba(61, 234, 226, 0.46);
  --text: #f5f7ff;
  --muted: #bdc5dc;
  --muted-2: #8f9ab9;
  --cyan: #31eee7;
  --cyan-soft: #a8fffb;
  --violet: #a768ff;
  --gold: #ffc84a;
  --gold-ink: #171006;
  --danger: #ff708a;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -5%, rgba(156, 82, 255, 0.23), transparent 33rem),
    radial-gradient(circle at 92% 12%, rgba(39, 235, 226, 0.16), transparent 34rem),
    radial-gradient(circle at 72% 88%, rgba(255, 190, 66, 0.08), transparent 32rem),
    linear-gradient(180deg, #071026 0%, var(--bg) 40%, var(--bg-deep) 100%);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(circle, rgba(145, 203, 255, .82) 0 1px, transparent 1.35px),
    radial-gradient(circle, rgba(179, 117, 255, .58) 0 1px, transparent 1.35px);
  background-position: 8px 12px, 58px 76px;
  background-size: 112px 112px, 153px 153px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

img { max-width: 100%; height: auto; }
a { color: var(--cyan-soft); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.site-shell { width: min(calc(100% - 28px), var(--max)); margin: 0 auto; position: relative; }
.topbar {
  position: sticky;
  top: 10px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 12px 0 28px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 8, 23, .76);
  box-shadow: 0 16px 48px rgba(0,0,0,.26);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 6px 20px rgba(70, 230, 226, .16); }
.brand span { white-space: nowrap; }
.topnav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .62rem .82rem;
  border-radius: 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 700;
}
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); background: rgba(116, 135, 199, .16); }
.topnav a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(56, 238, 231, .24); }

main { display: block; }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.55rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 12%, rgba(46, 235, 227, .17), transparent 28rem),
    radial-gradient(circle at 14% 8%, rgba(153, 89, 255, .18), transparent 28rem),
    linear-gradient(145deg, rgba(18, 25, 55, .94), rgba(8, 12, 31, .84));
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -150px;
  bottom: -170px;
  border: 1px solid rgba(49, 238, 231, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(163,104,255,.07), 0 0 0 76px rgba(49,238,231,.04);
}
.marketing-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(300px, .98fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 610px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .85rem;
  color: var(--cyan-soft);
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.035em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.65rem, 7vw, 5.65rem); font-weight: 950; }
.page-hero h1 { font-size: clamp(2.45rem, 6vw, 4.8rem); }
h2 { margin: 0 0 .85rem; font-size: clamp(1.85rem, 4vw, 3.2rem); font-weight: 900; }
h3 { margin: 0 0 .62rem; font-size: 1.18rem; font-weight: 850; }
.lead { max-width: 680px; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-copy .lead { max-width: 650px; }

.hero-badges, .actions, .language-switcher { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.hero-badges { margin-top: 1.35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(154, 171, 226, .24);
  border-radius: 999px;
  color: #dbe0f2;
  background: rgba(10, 15, 36, .6);
  font-size: .84rem;
  font-weight: 750;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.actions { margin-top: 1.55rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .78rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--gold);
  color: var(--gold-ink);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 11px 30px rgba(255, 198, 63, .15);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { color: var(--gold-ink); transform: translateY(-2px); box-shadow: 0 16px 35px rgba(255, 198, 63, .2); }
.button.secondary { background: rgba(21, 29, 62, .76); color: var(--text); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: #fff; border-color: var(--line-strong); }
.button.is-disabled { opacity: .64; cursor: default; pointer-events: none; box-shadow: none; }

.hero-visual { position: relative; z-index: 2; min-height: 500px; display: grid; place-items: center; }
.orbit-mark {
  position: absolute;
  width: min(94%, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(49, 238, 231, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(168, 104, 255, .06), 0 0 0 82px rgba(49, 238, 231, .025);
  animation: orbitPulse 6s ease-in-out infinite;
}
.phone-stack { position: relative; width: min(100%, 480px); height: 500px; }
.phone-shot {
  position: absolute;
  width: 235px;
  border: 1px solid rgba(170, 187, 238, .32);
  border-radius: 28px;
  background: #080b1b;
  box-shadow: 0 30px 70px rgba(0,0,0,.52);
}
.phone-shot.back { left: 8%; top: 8%; transform: rotate(-6deg); opacity: .84; }
.phone-shot.front { right: 5%; top: 0; transform: rotate(5deg); }
.app-icon-float {
  position: absolute;
  left: 0;
  bottom: 5%;
  width: 108px;
  border-radius: 25px;
  box-shadow: 0 18px 48px rgba(0,0,0,.55), 0 0 35px rgba(45,238,229,.12);
  animation: float 5s ease-in-out infinite;
}

.language-switcher { margin-top: 1.45rem; position: relative; z-index: 3; }
.language-switcher button {
  min-height: 42px;
  padding: .55rem .82rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 12, 31, .64);
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}
.language-switcher button:hover { color: var(--text); border-color: rgba(49,238,231,.4); }
.language-switcher button[aria-pressed="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0 0; }
.section-heading { max-width: 760px; margin-bottom: 1.6rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 29, 61, .82), rgba(10, 15, 37, .76));
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}
.card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: rgba(49,238,231,.045);
}
.card.full { grid-column: 1 / -1; }
.card p, .card li, .policy-section p, .policy-section li { color: var(--muted); }
.card p:last-child, .policy-section p:last-child { margin-bottom: 0; }
.card ul, .card ol, .policy-section ul, .policy-section ol { padding-left: 1.28rem; }
.card li + li, .policy-section li + li { margin-top: .42rem; }
.icon-title { display: flex; gap: .8rem; align-items: center; }
.icon-title h2, .icon-title h3 { margin: 0; }
.icon-bubble {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(49,238,231,.35);
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(49,238,231,.08);
  font-weight: 900;
}
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .85rem; margin-top: 1rem; }
.stat { padding: 1rem; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(10,15,36,.68); }
.stat strong { display: block; color: var(--text); font-size: clamp(1.55rem,3vw,2.15rem); line-height: 1; }
.stat span { display: block; margin-top: .4rem; color: var(--muted-2); font-size: .82rem; font-weight: 700; }

.mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; }
.mode-card { min-height: 210px; }
.mode-card .mode-number { color: var(--gold); font-size: .77rem; font-weight: 950; letter-spacing: .14em; }
.mode-card p { font-size: .94rem; }

.screenshot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 290px);
  gap: 1rem;
  overflow-x: auto;
  padding: .25rem .25rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(49,238,231,.35) rgba(12,17,39,.5);
}
.screenshot-card { scroll-snap-align: start; margin: 0; }
.screenshot-card img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.screenshot-card figcaption { margin-top: .72rem; color: var(--muted-2); font-size: .85rem; text-align: center; }
.ipad-shot { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(12,17,39,.6); }
.ipad-shot img { display: block; width: min(100%, 820px); margin: 0 auto; border-radius: 22px; }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.highlight-panel {
  padding: clamp(1.45rem,4vw,2.4rem);
  border: 1px solid rgba(255,200,74,.24);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 90% 10%, rgba(255,200,74,.13), transparent 18rem), linear-gradient(145deg, rgba(25,31,62,.92), rgba(11,15,34,.9));
}
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 950; }

.page-hero { min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.page-hero .lead { max-width: 780px; }
.policy-card { padding: clamp(1.25rem,4vw,2.5rem); }
.policy-section { padding: 1.25rem 0; border-bottom: 1px solid rgba(145,164,223,.14); }
.policy-section:first-child { padding-top: 0; }
.policy-section:last-child { border-bottom: 0; padding-bottom: 0; }
.policy-section h2 { font-size: clamp(1.25rem,2.5vw,1.62rem); margin-bottom: .7rem; letter-spacing: -.02em; }
.meta-list { display: grid; grid-template-columns: minmax(130px, .38fr) 1fr; gap: .55rem 1rem; margin: 0; }
.meta-list dt { color: var(--muted-2); font-weight: 750; }
.meta-list dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.notice { border-left: 3px solid var(--cyan); padding: .85rem 1rem; background: rgba(49,238,231,.06); border-radius: 0 14px 14px 0; color: var(--muted); }
.warning { border-left-color: var(--gold); background: rgba(255,200,74,.07); }

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
  margin: 6rem 0 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(6,10,26,.72);
}
.footer-brand { display: flex; gap: .85rem; align-items: center; }
.footer-brand img { width: 46px; height: 46px; border-radius: 13px; }
.footer p { margin: .25rem 0 0; color: var(--muted-2); font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1rem; }
.footer-links a { color: var(--muted); font-size: .87rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes orbitPulse { 0%,100% { transform: scale(.98); opacity: .75; } 50% { transform: scale(1.03); opacity: 1; } }

@media (max-width: 920px) {
  .marketing-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 460px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .split-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-shell { width: min(calc(100% - 18px), var(--max)); }
  .topbar { position: relative; top: auto; align-items: flex-start; flex-direction: column; border-radius: 18px; }
  .topnav { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .topnav a { white-space: nowrap; }
  .hero { border-radius: 25px; }
  .marketing-hero { padding-bottom: 2rem; }
  .hero-visual { min-height: 390px; }
  .phone-stack { height: 390px; }
  .phone-shot { width: 185px; border-radius: 22px; }
  .app-icon-float { width: 86px; border-radius: 21px; }
  .card-grid, .content-grid, .mode-grid { grid-template-columns: 1fr; }
  .meta-list { grid-template-columns: 1fr; gap: .15rem; }
  .meta-list dd + dt { margin-top: .6rem; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 430px) {
  .phone-shot { width: 160px; }
  .hero-visual { min-height: 340px; }
  .phone-stack { height: 340px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  h1 { font-size: clamp(2.35rem, 15vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
