
:root {
  --forest: #284A2F;
  --forest-deep: #18321F;
  --forest-soft: #47654C;
  --tan: #D8C5A5;
  --tan-soft: #E9DEC9;
  --cream: #F7F3EA;
  --paper: #FFFDFC;
  --charcoal: #242825;
  --muted: #68706A;
  --line: rgba(40, 74, 47, .18);
  --shadow-sm: 0 8px 24px rgba(24,50,31,.08);
  --shadow-md: 0 20px 55px rgba(24,50,31,.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-h: 84px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--tan); color: var(--forest-deep); }
.skip-link { position: fixed; left: 16px; top: -100px; background: var(--forest); color: white; padding: 12px 18px; z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container-narrow { width: min(calc(100% - 40px), 880px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-tan { background: var(--tan-soft); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-grid-bg { background-image: linear-gradient(rgba(40,74,47,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(40,74,47,.045) 1px, transparent 1px); background-size: 48px 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section-forest .eyebrow { color: var(--tan); }
h1,h2,h3,h4 { margin: 0 0 18px; line-height: 1.08; color: var(--forest-deep); letter-spacing: -.025em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.55rem); max-width: 980px; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
.section-forest h1,.section-forest h2,.section-forest h3,.section-forest h4 { color: var(--cream); }
p { margin: 0 0 22px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.35rem); color: #475049; max-width: 760px; }
.section-forest .lead { color: rgba(247,243,234,.82); }
.text-muted { color: var(--muted); }
.text-small { font-size: .92rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.kicker { font-weight: 700; color: var(--forest); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(247,243,234,.94); border-bottom: 1px solid rgba(40,74,47,.12); backdrop-filter: blur(18px); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 258px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a { color: #39413B; font-weight: 650; font-size: .96rem; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--forest); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--forest); }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s ease, opacity .2s ease; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--tan); box-shadow: 0 10px 24px rgba(40,74,47,.18); }
.btn-primary:hover { background: var(--forest-deep); color: var(--tan-soft); box-shadow: 0 14px 30px rgba(40,74,47,.24); }
.btn-secondary { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-secondary:hover { background: rgba(40,74,47,.06); }
.btn-light { background: var(--cream); color: var(--forest-deep); }
.btn-outline-light { color: var(--cream); border-color: rgba(247,243,234,.55); }
.btn-outline-light:hover { background: rgba(247,243,234,.08); }
.btn-small { min-height: 42px; padding: 10px 18px; font-size: .92rem; }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero { padding: 90px 0 84px; overflow: hidden; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); gap: 64px; align-items: center; }
.hero-copy h1 span { color: var(--forest); }
.hero-copy .lead { margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof-item strong { display: block; font-size: 1.34rem; color: var(--forest-deep); line-height: 1.1; }
.hero-proof-item span { color: var(--muted); font-size: .88rem; }
.hero-visual { position: relative; min-height: 620px; }
.hero-frame { position: absolute; inset: 28px 0 50px 55px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--forest); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(24,50,31,.42)); }
.floating-card { position: absolute; background: rgba(255,253,252,.95); border: 1px solid rgba(40,74,47,.14); box-shadow: var(--shadow-md); border-radius: 20px; padding: 22px; backdrop-filter: blur(14px); }
.floating-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.floating-card p { font-size: .9rem; margin: 0; color: var(--muted); }
.floating-card.metric { left: 0; bottom: 0; width: 250px; }
.metric-number { font-size: 2.7rem; font-weight: 850; line-height: 1; color: var(--forest); display: block; margin-bottom: 6px; }
.floating-card.data { right: -18px; top: 0; width: 230px; }
.mini-curve { margin-top: 12px; width: 100%; height: 55px; }

/* General layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.card { background: var(--paper); border: 1px solid rgba(40,74,47,.12); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-sm); }
.card-flat { border: 1px solid rgba(40,74,47,.16); border-radius: var(--radius-md); padding: 30px; background: transparent; }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--forest); background: var(--tan-soft); margin-bottom: 22px; }
.card-icon svg { width: 25px; height: 25px; }
.image-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--tan-soft); }
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card.landscape { aspect-ratio: 4/3; }
.image-card.portrait { aspect-ratio: 4/5; }
.image-caption { font-size: .83rem; color: var(--muted); margin-top: 12px; }
.feature-list { display: grid; gap: 16px; margin: 26px 0 0; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-mark { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--forest); color: white; display: grid; place-items: center; font-size: .75rem; margin-top: 2px; }
.feature strong { display: block; color: var(--forest-deep); }
.section-forest .feature strong { color: var(--cream); }
.section-forest .feature-mark { background: var(--tan); color: var(--forest-deep); }
.divider { height: 1px; background: var(--line); margin: 36px 0; }

/* Metric rows */
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid rgba(40,74,47,.14); border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.metric-box { padding: 34px 28px; border-right: 1px solid var(--line); }
.metric-box:last-child { border-right: 0; }
.metric-box strong { display: block; color: var(--forest); font-size: clamp(2rem,4vw,3.35rem); line-height: 1; margin-bottom: 10px; }
.metric-box span { color: var(--muted); }

/* Process */
.process-line { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; margin-top: 46px; }
.process-step { position: relative; padding: 22px 18px 22px; border-top: 3px solid var(--tan); background: rgba(255,253,252,.65); border-radius: 0 0 16px 16px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: white; font-weight: 800; margin-bottom: 15px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Page hero */
.page-hero { padding: 88px 0 74px; background: var(--forest); color: var(--cream); overflow: hidden; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(247,243,234,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(247,243,234,.055) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg,transparent,#000); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); max-width: 900px; }
.page-hero .lead { color: rgba(247,243,234,.78); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; color: rgba(247,243,234,.67); font-size: .88rem; margin-bottom: 30px; }
.breadcrumbs a:hover { color: var(--cream); }

/* Charts */
.chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.chart-card { background: var(--paper); border-radius: var(--radius-md); padding: 16px; border: 1px solid rgba(40,74,47,.12); box-shadow: var(--shadow-sm); }
.chart-card img { width: 100%; border-radius: 14px; }
.chart-note { color: var(--muted); font-size: .84rem; margin: 12px 4px 2px; }

/* CTA */
.cta-panel { background: var(--forest); border-radius: var(--radius-lg); padding: 64px; color: var(--cream); position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(247,243,234,.16); border-radius: 50%; right: -130px; top: -190px; box-shadow: 0 0 0 60px rgba(247,243,234,.03),0 0 0 120px rgba(247,243,234,.02); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--cream); max-width: 760px; }
.cta-panel p { color: rgba(247,243,234,.78); max-width: 700px; }

/* Forms */
.form-shell { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 34px; align-items: start; }
.project-form { background: var(--paper); border: 1px solid rgba(40,74,47,.14); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 38px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1/-1; }
.form-group label, .label { font-weight: 750; color: var(--forest-deep); }
.req { color: #8A3F30; }
input, select, textarea { width: 100%; border: 1px solid rgba(40,74,47,.25); background: #fff; color: var(--charcoal); border-radius: 12px; padding: 13px 14px; min-height: 49px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
textarea { min-height: 145px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(40,74,47,.12); }
.checkbox { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: .91rem; }
.checkbox input { width: 18px; min-height: 18px; margin-top: 4px; }
.form-note { background: var(--tan-soft); border-left: 4px solid var(--forest); border-radius: 10px; padding: 15px 17px; color: #4C544E; font-size: .9rem; }
.side-stack { display: grid; gap: 18px; }
.contact-card { border-radius: var(--radius-md); padding: 28px; background: var(--forest); color: var(--cream); }
.contact-card h3 { color: var(--cream); }
.contact-card a { color: var(--tan); font-weight: 800; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin: 13px 0; }
.contact-row svg { flex: 0 0 auto; margin-top: 3px; }
.hidden { display: none !important; }

/* Policies */
.policy-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 52px; align-items: start; }
.policy-nav { position: sticky; top: 112px; border-left: 2px solid var(--tan); padding-left: 20px; display: grid; gap: 10px; }
.policy-nav a { color: var(--muted); font-size: .93rem; }
.policy-nav a:hover { color: var(--forest); }
.policy-content section { scroll-margin-top: 120px; padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.policy-content section:last-child { border-bottom: 0; }
.policy-content h2 { font-size: 2rem; }

/* Footer */
.pre-footer { background: var(--tan-soft); padding: 48px 0; }
.pre-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.pre-footer-logo { width: 180px; }
.site-footer { background: var(--forest-deep); color: rgba(247,243,234,.78); padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 50px; }
.site-footer h3 { color: var(--cream); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: rgba(247,243,234,.78); }
.site-footer a:hover { color: var(--tan); }
.footer-links { display: grid; gap: 11px; }
.footer-brand img { width: 255px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 430px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(247,243,234,.14); margin-top: 42px; padding-top: 24px; font-size: .85rem; }

/* Utilities */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 13px; border: 1px solid rgba(40,74,47,.18); border-radius: 999px; color: var(--forest); background: rgba(255,253,252,.65); font-weight: 700; font-size: .86rem; }
.quote { border-left: 4px solid var(--tan); padding: 8px 0 8px 28px; font-size: 1.35rem; color: var(--forest-deep); }
.notice { padding: 20px 22px; background: var(--tan-soft); border-radius: var(--radius-sm); border: 1px solid rgba(40,74,47,.12); }
.logo-mark-bg { position: absolute; right: -80px; bottom: -120px; width: 420px; opacity: .045; pointer-events: none; }


/* Updated validation and process layouts */
figure { margin: 0; }
.data-summary {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.data-summary > div {
  min-height: 126px;
  padding: 24px 22px;
  border: 1px solid rgba(40,74,47,.14);
  background: var(--cream);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.data-summary strong {
  display: block;
  color: var(--forest);
  font-size: clamp(1.85rem,3.2vw,2.8rem);
  line-height: 1;
  margin-bottom: 8px;
}
.data-summary span { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.chart-preview-grid, .validation-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 26px;
  margin-top: 38px;
}
.chart-preview-grid .chart-card, .validation-card { overflow: hidden; }
.chart-preview-grid figcaption {
  padding: 13px 6px 3px;
  color: var(--muted);
  font-size: .86rem;
}
.validation-card {
  background: var(--paper);
  border: 1px solid rgba(40,74,47,.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.validation-card img { width: 100%; }
.validation-copy { padding: 28px 30px 30px; }
.validation-copy h3 { margin-bottom: 10px; }
.validation-copy p:last-child { margin-bottom: 0; }
.data-disclaimer {
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 4px solid var(--tan);
  background: rgba(216,197,165,.24);
  border-radius: 10px;
  color: var(--muted);
  font-size: .9rem;
}
.process-photo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.process-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-photo span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24,50,31,.9);
  color: var(--tan-soft);
  font-weight: 750;
  font-size: .84rem;
  box-shadow: var(--shadow-sm);
}
.clean-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.clean-list li { position: relative; padding-left: 28px; }
.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forest);
  font-weight: 900;
}
.success-note {
  display: none;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #edf4ee;
  border: 1px solid rgba(40,74,47,.22);
  color: var(--forest-deep);
}
.success-note.is-visible { display: block; }
.error-page { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.error-page .actions { justify-content: center; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .site-nav { gap: 18px; }
  .site-nav .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; max-width: 760px; width: 100%; }
  .grid-4, .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-box:nth-child(2) { border-right: 0; }
  .metric-box:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-line { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .form-shell { grid-template-columns: 1fr; }
  .chart-preview-grid, .validation-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --header-h: 74px; }
  .section { padding: 78px 0; }
  .brand img { width: 220px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--line); display: grid; gap: 0; padding: 14px 20px 24px; transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .25s ease; box-shadow: var(--shadow-md); }
  .site-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border: 0; }
  .site-nav .btn { display: inline-flex; margin-top: 12px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .grid-2,.grid-3,.chart-grid,.footer-grid,.policy-layout,.process-photo-grid { grid-template-columns: 1fr; }
  .policy-nav { position: static; }
  .process-line { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pre-footer-inner { align-items: flex-start; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 600px) {
  .container,.container-narrow { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .hero-proof { gap: 18px; }
  .hero-proof-item { width: calc(50% - 10px); }
  .hero-visual { min-height: 440px; }
  .hero-frame { inset: 25px 0 58px 18px; }
  .floating-card.data { right: -2px; width: 185px; padding: 16px; }
  .floating-card.metric { width: 205px; padding: 17px; }
  .metric-number { font-size: 2.15rem; }
  .grid-4,.metrics,.process-line,.form-grid,.data-summary { grid-template-columns: 1fr; }
  .metric-box { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-box:last-child { border-bottom: 0; }
  .cta-panel { padding: 42px 26px; }
  .project-form { padding: 25px 19px; }
  .pre-footer-inner,.footer-bottom { flex-direction: column; align-items: flex-start; }
  .pre-footer-logo { width: 130px; }
  .footer-brand img { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
