/* ==========================================================================
   Minimus Fulfillment — site stylesheet
   Palette: deep green / warm sand / charcoal, copper accent
   ========================================================================== */

:root {
  /* Brand */
  --green-900: #0F2719;
  --green-800: #143421;
  --green-700: #1B4530;
  --green-600: #24593D;
  --green-500: #2F7350;
  --green-300: #7FAE94;
  --green-100: #DCE8E0;

  --sand-50:  #FCFAF5;
  --sand-100: #F5F0E4;
  --sand-200: #EAE1CE;
  --sand-300: #D9CCB2;

  --copper:   #A6602E;
  --copper-l: #C87F45;

  --ink:      #191C19;
  --ink-70:   #3A403B;
  --ink-60:   #2F3531;
  --ink-50:   #5C635D;
  --line:     #DED8C9;
  --white:    #FFFFFF;

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1180px;
  --maxw-narrow: 720px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(25,28,25,.06), 0 2px 8px rgba(25,28,25,.05);
  --shadow-md: 0 2px 6px rgba(25,28,25,.07), 0 12px 32px rgba(25,28,25,.08);
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--copper); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: -0.011em; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.16rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.03rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.section--sand { background: var(--sand-50); }
.section--sand-2 { background: var(--sand-100); }
.section--green { background: var(--green-800); color: var(--sand-100); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green a { color: var(--green-300); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--ink-60); }
.eyebrow {
  font-family: var(--font-body); font-size: .76rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin: 0 0 .85rem;
}
.section--green .eyebrow { color: var(--green-300); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 8px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-600); color: #fff; }
.btn--copper { background: var(--copper); color: #fff; }
.btn--copper:hover { background: var(--copper-l); color: #fff; }
.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--light { background: var(--sand-100); color: var(--green-900); }
.btn--light:hover { background: #fff; color: var(--green-900); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand svg { height: 38px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--green-900); line-height: 1.05; letter-spacing: -.015em; }
.brand-name span { display: block; font-family: var(--font-body); font-size: .63rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--copper); margin-top: 3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-size: .935rem; font-weight: 520; color: var(--ink-70); text-decoration: none;
  padding: .5rem .7rem; border-radius: 6px; white-space: nowrap;
}
.nav a:hover { color: var(--green-700); background: var(--sand-100); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--green-800); font-weight: 620; }
.nav a.btn { margin-left: .5rem; padding: .72rem 1.15rem; font-size: .92rem; color: #fff; background: var(--green-700); }
.nav a.btn:hover { background: var(--green-600); color: #fff; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1.5px solid var(--line);
  border-radius: 7px; padding: .55rem .7rem; cursor: pointer; color: var(--green-800);
  font: inherit; font-size: .85rem; font-weight: 600; align-items: center; gap: .45rem;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: .6rem var(--gutter) 1.2rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .78rem .2rem; border-bottom: 1px solid var(--sand-200); border-radius: 0; }
  .nav .btn { margin: .9rem 0 0; justify-content: center; border-bottom: 0; }
}

/* --------------------------------------------------------------- hero */
.hero { background: var(--green-900); color: var(--sand-100); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 90% at 88% 12%, rgba(47,115,80,.5), transparent 62%),
    radial-gradient(ellipse 60% 70% at 5% 95%, rgba(166,96,46,.22), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding-block: clamp(3.25rem, 7vw, 6rem); max-width: 50rem; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .lede { color: rgba(255,255,255,.88); max-width: 40rem; }
.hero .eyebrow { color: var(--green-300); }

.statbar { border-top: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.16); }
.statbar .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,170px), 1fr)); gap: 1.5rem 2rem; padding-block: 1.75rem; position: relative; z-index: 1; }
.stat dt { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); color: #fff; line-height: 1.1; font-weight: 600; }
.stat dd { margin: .3rem 0 0; font-size: .84rem; line-height: 1.45; color: rgba(255,255,255,.68); }

/* --------------------------------------------------------------- page header (interior) */
.page-head { background: var(--green-800); color: #fff; }
.page-head .wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { color: #fff; max-width: 22ch; }
.page-head .lede { color: rgba(255,255,255,.88); max-width: 44rem; margin-bottom: 0; }
.page-head .eyebrow { color: var(--green-300); }

.crumbs { font-size: .82rem; color: rgba(255,255,255,.62); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { padding: 0 .4rem; opacity: .5; }

/* --------------------------------------------------------------- answer box (GEO) */
.answer {
  background: var(--sand-100); border-left: 4px solid var(--green-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.35rem 1.5rem; margin: 0 0 2rem;
}
.answer p:last-child { margin-bottom: 0; }
.answer p { font-size: 1.05rem; color: var(--ink); }

/* --------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.2vw, 1.85rem); box-shadow: var(--shadow-sm);
}
.section--sand .card, .section--sand-2 .card { background: #fff; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { display: block; text-decoration: none; color: inherit; transition: border-color .16s, box-shadow .16s, transform .16s; }
.card--link:hover { border-color: var(--green-300); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.card--link .more { display: inline-block; margin-top: .9rem; font-size: .88rem; font-weight: 620; color: var(--green-600); }
.card--link:hover .more { color: var(--copper); }
.card .icon {
  width: 40px; height: 40px; border-radius: 9px; background: var(--green-100);
  color: var(--green-700); display: grid; place-items: center; margin-bottom: 1rem;
}
.card .icon svg { width: 21px; height: 21px; }

.card--flat { background: transparent; border: 0; box-shadow: none; padding: 0; }
.card--flat h3 { font-size: 1.08rem; }

/* --------------------------------------------------------------- split */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
.figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand-100); }
.figure img { width: 100%; object-fit: cover; }
.figure figcaption { font-size: .82rem; color: var(--ink-50); padding: .7rem .95rem; background: #fff; border-top: 1px solid var(--line); }
.ph {
  aspect-ratio: 4 / 3; display: grid; place-content: center; text-align: center; gap: .4rem;
  background: repeating-linear-gradient(135deg, var(--sand-100) 0 12px, var(--sand-200) 12px 24px);
  color: var(--ink-50); font-size: .8rem; padding: 2rem;
}
.ph strong { display: block; font-size: .9rem; color: var(--ink-70); }

/* --------------------------------------------------------------- lists */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.85rem; margin-bottom: .65rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 1.1rem; height: .6rem;
  border-left: 2.5px solid var(--green-500); border-bottom: 2.5px solid var(--green-500);
  transform: rotate(-45deg);
}
.section--green .checklist li::before { border-color: var(--green-300); }

.numlist { list-style: none; padding: 0; counter-reset: n; }
.numlist li { counter-increment: n; position: relative; padding-left: 2.6rem; margin-bottom: 1.1rem; }
.numlist li::before {
  content: counter(n); position: absolute; left: 0; top: -.05em;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--green-700); color: #fff;
  font-family: var(--font-body); font-size: .85rem; font-weight: 650; display: grid; place-items: center;
}
.numlist li strong { display: block; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0 0 1.2rem; }
.tags li {
  margin: 0; font-size: .85rem; font-weight: 550; padding: .4rem .8rem;
  background: var(--sand-100); border: 1px solid var(--sand-200); border-radius: 100px; color: var(--ink-70);
}

/* --------------------------------------------------------------- table */
.table-scroll { overflow-x: auto; margin: 0 0 1.5rem; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .94rem; }
caption { text-align: left; font-size: .85rem; color: var(--ink-50); padding-bottom: .7rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--green-800); color: #fff; font-weight: 600; font-size: .84rem; letter-spacing: .03em; text-transform: uppercase; border-bottom: 0; }
thead th:first-child { border-top-left-radius: 8px; }
thead th:last-child { border-top-right-radius: 8px; }
tbody tr:nth-child(even) { background: var(--sand-50); }
td strong { color: var(--green-800); }

/* --------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--green-900); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 1.55rem;
  width: .62rem; height: .62rem; border-right: 2.5px solid var(--green-600); border-bottom: 2.5px solid var(--green-600);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq summary:hover { color: var(--copper); }
.faq .faq-body { padding: 0 0 1.35rem; max-width: 52rem; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- cta band */
.cta-band { background: var(--green-800); color: #fff; }
.cta-band .wrap { padding-block: clamp(2.75rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { color: #fff; max-width: 26ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 46rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

.callout {
  background: var(--sand-100); border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg); padding: clamp(1.35rem, 2.5vw, 2rem);
}
.callout h3 { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout--copper { background: #FBF3EC; border-color: #EBD6C4; }

/* --------------------------------------------------------------- form */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .88rem; font-weight: 620; color: var(--green-900); margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--ink-50); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-500); outline: none; box-shadow: 0 0 0 3px rgba(47,115,80,.15); }
.field textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .84rem; color: var(--ink-50); }
.alert { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: .95rem; }
.alert--ok { background: #E7F2EB; border: 1px solid var(--green-300); color: var(--green-800); }
.alert--err { background: #FBEDE7; border: 1px solid #E4B79C; color: #8A3D16; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); font-size: .92rem; }
.site-footer .wrap { padding-block: clamp(2.75rem, 5vw, 4rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer-grid > div:first-child { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.45fr 1fr 1fr 1.05fr; } }
.footer-group + .footer-group { margin-top: 1.9rem; }
.site-footer h4 { color: #fff; font-size: .76rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 650; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-name { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .84rem; color: rgba(255,255,255,.55);
}
.footer-regs { font-size: .84rem; line-height: 1.6; color: rgba(255,255,255,.6); margin-top: 1.1rem; }

/* --------------------------------------------------------------- misc */
.updated { font-size: .82rem; color: var(--ink-50); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
