:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f5f6f9;
  --mint: #e8f5ec;
  --text: #111214;
  --muted: #5d6067;
  --line: #e3e5ea;
  --accent: #1a8a4b;
  --accent-fill: #29bd68;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 32px rgb(16 40 24 / 0.10);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c0e;
    --surface: #17181b;
    --mint: #0f2017;
    --text: #f2f3f5;
    --muted: #a0a4ab;
    --line: #2a2c31;
    --accent: #4ad785;
    --accent-fill: #30c46e;
    --on-accent: #04140a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #0b0c0e;
  --surface: #17181b;
  --mint: #0f2017;
  --text: #f2f3f5;
  --muted: #a0a4ab;
  --line: #2a2c31;
  --accent: #4ad785;
  --accent-fill: #30c46e;
  --on-accent: #04140a;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.5);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 600px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -100px;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 600;
}
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Hero */

.hero { background: linear-gradient(180deg, var(--mint), var(--bg)); overflow: hidden; }
.hero .wrap {
  display: grid; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 24px;
}
.hero-icon { width: 88px; height: 88px; margin-bottom: 24px; filter: drop-shadow(0 6px 16px rgb(16 40 24 / 0.14)); }
.hero h1 { font-size: clamp(40px, 9vw, 64px); }
.hero .lead { font-size: clamp(21px, 4vw, 26px); color: var(--muted); margin: 10px 0 24px; line-height: 1.3; }
.hero .promo { max-width: 34em; }
.hero-shot { justify-self: center; width: min(100%, 340px); }
@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr 360px; padding-top: 80px; padding-bottom: 64px; }
}

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 12px 20px; border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 16px;
}
.badge svg { width: 20px; height: 20px; flex: none; }
.cta .note { color: var(--muted); font-size: 15px; }

.disclaimer { color: var(--muted); font-size: 14px; }

/* Screens */

.shot {
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--mint);
}

/* Features */

.features { padding-top: 40px; padding-bottom: 24px; }
.feature {
  display: grid; gap: 32px; align-items: center;
  padding: 48px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature h2 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 14px; }
.feature .eyebrow {
  display: block; color: var(--accent); font-size: 15px; font-weight: 600;
  letter-spacing: 0; margin-bottom: 8px;
}
.feature .copy { max-width: 32em; }
.feature .shots { display: grid; gap: 16px; justify-self: center; width: min(100%, 300px); }
.feature .shots.two { grid-template-columns: 1fr 1fr; width: min(100%, 560px); }
@media (min-width: 760px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature:nth-child(even) .shots { order: -1; }
}

/* Cards */

.more { padding: 24px 0 72px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border-radius: 20px; padding: 24px;
}
.card h2 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Text pages */

.page { padding: 48px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 7vw, 44px); margin-bottom: 8px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page .updated { color: var(--muted); margin-bottom: 24px; }
.page ul, .page ol { padding-left: 1.3em; margin: 0 0 1em; }
.page li { margin-bottom: 0.4em; }
.page dt { font-weight: 600; margin-top: 20px; }
.page dd { margin: 6px 0 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  td { border: 0; padding: 4px 0; }
  td + td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
}

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }
