:root {
  color-scheme: light;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --ink: #1d2433;
  --graphite: #5b6270;
  --rule: #e4e6ea;
  --oxblood: #6e2b26;
  --bezel: #1a1c21;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 72rem;
  --measure: 34rem;
  --gutter: 1.25rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 3px; }

h1, h2 { font-family: var(--display); color: var(--ink); margin: 0; }
p, ul, ol { margin: 0 0 1rem; }

/* Top bar */
.bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.home {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}
.home img { width: 1.9rem; height: 1.9rem; border-radius: 0.45rem; }
.bar nav { display: flex; gap: 1.5rem; }
.bar nav a { color: var(--graphite); text-decoration: none; font-size: 0.95rem; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); }

/* The iPad frame around every screenshot */
.ipad {
  margin: 0;
  padding: 2.2%;
  background: var(--bezel);
  border-radius: 5.5% / 4.2%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 60px -30px rgba(29, 36, 51, 0.45);
}
.ipad img { border-radius: 3.6% / 2.7%; }

/* Hero */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 0;
  display: grid;
  gap: 3rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 13ch;
}
.lede {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--graphite);
  max-width: 30rem;
}
.soon {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  font-size: 0.98rem;
}
.soon img { width: 2.75rem; height: 2.75rem; border-radius: 0.65rem; flex: none; }
.hero-ipad { max-width: 34rem; margin: 0 auto; width: 100%; }

/* Three facts, plain text in a row */
.facts {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 5rem var(--gutter);
  display: grid;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
}
.facts h2 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.facts p { color: var(--graphite); margin: 0; max-width: 22rem; }

/* Feature rows */
.feature {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 5rem var(--gutter);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.feature + .feature { padding-top: 1rem; }
.feature .ipad { max-width: 26rem; width: 100%; margin: 0 auto; }
.feature h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.feature p { color: var(--graphite); font-size: 1.15rem; max-width: 28rem; margin: 0; }

/* Privacy band */
.private {
  background: var(--mist);
  padding: 4.5rem var(--gutter);
  margin-top: 4rem;
}
.private > * { max-width: 40rem; margin-left: auto; margin-right: auto; }
.private h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.private p { color: var(--graphite); margin-bottom: 0; }

/* Footer */
.footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--graphite);
  font-size: 0.92rem;
}
.footer p { margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer a { color: var(--graphite); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* Privacy policy and support pages */
.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem var(--gutter) 4rem;
}
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 0.6rem; }
.doc .meta { color: var(--graphite); margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin: 2.5rem 0 0.6rem; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.4rem; }
.doc + .footer { border-top: 1px solid var(--rule); }

@media (min-width: 52rem) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    align-items: end;
    padding-top: 4rem;
  }
  .hero-text { padding-bottom: 6rem; }
  .hero-ipad { margin: 0; justify-self: end; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .feature { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .feature .ipad { margin: 0; justify-self: center; }
  .feature.flip .ipad { order: 2; }
}

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

/* Questions */
.faq {
  max-width: 44rem;
  margin: 0 auto;
  padding: 4rem var(--gutter) 0;
}
.faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1.5rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--graphite);
  font-weight: 400;
  font-size: 1.4rem;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; border-radius: 3px; }
.faq details p { color: var(--graphite); margin: 0 0 1.1rem; max-width: 38rem; }
.faq .switch { margin-top: 2rem; color: var(--graphite); }

/* Comparison pages */
.compare { max-width: 48rem; }
.table-wrap { overflow-x: auto; margin: 2rem 0 0.5rem; }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.97rem; line-height: 1.45; min-width: 34rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.85rem 0.9rem 0.85rem 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: 1rem; border-bottom: 1px solid var(--ink); }
.compare tbody th { font-weight: 600; width: 9.5rem; }
.compare td { color: var(--graphite); }
.compare td:nth-child(2) { color: var(--ink); }
.sources a { word-break: break-word; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Hero entrance. CSS keyframes run on their own clock, so the hero never depends on a script finishing. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .soon { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero .lede { animation-delay: 0.12s; }
  .hero .soon { animation-delay: 0.24s; }
  .hero-ipad { animation: rise-ipad 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-ipad { from { opacity: 0; transform: translateY(70px) scale(0.94); } }
