:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-2: #f2f2f7;
  --text: #1d1d1f;
  --muted: #5e5e66;
  --line: #e3e3e8;
  --accent: #1a73e8;
  --accent-ink: #ffffff;
  --accent-soft: #e6f0fd;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --surface: #16161c;
    --surface-2: #1f1f27;
    --text: #f5f5f7;
    --muted: #a1a1aa;
    --line: #2c2c36;
    --accent: #5aa9ff;
    --accent-ink: #0b0b0f;
    --accent-soft: #14284a;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a.btn {
  color: var(--accent-ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.08);
}

.store-badge {
  display: inline-flex;
  line-height: 0;
  border-radius: 9px;
}

.store-badge img {
  display: block;
  width: auto;
  height: 48px;
}

.btn-small {
  padding: 7px 14px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 750;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
}

h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fine {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* Sections */

section {
  padding: 56px 0;
}

.section-intro {
  max-width: 40em;
  margin-bottom: 32px;
}

.section-intro p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-dot svg {
  width: 20px;
  height: 20px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform {
  display: block;
  text-decoration: none;
  color: inherit;
}

.platform:hover {
  border-color: var(--accent);
}

.platform .more {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.band {
  background: var(--surface-2);
}

.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin-left: auto;
  margin-right: auto;
}

.cta-band .cta-row {
  justify-content: center;
}

/* FAQ */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Long-form pages (privacy, support) */

.prose {
  max-width: 720px;
  padding: 56px 0 72px;
}

.prose h1 {
  font-size: clamp(32px, 4.5vw, 44px);
}

.prose h2 {
  font-size: 22px;
  margin-top: 36px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

/* Hero phone: an illustrative duplicates screen drawn in HTML */

.phone {
  justify-self: center;
  width: 300px;
  max-width: 100%;
  padding: 10px;
  border-radius: 46px;
  background: #1d1d1f;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

.screen {
  border-radius: 37px;
  background: #f2f2f7;
  color: #1d1d1f;
  padding: 44px 14px 22px;
  font-size: 13px;
  line-height: 1.35;
}

.screen-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 4px 4px;
}

.screen-sub {
  color: #6e6e73;
  margin: 0 4px 14px;
}

.group {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.group-head {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  color: #6e6e73;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #fafafa;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid #ececf0;
}

.avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(#a9adb7, #868a94);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.row small {
  display: block;
  color: #6e6e73;
}

.merge-pill {
  display: block;
  margin: 4px 12px 10px;
  padding: 7px;
  border-radius: 999px;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

section[id] {
  scroll-margin-top: 60px;
}

/* Steps */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* Responsive */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 40px;
  }

  .grid,
  .platforms {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav .nav-link {
    display: none;
  }

  .grid,
  .grid-2,
  .platforms {
    grid-template-columns: 1fr;
  }

  .lede {
    font-size: 18px;
  }

  section {
    padding: 44px 0;
  }
}
