/* Shared styles for the public site (landing, privacy, terms). Deployed as static files to Cloudflare Pages. */
:root {
  --green-900: #0c3b31;
  --green-800: #11533f;
  --green-700: #17694f;
  --green-100: #e3f4ec;
  --mint: #7fe0a8;
  --ink: #1a1c1d;
  --muted: #5c6166;
  --line: #e3e5e7;
  --bg: #ffffff;
  --bg-soft: #f6f7f7;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -0.2px; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.1s, background 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }
.btn-ghost { color: var(--green-800); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--green-700); }
.nav .btn { padding: 9px 16px; font-size: 14px; color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 0; }
.hero-copy { padding-bottom: 88px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
.hero h1 { font-size: 54px; line-height: 1.08; letter-spacing: -1.4px; margin: 0; font-weight: 700; }
.hero p.lead { font-size: 20px; color: #cfe8dc; margin: 22px 0 32px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; color: #a9d3c0; margin-top: 16px; }
.hero-shot { align-self: end; border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); background: #f1f1f1; }

/* Sections */
section { padding: 96px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: 38px; line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 700; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.feature { display: flex; gap: 16px; padding: 8px 0; }
.tick { width: 30px; height: 30px; border-radius: 50%; background: var(--green-100); display: grid; place-items: center; flex: none; margin-top: 2px; }
.feature h3 { margin: 0 0 4px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 88px; }
.showcase.flip .showcase-img { order: 2; }
.showcase-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(12, 59, 49, 0.12); }
.showcase h3 { font-size: 28px; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 14px; }
.showcase p { font-size: 17px; color: var(--muted); margin: 0 0 12px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--green-800); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 32px; background: var(--green-800); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 99px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 42px; font-weight: 700; letter-spacing: -1px; margin: 12px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .trial { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); transform: rotate(-45deg); }
.plan li.soon { color: var(--muted); }
.plan li.soon::before { border-color: #b5babe; }
.pricing-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--green-800); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; text-align: center; border-radius: 20px; padding: 64px 32px; }
.cta h2 { font-size: 36px; letter-spacing: -0.8px; margin: 0 0 12px; }
.cta p { color: #cfe8dc; font-size: 18px; margin: 0 0 28px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 40px; letter-spacing: -0.8px; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: #33373a; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 18px; }
  section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .steps, .features, .plans, .showcase { grid-template-columns: 1fr; }
  .showcase { gap: 28px; }
  .showcase.flip .showcase-img { order: 0; }
  .showcase + .showcase { margin-top: 56px; }
  .plans { gap: 28px; }
  .cta h2 { font-size: 28px; }
  .legal h1 { font-size: 32px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 15px; }
  .nav .btn { padding: 8px 12px; }
}
