:root {
  color-scheme: light;
  --body: #edf4fc; --ink: #102541; --muted: #435976; --panel: #fff;
  --edge: #c8d9ed; --link: #144f9d; --accent: #1266bf; --soft: #e4efff;
  --shadow: 0 20px 55px #18385b14;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root.dark {
  color-scheme: dark;
  --body: #091528; --ink: #f0f6ff; --muted: #abc1dc; --panel: #12213a;
  --edge: #2b4668; --link: #9bdfff; --accent: #86d9ff; --soft: #142e50;
  --shadow: 0 20px 55px #0003;
}
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    color-scheme: dark;
    --body: #091528; --ink: #f0f6ff; --muted: #abc1dc; --panel: #12213a;
    --edge: #2b4668; --link: #9bdfff; --accent: #86d9ff; --soft: #142e50;
    --shadow: 0 20px 55px #0003;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--body); color: var(--ink); line-height: 1.55; }
a { color: var(--link); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
h1,h2,h3,p,figure { margin: 0; }
img,svg { display: block; max-width: 100%; }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 1rem; transform: translateY(-160%); padding: 10px 16px; border-radius: 8px; background: var(--panel); }
.skip:focus { transform: none; }
.top { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top nav { justify-content: end; gap: clamp(6px, 2vw, 20px); }
.top nav a { text-decoration: none; font-weight: 650; font-size: .93rem; }
.nav-download, #theme { padding: 8px 13px; border: 1px solid var(--edge); border-radius: 10px; background: var(--panel); }
#theme { color: var(--ink); font: inherit; cursor: pointer; min-height: 44px; min-width: 44px; }
.hero {
  isolation: isolate; position: relative; display: grid; align-items: center;
  overflow: hidden; min-height: 450px; padding: clamp(25px, 6vw, 74px);
  border-radius: 26px; color: #f6faff; background: linear-gradient(117deg,#0b172c 7%,#122c52 67%,#103b69);
  box-shadow: var(--shadow);
}
.hero-art { position: absolute; z-index: -2; width: 60%; height: auto; right: -6%; top: 50%; transform: translateY(-50%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0b172c 5%,#0b172cf5 34%,#0b172c35 69%,transparent); }
.hero-copy { max-width: 665px; }
.eyebrow, .kicker { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 750; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a9dbff; margin-bottom: 18px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #70ddff; box-shadow: 0 0 14px #70ddffb0; }
h1 { font-size: clamp(2rem, 5.25vw, 4.35rem); line-height: 1.06; letter-spacing: -.045em; }
h1 em { color: #8fddff; font-style: normal; }
.intro { color: #cfdef2; max-width: 40ch; font-size: clamp(1rem, 1.7vw, 1.2rem); margin-top: 20px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .65em; min-height: 46px; padding: 10px 16px; border: 1px solid var(--edge); border-radius: 11px; font-weight: 700; background: var(--panel); text-decoration: none; overflow-wrap: anywhere; }
.button:hover, .nav-download:hover { filter: brightness(.94); }
.primary { background: #8cddff; border-color: #8cddff; color: #082139; }
.ghost { background: #183252; color: #f6faff; border-color: #6f98c2; }
.hero :focus-visible { outline-color: #94e2ff; }
.section { margin-top: clamp(36px, 6vw, 72px); scroll-margin-top: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 19px; }
.section-heading > p { color: var(--muted); max-width: 34ch; }
.kicker { color: var(--accent); margin-bottom: 4px; }
h2 { line-height: 1.18; font-size: clamp(1.5rem, 3.1vw, 2.5rem); letter-spacing: -.035em; }
h3 { line-height: 1.25; font-size: 1.13rem; }
.grid { display: grid; gap: 14px; }
.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.app-card, .steps li, .screen, .help { border: 1px solid var(--edge); border-radius: 17px; background: var(--panel); }
.app-card { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; padding: clamp(13px, 3vw, 23px); }
.platform { color: var(--muted); font-size: .86rem; font-weight: 650; }
.app-mark { width: 47px; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; }
.app-mark svg { width: 27px; fill: currentColor; }
.app-mark.android { color: #a8ffcd; background: #0a382d; }
.app-mark.apple { color: #b9e5ff; background: #112f58; }
.store { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.store img { object-fit: contain; object-position: right; }
.steps { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { padding: 20px; }
.steps li p, .help p:not(.kicker) { margin-top: 8px; color: var(--muted); }
.step-number { display: inline-block; margin-bottom: 12px; color: var(--link); background: var(--soft); font-weight: 750; padding: 4px 9px; border-radius: 7px; }
.screen { padding: 18px; text-align: center; }
.screen figcaption { font-weight: 740; margin-bottom: 12px; }
.screen img { width: min(100%, 245px); aspect-ratio: 9 / 19; object-fit: contain; object-position: top; margin: auto; border-radius: 12px; background: var(--soft); }
.help { padding: clamp(16px, 4vw, 30px); display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.footer { margin-top: 44px; border-top: 1px solid var(--edge); padding-block: 25px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.footer strong { color: var(--ink); }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 28px); }
  .top { min-height: 68px; }
  .nav-guide { display: none; }
  .hero { min-height: 375px; border-radius: 19px; }
  .hero-art { width: 76%; right: -27%; opacity: .55; }
  .section-heading, .help { flex-direction: column; align-items: start; }
  .steps, .two { grid-template-columns: 1fr; }
  .screens { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .screen { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
