/* ==========================================================================
   Grow Your Business (R) -- Bizfarm
   Design tokens straight from the approved Claude Design export, with the
   two muted "contrast table" labels and gold-block text deliberately tuned
   to clear WCAG AA (4.5:1 body / 3:1 large) -- see README.md for the numbers.
   ========================================================================== */

@font-face{font-family:'Archivo';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/archivo-700.woff2') format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:800;font-display:swap;src:url('../assets/fonts/archivo-800.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/inter-700.woff2') format('woff2');}

:root{
  /* Brand tokens (from the build brief) */
  --forest:#0A3018;
  --green:#008030;
  --gold:#F5C518;
  --amber:#E8A800;
  --brown:#503010;
  --red:#D83030;
  --paper:#F8F8F6;
  --white:#FFFFFF;

  /* Derived surfaces */
  --surface:#EFEEE8;
  --divider: rgba(80,48,16,0.28);
  --divider-soft: rgba(80,48,16,0.2);

  /* Text -- contrast-checked against the backgrounds they're actually used on.
     Ratios below are measured (WCAG relative-luminance formula), not estimated:
       text-body            8.17:1 on surface #EFEEE8
       text-muted-onlight   5.50:1 on surface #EFEEE8  (was ~3.4:1 in the design -- AA fix)
       label-onlight        6.76:1 on surface, 7.39:1 on paper
       label-ongreen        4.68:1 on --green            (was ~3.6:1 in the design -- AA fix)
       text-ondark         10.42:1 on --forest
       text-muted-ondark    7.73:1 on --forest
       forest text on --gold (CTA block)   8.89:1 -- already compliant in the design
     All clear AA (4.5:1 body / 3:1 large text). */
  --text-strong: var(--forest);
  --text-body: rgba(10,48,24,0.85);
  --text-muted-onlight: rgba(10,48,24,0.72);
  --label-onlight: #045F27;
  --label-ongreen: rgba(255,255,255,0.94);
  --text-ondark: rgba(248,248,246,0.86);
  --text-muted-ondark: rgba(248,248,246,0.72);
  --link: var(--green);
  --link-hover: #026B29;

  --radius-none: 0;
  --focus-ring: 3px solid var(--green);

  --container: 1280px;
  --container-narrow: 820px;
  --container-narrow-md: 1000px;
}

@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior:smooth; }
}

*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--paper);
  color:var(--text-strong);
  font-family:'Inter', system-ui, sans-serif;
  line-height:1.5;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
sup{ font-size:0.6em; }

h1, h2, h3{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  letter-spacing:-0.01em;
  margin:0 0 16px;
  color:var(--text-strong);
}
p{ margin:0 0 16px; }
p:last-child{ margin-bottom:0; }

a{ color:var(--link); }
a:hover{ color:var(--link-hover); }

/* Focus states -- visible, in brand green, never removed */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.visually-hidden{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--forest);
  color:var(--paper);
  padding:12px 20px;
  z-index:200;
  text-decoration:none;
  font-weight:600;
}
.skip-link:focus{
  left:8px;
  top:8px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:12px 22px;
  border-radius:var(--radius-none);
  border:2px solid transparent;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .15s ease, border-color .15s ease, color .15s ease;
}
@media (prefers-reduced-motion: reduce){ .btn{ transition:none; } }

.btn-primary{
  background:var(--gold);
  color:var(--forest);
}
.btn-primary:hover{ background:#D9AC0A; color:var(--forest); }
.btn-primary:disabled{ opacity:0.6; cursor:not-allowed; }

.btn-secondary{
  background:transparent;
  border-color:var(--divider);
  color:var(--forest);
}
.btn-secondary:hover{ border-color:var(--forest); }

.btn-block{ width:100%; }

.link-underline{ text-decoration:underline; text-underline-offset:4px; }

/* ---------- Nav ---------- */
.site-nav{
  background:var(--paper);
  border-bottom:2px solid var(--divider);
  position:sticky;
  top:0;
  z-index:50;
  padding:10px 16px;
  display:flex;
  align-items:center;
  gap:10px;
}
.logo-mark{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text-strong);
  flex:none;
}
.nav-logo-img{
  flex:none;
  height:32px;
  width:auto;
}
.logo-divider{
  flex:none;
  width:1px;
  height:22px;
  background:var(--divider);
}
.logo-word{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  font-size:16px;
  letter-spacing:-0.01em;
  white-space:nowrap;
}

.desktop-nav-links{
  display:none;
  align-items:center;
  gap:18px;
  margin-left:16px;
  white-space:nowrap;
  flex:none;
}
.desktop-nav-links a{
  font-size:13.5px;
  text-decoration:none;
  color:var(--text-strong);
  padding:10px 2px;
}

.nav-cta{
  margin-left:auto;
  font-size:14px;
  padding:10px 16px;
  white-space:nowrap;
}

.nav-hamburger{
  margin-left:8px;
  width:44px;
  height:44px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:2px solid var(--divider);
  cursor:pointer;
  flex:none;
}
.nav-hamburger span{
  display:block;
  width:18px;
  height:2px;
  background:var(--forest);
  margin:2px 0;
}

.mobile-nav{
  background:var(--paper);
  border-bottom:2px solid var(--divider);
  display:flex;
  flex-direction:column;
  padding:8px 20px 20px;
  gap:4px;
}
.mobile-nav a{
  font-size:16px;
  text-decoration:none;
  color:var(--text-strong);
  padding:12px 4px;
  min-height:44px;
  display:flex;
  align-items:center;
}
.mobile-nav[hidden]{ display:none; }

@media (min-width:900px){
  .desktop-nav-links{ display:flex; }
  .nav-hamburger{ display:none; }
  .mobile-nav{ display:none !important; }
  .site-nav{ padding:14px 32px; }
}

/* ---------- Hero ---------- */
.hero{
  padding:40px 20px 0;
  max-width:var(--container);
  margin:0 auto;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
  padding-bottom:56px;
}
.hero-content{ max-width:760px; }
.hero-media img{
  width:100%;
  height:auto;
  display:block;
}
.eyebrow{
  font-size:12.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--label-onlight);
  font-weight:600;
  margin-bottom:16px;
}
.hero h1{
  font-size:clamp(32px, 9vw, 68px);
  line-height:1.06;
  margin:0 0 20px;
}
.hero-lede{
  font-size:17px;
  line-height:1.6;
  max-width:620px;
  color:var(--text-body);
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px 24px;
  margin-bottom:20px;
}
.hero-meta{
  font-size:13px;
  color:var(--text-muted-onlight);
  border-top:1px solid var(--divider);
  padding-top:16px;
  max-width:560px;
  margin-bottom:0;
}

@media (min-width:640px){
  .hero{ padding:56px 32px 0; }
  .hero-grid{ padding-bottom:72px; }
}
@media (min-width:900px){
  .hero-grid{ grid-template-columns:1.1fr 1fr; gap:48px; }
}
@media (min-width:1200px){
  .hero{ padding:72px 32px 0; }
  .hero-grid{ gap:64px; padding-bottom:88px; }
}

/* ---------- Credibility strip ---------- */
.cred-strip{
  background:var(--surface);
  border-top:2px solid var(--divider);
  border-bottom:2px solid var(--divider);
  padding:16px 20px;
}
.cred-list{
  list-style:none;
  margin:0;
  padding:0;
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  font-size:12.5px;
  color:var(--text-muted-onlight);
}
.cred-list li{ white-space:nowrap; }

/* ---------- Section shells ---------- */
.section{
  padding:64px 20px;
  max-width:var(--container);
  margin:0 auto;
}
.section--dark{
  background:var(--forest);
  max-width:none;
  padding-left:20px;
  padding-right:20px;
}
.section--dark h2{ color:var(--paper); }
.section--surface{
  background:var(--surface);
  max-width:none;
  padding-left:20px;
  padding-right:20px;
}
.section--gold{
  background:var(--gold);
  max-width:none;
  padding-left:20px;
  padding-right:20px;
}
.section--gold h2, .section--gold p{ color:var(--forest); }

.section-narrow, .section-narrow-md, .section-intro{
  max-width:var(--container-narrow);
  margin:0 auto;
}
.section--dark .section-narrow,
.section--surface .section-narrow,
.section--surface .section-narrow-md{
  margin:0 auto;
}
.section-narrow-md{ max-width:var(--container-narrow-md); }

.section h2{
  font-size:clamp(26px, 6vw, 42px);
  line-height:1.15;
  max-width:680px;
}
.section-lede{
  font-size:16px;
  line-height:1.65;
  color:var(--text-body);
  max-width:700px;
  margin-bottom:32px;
}
.section--dark .section-lede{ color:var(--text-ondark); }

@media (min-width:640px){
  .section{ padding:88px 32px; }
  .section--dark, .section--surface, .section--gold{ padding-left:32px; padding-right:32px; }
}
@media (min-width:1200px){
  .section{ padding:100px 32px; }
}

/* ---------- The gap: contrast table ---------- */
.contrast-table{
  display:grid;
  grid-template-columns:1fr;
  border:2px solid var(--divider);
  margin-bottom:40px;
}
.contrast-col{ padding:24px 20px; }
.contrast-col--weak{ background:var(--surface); }
.contrast-col--strong{ background:var(--green); }
.contrast-col ul{ list-style:none; margin:0; padding:0; }
.contrast-col li{
  padding:12px 0;
  border-top:1px solid var(--divider-soft);
  font-size:15px;
}
.contrast-col--weak li{ color:var(--text-body); }
.contrast-col--strong li{
  color:var(--white);
  font-weight:500;
  border-top-color:rgba(255,255,255,0.25);
}
.col-label{
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-bottom:14px;
  font-weight:600;
}
.contrast-col--weak .col-label{ color:var(--text-muted-onlight); }
.contrast-col--strong .col-label{ color:var(--label-ongreen); }

.pull-statement{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  font-size:clamp(22px, 5vw, 38px);
  line-height:1.25;
  letter-spacing:-0.01em;
  max-width:820px;
}

@media (min-width:640px){
  .contrast-table{ grid-template-columns:1fr 1fr; }
  .contrast-col{ padding:28px; }
}

/* ---------- Checklist (dark section) ---------- */
.checklist{
  list-style:none;
  margin:0 0 40px;
  padding:0;
  display:flex;
  flex-direction:column;
}
.checklist li{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:22px 0;
  border-top:1px solid rgba(248,248,246,0.18);
}
.checklist li p{ margin:0; font-size:17px; line-height:1.55; color:var(--paper); }
.check-mark{
  flex:none;
  width:28px; height:28px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:700;
  margin-top:2px;
}
.section-footnote{
  font-size:15px;
  line-height:1.65;
  color:var(--text-muted-ondark);
  padding-top:28px;
  border-top:1px solid rgba(248,248,246,0.18);
  max-width:680px;
  margin:32px 0 0;
}

/* ---------- What we install ---------- */
.install-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
  background:var(--divider);
}
.install-panel{ background:var(--surface); padding:28px 20px; }
.install-panel--feature{ background:var(--forest); }
.install-panel--bordered{ background:var(--paper); border-top:2px solid var(--divider); }
.col-label--on-dark{ color:var(--gold); }
.install-body{ font-size:15.5px; line-height:1.6; color:var(--text-body); margin:0; }
.install-body--large{ font-size:20px; line-height:1.5; color:var(--paper); }
.install-panel--feature .col-label{ font-size:11px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:14px; font-weight:600; }

@media (min-width:900px){
  .install-grid{ grid-template-columns:1.3fr 1fr; }
  .install-panel--feature{ grid-row:span 2; display:flex; flex-direction:column; justify-content:center; }
  .install-panel{ padding:40px 32px; }
}

/* ---------- Six systems ---------- */
.systems-list{
  list-style:none;
  margin:0;
  padding:0;
}
.systems-list li{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:16px;
  padding:24px 0;
  border-top:2px solid var(--divider);
  align-items:start;
}
.sys-num{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  font-size:36px;
  line-height:1;
  color:var(--gold);
  -webkit-text-stroke:1.2px var(--forest);
}
.systems-list h3{ font-size:18px; margin:0 0 8px; }
.systems-list p{ font-size:15px; line-height:1.6; color:var(--text-body); margin:0; }
.systems-footnote{
  border-top:2px solid var(--divider);
  padding-top:20px;
  font-size:13px;
  color:var(--text-muted-onlight);
}

@media (min-width:640px){
  .systems-list li{ grid-template-columns:100px 1fr; gap:24px; }
  .sys-num{ font-size:52px; -webkit-text-stroke:1.5px var(--forest); }
}

/* ---------- Measurement ---------- */
.measure-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2px;
  background:var(--divider);
  margin-bottom:2px;
}
.measure-card{ background:var(--paper); padding:24px 20px; }
.measure-card p:not(.col-label){ font-size:15px; line-height:1.6; color:var(--text-body); margin:0; }
.measure-card .col-label{ color:var(--label-onlight); }

.callout-gold{
  background:var(--gold);
  padding:28px 20px;
  margin-bottom:32px;
}
.callout-gold p{
  font-size:17px;
  line-height:1.6;
  color:var(--forest);
  max-width:780px;
  margin:0;
}

.evidence-slot{
  border:2px dashed rgba(80,48,16,0.4);
  padding:32px 20px;
  text-align:center;
}
.evidence-slot-label{
  font-family:'Courier New', monospace;
  font-size:13px;
  letter-spacing:0.03em;
  color:var(--text-muted-onlight);
  text-transform:uppercase;
}

@media (min-width:640px){
  .measure-grid{ grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); }
  .measure-card{ padding:32px; }
  .callout-gold{ padding:36px; }
}

/* ---------- B-BBEE ---------- */
.bbbee-body{
  font-size:16px;
  line-height:1.65;
  color:var(--text-ondark);
  margin-bottom:20px;
}
.bbbee-highlight{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  font-size:19px;
  color:var(--gold);
  margin:0;
}

/* ---------- Offer / ladder ---------- */
.ladder{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:1fr;
  border-top:2px solid var(--divider);
  border-left:2px solid var(--divider);
}
.ladder li{
  padding:24px 20px;
  border-right:2px solid var(--divider);
  border-bottom:2px solid var(--divider);
}
.ladder-num{
  font-family:'Archivo', sans-serif;
  font-weight:800;
  font-size:13px;
  color:var(--label-onlight);
  margin:0 0 10px;
}
.ladder h3{ font-size:18px; margin:0 0 10px; }
.ladder p{ font-size:14.5px; line-height:1.55; color:var(--text-body); margin:0; }

@media (min-width:640px){
  .ladder{ grid-template-columns:repeat(2, 1fr); }
}
@media (min-width:1200px){
  .ladder{ grid-template-columns:repeat(4, 1fr); }
}

/* ---------- FAQ ---------- */
.faq-item{
  border-top:1px solid var(--divider);
  padding:18px 0;
}
.faq-item:last-child{ border-bottom:1px solid var(--divider); }
.faq-item summary{
  font-family:'Archivo', sans-serif;
  font-weight:700;
  font-size:16px;
  color:var(--text-strong);
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-height:44px;
  padding:4px 0;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+';
  flex:none;
  color:var(--link-hover);
  font-size:20px;
  font-weight:400;
}
.faq-item[open] summary::after{ content:'\2212'; }
.faq-item p{
  font-size:15px;
  line-height:1.65;
  color:var(--text-body);
  margin:12px 0 0;
}

/* ---------- Nominate / form ---------- */
.nominate-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
}
.nominate-copy{ max-width:680px; }
.nominate-copy p{ font-size:16px; line-height:1.65; }
.nominate-strong{ font-weight:600; }
.nominate-small{ font-size:14px; line-height:1.6; color:rgba(10,48,24,0.85); }

.form-card{
  background:var(--forest);
  padding:24px 20px;
  max-width:640px;
  width:100%;
}

.form-progress{ margin-bottom:20px; }
.form-progress-labels{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
  font-size:12px;
  color:var(--text-muted-ondark);
  text-transform:uppercase;
  letter-spacing:0.06em;
}
.form-progress-track{
  height:4px;
  background:rgba(248,248,246,0.2);
}
.form-progress-bar{
  height:100%;
  background:var(--gold);
  transition:width .2s ease;
}
@media (prefers-reduced-motion: reduce){ .form-progress-bar{ transition:none; } }

.form-error{
  background:rgba(216,48,48,0.15);
  border:1px solid var(--red);
  color:var(--paper);
  padding:12px 14px;
  font-size:14px;
  margin-bottom:16px;
}
.form-error a{ color:var(--gold); }

.field{ margin-bottom:16px; }
.field label{
  display:block;
  font-size:13px;
  color:var(--text-muted-ondark);
  margin-bottom:6px;
}
.input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  background:#123825;
  border:1px solid rgba(248,248,246,0.3);
  color:var(--paper);
  font-family:'Inter', sans-serif;
  font-size:15px;
  border-radius:var(--radius-none);
}
.input::placeholder{ color:rgba(248,248,246,0.45); }
textarea.input{ resize:vertical; }

.field.has-error .input{ border-color:var(--red); }
.field-error{
  color:#FFB3B3;
  font-size:13px;
  margin:6px 0 0;
  min-height:0;
}
.field-error:empty{ display:none; }

.field-checkbox{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.field-checkbox input[type="checkbox"]{
  width:20px;
  height:20px;
  min-width:20px;
  margin-top:2px;
  accent-color:var(--gold);
}
.field-checkbox label{
  font-size:13.5px;
  line-height:1.5;
  color:var(--text-ondark);
  margin:0;
}
.popia-note{
  font-size:12.5px;
  color:var(--text-muted-ondark);
  margin:8px 0 0;
}

.supplier-block{
  border-top:1px solid rgba(248,248,246,0.18);
  padding-top:16px;
  margin-bottom:16px;
}
.supplier-label{
  font-size:13px;
  font-weight:600;
  color:var(--gold);
  margin:0 0 12px;
}
.optional-tag{
  font-weight:400;
  color:var(--text-muted-ondark);
  text-transform:none;
  letter-spacing:normal;
}

.honeypot{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-step-actions{
  display:flex;
  gap:12px;
  margin-top:8px;
}
.form-step-actions .btn-secondary{
  border-color:rgba(248,248,246,0.3);
  color:var(--paper);
}
.form-step-actions .btn-primary{ flex:1; }

.form-success{
  padding:24px 0;
}
.success-check{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  font-size:20px;
  margin-bottom:20px;
}
.form-success p{
  font-size:17px;
  line-height:1.6;
  color:var(--paper);
  margin:0;
}
.form-success[hidden]{ display:none; }

.form-footer{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(248,248,246,0.18);
}
.form-footer-meta{
  font-size:13px;
  color:var(--text-muted-ondark);
  margin-bottom:8px;
}
.form-footer .calendly-link{
  font-size:14px;
  color:var(--gold);
  display:inline-block;
  margin-bottom:8px;
}
.form-footer-contact{
  font-size:13px;
  color:rgba(248,248,246,0.6);
  margin:0;
}

@media (min-width:900px){
  .nominate-grid{ grid-template-columns:1.1fr 1fr; align-items:start; }
  .form-card{ padding:40px; }
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--forest);
  padding:40px 20px 28px;
}
.footer-inner{ max-width:var(--container); margin:0 auto; }
.footer-top{
  display:flex;
  flex-direction:column;
  gap:24px;
  border-bottom:1px solid rgba(248,248,246,0.15);
  padding-bottom:24px;
  margin-bottom:20px;
}
.footer-brand{ display:flex; flex-direction:column; gap:14px; max-width:460px; }
.footer-logo{ background:var(--paper); padding:6px 10px; }
.footer-brand p{
  font-size:12.5px;
  line-height:1.6;
  color:var(--text-muted-ondark);
  margin:0;
}
.footer-links{ display:flex; flex-direction:column; gap:8px; }
.footer-links a{
  font-size:12.5px;
  color:var(--text-muted-ondark);
  text-decoration:none;
}
.footer-links a:hover{ text-decoration:underline; }
.footer-bottom{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:12.5px;
  color:var(--text-muted-ondark);
}

@media (min-width:640px){
  .site-footer{ padding:48px 32px 32px; }
  .footer-top{ flex-direction:row; justify-content:space-between; }
  .footer-bottom{ flex-direction:row; justify-content:space-between; }
}
