:root{
  --bg: #ffffff;
  --bg-soft: #f7f9f8;
  --text: #1f2933;
  --muted: #5f6b66;
  --line: #e3e8e5;

  --accent: #8b5e34;   /* warm farm brown */
  --accent2: #3a7d44;  /* natural green */

  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 16px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
.wrap{ width: min(var(--max), calc(100% - 40px)); margin:0 auto; }

/* Top bar */
.topbar{
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top:0;
  z-index: 20;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}


.site-logo{
  height: 48px;        /* desktop header size */
  width: auto;
  display: block;
}

.site-name{
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

/* Footer logo smaller */
.site-logo-footer{
  height: 34px;
}

/* Ensure brand alignment */
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}


.nav{
  display:flex;
  gap: 18px;
  align-items:center;
}
.nav a{
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

/* Fix nav primary button text on hover */
.nav .btn-primary,
.nav .btn-primary:hover,
.nav .btn-primary:focus{
  color: #ffffff !important;
}

/* Prevent nav hover styles breaking primary button */
.nav .btn-primary:hover{
  background: var(--accent2);
}

/* Active navigation link */
.nav a.active{
  color: var(--accent2);
  font-weight: 800;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* Active state in mobile menu */
.mobile-panel a.active{
  color: var(--accent2);
  font-weight: 800;
  background: var(--bg-soft);
}

/* If we're already on Ordering, soften the CTA button */
.nav .btn-primary.active-btn{
  opacity: .9;
  box-shadow: none;
  cursor: default;
}



.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing:.2px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

.btn:hover{
  transform: translateY(-1px);
  background: var(--bg-soft);
  border-color: #d4dcd8;
}
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--accent2);
  color: #ffffff;
  border-color: var(--accent2);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

.btn-primary:hover{
  background: #2f6b3a;
}

/* Ensure primary button text is visible in navigation */
.nav .btn-primary{
  color: #ffffff;
}

.nav .btn-primary:hover{
  color: #ffffff;
}

.btn-ghost{ background: transparent; }
.btn-full{ width:100%; margin-top:10px; }

/* Mobile nav */
.hamburger{
  display:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.hamburger span{
  display:block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
  opacity: .9;
}
.mobile-panel{
  display:none;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
}
.mobile-panel a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
}
.mobile-panel a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}

/* Hero */
.hero{ padding: 64px 0 26px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: stretch;
}
.hero h1{
  font-size: clamp(32px, 4.1vw, 54px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -.6px;
}
.hero p{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 55ch;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin: 18px 0 18px;
}

.hero-image{
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  object-fit: cover;
}


.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}
.pill{
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  color: var(--muted);
}

.pill strong{ color: var(--text); font-weight: 800; }

.hero-card{
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative; /* IMPORTANT */
  overflow: hidden;   /* keeps the glow tidy */
}


.hero-card::before{
  content:"";
  position:absolute;
  inset:-80px -80px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(126,224,129,.32), transparent 60%);
  transform: rotate(20deg);
  pointer-events:none;
}
.hero-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -.2px;
}
.hero-card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero-card li{ margin: 7px 0; }
.hero-card .small{
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.small-no-border{ border-top:0 !important; padding-top:0 !important; }

.kbd{
  display:inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.16);
  color: var(--text);
}

.button-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Sections */
section{ padding: 28px 0; }
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section-title h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -.2px;
}
.section-title p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); font-size: 14px; }
.card a.inline{
  display:inline-flex;
  margin-top: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  opacity: .95;
}
.card a.inline:hover{ text-decoration: underline; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.note{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.note h3{ margin:0 0 8px; font-size: 16px; }
.note p{ margin:0; color: var(--muted); font-size: 14px; }
.note .muted{ color: var(--muted); margin-top: 10px; font-size: 13px; }

.note-green{
  background: #ffffff;
  border-color: rgba(58,125,68,.25);
}


.strong{ color: var(--text); }
.link-strong{
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA */
.cta-section{ padding-bottom: 40px; }
.card-cta{
  background: linear-gradient(135deg, rgba(242,193,78,.17), rgba(255,255,255,.04));
  border-color: rgba(242,193,78,.25);
}
.section-title-tight{ margin-bottom: 6px; }
.cta-h2{ font-size:20px; }
.cta-p{ max-width:60ch; }
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 12px;
}

/* Footer */
footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  align-items:start;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  justify-content:flex-end;
}
.footer-links a{
  color: var(--muted);
  font-weight: 650;
}
.footer-links a:hover{
  color: var(--text);
  text-decoration: underline;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}

.footer-strong{ color: var(--text); }
.dot{ margin: 0 10px; }
.footer-copy{ margin-top:10px; font-size:13px; opacity:.95; }

.footer-copy-row{
  display:flex;
  align-items:center;
}

.footer-copy-row span:first-child{
  flex: 1;
}

.footer-credit{
  text-align:right;
  font-size:13px;
  opacity:.9;
  white-space: nowrap;
}


/* Accessibility */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}
:focus-visible{
  outline: 3px solid rgba(242,193,78,.75);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .hamburger{ display:inline-block; }
  .mobile-panel{ display:none; }
  .mobile-panel.is-open{ display:block; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-links{ justify-content:flex-start; }
}
