:root {
  --forest: #173e35;
  --forest2: #245447;
  --sage: #8db6a0;
  --ivory: #f6f3eb;
  --ink: #222725;
  --muted: #68756e;
  --line: #dfe7e1;
  --terra: #c87854;
  --white: #fff;
  --shadow: 0 12px 32px rgba(17, 48, 38, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f2f5f2;
  color: var(--ink);
  font: 15px/1.55 Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 255px;
  background: var(--forest);
  color: var(--ivory);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand { padding: 3px 8px 22px; border-bottom: 1px solid #ffffff22; }
.brand img { width: 190px; max-width: 100%; height: auto; }
.brand small {
  display: block; color: #b4d0bf; letter-spacing: .15em;
  font-size: 10px; text-transform: uppercase; margin-top: 7px;
}
.nav { overflow: auto; padding: 16px 0; display: grid; gap: 3px; }
.nav a {
  color: #e8efe9; text-decoration: none; padding: 10px 11px;
  border-radius: 10px; font-size: 13px; display: flex; gap: 10px;
}
.nav a:hover, .nav a.active { background: #ffffff16; color: white; }
.nav i { width: 20px; font-style: normal; text-align: center; }
.sidefoot {
  margin-top: auto; padding: 12px; border: 1px solid #ffffff25;
  border-radius: 12px; font-size: 11px; color: #cad9cf;
}
.sidefoot b { display: block; color: white; margin-bottom: 3px; }

/* MAIN */
main { margin-left: 255px; padding: 28px clamp(18px, 4vw, 52px) 65px; max-width: 1500px; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 15px; margin-bottom: 22px;
}
.crumb { font-size: 12px; color: var(--muted); }
.buttons { display: flex; gap: 8px; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  text-decoration: none; padding: 9px 13px; border: 1px solid var(--line);
  border-radius: 10px; background: white; color: var(--forest);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.btn.primary { background: var(--forest); color: white; border-color: var(--forest); }

/* HERO */
.hero {
  background: linear-gradient(115deg, #173e35, #2b6654); color: white;
  padding: clamp(25px, 4vw, 42px); border-radius: 20px; position: relative;
  overflow: hidden; box-shadow: var(--shadow);
}
.hero:after {
  content: ""; position: absolute; right: -80px; top: -100px;
  width: 360px; height: 440px;
  background: linear-gradient(140deg, transparent 40%, #8db6a025 41% 58%, transparent 59%);
  transform: rotate(14deg);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 10px;
  font-weight: 800; color: var(--sage); margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(26px, 3.5vw, 40px); line-height: 1.14; margin: 0 0 10px;
  max-width: 640px; position: relative; z-index: 1;
}
.hero p {
  color: #dce8e1; max-width: 650px; margin: 0 0 18px;
  position: relative; z-index: 1;
}
.hero .btn { position: relative; z-index: 1; background: var(--ivory); border-color: var(--ivory); }

/* STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 15px; }
.stat strong { display: block; font-size: 22px; color: var(--forest); }
.stat span { font-size: 11px; color: var(--muted); }

/* SECTIONS */
section { scroll-margin-top: 18px; margin: 31px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 13px; }
.head h2 { margin: 0; color: var(--forest); font-size: 21px; }
.head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.card {
  background: white; border: 1px solid var(--line); border-radius: 15px;
  padding: 17px; transition: .15s; box-shadow: 0 3px 10px #12332604;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ico {
  width: 38px; height: 38px; background: #eaf1ec; color: var(--forest);
  border-radius: 11px; display: grid; place-items: center; font-size: 18px; margin-bottom: 10px;
}
.card h3 { margin: 0 0 5px; color: var(--forest); font-size: 14px; }
.card p { font-size: 12px; color: var(--muted); margin: 0 0 12px; }

/* LINKS */
.links { display: flex; flex-wrap: wrap; gap: 7px; }
.small {
  font-size: 11px; font-weight: 700; text-decoration: none; color: var(--forest);
  background: #f0f5f1; border: 1px solid #e1e9e2; padding: 7px 9px; border-radius: 8px;
}
.small:hover { background: #e1ece5; }

/* CHECKLIST */
.rows { display: grid; gap: 8px; }
.rowitem {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: white; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
}
.rowitem strong { font-size: 12px; }
.rowitem small { display: block; color: var(--muted); font-size: 11px; }
.tag {
  font-size: 10px; font-weight: 800; color: var(--forest); background: #edf3ee;
  padding: 5px 8px; border-radius: 7px; white-space: nowrap;
}

/* NOTES */
.note {
  background: #fff8f1; border-left: 3px solid var(--terra);
  padding: 12px 15px; border-radius: 0 10px 10px 0;
  font-size: 12px; color: #695342;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px;
  color: var(--muted); font-size: 11px; display: flex; justify-content: space-between;
  gap: 15px; flex-wrap: wrap;
}

/* TABLET */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* MOBILE */
@media (max-width: 720px) {
  .sidebar { position: relative; width: 100%; height: auto; padding: 13px; }
  .brand { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 10px; }
  .brand img { width: 155px; }
  .nav { display: flex; overflow-x: auto; padding: 9px 0; gap: 4px; }
  .nav a { white-space: nowrap; padding: 9px; }
  .sidefoot { display: none; }
  main { margin: 0; padding: 15px; }
  .top { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero { border-radius: 15px; }
  .rowitem { align-items: flex-start; }
  .rowitem .tag { display: none; }
}
