:root {
  --bg: #ffffff;
  --surface: #f5f7fb;
  --border: #e3e8f0;
  --text: #16181d;
  --muted: #5b6472;
  --accent: #0052cc;
  --accent-soft: #e8f0ff;
  --radius: 14px;
  --maxw: 860px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --border: #262b35;
    --text: #eef1f6;
    --muted: #a3acbb;
    --accent: #6ea8ff;
    --accent-soft: #16233a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

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

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

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}

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

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0052cc, #3d8bff);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

nav.site { margin-left: auto; display: flex; gap: 20px; }

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

nav.site a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }

.hero h1 {
  font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero p.lede {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.badge {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13.5px;
  font-weight: 700;
}

/* Content links pick up the accent in both themes. */
main a { color: var(--accent); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /* Fixed blue in both themes so white text always has enough contrast. */
  background: #0a5bd3;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 17px;
}

.cta:hover { opacity: 0.9; }

.cta-note { display: block; margin-top: 12px; color: var(--muted); font-size: 14.5px; }

/* Shots */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 20px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots img {
  height: 420px;
  width: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  scroll-snap-align: center;
  flex: 0 0 auto;
  background: var(--surface);
}

/* Features */
section { padding: 44px 0; border-top: 1px solid var(--border); }

section h2 {
  font-size: clamp(23px, 3.4vw, 29px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 800;
}

section > .wrap > p.sub { color: var(--muted); margin: 0 0 26px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

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

.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }

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

ul.plain { padding-left: 20px; margin: 0; color: var(--muted); }
ul.plain li { margin-bottom: 7px; }

/* Prose (privacy page) */
.prose { padding: 40px 0 60px; }
.prose h1 { font-size: clamp(27px, 4.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 6px; }
.prose h2 { font-size: 20px; margin: 34px 0 8px; letter-spacing: -0.01em; }
.prose .updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--accent); }
.prose strong { font-weight: 700; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 14.5px;
}

footer.site a { color: var(--muted); }
footer.site .row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }

@media (max-width: 560px) {
  .hero { padding: 44px 0 28px; }
  .shots img { height: 330px; }
  nav.site { gap: 14px; }
  nav.site a { font-size: 14px; }
}
