/* Braden Insights — brand system (forest/emerald) */
:root {
  --forest: #0D3B1F; --emerald: #1B7340; --tint: #EAF5EE;
  --ink: #1F1F1F; --muted: #58605A; --line: #D9E2DC; --paper: #FBFBF9;
  --warm: #A84B2F;
  --font-head: 'DM Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
  --maxw: 68rem;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 1rem; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--s2); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 var(--s2); }
a { color: var(--emerald); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Nav */
nav { background: var(--forest); }
nav .wrap { display: flex; align-items: center; gap: 1.6rem; padding-top: .9rem; padding-bottom: .9rem; }
nav a { color: #fff; text-decoration: none; font-size: .92rem; opacity: .85; }
nav a:hover { opacity: 1; }
nav .logo { display: flex; align-items: center; gap: .6rem; opacity: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
nav .spacer { flex: 1; }
nav .cta { border: 1px solid rgba(255,255,255,.5); padding: .42rem .9rem; border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--forest) 0%, #114A28 100%); color: #fff; padding: var(--s6) 0 var(--s5); }
.hero h1 { max-width: 34ch; }
.hero p.lede { font-size: 1.15rem; max-width: 52ch; opacity: .88; }
.hero .actions { margin-top: var(--s3); display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: 2px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.btn.primary { background: #fff; color: var(--forest); }
.btn.ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn.solid { background: var(--forest); color: #fff; }
.btn.outline { border: 1.5px solid var(--forest); color: var(--forest); }

/* Stats band */
.stats { background: var(--tint); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); padding-top: var(--s4); padding-bottom: var(--s4); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--forest); }
.stat span { font-size: .85rem; color: var(--muted); }

/* Sections */
section { padding: var(--s5) 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: var(--s1); }

/* Cards */
.grid { display: grid; gap: var(--s3); }
.grid.cols3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--emerald); padding: var(--s3); }
.card h3 { color: var(--forest); }
.card .meta { font-size: .84rem; color: var(--muted); }
.badge { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .55rem; border-radius: 2px; background: var(--tint); color: var(--emerald); margin-bottom: .6rem; }
.badge.band { background: #F5EFE9; color: var(--warm); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: var(--s2); }
.step { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--line); padding: var(--s2) var(--s3); }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--forest); width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: .15rem; }

/* Tables */
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th { background: var(--emerald); color: #fff; text-align: left; padding: .6rem .8rem; font-family: var(--font-head); font-weight: 600; }
td { border: 1px solid var(--line); padding: .55rem .8rem; }
tr:nth-child(even) td { background: var(--tint); }

/* Forms */
form.access { display: grid; gap: var(--s2); max-width: 34rem; }
label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--forest); display: grid; gap: .35rem; }
input, select, textarea { font-family: var(--font-body); font-size: 1rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--emerald); border-color: var(--emerald); }

/* Footer */
footer { background: var(--forest); color: #fff; padding: var(--s4) 0; margin-top: var(--s5); }
footer .wrap { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; font-size: .85rem; }
footer a { color: #fff; opacity: .8; text-decoration: none; margin-right: 1.2rem; }
footer .fineprint { opacity: .55; width: 100%; margin-top: var(--s2); font-size: .78rem; }
@media (max-width: 640px) { nav .wrap { flex-wrap: wrap; gap: .8rem; } .hero { padding: var(--s4) 0; } }
