@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --label: #16161a;
  --label-2: #46464e;
  --label-3: #6a6a72;
  --ground: #ececef;
  --cell: #ffffff;
  --separator: rgba(60, 60, 67, 0.15);
  --blue: #0a66e8;
  --blue-hover: #0857c8;
  --blue-fill: rgba(10, 102, 232, 0.1);
  --green: #15803d;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px rgba(0, 0, 0, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --label: #f2f2f5;
    --label-2: #c4c4cc;
    --label-3: #9a9aa2;
    --ground: #111114;
    --cell: #1c1c20;
    --separator: rgba(235, 235, 245, 0.14);
    --blue: #3d8bff;
    --blue-hover: #5c9dff;
    --blue-fill: rgba(61, 139, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--label);
  background: var(--ground);
  font: 16px/1.5 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.top, .bottom, main > section { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--label); text-decoration: none; font-weight: 780; font-size: 19px; letter-spacing: -0.02em;
}
.brand img { border-radius: 8px; }
.top nav, .bottom nav { display: flex; gap: 20px; }
.top nav a, .bottom nav a { color: var(--label-2); text-decoration: none; font-weight: 620; font-size: 15px; }
.top nav a:hover, .bottom nav a:hover { color: var(--blue); }

.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding: 40px 0 72px;
}
.eyebrow { margin: 0 0 12px; color: var(--blue); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }
h1 {
  margin: 0; font-size: clamp(40px, 7vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
}
.lede { margin: 20px 0 32px; max-width: 34ch; color: var(--label-2); font-size: clamp(17px, 2.2vw, 20px); line-height: 1.45; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 16px;
  font: inherit; font-weight: 720; font-size: 17px; text-decoration: none;
}
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 6px 18px rgba(10, 102, 232, 0.28); }
.button.primary:hover { background: var(--blue-hover); }
.button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.button.disabled { color: var(--label-3); background: var(--blue-fill); box-shadow: none; cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store-badge { display: inline-block; border-radius: 12px; line-height: 0; }
.store-badge img { width: auto; height: 54px; }
.store-badge:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* On an iPhone the App Store badge comes first. */
.is-ios .cta-row .store-badge { order: -1; }
.ios-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 560px; margin: 28px auto 0; padding: 18px 20px; border-radius: 18px;
  background: var(--blue-fill); text-align: left;
}
.ios-callout p { margin: 0; color: var(--label-2); font-size: 15px; }
.ios-callout strong { color: var(--label); }
.fine { margin: 10px 0 0; color: var(--label-3); font-size: 14px; font-weight: 600; }

.phone {
  margin: 0; padding: 10px; border-radius: 38px; background: var(--cell); box-shadow: var(--shadow);
  max-width: 340px; justify-self: center;
}
.phone img { border-radius: 28px; }
.hero-phone { transform: rotate(2deg); }

.features { display: grid; gap: 28px; padding-bottom: 72px; }
.feature {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center;
  padding: 32px; border-radius: 28px; background: var(--cell); box-shadow: var(--shadow);
}
.feature:nth-child(even) { grid-template-columns: 1fr 300px; }
.feature:nth-child(even) .phone { order: 2; }
.feature .phone { box-shadow: none; padding: 0; background: none; }
.feature .phone img { border: 1px solid var(--separator); }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.feature p, .privacy-short p, .install li, .note { color: var(--label-2); font-size: 17px; }
.feature ul { margin: 16px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 26px; color: var(--label-2); font-weight: 600; }
.feature li + li { margin-top: 8px; }
.feature li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-fill); box-shadow: inset 0 0 0 4px var(--blue);
}

.install {
  padding: 48px 40px; margin-bottom: 28px; border-radius: 28px; background: var(--cell); box-shadow: var(--shadow);
  text-align: center;
}
.install ol { max-width: 560px; margin: 8px auto 32px; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.install li { counter-increment: step; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--separator); }
.install li:last-child { border-bottom: 0; }
.install li::before {
  content: counter(step); position: absolute; left: 0; top: 12px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: var(--blue); background: var(--blue-fill); font-weight: 800;
}
.checksum { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; overflow-wrap: anywhere; }
.note { max-width: 560px; margin: 24px auto 0; font-size: 15px; }

.privacy-short { padding: 32px 0 56px; max-width: 720px; }
.privacy-short h2 { font-size: 26px; }

.top nav a[aria-current="page"] { color: var(--blue); }

/* Privacy Policy and Terms of Use (generated by site/build-pages.mjs) */
.legal-head { padding: 32px 0 36px; max-width: 760px; }
.legal-head h1 { font-size: clamp(36px, 6vw, 56px); }
.legal-head .lede { margin: 16px 0 8px; max-width: 46ch; }
.legal-layout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start;
  padding-bottom: 72px;
}
.legal-toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.toc-title {
  margin: 0 0 10px; color: var(--label-3); font-size: 13px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
}
.legal-toc ol, .legal-toc-fold ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--separator); }
.legal-toc-fold { display: none; }
.legal-toc li a, .legal-toc-fold li a {
  display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--label-2); font-size: 14px; font-weight: 620; line-height: 1.35; text-decoration: none;
}
.legal-toc li a:hover, .legal-toc-fold li a:hover { color: var(--blue); border-left-color: var(--blue); }
.legal-body {
  padding: 40px 48px; border-radius: 28px; background: var(--cell); box-shadow: var(--shadow);
  max-width: 760px;
}
.legal-body > p:first-child { margin-top: 0; }
.legal-body h2 {
  position: relative; margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--separator);
  font-size: 22px; letter-spacing: -0.02em; scroll-margin-top: 20px;
}
.legal-body h2:first-of-type { margin-top: 28px; }
.legal-body .anchor {
  position: absolute; left: -1.1em; color: var(--label-3); text-decoration: none; opacity: 0; transition: opacity 0.15s;
}
.legal-body h2:hover .anchor { opacity: 1; }
.legal-body p, .legal-body li { color: var(--label-2); font-size: 16.5px; line-height: 1.65; }
.legal-body strong { color: var(--label); font-weight: 720; }
.legal-body ul { margin: 12px 0; padding: 0; list-style: none; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li + li { margin-top: 10px; }
.legal-body li::before {
  content: ''; position: absolute; left: 2px; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.legal-body h2:target { color: var(--blue); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 16px; }
  .legal-toc { display: none; }
  .legal-toc-fold { display: block; padding: 14px 18px; border-radius: 18px; background: var(--cell); box-shadow: var(--shadow); }
  .legal-toc-fold summary { list-style: none; cursor: pointer; color: var(--label); font-size: 15px; font-weight: 720; }
  .legal-toc-fold summary::-webkit-details-marker { display: none; }
  .legal-toc-fold summary::after { content: '›'; float: right; transform: rotate(90deg); color: var(--label-3); }
  .legal-toc-fold[open] summary { margin-bottom: 10px; }
  .legal-toc-fold[open] summary::after { transform: rotate(-90deg); }
  .legal-body { padding: 24px 20px; border-radius: 22px; }
  .legal-body .anchor { display: none; }
}

.bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 40px; border-top: 1px solid var(--separator); color: var(--label-3); font-size: 14px;
}

@media (max-width: 760px) {
  .top nav { gap: 16px; }
  .top nav a[href*="#"] { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 16px 0 48px; text-align: center; }
  .lede { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .ios-callout { flex-direction: column; text-align: center; }
  .hero-phone { max-width: 280px; transform: none; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .feature:nth-child(even) .phone { order: 0; }
  .feature .phone { max-width: 260px; }
  .install { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-phone { transform: none; } }
