/* ═══ YardHelm corporate site — shared system · GREEN + WHITE ═══ */
:root {
  --white: #ffffff;
  --mint: #f3faf6;          /* alternating section wash */
  --mint-2: #e9f6ef;
  --tint: #ecfdf5;          /* chips, icon plates */
  --tint-2: #d1fae5;
  --line: #ddede4;          /* green-tinted hairline */
  --line-2: #b7e3cd;
  --green: #059669;         /* brand */
  --green-deep: #047857;
  --green-ink: #065f46;
  --ink: #0b1f17;           /* near-black, green family */
  --ink-2: #24443a;
  --muted: #4c685c;         /* 6:1 on white */
  --dark: #06281d;          /* deep-green accent panels */
  --dark-2: #0a3a2a;
  --dark-line: rgba(167, 243, 208, .22);
  --dark-text: #eafcf3;
  --dark-muted: #9ec9b4;
  --glow: rgba(5, 150, 105, .3);
  --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --w: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--ink-2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; color: var(--ink); letter-spacing: -.02em; }
code, .mono { font-family: 'JetBrains Mono', Consolas, monospace; }
a { color: var(--green-deep); text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 200; font-weight: 700; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* reveal system */
.js .rv { opacity: 0; transform: translateY(20px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }

/* ── header ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(6, 40, 29, .35); }
.nav-in { max-width: var(--w); margin: 0 auto; padding: 0 24px; height: 70px; display: flex; align-items: center; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: 'Sora'; font-weight: 800; font-size: 19px; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 600; padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--green-deep); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--green-deep); background: var(--tint); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border-radius: 999px; font-weight: 600;
  font-size: 15px; font-family: 'Inter'; padding: 12px 24px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s, color .25s; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, #065f46, var(--green-deep) 55%, var(--green)); color: #fff;
  box-shadow: 0 10px 26px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px var(--glow); }
.btn-ghost { color: var(--green-ink); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green); color: var(--green-deep); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-white { background: #fff; color: var(--green-ink); box-shadow: 0 14px 34px -12px rgba(0,0,0,.35); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-outline-white:hover { transform: translateY(-2px); border-color: #fff; }

/* ── page scaffolding ── */
main { padding-top: 70px; }
section { padding: 96px 0 0; }
section.tight { padding-top: 72px; }
.band { background: var(--mint); border-block: 1px solid var(--line); margin-top: 96px; padding: 72px 0; }
/* A full-bleed band flows straight into the section after it. The closing CTA
   is different: it's an inset rounded panel, so it always needs air above it,
   even when a band sits directly on top. (This previously read
   `.band ~ .foot-cta`, which flattened the CTA on every page.) */
.band + section { margin-top: 0; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow { color: var(--green-deep); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sec-head h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; font-weight: 800; margin: 14px 0; }
.sec-head h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.14; font-weight: 800; margin: 12px 0; }
.sec-head p { color: var(--muted); font-size: 16.5px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--green-deep); }
.crumbs svg { width: 13px; height: 13px; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 78px 0 58px; }
.page-hero .sec-head { margin-bottom: 0; }

/* ── cards ── */
.card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 26px;
  box-shadow: 0 10px 26px -22px rgba(6, 40, 29, .35);
  transition: transform .25s, border-color .25s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 44px -26px rgba(5, 150, 105, .4); }
.ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tint-2), var(--tint)); border: 1px solid var(--line-2); margin-bottom: 16px; }
.ic svg { width: 21px; height: 21px; color: var(--green-deep); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card b, .feature-copy b { color: var(--ink-2); font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--tint);
  color: var(--green-ink); border-radius: 999px; padding: 5px 13px; font-size: 12.5px; font-weight: 600; margin: 3px 5px 3px 0; }
.chip.mono { font-family: 'JetBrains Mono'; font-weight: 500; font-size: 11.5px; }
.chip svg { width: 13px; height: 13px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 10px 18px; text-align: center; background: #fff;
  box-shadow: 0 10px 26px -22px rgba(6, 40, 29, .3); transition: transform .25s, border-color .25s, box-shadow .25s; }
.stat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.stat .n { font-family: 'Sora'; font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: var(--ink); line-height: 1.1; }
.stat .n em { font-style: normal; color: var(--green); }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

/* feature rows (platform pages) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 34px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: 23px; margin-bottom: 10px; }
.feature-copy p { color: var(--muted); font-size: 15.5px; }
.feature-copy ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); align-items: flex-start; }
.feature-copy li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.feature-viz { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mint); padding: 22px;
  box-shadow: 0 14px 34px -26px rgba(6, 40, 29, .4);
  /* grid items default to min-width:auto, so a wide table inside would stretch
     this column past the phone viewport instead of scrolling inside .tscroll */
  min-width: 0; }

/* deep-green accent panel */
.dark-band { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--dark-2);
  background: linear-gradient(160deg, var(--dark), #04331f 60%, #06412a); color: var(--dark-text);
  padding: 46px 40px 40px; box-shadow: 0 34px 64px -32px rgba(6, 40, 29, .55); }
.dark-band::before { content: ''; position: absolute; inset: -40%; pointer-events: none;
  background: radial-gradient(46% 40% at 50% 50%, rgba(52, 211, 153, .12), transparent 70%); }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band p { color: var(--dark-muted); }

/* flow strip */
.flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.flow .fc { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 600; color: var(--green-ink); white-space: nowrap; }
.flow .fc small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); line-height: 1.3; }
.flow .fa { flex: 0 0 34px; height: 3px; border-radius: 2px; position: relative;
  background: repeating-linear-gradient(90deg, var(--green) 0 7px, transparent 7px 13px); background-size: 13px 3px;
  animation: march 1s linear infinite; }
.flow .fa::after { content: ''; position: absolute; right: -3px; top: -4px; border: 5.5px solid transparent; border-left-color: var(--green); }
.dark-band .flow .fc { background: rgba(255,255,255,.06); border-color: rgba(167,243,208,.35); color: #d7f5e6; }
.dark-band .flow .fc small { color: var(--dark-muted); }
@keyframes march { to { background-position: 13px 0; } }

/* code window (dark green) */
.codewin { border: 1px solid var(--dark-2); border-radius: var(--r-lg); overflow: hidden; background: #04281a;
  box-shadow: 0 30px 60px -30px rgba(4, 40, 26, .6); }
.codewin .cbar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid var(--dark-line); }
.codewin .cbar i { width: 10px; height: 10px; border-radius: 50%; background: #0d4530; }
.codewin .cbar span { margin-left: 6px; font-family: 'JetBrains Mono'; font-size: 11.5px; color: var(--dark-muted); }
.codewin pre { margin: 0; padding: 20px 22px; font-family: 'JetBrains Mono'; font-size: 12.8px; line-height: 1.85; overflow-x: auto; color: #cdeeda; }
.codewin .cm { color: #5d8a72; } .codewin .kw { color: #7dd3fc; } .codewin .st { color: #a7f3d0; } .codewin .pn { color: #fbbf24; }
.codewin .resp { color: #74a68c; }
.caret { display: inline-block; width: 8px; height: 15px; background: #34d399; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* accordion (get-started FAQ) */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin: 10px 0; overflow: hidden;
  transition: border-color .25s, box-shadow .25s; }
.acc:hover { border-color: var(--line-2); }
.acc summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 15.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { margin-left: auto; color: var(--green); transition: transform .3s; font-size: 17px; }
.acc[open] .chev { transform: rotate(90deg); }
.acc .acc-bd { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); }
.acc[open] .acc-bd { animation: accopen .4s cubic-bezier(.2,.8,.2,1); }
@keyframes accopen { from { opacity: 0; transform: translateY(-6px); } }

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: 14px; margin: 20px 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step::before { counter-increment: s; content: counter(s);
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; font-family: 'Sora'; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 16px -6px var(--glow); }
.step h4 { font-size: 16px; margin: 6px 0 3px; }
.step p { font-size: 14px; color: var(--muted); }

/* CTA panel */
.foot-cta { margin-top: 96px; }
.cta-panel { position: relative; overflow: hidden; border-radius: 28px; padding: 66px 40px; text-align: center;
  background: linear-gradient(120deg, #04331f, #065f46 55%, #059669 105%); border: 1px solid rgba(52, 211, 153, .4);
  box-shadow: 0 40px 80px -40px rgba(6, 95, 70, .5); }
.cta-panel h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; position: relative; z-index: 1; }
.cta-panel p { color: rgba(255,255,255,.9); max-width: 560px; margin: 14px auto 30px; font-size: 16.5px; position: relative; z-index: 1; }
.cta-panel .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* footer */
footer { margin-top: 84px; background: var(--dark); color: var(--dark-text); }
.foot { max-width: var(--w); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot .logo { color: #fff; font-size: 17px; } .foot .logo svg { width: 26px; height: 26px; }
.foot .about { font-size: 13.5px; color: var(--dark-muted); margin-top: 12px; max-width: 30ch; }
.foot h4 { color: #bfeeda; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot a { color: var(--dark-muted); font-size: 14px; } .foot a:hover { color: #fff; }
.foot-base { border-top: 1px solid var(--dark-line); }
.foot-base .in { max-width: var(--w); margin: 0 auto; padding: 18px 24px; display: flex; gap: 16px; align-items: center; font-size: 12.5px; color: var(--dark-muted); }
.foot-base .in span:last-child { margin-left: auto; }

/* responsive */
@media (max-width: 1020px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-links.open { display: flex; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); padding: 10px 24px 18px;
    box-shadow: 0 24px 40px -28px rgba(6,40,29,.35); }
  .nav-links.open a { padding: 13px 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; gap: 26px; }
  section { padding-top: 72px; }
}
/* ═══ enterprise-pattern upgrades: announce bar, dropdown nav, tabs, outcome cards, pillars, resources, legal bar ═══ */
.announce { position: fixed; top: 0; left: 0; right: 0; z-index: 101; background: linear-gradient(90deg, #04331f, #065f46); color: #d7f5e6;
  font-size: 13px; text-align: center; padding: 7px 40px; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.has-announce .nav { top: 34px; }
.has-announce main { padding-top: 104px; }
@media (max-width: 620px) { .announce { font-size: 12px; padding: 6px 12px; } }

/* dropdown nav */
.nav-item { position: relative; }
.nav-item > button { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: 14.5px; font-weight: 600; font-family: 'Inter'; padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-item > button:hover, .nav-item.open > button { color: var(--green-deep); background: var(--tint); }
.nav-item > button svg { width: 13px; height: 13px; transition: transform .25s; }
.nav-item.open > button svg { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px); min-width: 480px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(6,40,29,.35);
  padding: 22px 24px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s; z-index: 110; }
.nav-item.open .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop.slim { min-width: 250px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.drop h5 { font-family: 'Sora'; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-deep); margin: 10px 0 6px; grid-column: 1 / -1; }
.drop h5:first-child { margin-top: 0; }
.drop a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.drop a:hover { background: var(--tint); color: var(--green-deep); }
.drop a small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; line-height: 1.35; }

/* standards strip (honest trust band) */
.standards { display: flex; gap: 12px 26px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 26px 0 4px; }
.standards .std { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.standards .std svg { width: 16px; height: 16px; color: var(--green); }

/* outcome/capability number cards */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.outcome { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r-md); background: #fff;
  padding: 26px 24px 22px; box-shadow: 0 10px 26px -22px rgba(6,40,29,.35); transition: transform .25s, box-shadow .25s; }
.outcome:hover { transform: translateY(-4px); box-shadow: 0 22px 42px -26px rgba(5,150,105,.4); }
.outcome .big { font-family: 'Sora'; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); color: var(--green-deep); line-height: 1.05; }
.outcome .what { font-weight: 700; color: var(--ink); margin-top: 8px; font-size: 15.5px; }
.outcome p { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
@media (max-width: 1020px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .outcomes { grid-template-columns: 1fr; } }

/* tabbed product showcase */
.tabs { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden;
  box-shadow: 0 14px 34px -26px rgba(6,40,29,.4); }
.tab-bar { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-bar button { flex: 1; min-width: 130px; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  font-family: 'Sora'; font-weight: 700; font-size: 14px; color: var(--muted); padding: 15px 12px 12px; transition: color .2s, border-color .2s, background .2s; }
.tab-bar button:hover { color: var(--green-deep); background: var(--tint); }
.tab-bar button[aria-selected="true"] { color: var(--green-deep); border-bottom-color: var(--green); }
.tab-panel { display: none; padding: 30px; }
.tab-panel.on { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; animation: accopen .4s cubic-bezier(.2,.8,.2,1); }
.tab-panel h3 { font-size: 21px; margin-bottom: 8px; }
.tab-panel .tp-copy p { color: var(--muted); font-size: 14.5px; }
.tab-panel .tp-copy ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.tab-panel .tp-copy li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.tab-panel .tp-copy li svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--green); margin-top: 2px; }
.tab-panel .tp-copy .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--green-deep); }
.tab-panel .tp-copy .go svg { width: 15px; height: 15px; }
.tab-viz { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mint); padding: 20px; }
@media (max-width: 1020px) { .tab-panel.on { grid-template-columns: 1fr; } }

/* solution pillar cards */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pillar { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 22px 18px;
  box-shadow: 0 10px 26px -22px rgba(6,40,29,.3); transition: transform .25s, border-color .25s, box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 42px -26px rgba(5,150,105,.4); }
.pillar .ic { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 13px; }
.pillar .ic svg { width: 18px; height: 18px; }
.pillar h3 { font-size: 15.5px; margin-bottom: 7px; }
.pillar ul { list-style: none; display: grid; gap: 5px; margin-bottom: 12px; }
.pillar li { font-size: 12.5px; color: var(--muted); padding-left: 14px; position: relative; }
.pillar li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.pillar .go { font-size: 12.5px; font-weight: 700; color: var(--green-deep); display: inline-flex; gap: 5px; align-items: center; }
.pillar .go svg { width: 13px; height: 13px; }
@media (max-width: 1020px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }

/* resource cards */
.resources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
  box-shadow: 0 10px 26px -22px rgba(6,40,29,.35); transition: transform .25s, box-shadow .3s, border-color .25s; }
.res:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 44px -26px rgba(5,150,105,.4); }
.res .cover { height: 108px; display: flex; align-items: flex-end; padding: 14px; position: relative; overflow: hidden; }
.res .cover svg { position: absolute; right: -8px; top: -8px; width: 84px; height: 84px; opacity: .2; color: #fff; }
.res .cover .tag { position: relative; background: rgba(255,255,255,.92); color: var(--green-ink); font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; }
.res .cover.c1 { background: linear-gradient(135deg, #065f46, #059669); }
.res .cover.c2 { background: linear-gradient(135deg, #04331f, #0b8a63); }
.res .cover.c3 { background: linear-gradient(135deg, #047857, #0d9488); }
.res .cover.c4 { background: linear-gradient(135deg, #052e20, #059669); }
.res .res-bd { padding: 16px 18px 18px; }
.res h3 { font-size: 15.5px; margin-bottom: 6px; }
.res p { font-size: 13px; color: var(--muted); }
.res .go { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--green-deep); }
.res .go svg { width: 14px; height: 14px; }
@media (max-width: 1020px) { .resources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .resources { grid-template-columns: 1fr; } }

/* footer upgrades */
.foot { grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr; }
/* the 5-column redeclare above is later in source than the 1020/620 media rules,
   so it silently wins at every width — re-assert the responsive collapse here */
@media (max-width: 1020px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot { grid-template-columns: 1fr; } }
.foot-base .in { flex-wrap: wrap; }
.foot-base .legal { display: flex; gap: 18px; }
.foot-base .legal a { color: var(--dark-muted); font-size: 12.5px; }
.foot-base .legal a:hover { color: #fff; }

/* mobile nav with dropdowns flattened */
@media (max-width: 1020px) {
  .nav-links.open .nav-item { width: 100%; }
  .nav-links.open .nav-item > button { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links.open .drop { position: static; transform: none; min-width: 0; opacity: 1; visibility: hidden; display: none;
    border: 0; box-shadow: none; padding: 6px 10px 12px; }
  .nav-links.open .nav-item.open .drop { display: block; visibility: visible; }
  .nav-links.open .drop-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
