:root {
  color-scheme: light dark;
  --fg: #16181d; --muted: #5b6470; --bg: #ffffff; --card: #f6f7f9; --rule: #e4e7eb;
  --accent: #2563eb; --accent-fg: #ffffff; --camera: #dc2626; --hero: #0f1115; --hero-fg: #eef1f5; --hero-muted: #9aa4b1;
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #eef1f5; --muted: #9aa4b1; --bg: #0f1115; --card: #171a20; --rule: #2b3139; --accent: #60a5fa;
          --accent-fg: #0f1115; --camera: #f87171; --hero: #0a0c10; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 46rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
               backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px);
               border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: inherit; text-decoration: none; }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--fg); background: var(--card); }
.nav-toggle, .nav-button { display: none; }
@media (max-width: 640px) {
  .nav-button { display: block; width: 40px; height: 40px; cursor: pointer; position: relative; }
  .nav-button span, .nav-button span::before, .nav-button span::after {
    content: ""; position: absolute; left: 10px; width: 20px; height: 2px; background: var(--fg); border-radius: 2px; }
  .nav-button span { top: 19px; }
  .nav-button span::before { left: 0; top: -6px; }
  .nav-button span::after { left: 0; top: 6px; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; padding: 8px 12px 14px;
         background: var(--bg); border-bottom: 1px solid var(--rule); }
  .nav a { padding: 12px; font-size: 1rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none;
       background: var(--accent); color: var(--accent-fg); border: 1px solid var(--accent); }
.btn.ghost { background: transparent; color: inherit; border-color: var(--rule); }
.badge { display: inline-block; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; font-weight: 600;
         font-size: .9rem; opacity: .85; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% 120%, #1e3a8a 0%, transparent 60%), var(--hero); color: var(--hero-fg);
        padding: 88px 0 96px; text-align: center; }
.hero img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 24px auto 12px; max-width: 46rem; }
.hero p { color: var(--hero-muted); font-size: 1.2rem; max-width: 36rem; margin: 0 auto; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.hero .btn.ghost { color: var(--hero-fg); border-color: #3a4250; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 8px; max-width: 40rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--bg); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; }
section:not(.alt) .card { background: var(--card); }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
        background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
.icon.cam { background: color-mix(in srgb, var(--camera) 14%, transparent); color: var(--camera); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 16px; margin-top: 28px; }
.plan { border: 1px solid var(--rule); border-radius: 16px; padding: 26px; background: var(--bg); }
.plan.pro { border: 2px solid var(--accent); }
.plan h3 { margin: 0; font-size: 1.2rem; }
.price { font-size: 2.2rem; font-weight: 800; margin: 10px 0 0; letter-spacing: -.02em; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .note { color: var(--muted); font-size: .92rem; margin: 2px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--rule); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px;
                   border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Page and prose */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.kicker { color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.kicker a { color: inherit; }
.prose { padding-bottom: 72px; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 .5rem; }
.prose h3 { font-size: 1.1rem; margin: 1.6rem 0 .3rem; }
.prose li { margin: 4px 0; }
.callout { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
details summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details > *:not(summary) { margin-top: 0; color: var(--muted); }
.posts { list-style: none; padding: 0; }
.posts li { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.posts a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.posts .date { color: var(--muted); font-size: .9rem; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 44px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 24px; margin-bottom: 24px; }
.site-footer strong { color: var(--fg); display: block; margin-bottom: 6px; }
.site-footer .cols a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.site-footer .cols a:hover { color: var(--fg); }
.site-footer p { margin: 0; }
.site-footer .fine { font-size: .82rem; margin-top: 8px; }

/* Hero with illustration */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; text-align: left; }
.hero-split h1 { margin-left: 0; }
.hero-split p { margin-left: 0; }
.hero-split .actions { justify-content: flex-start; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem !important; font-weight: 700; color: #93c5fd !important; margin: 0 !important; }
.hero-note { font-size: .95rem !important; margin-top: 18px !important; }
.hero-art { margin: 0; justify-self: center; position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 10% -20% 0; background: radial-gradient(closest-side, rgba(59,130,246,.35), transparent); z-index: 0; }
.hero-map { position: relative; z-index: 1; width: min(300px, 70vw); height: auto; display: block;
            filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.hero-art figcaption { position: relative; z-index: 1; text-align: center; font-size: .75rem; color: var(--hero-muted); margin-top: 10px; }
@media (max-width: 820px) {
  .hero { padding: 56px 0 64px; }
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-split .actions { justify-content: center; }
  .hero-split p { margin-left: auto; }
}

/* How it works */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 16px; text-align: left; }
.steps li { background: var(--bg); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; }
.steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
              color: var(--accent-fg); font-weight: 800; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

/* Two-column section */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Header call to action */
.nav a.nav-cta { background: var(--accent); color: var(--accent-fg); margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--accent); color: var(--accent-fg); filter: brightness(1.08); }
