:root {
  --bg: #fbfcfc;
  --surface: #f1f5f6;
  --ink: #0f1a1c;
  --muted: #55666a;
  --rule: #dfe6e7;
  --accent: #007a99;
  --on-accent: #ffffff;
  --measure: 62ch;
  --page: 1040px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f10;
    --surface: #141b1d;
    --ink: #eef3f4;
    --muted: #9cadb1;
    --rule: #243033;
    --accent: #52c5df;
    --on-accent: #06181d;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--bg);
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.amp { color: var(--accent); }

.site-nav { display: flex; gap: 24px; font-size: 0.95rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .site-nav { gap: 16px; font-size: 0.9rem; }
  .site-nav .optional { display: none; }
}

/* Hero */

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 88px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.04; }

.lede {
  margin-top: 20px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

.status {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-weight: 600;
}

.fineprint { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }

.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22%; }
.hero figcaption { margin-top: 12px; color: var(--muted); font-size: 0.85rem; text-align: center; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; padding-bottom: 64px; }
  .hero figure { max-width: 320px; }
  .hero figcaption { text-align: left; }
}

/* Sections */

.section { padding: 80px 0; border-top: 1px solid var(--rule); }
.section-intro { margin-top: 14px; max-width: var(--measure); color: var(--muted); }

@media (max-width: 560px) {
  .section { padding: 56px 0; }
}

/* Feature rows */

.rows { margin: 36px 0 0; }
.row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.row:first-child { border-top: 0; padding-top: 0; }
.row dt { font-weight: 650; }
.row dd { margin: 0; max-width: var(--measure); color: var(--muted); }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
}

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}
.plan-note { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; }
.plan li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.97rem;
}

@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; gap: 36px; }
}

/* Privacy band */

.band { background: var(--surface); border-top: 0; }
.band p { margin-top: 14px; max-width: var(--measure); color: var(--muted); }
.band a { font-weight: 600; }

/* FAQ */

.faq { margin-top: 32px; max-width: 760px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 32px 20px 0; color: var(--muted); }

/* Download */

.download { text-align: center; }
.download .section-intro { margin-left: auto; margin-right: auto; }
.download .actions { justify-content: center; }

/* Long-form pages */

.doc { padding-top: 32px; padding-bottom: 80px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin-top: 40px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-top: 6px; }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* Footer */

.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer p { max-width: var(--measure); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.credit { margin-top: 16px; }
