:root {
  color-scheme: dark;
  --background: #061329;
  --background-deep: #020813;
  --surface: #0d1d35;
  --surface-soft: #142640;
  --text: #f8f5ee;
  --muted: #aeb9c9;
  --gold: #efbe65;
  --gold-soft: #ffe3a9;
  --mint: #9fc9b0;
  --border: rgba(255, 255, 255, 0.11);
  --danger: #ff9b9b;
}

* { box-sizing: border-box; }
html { background: var(--background-deep); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif; line-height: 1.65; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--text); background: radial-gradient(circle at 50% -12%, rgba(33, 102, 167, 0.32), transparent 38rem), linear-gradient(180deg, var(--background) 0%, var(--background-deep) 72%); }
a { color: var(--gold-soft); }

/* Shared legal pages */
.shell { width: min(860px, calc(100% - 32px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.brand { color: var(--text); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.03em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
main { padding: 56px 0 72px; }
.shell .hero { padding: 44px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(145deg, var(--surface), var(--surface-soft)); }
h1, h2, h3 { line-height: 1.2; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { margin-top: 40px; font-size: 1.35rem; }
p, li { color: var(--muted); }
.lead { max-width: 680px; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--gold); border-radius: 999px; color: #171107; background: var(--gold); font-weight: 750; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.secondary { color: var(--text); background: transparent; }
.notice { margin: 28px 0; padding: 18px 20px; border-inline-start: 3px solid var(--gold); border-radius: 12px; background: var(--surface); }
.notice strong { color: var(--text); }
.meta { color: var(--muted); font-size: 0.9rem; }
.danger { color: var(--danger); }
footer { padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }

/* Landing page */
.landing-page { overflow-x: hidden; }
.landing-shell { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ambient { position: fixed; z-index: 0; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.18; }
.ambient-one { width: 420px; height: 420px; top: 10%; right: -220px; background: #2d79be; }
.ambient-two { width: 360px; height: 360px; bottom: 0; left: -190px; background: #d9a64e; opacity: 0.09; }
.landing-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.22rem; font-weight: 720; text-decoration: none; direction: ltr; }
.landing-brand img { border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); }
.landing-brand span span { color: var(--gold); }
.header-cta { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 0.9rem; text-decoration: none; backdrop-filter: blur(12px); }
.landing-page main { position: relative; z-index: 1; padding: 48px 0 32px; }
.landing-hero { min-height: 820px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.eyebrow, .section-kicker { color: var(--mint); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(159, 201, 176, 0.22); border-radius: 999px; background: rgba(159, 201, 176, 0.07); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 16px var(--mint); }
.landing-hero h1 { max-width: 920px; margin: 24px 0 20px; font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -0.055em; }
.landing-hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy { max-width: 650px; margin: 0; color: #c7d0dc; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.gold-button { padding-inline: 26px; box-shadow: 0 12px 36px rgba(239, 190, 101, 0.16); }
.text-link { color: var(--text); text-decoration: none; font-weight: 650; }
.journey { position: relative; width: min(780px, 100%); height: 350px; margin-top: 58px; }
.journey::before { content: ""; position: absolute; inset: 5% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(43, 105, 164, 0.22), transparent 62%); }
.journey-orbit { position: absolute; inset: 35px 105px; border: 1px dashed rgba(239, 190, 101, 0.3); border-radius: 50%; transform: rotate(-7deg); }
.journey-center { position: absolute; inset: 50% auto auto 50%; display: flex; align-items: center; flex-direction: column; gap: 8px; transform: translate(-50%, -50%); }
.journey-center img { border-radius: 28px; box-shadow: 0 0 55px rgba(55, 132, 204, 0.35); }
.journey-center span { color: var(--mint); font-size: 0.84rem; font-weight: 650; white-space: nowrap; }
.status-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; min-width: 188px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 18px; background: rgba(10, 24, 44, 0.85); box-shadow: 0 18px 45px rgba(0,0,0,.24); text-align: right; backdrop-filter: blur(14px); }
.status-card small { display: block; color: #8493a7; font-size: .72rem; }
.status-card strong { display: block; font-size: .92rem; }
.status-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #171107; background: var(--gold); font-weight: 900; }
.status-start { top: 34px; right: 8%; transform: rotate(2deg); }
.status-arrived { top: 150px; left: 2%; transform: rotate(-2deg); }
.status-home { right: 14%; bottom: 8px; transform: rotate(1deg); }
.value-section { padding: 120px 0 110px; text-align: center; }
.value-section h2, .download-section h2 { max-width: 780px; margin: 10px auto 44px; font-size: clamp(2.25rem, 6vw, 4.6rem); letter-spacing: -0.045em; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: right; }
.value-card { min-height: 290px; padding: 28px; border: 1px solid var(--border); border-radius: 28px; background: rgba(13, 29, 53, 0.58); }
.featured-card { background: linear-gradient(155deg, rgba(43, 88, 126, .82), rgba(13, 29, 53, .75)); }
.feature-number { color: var(--gold); font-size: .78rem; font-weight: 800; }
.value-card h3 { margin: 84px 0 10px; font-size: 1.65rem; }
.value-card p { margin: 0; }
.privacy-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 28px 32px; border: 1px solid rgba(239,190,101,.24); border-radius: 28px; background: linear-gradient(90deg, rgba(239,190,101,.08), rgba(13,29,53,.7)); }
.privacy-mark { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; color: var(--gold); background: rgba(239,190,101,.1); font-size: 1.35rem; }
.privacy-strip strong { font-size: 1.08rem; }
.privacy-strip p { margin: 3px 0 0; }
.privacy-strip a { white-space: nowrap; }
.download-section { display: flex; align-items: center; flex-direction: column; padding: 150px 20px 130px; text-align: center; }
.download-section > img { margin-bottom: 22px; border-radius: 24px; box-shadow: 0 0 50px rgba(48, 123, 193, .3); }
.download-section h2 { margin-bottom: 20px; }
.download-section > p { max-width: 680px; margin: 0; font-size: 1.1rem; }
.store-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 34px 0 16px; direction: ltr; }
.store-badge { display: inline-flex; min-width: 205px; min-height: 66px; align-items: center; justify-content: flex-start; gap: 13px; padding: 10px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; color: #fff; background: #02050a; box-shadow: 0 16px 42px rgba(0,0,0,.28); text-align: left; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.store-badge:not(.is-disabled):hover { transform: translateY(-2px); border-color: rgba(239,190,101,.5); }
.store-badge:not(.is-disabled):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.store-badge small, .store-badge strong { display: block; line-height: 1.15; }
.store-badge small { margin-bottom: 3px; color: #b9c2cf; font-size: .7rem; }
.store-badge strong { font-size: 1.25rem; letter-spacing: -.02em; }
.store-symbol { display: grid; width: 34px; height: 34px; place-items: center; flex: 0 0 auto; color: #fff; font-size: 1.45rem; }
.apple-symbol { border-radius: 50%; background: radial-gradient(circle at 42% 35%, #fff 0 24%, transparent 26%), radial-gradient(circle at 50% 64%, #fff 0 38%, transparent 40%); }
.apple-symbol { color: transparent; }
.play-symbol { color: var(--gold); font-size: 1.7rem; }
.store-badge.is-disabled { cursor: default; }
.store-label { flex: 1; }
.google-play-icon { width: 27px; height: 31px; flex: 0 0 auto; }
.apple-store-icon { width: 31px; flex: 0 0 auto; color: #fff; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 2rem; line-height: 1; text-align: center; }
.ghost-button { color: var(--text); background: transparent; border-color: var(--border); }
.download-section small { color: #7e8da1; }
.support-link { margin-top: 20px; color: var(--gold-soft); font-size: .9rem; text-decoration: none; }
.landing-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 28px 0 34px; }
.landing-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.landing-footer nav a { color: var(--muted); text-decoration: none; }
.landing-footer > p { grid-column: 1 / -1; margin: 0; font-size: .78rem; }
.footer-brand { font-size: 1rem; }

@media (max-width: 760px) {
  .landing-shell { width: min(100% - 28px, 620px); }
  .landing-page main { padding-top: 32px; }
  .landing-hero { min-height: auto; }
  .landing-hero h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .journey { height: 420px; margin-top: 36px; }
  .journey-orbit { inset: 45px 42px; }
  .status-card { min-width: 158px; padding: 9px 11px; }
  .status-start { top: 18px; right: 0; }
  .status-arrived { top: auto; bottom: 32px; left: 0; }
  .status-home { right: 0; bottom: 118px; }
  .value-section { padding-block: 100px 80px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 220px; }
  .value-card h3 { margin-top: 42px; }
  .privacy-strip { grid-template-columns: auto 1fr; padding: 24px; }
  .privacy-strip a { grid-column: 2; }
  .landing-footer { grid-template-columns: 1fr; }
  .landing-footer nav { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .shell main { padding-top: 32px; }
  .shell .hero { padding: 28px 22px; border-radius: 22px; }
}

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

/* Compact, single-screen product landing */
@media (min-width: 761px) {
  .landing-page { height: 100vh; overflow: hidden; }
  .landing-shell { height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
  .landing-page main { min-height: 0; padding: 0; }
  .landing-hero { height: 100%; min-height: 0; justify-content: center; padding-bottom: 10px; }
  .landing-hero h1 { margin: 14px 0 12px; font-size: clamp(3.2rem, 6vw, 5.8rem); }
  .hero-copy { max-width: 620px; font-size: 1.08rem; }
  .hero-store-actions { margin: 24px 0 10px; }
  .journey { width: min(620px, 70vw); height: 240px; margin-top: 12px; }
  .journey-orbit { inset: 24px 90px; }
  .journey-center img { width: 88px; height: 88px; border-radius: 22px; }
  .status-start { top: 18px; right: 5%; }
  .status-arrived { top: 94px; left: 2%; }
  .status-home { right: 10%; bottom: 4px; }
  .value-section, .privacy-strip, .download-section { display: none; }
  .landing-footer { padding: 12px 0 16px; }
  .landing-footer .footer-brand { display: none; }
  .landing-footer > p { grid-column: 1; grid-row: 1; }
}

@media (max-width: 760px) {
  .landing-page { height: 100svh; overflow: hidden; }
  .landing-shell { height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
  .landing-page main { display: flex; min-height: 0; padding: 12px 0 0; }
  .landing-hero { width: 100%; justify-content: center; padding-bottom: 8px; }
  .landing-hero h1 { margin: 14px 0 12px; font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-copy { max-width: 560px; font-size: .98rem; }
  .hero-store-actions { margin: 24px 0 12px; }
  .store-badge { min-width: 172px; min-height: 58px; padding: 8px 14px; border-radius: 14px; }
  .store-badge strong { font-size: 1.05rem; }
  .journey { height: 230px; margin-top: 4px; }
  .journey-orbit { inset: 22px 45px; }
  .journey-center img { width: 82px; height: 82px; border-radius: 20px; }
  .status-card { min-width: 145px; }
  .status-start { top: 4px; }
  .status-arrived { bottom: 8px; }
  .status-home { bottom: 67px; }
  .value-section, .privacy-strip, .download-section { display: none; }
  .landing-footer { padding: 10px 0 12px; }
  .landing-footer .footer-brand { display: none; }
  .landing-footer > p { display: none; }
  .landing-footer nav { justify-content: center; gap: 13px; font-size: .78rem; }
}

@media (max-height: 760px) {
  .journey { display: none; }
  .landing-header { padding-block: 14px; }
  .landing-footer { padding-block: 8px; }
}
