@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

:root{
  --ink:#1E1F1C;      /* Charcoal */
  --muted:#3A3C38;    /* Structural gray */
  --accent:#4F6F52;   /* Muted signal green */
  --accent2:#9FB8A0;  /* Soft highlight green */
  --bg:#F4F5F2;       /* Warm white */
  --card:#FFFFFF;

  --max:1100px;
  --r:18px;
  --shadow:0 16px 40px rgba(0,0,0,.08);

  --s1:.5rem;
  --s2:1rem;
  --s3:1.5rem;
  --s4:2.25rem;
  --s5:3rem;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Source Sans Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--s3);
}

.section{
  padding:var(--s5) 0;
}

.section-title{
  font-size:clamp(1.5rem, 1.1rem + 1vw, 2.1rem);
  line-height:1.15;
  margin:0 0 var(--s2);
  letter-spacing:.01em;
}

.section-lead{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}

.hr{
  border:0;
  border-top:1px solid rgba(58,60,56,.14);
  margin:0;
}

/* Header / Nav */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(244,245,242,.9);
  backdrop-filter:saturate(120%) blur(10px);
  border-bottom:1px solid rgba(58,60,56,.12);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--s3);
  padding:var(--s2) 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:var(--s2);
  text-decoration:none;
  min-width:0;
}
.brand-logo{
  width:44px;
  height:44px;
  border-radius:14px;
  background:rgba(79,111,82,.10);
  object-fit:contain;
  padding:8px;
}
.brand-name{
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.05;
}
.brand-tagline{
  color:var(--muted);
  font-size:.95rem;
  line-height:1.2;
  max-width:50ch;
}

.nav{
  position:relative;
}
.nav-toggle{
  list-style:none;
  cursor:pointer;
  user-select:none;
  padding:.6rem .9rem;
  border-radius:999px;
  border:1px solid rgba(58,60,56,.18);
  background:transparent;
  color:var(--ink);
  font-weight:700;
}
.nav-toggle::-webkit-details-marker{ display:none; }

.nav-menu{
  display:flex;
  gap:.75rem;
  align-items:center;
}
.nav-link{
  text-decoration:none;
  color:var(--muted);
  padding:.55rem .75rem;
  border-radius:999px;
  font-weight:700;
}
.nav-link:hover{
  color:var(--ink);
  background:rgba(159,184,160,.18);
}
.nav-link.is-active{
  color:var(--ink);
  background:rgba(79,111,82,.16);
  border:1px solid rgba(79,111,82,.22);
}

@media (min-width: 860px){
  .nav-toggle{ display:none; }
}
@media (max-width: 859px){
  .brand-tagline{ display:none; }
  .nav-menu{
    position:absolute;
    right:0;
    top:calc(100% + .5rem);
    background:var(--bg);
    border:1px solid rgba(58,60,56,.18);
    border-radius:var(--r);
    box-shadow:var(--shadow);
    padding:.6rem;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-width:220px;
  }
  .nav-link{ width:100%; }
}

/* Hero */
.hero{
  padding:var(--s5) 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:var(--s4);
  align-items:center;
}
.hero h1{
  font-size:clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height:1.05;
  margin:0 0 var(--s2);
}
.hero p{
  margin:0 0 var(--s3);
  color:var(--muted);
  max-width:70ch;
}
.hero-card{
  background:var(--card);
  border:1px solid rgba(58,60,56,.12);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:var(--s3);
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:var(--s2);
}
.pill{
  display:inline-flex;
  gap:.4rem;
  align-items:center;
  padding:.35rem .6rem;
  border-radius:999px;
  background:rgba(79,111,82,.12);
  border:1px solid rgba(79,111,82,.20);
  color:var(--ink);
  font-weight:700;
  font-size:.9rem;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* Buttons */
.btn-row{ display:flex; flex-wrap:wrap; gap:.75rem; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1.05rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--accent);
  color:var(--bg);
  border-color:rgba(79,111,82,.35);
}
.btn-primary:hover{ filter:brightness(.96); }
.btn-ghost{
  background:transparent;
  border-color:rgba(58,60,56,.22);
  color:var(--ink);
}
.btn-ghost:hover{ background:rgba(58,60,56,.06); }

/* Cards / grids */
.grid{
  display:grid;
  gap:var(--s3);
}
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
@media (max-width: 980px){
  .grid-3{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid-3, .grid-2{ grid-template-columns:1fr; }
}
.card{
  background:var(--card);
  border:1px solid rgba(58,60,56,.12);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:var(--s3);
}
.card h3{
  margin:0 0 .5rem;
  line-height:1.2;
}
.card p{
  margin:0;
  color:var(--muted);
}

/* Video grid */
.video-grid{
  display:grid;
  gap:var(--s3);
  grid-template-columns:repeat(3, minmax(0,1fr));
}
@media (max-width: 980px){
  .video-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .video-grid{ grid-template-columns:1fr; }
}
.video{
  width:100%;
  border-radius:14px;
  display:block;
  background:#000;
}

/* Footer */
.footer{
  padding:var(--s4) 0;
  border-top:1px solid rgba(58,60,56,.14);
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:var(--s3);
  align-items:center;
  justify-content:space-between;
}
.footer small{ color:var(--muted); }

