:root {
  --ink: #131a15;
  --ink-soft: #3a4640;
  --ink-muted: #6a7671;
  --ink-faint: #97a29d;
  --paper: #ffffff;
  --paper-2: #f6faf4;
  --paper-3: #eef3ea;
  --line: #e3eade;
  --line-soft: #edf1e8;
  --green: #4bb71b;
  --green-dark: #2a8a0e;
  --green-deep: #123e0c;
  --green-ghost: rgba(75, 183, 27, 0.08);
  --lemon: #e9d443;
  --max-content: 720px;
  --max-hero: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(19, 26, 21, 0.04), 0 1px 3px rgba(19, 26, 21, 0.06);
  --shadow-md: 0 4px 16px rgba(19, 26, 21, 0.06), 0 2px 6px rgba(19, 26, 21, 0.05);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--green); }

/* ---------- site header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .inner {
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.brand .brand-accent { color: var(--green); }
.brand .brand-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.93rem;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: 4rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--green-ghost);
  color: var(--green-dark);
  border: 1px solid rgba(75, 183, 27, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(75, 183, 27, 0.18);
}
h1.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
  color: var(--ink);
}
h1.hero-title .green { color: var(--green); }
.hero-sub {
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 1.9rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 6px 18px rgba(75, 183, 27, 0.28);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: rgba(75, 183, 27, 0.32);
}
.btn-ghost:hover {
  background: var(--green-ghost);
  color: var(--green-dark);
}

/* ---------- hero visual (feature tiles) ---------- */

.hero-visual {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 65%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(75, 183, 27, 0.22) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(10px);
}
.feature-tiles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(75, 183, 27, 0.28);
}
.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-ghost);
  color: var(--green-dark);
}
.tile-icon svg { width: 20px; height: 20px; }
.tile-green {
  background: linear-gradient(180deg, #f4fbee 0%, var(--paper) 100%);
  border-color: rgba(75, 183, 27, 0.24);
}
.tile-green .tile-icon { background: var(--green); color: #fff; }
.tile-label {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tile-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

/* ---------- sections ---------- */

main > section.block {
  max-width: var(--max-hero);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 620px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.section-lede {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 183, 27, 0.32);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-ghost);
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.card .icon svg { width: 20px; height: 20px; }
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.05rem 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(75, 183, 27, 0.28);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
}
.steps strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.steps span { color: var(--ink-muted); font-size: 0.95rem; }
.steps code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(75, 183, 27, 0.1);
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  color: var(--green-dark);
}

/* ---------- butler quote ---------- */

.butler-quote {
  max-width: 620px;
  margin: 3rem auto 0;
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.butler-quote .quote-mark {
  display: block;
  font-family: "Cormorant Garamond", "Plus Jakarta Sans", serif;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 0.15rem;
  font-weight: 500;
}
.butler-quote p {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.butler-quote footer {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- CTA card (contained inside main) ---------- */

.cta-card {
  background: linear-gradient(135deg, #123e0c 0%, #1d5a15 100%);
  color: #eaf5df;
  border-radius: 22px;
  padding: 3rem 2.25rem;
  text-align: center;
  max-width: 720px;
  margin: 3rem auto 0;
  box-shadow: 0 24px 50px -24px rgba(18, 62, 12, 0.55), 0 2px 0 rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(109, 209, 45, 0.35) 0%, transparent 65%);
  pointer-events: none;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin-bottom: 0.6rem;
  position: relative;
}
.cta-card p {
  color: rgba(234, 245, 223, 0.88);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.cta-card .cta-actions {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.cta-card .btn-primary {
  background: #fff;
  color: var(--green-deep);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.cta-card .btn-primary:hover {
  background: #f3fbe8;
  color: var(--green-deep);
}
.cta-card .email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: #fff;
}
.cta-card .email-pill a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); }
.cta-card .email-pill a:hover { text-decoration-color: #fff; }

/* ---------- doc pages (privacy / terms) ---------- */

article.doc {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
article.doc h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
article.doc .updated {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin-bottom: 2.25rem;
}
article.doc h2 {
  font-size: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
article.doc p,
article.doc li {
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
article.doc ul { padding-left: 1.35rem; margin-bottom: 0.7rem; }
article.doc li { margin-bottom: 0.35rem; }
article.doc strong { color: var(--ink); font-weight: 600; }
article.doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper-3);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: var(--green-deep);
  border: 1px solid var(--line-soft);
}
article.doc blockquote {
  margin: 1rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--green-ghost);
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
}
article.doc blockquote p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(234, 245, 223, 0.7);
  padding: 2.5rem 1.5rem 1.75rem;
}
.site-footer .inner {
  max-width: var(--max-hero);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.site-footer .brand-line {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}
.site-footer .whisper {
  font-size: 0.82rem;
  color: rgba(234, 245, 223, 0.55);
  font-style: italic;
  margin-bottom: 0.15rem;
}
.site-footer .copyright {
  font-size: 0.82rem;
  color: rgba(234, 245, 223, 0.5);
}
.site-footer .links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
}
.site-footer .links a {
  color: rgba(234, 245, 223, 0.75);
  font-weight: 500;
}
.site-footer .links a:hover { color: #fff; }

@media (max-width: 600px) {
  .site-footer .inner { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem 2rem;
    gap: 2rem;
  }
  .hero-visual { max-width: 340px; margin: 0 auto; }
  .cta-card { padding: 2.25rem 1.5rem; }
  .nav-links { gap: 1.15rem; }
  .brand .brand-sub { display: none; }
}

@media (max-width: 640px) {
  .site-header .inner { padding: 0.8rem 1.25rem; }
  .brand { font-size: 0.98rem; }
  .nav-links { gap: 0.75rem; font-size: 0.88rem; }
  .nav-links a[href^="#"] { display: none; }
}

@media (max-width: 480px) {
  main > section.block { padding: 2.5rem 1.25rem; }
  article.doc { padding: 2rem 1.25rem 3rem; }
  .hero-actions { width: 100%; }
  .btn { justify-content: center; flex: 1 1 0; }
}
