@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-tight-700.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/geist-mono-400.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #000000;
  --top: #0A0A0B;
  --bottom: #000000;
  --surface: #0E0E10;
  --surface2: #18181B;
  --line: rgba(255,255,255,0.07);
  --line-strong: #2E2E33;
  --text: #FAFAFA;
  --text2: #B8B8BE;
  --text3: #8C8C94;
  --ink: #FFFFFF;
  --on-ink: #000000;
  --glass: rgba(22,22,25,0.56);
  --glass-stroke: rgba(255,255,255,0.10);
  --gain: #5FD39A;
  --loss: #FF8F86;
  --warn: #E8C170;
  --loss-soft: rgba(255,143,134,0.12);
  --gain-soft: rgba(95,211,154,0.12);
  --radius: 24px;
  /* The website's navy: the top of the page, the glow behind the hero, the tint in the glass. */
  --navy: #0C1424;
  --navy-glow: rgba(64, 96, 160, 0.22);
  --navy-glass: rgba(22, 34, 58, 0.38);
  --navy-stroke: rgba(150, 175, 225, 0.14);
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 78% -120px, var(--navy-glow), transparent 70%) no-repeat,
    linear-gradient(180deg, var(--navy) 0, var(--top) 520px, var(--bottom) 1100px) no-repeat,
    var(--bottom);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
/* Headings and panels the script moves focus to, for screen readers: no ring to explain. */
[tabindex="-1"]:focus { outline: none; }

.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: 999px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(12, 20, 36, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; color: var(--text2); padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 6px; }
@media (max-width: 640px) {
  .brand span { display: none; }
  .nav a:not(.btn) { padding: 10px 8px; font-size: 0.9rem; }
}

/* Type */
.eyebrow { font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text3); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--text); margin: 0; }
h1 { font-size: clamp(2.5rem, 5.5vw + 1rem, 4.75rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 2.6vw + 1rem, 2.75rem); line-height: 1.08; letter-spacing: -0.025em; }
h3, .h3-like { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; }
.hero-grid .h3-like { margin: 40px 0 16px; }
.glass .h3-like { margin: 0 0 4px; }
.lede { font-size: clamp(1.06rem, 0.6vw + 0.95rem, 1.3rem); color: var(--text2); max-width: 38em; margin: 20px 0 0; }
p { margin: 0 0 1em; }
.muted { color: var(--text2); }
.small { font-size: 0.875rem; color: var(--text3); }

/* Buttons and badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 120ms ease, background 120ms ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { color: var(--on-ink); background: #E6E6E9; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.94rem; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.badge { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text2); font-size: 0.875rem; font-weight: 600; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--text2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.hero { padding-top: 56px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-grid.start { align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.glass {
  background: linear-gradient(180deg, var(--navy-glass), transparent 70%), var(--glass);
  border: 1px solid var(--navy-stroke);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}

/* The Android download page: the release's facts, and a checksum that wraps on a phone. */
.facts { display: grid; gap: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--text3); font-size: 0.875rem; }
.facts dd { margin: 0; color: var(--text); min-width: 0; }
.checksum { font: 400 0.82rem/1.5 var(--mono); word-break: break-all; color: var(--text2); }
.glass .steps { margin: 16px 0; }
.glass .h3-like + .small, .glass .steps + .small { margin-top: 0; }
.glass .h3-like:not(:first-child) { margin-top: 24px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text2); margin: 0; }
.card .eyebrow { margin-bottom: 12px; }

/* Phones */
.phones { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.phone { flex: 0 0 auto; width: min(68vw, 280px); border-radius: 40px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.phone + .phone { display: none; }
@media (min-width: 960px) {
  .phones { justify-content: flex-end; }
  .phone { flex: 1 1 0; width: auto; min-width: 0; max-width: 220px; border-radius: 32px; }
  .phone + .phone { display: block; margin-top: 56px; }
  .phone:nth-child(3) { margin-top: 112px; }
}
figure { margin: 0; }
figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--text3); text-align: center; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--text2); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--gain); border-bottom: 2px solid var(--gain); transform: rotate(-45deg); }
.crosses li::before { border: 0; width: 12px; height: 2px; background: var(--loss); transform: rotate(45deg); top: 0.75em; }
.crosses li::after { content: ''; position: absolute; left: 4px; top: 0.75em; width: 12px; height: 2px; background: var(--loss); transform: rotate(-45deg); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 600 0.94rem/1 var(--body); color: var(--text); }

/* Invitation */
.install { display: grid; gap: 16px; margin: 32px 0; }
.install .glass h3 { margin: 0 0 12px; }
.install .glass p { color: var(--text2); }
.install .glass ol { color: var(--text2); padding-left: 1.2em; margin: 0 0 16px; display: grid; gap: 6px; }
.install .actions { margin-top: 8px; }

/* Notices */
.notice { border: 1px solid var(--line-strong); border-radius: 18px; padding: 18px 20px; margin: 24px 0 1em; color: var(--text2); background: rgba(255, 255, 255, 0.03); }
.nowrap { white-space: nowrap; }
.notice strong { color: var(--text); }

/* Forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > label, .legend { font-weight: 600; font-size: 0.94rem; }
.hint { font-size: 0.875rem; color: var(--text3); margin: 0; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 400 1rem/1.4 var(--body); }
.input::placeholder { color: var(--text3); }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.input[aria-invalid="true"] { border-color: var(--loss); box-shadow: 0 0 0 1px var(--loss); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; border: 1px solid var(--line-strong); font-weight: 600; cursor: pointer; }
.choice input:checked + label { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 3px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--text2); font-size: 0.94rem; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.field-error { color: var(--loss); font-size: 0.875rem; margin: 0; }
.form-status { border-radius: 14px; padding: 14px 16px; font-size: 0.94rem; }
.form-status.error { background: var(--loss-soft); color: var(--loss); }
.form-status.ok { background: var(--gain-soft); color: var(--text); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Long-form pages */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.75rem); margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text2); }
.prose th { color: var(--text); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text3); font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--text2); margin: 12px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--text3); font-size: 0.875rem; }
.site-footer .wrap { display: grid; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--text); }
.disclaimer { max-width: 52rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
