@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 400 800;
  font-display: block;
  src: url(/assets/roboto-flex.woff2) format("woff2");
}

:root {
  color-scheme: light dark;
  --primary: #0061a4;
  --on-primary: #ffffff;
  --primary-container: #d3e3fd;
  --on-primary-container: #001d36;
  --secondary-container: #d7e3f8;
  --on-secondary-container: #101c2b;
  --tertiary: #6e5677;
  --tertiary-container: #f8d8fe;
  --on-tertiary-container: #270e2e;
  --surface: #fbfcfe;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f4f6f9;
  --surface-container: #eef0f4;
  --surface-container-high: #e8ebef;
  --surface-container-highest: #e2e5e9;
  --on-surface: #1a1c1e;
  --on-surface-variant: #43474e;
  --outline: #73777f;
  --outline-variant: #c3c7cf;
  --font: "Roboto Flex", Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shape-small: 8px;
  --shape-medium: 12px;
  --shape-large: 16px;
  --shape-extra-large: 28px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #a8c7fa;
    --on-primary: #0a305f;
    --primary-container: #284777;
    --on-primary-container: #d3e3fd;
    --secondary-container: #3d4758;
    --on-secondary-container: #d9e3f8;
    --tertiary: #fbd7fe;
    --tertiary-container: #573e5d;
    --on-tertiary-container: #fbd7fe;
    --surface: #141218;
    --surface-container-lowest: #141218;
    --surface-container-low: #1d1b20;
    --surface-container: #211f26;
    --surface-container-high: #2b2930;
    --surface-container-highest: #36343b;
    --on-surface: #e6e0e9;
    --on-surface-variant: #cac4d0;
    --outline: #49454f;
    --outline-variant: #49454f;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font: 400 16px/24px var(--font);
  font-optical-sizing: none;
  overflow-wrap: break-word;
}
:where(h1, h2, h3, p, li):not(:has(> .button)) { text-box: trim-both text; }
img { display: block; max-width: 100%; height: auto; }
#app { position: fixed; inset: 0; opacity: 0; pointer-events: none; transition: opacity 240ms cubic-bezier(0.2, 0, 0, 1); }
.compose-ready #app { opacity: 1; pointer-events: auto; }
#fallback { transition: opacity 240ms cubic-bezier(0.2, 0, 0, 1); }
.compose-ready #fallback { opacity: 0; pointer-events: none; }
body.compose-ready { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #app, #fallback { transition: none; } }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }

.container { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 32px; }

.topbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; min-height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: -12px;
  padding: 4px 12px;
  border-radius: 12px;
  color: var(--on-surface);
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg, .brand img { width: 40px; height: 40px; flex: none; }
.brand:hover { background: color-mix(in srgb, var(--on-surface) 8%, transparent); }

.nav { display: flex; flex-wrap: wrap; }

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
}

.nav a:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
}

.button:hover { background: color-mix(in srgb, var(--on-primary) 8%, var(--primary)); }

.footer { margin-top: 64px; padding-bottom: 24px; color: var(--on-surface-variant); font-size: 12px; line-height: 16px; }

.footer-row { display: flex; flex-direction: column; gap: 12px; }

.footer-row > span { padding: 0 12px; text-box: trim-both text; }

.footer-row::before { content: ""; border-top: 1px solid var(--outline-variant); }

.footer-links { display: flex; flex-wrap: wrap; }

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 4px 0;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-decoration: none;
}

.footer a:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }

.doc { max-width: 720px; margin: 0 auto; padding-top: 16px; }

.doc h1 { margin: 0 0 12px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }

.doc h2 { margin: 36px 0 12px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }

.doc p { margin: 0 0 12px; }

.doc .meta { margin: 0 0 12px; color: var(--on-surface-variant); font-size: 14px; line-height: 20px; }

.doc p:has(> .button) { padding: 8px 0; }

.doc .button { min-height: 48px; border-radius: 8px; }

.doc ul:not(.rows) { margin: 0 0 12px; padding-left: 18px; }

.doc ul:not(.rows) li { margin: 0 0 8px; }

.doc ul:not(.rows) li::marker { color: var(--primary); }

.doc ol { list-style: none; counter-reset: step; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }

.doc ol li { counter-increment: step; display: flex; align-items: center; gap: 16px; margin: 0; }

.doc ol li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 16px;
  font-weight: 400;
}

.rows { list-style: none; margin: 28px 0 12px; padding: 0; display: grid; gap: 0; border-radius: var(--shape-large); overflow: hidden; }

.doc h2:has(+ .rows) {
  margin: 36px 0 4px;
  padding-left: 4px;
  color: var(--primary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
}

.doc h2 + .rows { margin-top: 0; }

.status .rows { margin: 0; }

.rows li { margin: 0; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 16px;
  background: var(--surface-container);
  color: var(--on-surface-variant);
  text-decoration: none;
}

.row::after {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  background: var(--on-surface-variant);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E") center / 24px no-repeat;
}

.row-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-container-high);
}

.row-icon svg { width: 24px; height: 24px; fill: currentColor; }

.row-label { flex: 1; min-width: 0; text-box: trim-both text; }

a.row:hover { background: color-mix(in srgb, var(--on-surface) 8%, var(--surface-container)); }

.status .row { color: var(--on-surface); }

.status a.row { color: var(--primary); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
}

.hero-copy { max-width: 520px; display: grid; gap: 16px; }

.hero-copy .display { margin: 0; }

.hero-copy .lead { margin: 0; color: var(--on-surface-variant); }

.hero-copy .hero-action { margin: 8px 0 0; }

.hero-copy .note { margin: 0; color: var(--on-surface-variant); font-size: 14px; line-height: 20px; }

.display { margin: 0; font-size: 45px; line-height: 52px; font-weight: 700; letter-spacing: -0.03em; }

.lead { margin: 0; font-size: 16px; line-height: 24px; }

.hero-stage { position: relative; width: 600px; height: 720px; }

.hero-stage picture { position: absolute; display: block; }

.hero-stage .hero-phone { left: 120px; top: 20px; width: 360px; }

.hero-stage .card-variant { left: 320px; top: 210px; width: 280px; }

.phone, .card { display: block; width: 100%; height: auto; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 112px;
}

.feature.phones-left { grid-template-columns: auto minmax(0, 1fr); }

.feature-phones { display: flex; gap: 20px; }

.feature-phones picture { display: block; width: 320px; }

.feature-phones.paired picture { width: 260px; }

.feature-copy { max-width: 480px; display: grid; gap: 12px; }

.feature-copy h2 { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }

.feature-copy p { margin: 0; color: var(--on-surface-variant); font-size: 16px; line-height: 24px; }

.status { max-width: 640px; margin-top: 128px; padding-bottom: 24px; }

.status h2 { margin: 0 0 16px; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.02em; }

@media (max-width: 899.98px) {
  .container { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-stage { width: 280px; height: auto; margin: 0 auto; }
  .hero-stage .hero-phone { position: static; width: 280px; }
  .hero-stage .card-variant { display: none; }
  .feature, .feature.phones-left { grid-template-columns: 1fr; gap: 20px; }
  .feature.phones-left .feature-phones { order: 1; }
  .feature-phones { justify-content: center; }
  .feature-phones picture { width: 260px; }
  .feature-phones.paired picture { width: 170px; }
}

@media (max-width: 599.98px) {
  .container { padding: 0 16px; }
  .nav a[href="/legal/terms"] { display: none; }
  .display { font-size: 36px; line-height: 44px; }
  .feature { margin-top: 64px; }
  .feature-copy h2 { font-size: 28px; line-height: 36px; }
  .status { margin-top: 80px; }
}
