:root {
  --bg: #ffffff;
  --bg-alt: #f5f7f6;
  --surface: #ffffff;
  --border: #e2e6e4;
  --text: #121826;
  --muted: #5d6675;
  --accent: #087357; /* 5.8:1 on white, passes WCAG AA for text and white-on-accent buttons */
  --accent-strong: #065c46;
  --accent-text: #ffffff;
  --accent-weak: #e2f3ec;
  --shadow: 0 1px 2px rgb(16 24 40 / .05), 0 12px 32px rgb(16 24 40 / .10);
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --bg-alt: #171a20;
    --surface: #1b1f26;
    --border: #2a2f39;
    --text: #e8eaee;
    --muted: #9aa3b0;
    --accent: #3cc79c;
    --accent-strong: #5bd6ae;
    --accent-text: #07130f;
    --accent-weak: #16352c;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; /* keep #anchors clear of the sticky header */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 720; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 7px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 560; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 680;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-small { min-height: 38px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-text); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-soon { background: var(--bg-alt); color: var(--muted); border-color: var(--border); border-style: dashed; cursor: default; white-space: normal; text-align: center; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1100px 500px at 85% 0%, var(--accent-weak), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 20px; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fineprint { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.hero-shot { margin: 0; justify-self: center; }
.hero-shot figcaption { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }
.shot {
  width: 380px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 44px; }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy > p { color: var(--muted); font-size: 1.08rem; }
.split-shot { margin: 0; justify-self: center; }
.split-shot .shot { max-height: 620px; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-copy { order: 0; }
}

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-weak) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23087357' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.pro-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  vertical-align: .2em;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--muted); margin-top: 6px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-weak);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan-pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .price { font-size: 2.6rem; font-weight: 780; letter-spacing: -0.03em; margin: 10px 0 2px; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checks { flex: 1; margin-bottom: 26px; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; max-width: 640px; margin: 26px auto 0; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin-top: 10px; }

/* CTA band */
.cta-band { padding: 72px 0; background: var(--accent); color: var(--accent-text); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--accent-text); color: var(--accent); }
.cta-band .btn-primary:hover { background: color-mix(in srgb, var(--accent-text) 90%, var(--accent)); color: var(--accent); }
.cta-band .btn-soon { background: transparent; color: var(--accent-text); border-color: color-mix(in srgb, var(--accent-text) 60%, transparent); }

/* Legal & contact pages */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.doc .updated { color: var(--muted); margin-top: 10px; }
.doc .summary { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-top: 28px; }
.doc h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 10px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 28px; box-shadow: var(--shadow); }
.contact-card .email { font-size: clamp(1.05rem, 4.8vw, 1.35rem); font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-about { max-width: 520px; }
.footer-about p { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* Dark mode: lighter checkmark so it stays visible on the dark green circle */
@media (prefers-color-scheme: dark) {
  .checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%233cc79c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
