/* ESCA, shared styles for every page.
   Bump the ?v= query on the <link> tags after editing: Netlify caches /assets/* for 7 days. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0C1F35;
  --navy-deep: #0A1928;
  --navy-line: #1E3A58;
  --blue: #185FA5;
  --blue-2: #1A6DBF;
  --blue-md: #85B7EB;
  --blue-lt: #E6F1FB;
  --off: #F7F6F2;
  --text: #1A1A1A;
  --muted: #5A6270;
  --border: #D0DFF0;
  --white: #FFFFFF;
  --pain: #C24A2C;
  --good: #7EC8A4;
  --green: #2E7D4F; --green-lt: #EAF5EE;
  --red: #A32D2D; --red-lt: #FBEDED;
  --r: 10px;
  --max: 1200px;
  --sans: 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 48px; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--navy); transition: box-shadow .3s, background .3s; }
.nav.scrolled { background: rgba(12,31,53,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.nav-inner { height: 64px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; }
.nav-word { color: var(--white); font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.nav-pill { display: flex; align-items: center; gap: 32px; list-style: none; margin-left: auto; }
.nav-pill a { position: relative; color: var(--blue-md); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-pill a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-md); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-pill a:hover, .nav-pill a.active { color: var(--white); }
.nav-pill a:hover::after, .nav-pill a.active::after { transform: scaleX(1); }
.nav-pill .m-only { display: none; }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: 24px; }
.nav-li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; transition: background .2s; }
.nav-li:hover { background: rgba(255,255,255,.12); }
.nav-li svg { width: 18px; height: 18px; fill: #fff; opacity: .85; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--navy-line); background: transparent; cursor: pointer; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 16px; height: 1.6px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .3s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -5px; } .nav-burger span::after { top: 5px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .3s; cursor: pointer; border: 0; font-family: inherit; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-blue, .btn-dark { background: var(--blue); color: var(--white); }
.btn-blue:hover, .btn-dark:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,95,165,.3); }
.btn-ghost { background: transparent; color: var(--blue-md); border: 1.5px solid #2A4F72; padding: 12.5px 28px; }
.btn-ghost:hover { border-color: var(--blue-md); color: var(--white); transform: translateY(-2px); }
.btn-soft { background: var(--blue-lt); color: var(--blue); border: 1px solid var(--border); }
.btn-soft:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 14px; font-weight: 500; border-radius: 6px; }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--navy); padding: 96px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(24,95,165,.35), rgba(24,95,165,0) 70%); animation: glow 8s ease-in-out infinite; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.kickers { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 20px; }
.kickers span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-md); }
.hero-title { font-size: 48px; font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--blue-md); }
.hero-sub { font-size: 18px; color: #A8BCCC; line-height: 1.65; max-width: 540px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* split-word entrance */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + 150ms); }
.js .split.in .w > span { transform: none; }

/* animated battery */
.battery-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 380px; justify-self: end; width: 100%; }
.battery-glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(133,183,235,.22), rgba(133,183,235,0) 68%); filter: blur(8px); animation: glow 5s ease-in-out infinite; }
.battery-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(133,183,235,.25); animation: spin 60s linear infinite; }
.battery-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-md); box-shadow: 0 0 0 6px rgba(133,183,235,.15); }
.battery-card { position: relative; width: 62%; aspect-ratio: 1 / 1; border: 2px solid var(--navy-line); border-radius: 24px; background: var(--navy-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; animation: float 6s ease-in-out infinite; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.battery { width: 40%; }
.battery .bar { transform-box: fill-box; transform-origin: bottom; animation: charge 4.8s var(--ease) infinite; }
.battery .bar.b2 { animation-delay: .25s; } .battery .bar.b3 { animation-delay: .5s; }
.battery-name { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--blue-md); text-align: center; line-height: 1.5; text-transform: uppercase; }
.chip { position: absolute; background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: #C9D8E6; display: flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: float 7s ease-in-out infinite; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(126,200,164,.18); }
.chip.c1 { top: 12%; left: -4%; animation-delay: -2s; }
.chip.c2 { bottom: 16%; right: -6%; animation-delay: -4s; }
.chip.c3 { bottom: 2%; left: 6%; animation-delay: -1s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes charge { 0% { transform: scaleY(.05); opacity: .4; } 35%,75% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.05); opacity: .4; } }

/* ---------- SECTIONS ---------- */
section { padding: 88px 0; }
#problem, #access, #about { background: var(--off); }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.h2 { font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--navy); margin-bottom: 16px; max-width: 760px; }
.lead { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 600px; margin-bottom: 48px; }
.center { text-align: center; } .center .h2, .center .lead { margin-left: auto; margin-right: auto; }
.head-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.head-row .eyebrow { margin-bottom: 0; }
.stat-pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--blue); background: var(--blue-lt); border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.card.lift:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(12,31,53,.12); }

/* problem / personas */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.persona { padding: 34px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.persona h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 8px 0 22px; }
.lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.lbl.pain { color: var(--pain); }
.persona .pain-text { font-size: 15px; color: #333; line-height: 1.6; margin-bottom: 22px; }
.answer { background: var(--blue-lt); border-radius: 8px; padding: 18px 20px; }
.answer .lbl { color: var(--blue); }
.answer p { font-size: 14.5px; color: var(--navy); line-height: 1.6; }

/* pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 30px 28px; background: var(--off); }
.pillar-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 22px; transition: transform .6s var(--ease), background .3s; }
.pillar-ico svg { width: 26px; height: 26px; stroke: var(--blue-md); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar:hover .pillar-ico { transform: rotate(-6deg) scale(1.06); background: var(--blue); }
.pillar:hover .pillar-ico svg { stroke: #fff; }
.pillar h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pillar p { font-size: 15px; color: #444; line-height: 1.65; }

/* contract preview */
.contract-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contract-grid .lead { margin-bottom: 28px; }
.doc { overflow: hidden; box-shadow: 0 24px 60px rgba(12,31,53,.12); }
.doc-head { background: var(--navy); padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.doc-head a { color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.doc-head a:hover { border-color: #fff; }
.doc-head span { font-size: 12px; color: var(--blue-md); background: rgba(255,255,255,.08); padding: 4px 12px; border-radius: 20px; }
.clause { padding: 20px 32px; border-bottom: 1px solid var(--border); }
.clause-lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.clause p { font-size: 14px; color: #444; line-height: 1.65; }
.blur-wrap { padding: 20px 32px; position: relative; height: 230px; overflow: hidden; }
.blur-text { filter: blur(4.5px); font-size: 14px; color: #444; line-height: 1.65; user-select: none; pointer-events: none; }
.blur-text p + p { margin-top: 12px; }
.blur-fade { position: absolute; inset: auto 0 0 0; height: 150px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); }
.doc-gate { padding: 30px 32px; background: var(--blue-lt); border-top: 1px solid var(--border); text-align: center; }
.doc-gate p { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 16px; }

/* apply */
#apply { background: var(--navy); position: relative; overflow: hidden; }
#apply::before { content: ""; position: absolute; width: 600px; height: 600px; left: -220px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(24,95,165,.4), rgba(24,95,165,0) 70%); animation: glow 7s ease-in-out infinite; pointer-events: none; }
.panel { position: relative; padding: 8px 0; }
.panel .eyebrow { color: var(--blue-md); }
.panel .h2 { color: #fff; max-width: 580px; }
.apply-embed { max-width: 560px; margin: 40px auto 0; background: #fff; border-radius: 14px; padding: 28px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.apply-note { margin-top: 20px; font-size: 13px; color: #4A6880; }

/* access tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { padding: 32px 28px; display: flex; flex-direction: column; }
.tier.hl { background: var(--navy); border-color: var(--navy); color: #fff; }
.tier h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.tier.hl h3 { color: #fff; }
.tier .tag { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.tier.hl .tag { color: var(--good); }
.tier hr { border: 0; height: 1px; background: var(--border); margin-bottom: 20px; }
.tier.hl hr { background: var(--navy-line); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier li { font-size: 14px; display: flex; gap: 10px; color: #444; line-height: 1.5; }
.tier.hl li { color: #B8CADA; }
.tier li .ck { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-lt); display: grid; place-items: center; margin-top: 1px; }
.tier.hl li .ck { background: var(--blue); }
.tier li .ck svg { width: 9px; height: 9px; }
.tier li.no { color: #999; }
.tier li.no .ck { background: #F0F0EC; }
.tier .btn { margin-top: 28px; padding: 11px 20px; font-size: 14px; }
.tier:not(.hl) .btn-ghost { background: var(--blue-lt); color: var(--blue); border: 1px solid var(--border); }
.tier:not(.hl) .btn-ghost:hover { background: var(--blue); color: #fff; }

/* members */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 44px; }
.logo-card { min-height: 140px; padding: 22px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; gap: 12px; background: var(--off); }
.logo-card img { max-width: 170px; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.logo-card:hover img { filter: none; opacity: 1; }
.logo-card .role { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.logo-card.feat { border-color: var(--blue); background: var(--blue-lt); }
.logo-card.feat img { filter: none; opacity: 1; max-height: 90px; max-width: 200px; }
.logo-card.tba { border-style: dashed; color: var(--muted); font-size: 14px; }
.open-to { border-top: 1px solid var(--border); padding-top: 32px; }
.open-to h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-size: 14.5px; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* logo marquee (use once there are 5+ member logos) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; filter: grayscale(1); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-body p { font-size: 16px; color: #333; line-height: 1.75; }
.about-body p + p { margin-top: 16px; }
.callout { background: var(--navy); border-radius: var(--r); padding: 36px; color: #fff; }
.callout h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-md); margin-bottom: 20px; }
.callout ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.callout li { display: flex; gap: 12px; color: #B8CADA; font-size: 15px; line-height: 1.5; }
.callout .ck { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.callout .ck svg { width: 10px; height: 10px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-group { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 44px 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.faq-group:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-size: 16.5px; font-weight: 600; color: var(--navy); line-height: 1.5; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--blue); }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .4s var(--ease), top .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-answer { padding: 0 44px 22px 0; }
.faq-answer p { font-size: 15.5px; color: #444; line-height: 1.75; }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- FOOTER ---------- */
.footer { background: #060F1C; padding: 40px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand span { font-size: 13px; color: #4A6880; line-height: 1.7; }
.footer-brand b { display: block; font-weight: 400; }
.footer-brand a { color: var(--blue-md); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; }
.footer-links a { color: #4A6880; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--blue-md); }
.footer-legal { font-size: 12px; color: #2E4560; border-top: 1px solid #0F2236; padding-top: 20px; margin-top: 24px; }

/* ---------- REVEAL ON SCROLL ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="scale"] { transform: scale(.96) translateY(20px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- POLICY / CONTENT PAGES ---------- */
.page-hero { padding: 72px 0 64px; }
.page-hero .wrap { display: block; }
.page-hero .hero-title { font-size: 40px; max-width: 760px; margin-bottom: 20px; }
.page-hero .hero-sub { max-width: 680px; margin-bottom: 0; font-size: 17px; }
.meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.meta span { font-size: 12px; color: var(--blue-md); background: rgba(255,255,255,.08); padding: 5px 14px; border-radius: 20px; }
.principles { background: var(--blue); padding: 28px 0; }
.principles .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pr-t { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.pr-d { font-size: 14px; color: #D6E7F8; line-height: 1.5; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding-top: 72px; padding-bottom: 88px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc p { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--border); }
.toc li { counter-increment: t; font-size: 13.5px; line-height: 1.4; }
.toc a { display: block; padding: 4px 0 4px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--navy); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a::before { content: counter(t) ". "; color: var(--muted); }
.toc a:hover, .toc a.active { color: var(--blue); border-left-color: var(--blue); }
.prose { max-width: 760px; }
.prose a { color: var(--blue); }
.prose section { padding: 0; margin-bottom: 52px; scroll-margin-top: 88px; background: none; }
.num { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.prose h2 { font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 16px; }
.prose p { color: #333; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0 22px; color: #333; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.note-box { background: var(--blue-lt); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 26px; margin-top: 18px; }
.note-box p { color: var(--navy); }
.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border-radius: var(--r); overflow: hidden; margin-top: 18px; }
.isnot > div { background: var(--white); padding: 22px 24px; }
.isnot h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.is h4 { color: var(--green); } .not h4 { color: var(--red); }
.isnot ul { list-style: none; margin: 0; }
.isnot li { font-size: 14.5px; display: flex; gap: 10px; line-height: 1.5; margin-bottom: 10px; }
.mk { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; margin-top: 2px; }
.is .mk { background: var(--green-lt); color: var(--green); }
.not .mk { background: var(--red-lt); color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.prose th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding: 10px 12px; border-bottom: 2px solid var(--border); }
.prose td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: #333; }
.prose td:first-child { font-weight: 600; color: var(--navy); width: 38%; }
.card-navy { background: var(--navy); border-radius: var(--r); padding: 30px 32px; margin-top: 18px; }
.card-navy h4 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-md); margin-bottom: 14px; }
.card-navy ol { margin: 0 0 0 20px; color: #B8CADA; }
.card-navy li { margin-bottom: 10px; font-size: 15px; }
.card-navy li::marker { color: var(--blue-md); }
.contact { border: 1px solid var(--border); border-radius: var(--r); padding: 22px 26px; margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.contact .btn { padding: 11px 22px; font-size: 14px; }
.disclaimer { font-size: 13.5px; color: var(--muted) !important; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 28px !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1120px) {
  .nav-pill { gap: 20px; }
  .nav-inner { padding: 0 24px; }
}
@media (max-width: 980px) {
  .hero .wrap, .contract-grid, .about-grid, .faq-layout, .legal-layout { grid-template-columns: 1fr; }
  .battery-stage { display: none; }
  .faq-side, .toc { position: static; }
  .legal-layout { gap: 24px; }
  .tier-grid, .pillar-grid, .persona-grid { grid-template-columns: 1fr; }
  .principles .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav-burger { display: grid; }
  .nav-pill { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-top: 1px solid var(--navy-line); padding: 8px 24px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.3); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav-pill a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--navy-line); }
  .nav-pill a::after { display: none; }
  .nav.open .nav-pill { opacity: 1; transform: none; pointer-events: auto; }
  .nav-pill .m-only { display: block; }
  .nav-pill .m-only a { background: var(--blue); color: #fff; text-align: center; border-radius: 8px; border: 0; margin-top: 14px; }
  .nav-right .btn { display: none; }
  .nav-inner { position: relative; padding: 0 24px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .hero { padding: 64px 0; }
  .hero-title { font-size: 32px; }
  .page-hero .hero-title { font-size: 28px; }
  section { padding: 64px 0; }
  .h2 { font-size: 28px; }
  .persona, .tier, .pillar { padding: 28px 22px; }
  .doc-head, .clause, .blur-wrap, .doc-gate { padding-left: 20px; padding-right: 20px; }
  .isnot { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 28px; }
  .principles .wrap { grid-template-columns: 1fr; }
  .prose td:first-child { width: auto; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; } .prose thead { display: none; }
  .prose td { border-bottom: none; padding: 6px 0; } .prose tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
}

@media print {
  .nav, .toc, .footer-links { display: none; }
  .legal-layout { grid-template-columns: 1fr; padding: 24px 0; }
  .hero, .principles { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .split .w > span { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* member login + policy links */
.nav-login { padding: 7px 16px; border-width: 1.5px; }
.tier-login { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--blue-md); text-decoration: none; }
.tier-login:hover { color: #fff; text-decoration: underline; }
.policy-link a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color .2s; }
.policy-link a:hover { border-color: var(--blue); }
@media (max-width: 1000px) {
  .nav-right .nav-login { display: none; }
  .nav-pill .m-only a.m-login { background: transparent; border: 1.5px solid #2A4F72; color: var(--blue-md); }
}

/* ---------- MEMBER LOGOS ---------- */
/* scrolling strip under the hero */
.logo-strip { padding: 30px 0 34px; background: var(--white); border-bottom: 1px solid var(--border); }
.logo-strip-lbl { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
/* spacing via margin (not gap) so both copies are exactly equal and the -50% loop is seamless */
.logo-strip .marquee-track { gap: 0; align-items: center; animation-duration: 55s; }
.logo-strip .marquee-track a { display: block; flex-shrink: 0; margin-right: 72px; }
.logo-strip .marquee img { height: 34px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logo-strip .marquee a:hover img { filter: none; opacity: 1; }

/* grouped grids in the Members section */
.member-group { margin-bottom: 40px; }
.member-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.member-group-head h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.member-group-head span { font-size: 13px; color: var(--muted); }
.logo-grid.sc { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 0; max-width: 760px; }
.logo-grid.rm { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 0; }
@media (max-width: 1080px) { .logo-grid.rm { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .logo-grid.rm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logo-grid.rm { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-grid.rm .logo-card { min-height: 92px; padding: 14px; } .logo-grid.rm .logo-card img { max-width: 120px; max-height: 40px; } }
.logo-grid .logo-card img { filter: none; opacity: 1; mix-blend-mode: multiply; }
.logo-grid.sc .logo-card { min-height: 150px; }
.logo-grid.sc .logo-card img { max-height: 70px; max-width: 200px; }
.logo-grid.rm .logo-card { min-height: 112px; padding: 18px; }
.logo-grid.rm .logo-card img { max-height: 48px; max-width: 150px; }
.logo-card { position: relative; }
.logo-card .ext { position: absolute; top: 10px; right: 12px; font-size: 13px; color: var(--blue); opacity: 0; transform: translate(-3px, 3px); transition: opacity .3s, transform .3s var(--ease); }
a.logo-card:hover { border-color: var(--blue); }
a.logo-card:hover .ext { opacity: 1; transform: none; }
a.logo-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.logo-grid .logo-card { min-width: 0; }
.logo-grid .logo-card img { max-width: 100%; }

/* Members v2: 4 governance cards per row; registered members as a centred flex grid so a short last row is centred */
.logo-grid.sc { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 980px) { .logo-grid.sc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logo-grid.sc { grid-template-columns: minmax(0, 1fr); } }
.logo-grid.rm { --cols: 6; display: flex; flex-wrap: wrap; justify-content: center; }
.logo-grid.rm .logo-card { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); }
@media (max-width: 1080px) { .logo-grid.rm { --cols: 4; } }
@media (max-width: 760px) { .logo-grid.rm { --cols: 3; } }
@media (max-width: 520px) { .logo-grid.rm { --cols: 2; } }
.logo-grid.sc .logo-card { padding-top: 46px; }
.logo-grid.sc .logo-card .role { position: absolute; top: 22px; left: 0; right: 0; }
.logo-grid.sc .logo-card img { max-height: 58px; }
.logo-grid.sc .logo-card img[src*="mn8-energy"] { max-height: 44px; }
.logo-grid.rm .logo-card img[src*="mn8-energy"] { max-height: 36px; }

/* Members grid styled like the scrolling strip: grey logos on plain background, no boxes, colour on hover */
.logo-grid.rm .logo-card { background: transparent; border-color: transparent; box-shadow: none; min-height: 96px; }
.logo-grid.rm .logo-card img { filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-grid.rm a.logo-card:hover { border-color: transparent; box-shadow: none; transform: none; }
.logo-grid.rm a.logo-card:hover img { filter: none; opacity: 1; }
.logo-grid.rm a.logo-card:focus-visible img { filter: none; opacity: 1; }
/* 19+ members: 7 per row on wide screens */
@media (min-width: 1081px) { .logo-grid.rm { --cols: 7; } .logo-grid.rm .logo-card { padding: 14px; } .logo-grid.rm .logo-card img { max-width: 132px; } }
#members .lead strong { color: var(--navy); }
