/* palette: bg=#F7F6F1 fg=#171C14 accent=#4C8C5A */
/* fonts: display="Space Grotesk" body="Inter" mono="JetBrains Mono" */

:root {
  --bg: #F7F6F1;          /* warm paper white — dominant background */
  --bg-alt: #ECF1E8;      /* soft sage tint — alternating sections */
  --panel: #FFFFFF;       /* card surface */
  --mint: #DDEBD6;        /* mint panel */
  --fg: #171C14;          /* near-black with green undertone */
  --fg-soft: #343B30;     /* softer foreground */
  --muted: #6E7568;       /* secondary text */
  --accent: #4C8C5A;      /* leaf green — brand accent */
  --accent-deep: #35663F; /* darker accent for hover */
  --accent-soft: #CFE3C7; /* light green for tiles / highlights */
  --dark: #10160E;        /* deep forest / space green-black — inverted bands */
  --dark-soft: #1C261A;
  --border: rgba(23, 28, 20, 0.10);
  --border-strong: rgba(23, 28, 20, 0.16);
  --shadow: 0 4px 24px -4px rgba(16, 22, 14, 0.10);
  --shadow-lg: 0 24px 60px -18px rgba(16, 22, 14, 0.22);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent-soft); color: var(--fg); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { position: relative; }
.section { padding: clamp(72px, 12vw, 150px) 0; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 54ch;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: 9999px;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(76, 140, 90, 0.7);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--dark);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4); }
.btn--on-dark {
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
}
.btn--on-dark:hover { border-color: var(--accent); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent-deep);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 241, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(23,28,20,0.06), 0 10px 30px -22px rgba(16,22,14,0.5);
  border-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.brand__mark svg { width: 26px; height: 26px; display: block; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 34px; }
}
.nav a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--fg-soft);
  transition: color .25s var(--ease);
  position: relative;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

/* Hamburger */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; width: 18px; height: 1.6px; margin: 0 auto;
  background: var(--fg); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 95;
  background: var(--bg);
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -20%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(76,140,90,0.14), rgba(76,140,90,0) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: -0.035em;
  font-weight: 500;
  line-height: 1.02;
  margin: 0 auto 26px;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 0 auto 34px; text-align: center; max-width: 56ch; }
.hero .btn-row { justify-content: center; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 7px 7px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.6);
  font-size: 12.5px;
  color: var(--fg-soft);
  margin-bottom: 30px;
  letter-spacing: -0.01em;
}
.hero__pill b {
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
  font-family: var(--mono);
}

/* Hero product mockup */
.hero__visual {
  position: relative;
  z-index: 1;
  margin: clamp(44px, 6vw, 72px) auto 0;
  max-width: 1040px;
  animation: heroFloat 9s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual { animation: none; }
}

/* ---------- Product mockup (CSS mission control) ---------- */
.mock {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(var(--bg), var(--panel));
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock__dot:nth-child(1) { background: #E2B5AE; }
.mock__dot:nth-child(2) { background: #E6D5A8; }
.mock__dot:nth-child(3) { background: var(--accent-soft); }
.mock__title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-left: 10px;
}
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
@media (max-width: 620px) { .mock__body { grid-template-columns: 1fr; } }
.mock__side {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
}
@media (max-width: 620px) { .mock__side { display: none; } }
.mock__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  display: flex; align-items: center; gap: 7px;
}
.mock__brand span { color: var(--accent); }
.mock__nav { display: flex; flex-direction: column; gap: 3px; }
.mock__nav span {
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
}
.mock__nav span::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px;
  background: var(--border-strong); flex: 0 0 auto;
}
.mock__nav span.is-active {
  background: var(--mint); color: var(--accent-deep); font-weight: 500;
}
.mock__nav span.is-active::before { background: var(--accent); }
.mock__main { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock__kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--panel);
}
.mock__kpi b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  display: block;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.mock__kpi small { font-size: 10.5px; color: var(--muted); letter-spacing: -0.01em; }
.mock__panels { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
@media (max-width: 500px) { .mock__panels { grid-template-columns: 1fr; } }
.mock__orbit {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--dark), #18231A);
  position: relative;
  min-height: 160px;
  overflow: hidden;
}
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(207, 227, 199, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit--1 { width: 72%; height: 72%; }
.orbit--2 { width: 44%; height: 44%; }
.orbit__core {
  position: absolute; top: 50%; left: 50%;
  width: 26px; height: 26px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 30%, #7FC48E, var(--accent));
  box-shadow: 0 0 22px rgba(76,140,90,0.55);
}
.orbit__spin {
  position: absolute; top: 50%; left: 50%;
  width: 72%; height: 72%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 7s linear infinite;
}
.orbit__sat {
  position: absolute; top: -4px; left: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  transform: translateX(-50%);
  background: #CFE3C7;
  box-shadow: 0 0 10px rgba(207,227,199,0.9);
}
@keyframes orbitSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit__spin { animation: none; } }
.mock__list { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mock__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--fg-soft);
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.mock__item span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto;
  box-shadow: 0 0 0 3px var(--mint);
}
.mock__item small { margin-left: auto; font-family: var(--mono); color: var(--muted); font-size: 10.5px; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__inner { padding: 36px 0; text-align: center; }
.trust__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
}
.trust__logos span {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: -0.02em;
  color: var(--fg-soft);
  opacity: 0.72;
  transition: opacity .3s var(--ease);
}
.trust__logos span:hover { opacity: 1; }

/* ---------- Section head ---------- */
.sec-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.sec-head p { margin: 0; }

/* ---------- Capabilities band (mirrors reference middle) ---------- */
.caps { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.caps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 940px) { .caps__grid { grid-template-columns: 1.05fr 1fr; } }
.caps__tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.caps__tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  aspect-ratio: 1 / 0.82;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.caps__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.caps__tile:nth-child(2), .caps__tile:nth-child(3) { background: var(--mint); }
.caps__ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.caps__tile:nth-child(2) .caps__ico, .caps__tile:nth-child(3) .caps__ico { background: #fff; }
.caps__ico svg { width: 24px; height: 24px; }
.caps__tile h3 { font-size: 1.12rem; letter-spacing: -0.02em; }
.caps__tile p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Product panel (right side of caps) */
.caps__panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.caps__panel-head {
  display: flex; align-items: center; gap: 9px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
}
.caps__panel-head b { font-family: var(--serif); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.caps__panel-head b i { color: var(--accent); font-style: normal; }
.caps__panel-head small { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.caps__panel-list { padding: 8px; }
.caps__panel-list a, .caps__panel-list div {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 14px;
  color: var(--fg-soft);
  cursor: default;
}
.caps__panel-list .is-active { background: var(--mint); color: var(--accent-deep); font-weight: 500; }
.caps__panel-list i {
  width: 20px; height: 20px; color: var(--muted); font-style: normal; display: grid; place-items: center;
}
.caps__panel-list .is-active i { color: var(--accent); }
.caps__panel-list i svg { width: 18px; height: 18px; }
.caps__panel-list span.badge {
  margin-left: auto; font-size: 10.5px; font-family: var(--mono);
  background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 9999px;
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.feature__ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.28rem; margin-bottom: 11px; letter-spacing: -0.02em; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.66; }
.feature__meta {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  position: relative;
}
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.step__num::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* ---------- Stats (component.png pattern — big centered numerals) ---------- */
.stats { text-align: center; }
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 56px);
  margin-top: 8px;
}
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 10vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label {
  margin: 14px auto 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 24ch;
  line-height: 1.5;
}

/* ---------- Manifesto (dark inverted band) ---------- */
.manifesto {
  background: var(--dark);
  color: #EDF2EA;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(76,140,90,0.28), transparent 42%),
    radial-gradient(circle at 85% 90%, rgba(76,140,90,0.18), transparent 46%);
  pointer-events: none;
}
.manifesto__inner { position: relative; max-width: 940px; margin: 0 auto; }
.manifesto .eyebrow { color: var(--accent-soft); }
.manifesto .eyebrow::before { background: var(--accent-soft); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #F4F8F1;
  margin: 0;
}
.manifesto__quote em { font-style: normal; color: var(--accent-soft); }
.manifesto__sign {
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237,242,234,0.6);
}

/* ---------- Testimonials ---------- */
.quotes { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quotes__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 860px) { .quotes__grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.quote__mark { font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--accent-soft); height: 28px; }
.quote p { font-size: 15.5px; line-height: 1.66; color: var(--fg-soft); margin: 0 0 24px; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px; color: #fff;
  flex: 0 0 auto; letter-spacing: -0.02em;
}
.quote__who b { display: block; font-size: 14.5px; font-weight: 600; color: var(--fg); }
.quote__who small { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details[open] summary { color: var(--fg); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: -0.02em;
  color: var(--fg-soft);
  position: relative;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--fg); }
.faq__body { padding: 0 44px 28px 0; }
.faq__body p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #EDF2EA; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(76,140,90,0.35), transparent 55%);
}
.cta-band__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-band .eyebrow { color: var(--accent-soft); justify-content: center; }
.cta-band .eyebrow::before { background: var(--accent-soft); }
.cta-band h2 {
  color: #F4F8F1;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.cta-band p { color: rgba(237,242,234,0.78); margin: 0 auto 32px; max-width: 48ch; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: clamp(56px, 8vw, 88px) 0 36px; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }
.footer__brand .brand { font-size: 21px; margin-bottom: 18px; }
.footer__brand p { font-size: 14.5px; color: var(--muted); max-width: 34ch; line-height: 1.65; margin: 0 0 20px; }
.footer__tax { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a, .footer__col address {
  font-size: 14.5px; color: var(--fg-soft); font-style: normal; line-height: 1.55;
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--accent-deep); }
.footer__bottom {
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { margin: 0; font-size: 13px; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom nav a { font-size: 13px; color: var(--muted); transition: color .25s var(--ease); }
.footer__bottom nav a:hover { color: var(--fg); }

/* ---------- Generic page hero ---------- */
.page-hero { padding: clamp(60px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -10%; top: -30%;
  width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(76,140,90,0.12), transparent 62%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.03;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { max-width: 56ch; }

/* ---------- About / content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--reverse > .split__media { order: -1; }
@media (min-width: 900px) { .split--reverse > .split__media { order: 0; } }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.split p { margin: 0 0 18px; color: var(--fg-soft); }
.split p:last-child { margin-bottom: 0; }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--mint);
  aspect-ratio: 4 / 3.3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* value list */
.vlist { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.vlist li { display: flex; gap: 14px; font-size: 15.5px; color: var(--fg-soft); line-height: 1.6; }
.vlist li::before {
  content: ""; flex: 0 0 auto; margin-top: 9px;
  width: 8px; height: 8px; border-radius: 3px; background: var(--accent);
}
.vlist li b { font-weight: 600; color: var(--fg); }

/* principles grid (team replacement — monograms) */
.principles { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principle {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.principle .avatar { margin-bottom: 20px; border-radius: 14px; }
.principle b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; }
.principle small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); }
.principle p { margin: 12px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* service rows */
.srv-list { display: flex; flex-direction: column; gap: 0; }
.srv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(34px, 5vw, 52px) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.srv:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 820px) { .srv { grid-template-columns: 0.5fr 1.5fr 1fr; gap: 40px; } }
.srv__idx { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.08em; }
.srv__main h3 { font-size: clamp(1.4rem, 3.2vw, 2rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.srv__main p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.68; max-width: 54ch; }
.srv__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.srv__tags span {
  font-size: 12.5px; color: var(--fg-soft);
  border: 1px solid var(--border); border-radius: 9999px;
  padding: 5px 13px; background: var(--panel);
}

/* pricing-ish engagement cards */
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--panel);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan--featured::before {
  content: "Mais contratado";
  position: absolute; top: -12px; left: 28px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 9999px;
}
.plan h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.plan__scope { font-size: 13.5px; color: var(--muted); margin: 0 0 22px; min-height: 42px; }
.plan__price { font-family: var(--serif); font-weight: 600; font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 4px; }
.plan__price small { font-family: var(--sans); font-weight: 400; font-size: 13px; color: var(--muted); letter-spacing: 0; }
.plan__from { font-size: 12px; color: var(--muted); margin: 0 0 24px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; color: var(--fg-soft); line-height: 1.5; }
.plan li::before { content: ""; flex: 0 0 auto; margin-top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.plan .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 18px; }
.contact-info > p { color: var(--fg-soft); margin: 0 0 30px; }
.cinfo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.cinfo li { display: flex; gap: 16px; align-items: flex-start; }
.cinfo__ico {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: var(--mint); color: var(--accent-deep);
  display: grid; place-items: center;
}
.cinfo__ico svg { width: 22px; height: 22px; }
.cinfo b { display: block; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 4px; }
.cinfo a, .cinfo address { font-style: normal; font-size: 15.5px; color: var(--fg); line-height: 1.5; }
.cinfo a:hover { color: var(--accent-deep); }

.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 500; color: var(--fg-soft);
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(76,140,90,0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-consent { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.55; }
.form-consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* map placeholder */
.map {
  margin-top: clamp(56px, 8vw, 88px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(76,140,90,0.10), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(23,28,20,0.05) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(23,28,20,0.05) 39px),
    var(--bg-alt);
  min-height: 300px;
  position: relative;
  display: grid; place-items: center;
}
.map__pin {
  text-align: center;
}
.map__pin .dot {
  width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(76,140,90,0.2), 0 0 0 18px rgba(76,140,90,0.08);
}
.map__pin b { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; display: block; }
.map__pin small { font-size: 13px; color: var(--muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--fg-soft); font-size: 15.5px; line-height: 1.72; }
.legal p { margin: 0 0 16px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 40px; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.thanks__inner { max-width: 560px; }
.thanks__badge {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 30px;
  background: var(--mint); color: var(--accent-deep); display: grid; place-items: center;
}
.thanks__badge svg { width: 36px; height: 36px; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.035em; margin-bottom: 18px; }
.thanks p { color: var(--fg-soft); margin: 0 auto 32px; max-width: 46ch; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px;
  background: rgba(16,22,14,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--panel);
  padding: 30px 32px;
  max-width: 460px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.cookie-popup__label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 12px;
}
.cookie-popup__card h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.cookie-popup__card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 22px; border-radius: 9999px;
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); flex: 1; }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); transform: translateY(-1px); }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.bg-alt { background: var(--bg-alt); }
