:root { color-scheme: dark; --ink: #eef4fb; --muted: #a4b1c3; --blue: #69b5ff; --line: #203148; --paper: #0c1627; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 85% 0, #14305a55, transparent 45%), #080f1c; font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #329cff; outline-offset: 5px; border-radius: 4px; }
.wrap { width: min(960px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 10px 16px; background: var(--paper); }
.skip:focus { top: 12px; }
h1, h2, h3 { line-height: 1.3; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); font-weight: 650; letter-spacing: -.035em; }
h2 { margin: 0 0 28px; font-size: 28px; font-weight: 600; }
h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.hero { width: min(1120px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 56px; align-items: center; padding-block: 80px 64px; }
.hero-brand { display: flex; align-items: center; gap: 14px; }
.hero-icon { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.hero-subtitle { margin: 12px 0 20px; font-size: 22px; }
.hero-description { max-width: 630px; margin: 20px 0 24px; color: var(--muted); }
.hero-download { padding-block: 12px; }
.hero-download img { display: block; height: 48px; width: auto; }
.hero-download img[hidden] { display: none; }
.coming-soon { margin: 0; min-height: 48px; display: flex; align-items: center; color: var(--muted); font-size: 16px; }
.hero-device { margin: 0; filter: drop-shadow(0 24px 36px #0006); }
.hero-device img { display: block; width: 100%; height: auto; }
.hero-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.attribution { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.features-section { padding-block: 48px 52px; background: var(--paper); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px; }
.feature-grid h3 { color: #90c5ff; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.help-section { padding-block: 52px 36px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 0; font-size: 16px; font-weight: 500; }
details > div { max-width: 780px; padding: 0 0 20px; color: var(--muted); font-size: 15px; }
details p { margin: 0 0 12px; }
details p:last-child { margin-bottom: 0; }
.support-note { margin: 28px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
/* Shared privacy page layout. */
.site-header { border-bottom: 1px solid var(--line); }
.navigation { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; }
.nav-links a { color: var(--muted); }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.policy { max-width: 780px; padding-block: 56px; }
.policy h1 { font-size: 38px; }
.policy .policy-date { color: var(--muted); font-size: 14px; margin: 16px 0 36px; }
.policy h2 { font-size: 23px; margin: 36px 0 14px; }
.policy p, .policy li { color: var(--muted); }
.policy ul { padding-left: 1.4em; }
.policy li { margin-bottom: 10px; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-brand { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 24px; }
.footer a { color: inherit; text-decoration: none; }
@media (min-width: 601px) and (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .hero-device { width: min(640px, 100%); margin-inline: auto; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .hero { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .hero-icon { width: 40px; height: 40px; }
  .hero-subtitle { font-size: 19px; }
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .features-section, .help-section { padding-block: 36px; }
  h2 { font-size: 25px; }
  .navigation { flex-wrap: wrap; gap: 12px; padding-block: 16px; }
  .brand { font-size: 18px; }
  .footer { flex-direction: column; }
  .policy { padding-block: 36px; }
  .policy h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Language selection is shared by the home and privacy pages. */
.footer-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
details.language-picker { position: relative; width: fit-content; max-width: 100%; border: 0; }
.language-picker > summary { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); font: inherit; }
.language-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; width: 220px; max-width: calc(100vw - 40px); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 24px #0006; }
.language-menu a { display: block; padding: 8px 12px; border-radius: 4px; }
.language-menu a:hover, .language-menu a:focus-visible { background: #203148; }
.language-menu a[aria-current="page"] { color: var(--blue); font-weight: 600; }
@media (max-width: 820px) {
  .footer { flex-direction: column; }
  .footer-actions { align-items: flex-start; }
  .footer nav { flex-shrink: 1; }
  .language-menu { right: auto; left: 0; }
}
