:root {
  --navy: #0d1b2a;
  --navy-2: #112840;
  --navy-3: #16324f;
  --blue: #2563eb;
  --blue-2: #4f83ff;
  --teal: #00bfa6;
  --teal-2: #58e0cc;
  --slate: #64748b;
  --cloud: #f0f4f8;
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #142033;
  --muted: #506176;
  --line: #dce5ef;
  --amber: #e8a317;
  --red: #d64949;
  --green: #16805a;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 8px 30px rgba(13, 27, 42, 0.08);
  --shadow: 0 24px 70px rgba(13, 27, 42, 0.13);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, 0.26);
  --max: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .018;
  background-image: url("../images/noise.png");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--navy); background: var(--teal-2); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 900px); }
.section { padding: 112px 0; position: relative; overflow: clip; }
.section.tight { padding: 78px 0; }
.section.cloud { background: var(--cloud); }
.section.white { background: var(--white); }
.section.dark { color: var(--white); background: var(--navy); }
.section.dark-2 { color: var(--white); background: linear-gradient(145deg, var(--navy), #0a2740 60%, #083f4b); }
.section.blue-wash { background: linear-gradient(180deg, #edf3ff, #f8fafc); }
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

h1, h2, h3, h4, .display {
  margin: 0;
  font-family: Poppins, Aptos Display, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3.2rem, 7vw, 6.9rem); }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.02em; }
h4 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
.lede { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
.dark .lede, .dark-2 .lede { color: #c2cfdd; }
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--teal-2); }
.section-heading { display: grid; gap: 22px; margin-bottom: 60px; }
.section-heading.split { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; }
.section-heading.split .lede { justify-self: end; }
.kicker { color: var(--blue); font-weight: 800; }
.accent { color: var(--teal); }
.gradient-text {
  color: transparent;
  background: linear-gradient(120deg, var(--white) 12%, #89a9ff 55%, var(--teal-2));
  background-clip: text;
  -webkit-background-clip: text;
}
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.meta { color: var(--slate); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.announcement {
  position: relative;
  z-index: 202;
  color: #dfe8f4;
  background: #081524;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
  font-weight: 650;
}
.announcement .container { min-height: 37px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.announcement strong { color: var(--teal-2); }
.announcement a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: var(--header-h);
  color: var(--white);
  background: rgba(13, 27, 42, .91);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(13,27,42,.97); box-shadow: 0 14px 40px rgba(0,0,0,.2); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 182px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 3px; }
.nav-link { position: relative; padding: 12px 11px; color: #dbe6f3; border-radius: 10px; font-size: .88rem; font-weight: 700; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--teal); }
.nav-cta { margin-left: 9px; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 21px; height: 2px; background: currentColor; position: absolute; transition: .25s; }
.menu-toggle::before { transform: translateY(-7px); }
.menu-toggle::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 19px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(37,99,235,.21);
  font-size: .92rem;
  font-weight: 800;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #1557e7; box-shadow: 0 18px 34px rgba(37,99,235,.28); }
.btn:focus-visible { outline: 3px solid rgba(0,191,166,.35); outline-offset: 3px; }
.btn.teal { color: var(--navy); background: var(--teal); border-color: var(--teal); box-shadow: 0 12px 24px rgba(0,191,166,.18); }
.btn.teal:hover { background: #22cfb7; }
.btn.ghost { color: var(--navy); background: transparent; border-color: rgba(13,27,42,.22); box-shadow: none; }
.btn.ghost:hover { background: var(--white); border-color: var(--blue); }
.dark .btn.ghost, .dark-2 .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.dark .btn.ghost:hover, .dark-2 .btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.small-btn { min-height: 40px; padding: 8px 14px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }
.dark .text-link, .dark-2 .text-link { color: var(--teal-2); }

.hero {
  min-height: 780px;
  padding: 105px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(37,99,235,.34), transparent 32%),
    radial-gradient(circle at 20% 86%, rgba(0,191,166,.19), transparent 28%),
    linear-gradient(145deg, #071421 0%, var(--navy) 52%, #0a2c43 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 92%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr); gap: 70px; align-items: center; }
.hero h1 { max-width: 790px; }
.hero .lede { max-width: 760px; margin: 29px 0 33px; color: #cbd9e8; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: #aebed0; font-size: .86rem; }
.hero-note::before { content: ""; width: 36px; height: 1px; background: var(--teal); }
.hero-visual { position: relative; min-height: 590px; }
.hero-photo {
  position: absolute;
  inset: 40px 35px 72px 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  box-shadow: var(--shadow-dark);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,20,33,.72), transparent 58%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute;
  z-index: 3;
  padding: 18px 20px;
  background: rgba(13,27,42,.84);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-dark);
}
.hero-card strong { display: block; margin-top: 3px; font-family: Poppins, sans-serif; font-size: 1.25rem; line-height: 1.1; }
.hero-card small { color: #9fb1c4; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-card.one { top: 0; right: 0; width: 232px; }
.hero-card.two { bottom: 28px; left: 0; width: 260px; }
.hero-card.three { right: -14px; bottom: 0; width: 220px; }
.orbit { position: absolute; border: 1px solid rgba(0,191,166,.28); border-radius: 50%; }
.orbit.o1 { width: 460px; height: 460px; right: 3px; top: 70px; animation: spin 28s linear infinite; }
.orbit.o2 { width: 320px; height: 320px; right: 72px; top: 140px; animation: spin 20s linear reverse infinite; }
.orbit::before { content: ""; position: absolute; width: 12px; height: 12px; top: -6px; left: 50%; background: var(--teal); border-radius: 50%; box-shadow: 0 0 28px var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

.trust-strip { position: relative; z-index: 3; margin-top: -34px; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.trust-item { min-height: 92px; padding: 22px 25px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--blue); background: var(--light, #edf3ff); border-radius: 10px; font-weight: 900; }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; line-height: 1.15; }
.trust-item span { color: var(--slate); font-size: .78rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.stack { display: grid; gap: 22px; }

.card {
  position: relative;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card.dark-card { color: var(--white); background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.card h3 { margin-bottom: 13px; }
.card p { color: var(--muted); }
.dark-card p { color: #bdcad8; }
.card-index { display: inline-grid; width: 42px; height: 42px; margin-bottom: 22px; place-items: center; color: var(--navy); background: var(--teal); border-radius: 12px; font-weight: 900; }
.card-icon { width: 48px; height: 48px; margin-bottom: 22px; display: grid; place-items: center; color: var(--blue); background: #edf3ff; border-radius: 14px; font-weight: 900; }
.card-hover { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card-hover:hover { transform: translateY(-7px); border-color: rgba(37,99,235,.38); box-shadow: var(--shadow); }

.split-media { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 70px; align-items: center; }
.split-media.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.split-media.reverse .media-frame { order: 2; }
.media-frame { position: relative; min-height: 560px; }
.media-frame .photo-main { position: absolute; inset: 0 11% 9% 0; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.media-frame .photo-main img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .photo-inset { position: absolute; right: 0; bottom: 0; width: 45%; height: 40%; overflow: hidden; border: 8px solid var(--paper); border-radius: 22px; box-shadow: var(--shadow); }
.media-frame .photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.media-label { position: absolute; left: 28px; bottom: 52px; z-index: 2; max-width: 260px; padding: 18px; color: var(--white); background: rgba(13,27,42,.9); border: 1px solid rgba(255,255,255,.16); border-radius: 15px; backdrop-filter: blur(14px); }
.media-label strong { display: block; font-family: Poppins, sans-serif; font-size: 1.18rem; }

.evolution-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 46px; }
.evolution-track::before { content: ""; position: absolute; left: 7%; right: 7%; top: 31px; height: 2px; background: linear-gradient(90deg, var(--slate), var(--blue), var(--teal)); }
.evolution-step { position: relative; padding: 66px 16px 0; text-align: center; }
.evolution-step::before { content: ""; position: absolute; z-index: 2; top: 21px; left: 50%; width: 20px; height: 20px; transform: translateX(-50%); background: var(--white); border: 5px solid var(--blue); border-radius: 50%; box-shadow: 0 0 0 7px rgba(37,99,235,.09); }
.evolution-step:last-child::before { border-color: var(--teal); }
.evolution-step small { display: block; margin-bottom: 7px; color: var(--blue); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.evolution-step strong { color: var(--navy); font-size: 1rem; }

.compare-board { display: grid; grid-template-columns: 1fr 100px 1fr; gap: 26px; align-items: stretch; }
.compare-col { padding: 40px; border-radius: 28px; }
.compare-col.buy { background: #e8edf3; border: 1px solid #d3dce7; }
.compare-col.build { color: var(--white); background: linear-gradient(145deg, var(--navy), var(--navy-3)); border: 1px solid rgba(255,255,255,.09); box-shadow: var(--shadow); }
.compare-col h3 { margin-bottom: 26px; font-size: 2rem; }
.compare-col ul { padding: 0; margin: 0; display: grid; gap: 16px; list-style: none; }
.compare-col li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; }
.compare-col li::before { content: "×"; display: grid; width: 24px; height: 24px; place-items: center; color: var(--red); background: rgba(214,73,73,.1); border-radius: 50%; font-weight: 900; }
.compare-col.build li::before { content: "✓"; color: var(--navy); background: var(--teal); }
.compare-vs { display: grid; place-items: center; }
.compare-vs span { display: grid; width: 74px; height: 74px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-family: Poppins, sans-serif; font-weight: 900; box-shadow: var(--shadow); }

.phase-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.phase-rail::before { content: ""; position: absolute; left: 7%; right: 7%; top: 35px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .4; }
.phase-card { position: relative; z-index: 2; padding: 72px 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.phase-num { position: absolute; top: 13px; left: 20px; display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); background: var(--blue); border: 6px solid var(--paper); border-radius: 50%; font-weight: 900; }
.phase-card:nth-child(5) .phase-num { color: var(--navy); background: var(--teal); }
.phase-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.phase-card p { color: var(--muted); font-size: .87rem; }

.framework-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.framework-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.framework-card:hover { transform: translateY(-7px); border-color: rgba(37,99,235,.45); box-shadow: var(--shadow); }
.framework-art { min-height: 195px; padding: 18px; display: grid; place-items: center; background: linear-gradient(145deg, #f4f7fb, #e9f2ff); border-bottom: 1px solid var(--line); }
.framework-art img { width: 100%; height: 160px; object-fit: contain; }
.framework-copy { flex: 1; padding: 25px; display: flex; flex-direction: column; }
.framework-copy h3 { margin-bottom: 9px; }
.framework-copy p { color: var(--muted); font-size: .92rem; }
.framework-copy .text-link { margin-top: auto; }
.framework-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 9px; color: var(--white); background: var(--navy); border-radius: 8px; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.framework-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { padding: 9px 14px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.filter-btn:hover, .filter-btn.active { color: var(--white); background: var(--navy); border-color: var(--navy); }

.framework-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 50px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-sm); }
.framework-feature + .framework-feature { margin-top: 28px; }
.framework-feature:nth-child(even) .framework-feature-art { order: 2; }
.framework-feature-art { min-height: 340px; display: grid; place-items: center; padding: 25px; background: var(--cloud); border-radius: 22px; }
.framework-feature-art img { max-height: 300px; }
.framework-details { display: grid; gap: 20px; }
.detail-row { padding: 16px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; border-top: 1px solid var(--line); }
.detail-row strong { color: var(--navy); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.service-card { padding: 34px; min-height: 330px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.service-card .service-num { margin-bottom: 30px; color: var(--blue); font-family: Poppins, sans-serif; font-size: .86rem; font-weight: 900; letter-spacing: .1em; }
.service-card h3 { margin-bottom: 14px; font-size: 1.65rem; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 0 0 24px; padding-left: 20px; color: var(--muted); }
.service-card .text-link { margin-top: auto; }

.pathway { display: grid; grid-template-columns: 120px 1fr 220px; gap: 28px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); }
.pathway:last-child { border-bottom: 0; }
.pathway .path-num { color: var(--teal); font-family: Poppins, sans-serif; font-size: 2.5rem; font-weight: 900; }
.pathway h3 { margin-bottom: 6px; }
.pathway .path-meta { color: var(--slate); font-size: .85rem; font-weight: 800; text-align: right; }

.studio-shell { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; align-items: start; }
.tool-nav { position: sticky; top: 112px; padding: 16px; display: grid; gap: 8px; background: var(--navy); border-radius: 20px; box-shadow: var(--shadow); }
.tool-nav button { padding: 14px 15px; color: #bdcad8; background: transparent; border: 0; border-radius: 11px; text-align: left; font-size: .88rem; font-weight: 800; }
.tool-nav button:hover, .tool-nav button.active { color: var(--white); background: rgba(255,255,255,.1); }
.tool-nav button.active { box-shadow: inset 3px 0 var(--teal); }
.tool-panel { display: none; padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); }
.tool-panel.active { display: block; animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.tool-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.tool-head p { max-width: 720px; margin-top: 10px; color: var(--muted); }
.tool-badge { padding: 8px 11px; color: var(--blue); background: #edf3ff; border-radius: 9px; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.range-list { display: grid; gap: 23px; }
.range-row { display: grid; grid-template-columns: 155px 1fr 48px; gap: 18px; align-items: center; }
.range-row label { color: var(--navy); font-weight: 800; }
.range-row output { display: grid; width: 42px; height: 36px; place-items: center; color: var(--navy); background: var(--cloud); border-radius: 8px; font-weight: 900; }
input[type="range"] { width: 100%; accent-color: var(--blue); }
.tool-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.result-box { margin-top: 30px; padding: 28px; display: none; background: linear-gradient(145deg, var(--navy), var(--navy-3)); color: var(--white); border-radius: 20px; }
.result-box.visible { display: block; animation: panelIn .35s var(--ease); }
.result-kpi { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.result-score { display: grid; width: 110px; height: 110px; place-items: center; color: var(--navy); background: var(--teal); border-radius: 50%; font-family: Poppins, sans-serif; font-size: 2rem; font-weight: 900; }
.result-copy h3 { margin-bottom: 8px; }
.result-copy p { max-width: 680px; color: #c7d3e1; }
.result-bars { margin-top: 24px; display: grid; gap: 11px; }
.result-bar { display: grid; grid-template-columns: 140px 1fr 44px; gap: 12px; align-items: center; font-size: .82rem; }
.result-bar-track { height: 8px; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 99px; }
.result-bar-fill { height: 100%; width: 0; background: var(--teal); border-radius: 99px; transition: width .6s var(--ease); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: .82rem; font-weight: 850; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd9e4;
  border-radius: 10px;
  outline: none;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.check-card { position: relative; padding: 16px; display: grid; grid-template-columns: 23px 1fr; gap: 12px; align-items: start; background: var(--cloud); border: 1px solid transparent; border-radius: 12px; }
.check-card:has(input:checked) { background: #e6faf6; border-color: rgba(0,191,166,.35); }
.check-card input { margin-top: 4px; accent-color: var(--teal); }
.output-area { width: 100%; min-height: 330px; padding: 20px; color: #e8f1fa; background: #071521; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.55; resize: vertical; }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.resource-card { min-height: 330px; padding: 30px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.resource-type { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 26px; }
.file-type { display: grid; width: 52px; height: 58px; place-items: center; color: var(--white); background: var(--blue); clip-path: polygon(0 0, 75% 0, 100% 22%, 100% 100%, 0 100%); font-size: .68rem; font-weight: 900; }
.resource-card[data-type="XLSX"] .file-type { background: var(--green); }
.resource-card[data-type="ZIP"] .file-type { color: var(--navy); background: var(--teal); }
.resource-card[data-type="CSV"] .file-type { background: #6d4cc7; }
.resource-card[data-type="TXT"] .file-type { background: var(--slate); }
.resource-card h3 { margin-bottom: 12px; }
.resource-card p { color: var(--muted); font-size: .92rem; }
.resource-card .btn { margin-top: auto; align-self: flex-start; }

.quote-panel { position: relative; padding: 60px; overflow: hidden; color: var(--white); background: linear-gradient(145deg, var(--navy), #0c3348); border-radius: 32px; box-shadow: var(--shadow-dark); }
.quote-panel::after { content: "“"; position: absolute; top: -35px; right: 28px; color: rgba(255,255,255,.05); font-family: Georgia, serif; font-size: 18rem; line-height: 1; }
.quote-panel blockquote { position: relative; z-index: 2; max-width: 970px; margin: 0; font-family: Poppins, sans-serif; font-size: clamp(1.55rem, 3vw, 3rem); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.quote-panel cite { display: block; margin-top: 26px; color: var(--teal-2); font-style: normal; font-weight: 800; }

.manifesto-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.manifesto-item { display: grid; grid-template-columns: 74px 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.manifesto-item span { color: var(--blue); font-family: Poppins, sans-serif; font-size: 1.5rem; font-weight: 900; }
.manifesto-item h3 { margin-bottom: 8px; }
.manifesto-item p { color: var(--muted); }

.photo-mosaic { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 260px 260px; gap: 15px; }
.photo-mosaic figure { margin: 0; overflow: hidden; border-radius: 20px; }
.photo-mosaic figure:first-child { grid-row: 1 / 3; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.photo-mosaic figure:hover img { transform: scale(1.035); }

.metric-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; }
.metric { min-height: 180px; padding: 30px; background: rgba(255,255,255,.055); }
.metric strong { display: block; color: var(--teal-2); font-family: Poppins, sans-serif; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1; }
.metric span { display: block; margin-top: 14px; color: #c7d3e1; font-size: .9rem; }

.page-hero { padding: 98px 0 86px; color: var(--white); background: linear-gradient(145deg, #071421, var(--navy) 55%, #0d3851); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(37,99,235,.31), transparent 34%), radial-gradient(circle at 25% 85%, rgba(0,191,166,.15), transparent 26%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1100px; font-size: clamp(3rem, 6vw, 6rem); }
.page-hero .lede { margin-top: 25px; }
.page-hero-actions { margin-top: 31px; }
.breadcrumb { margin-bottom: 26px; color: #aebed0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--teal-2); }

.callout-band { padding: 42px 0; color: var(--white); background: var(--blue); }
.callout-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.callout-inner h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.callout-inner p { margin-top: 8px; color: #dfe9ff; }

.contact-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 46px; align-items: start; }
.contact-panel { padding: 36px; color: var(--white); background: var(--navy); border-radius: 26px; box-shadow: var(--shadow); }
.contact-panel h2 { font-size: 2.4rem; }
.contact-panel p { color: #bdcad8; }
.contact-method { display: grid; gap: 7px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-method:last-child { border-bottom: 0; }
.contact-method span { color: #91a5ba; font-size: .73rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-method a { color: var(--white); font-weight: 800; overflow-wrap: anywhere; }
.form-card { padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-sm); }
.form-status { display: none; margin-top: 18px; padding: 13px 15px; color: var(--green); background: #e6faf6; border-radius: 10px; }

.cta-panel { position: relative; padding: 64px; overflow: hidden; color: var(--white); background: linear-gradient(125deg, var(--blue), #1743a5 52%, #076c73); border-radius: 34px; box-shadow: var(--shadow); }
.cta-panel::before { content: ""; position: absolute; width: 480px; height: 480px; right: -220px; top: -240px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.025); }
.cta-panel .content { position: relative; z-index: 2; max-width: 850px; }
.cta-panel h2 { font-size: clamp(2.3rem, 4.5vw, 4.6rem); }
.cta-panel p { max-width: 720px; margin-top: 20px; color: #e1ecff; font-size: 1.13rem; }
.cta-panel .btn-row { margin-top: 29px; }

.legal-content { color: var(--muted); }
.legal-content h2 { margin-top: 2em; margin-bottom: .5em; color: var(--navy); font-size: 2rem; }
.legal-content h3 { margin-top: 1.6em; margin-bottom: .4em; color: var(--navy); font-size: 1.35rem; }
.legal-content ul { padding-left: 22px; }

.site-footer { color: #c0cfde; background: #07131f; }
.footer-main { padding: 76px 0 54px; display: grid; grid-template-columns: 1.35fr repeat(3,.65fr); gap: 54px; }
.footer-brand img { width: 210px; margin-bottom: 22px; }
.footer-brand p { max-width: 440px; color: #94a8bc; }
.footer-col h3 { margin-bottom: 19px; color: var(--white); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; padding: 5px 0; color: #aebed0; font-size: .9rem; }
.footer-col a:hover { color: var(--teal-2); }
.footer-bottom { min-height: 75px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #8094a8; font-size: .78rem; }
.footer-bottom-links { display: flex; gap: 18px; }

.modal { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: 25px; background: rgba(4,12,20,.78); backdrop-filter: blur(9px); }
.modal.open { display: grid; }
.modal-dialog { position: relative; width: min(920px,100%); max-height: min(850px,calc(100vh - 50px)); overflow: auto; padding: 42px; background: var(--white); border-radius: 25px; box-shadow: var(--shadow-dark); }
.modal-close { position: sticky; float: right; top: 0; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; color: var(--navy); background: var(--cloud); border: 0; border-radius: 50%; font-size: 1.4rem; }
.modal-art { max-height: 300px; margin: 10px auto 28px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 500; padding: 14px 18px; color: var(--white); background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: var(--shadow-dark); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .menu-toggle { position: relative; display: inline-flex; }
  .site-nav { position: fixed; top: calc(37px + var(--header-h)); left: 16px; right: 16px; padding: 16px; display: none; flex-direction: column; align-items: stretch; background: rgba(13,27,42,.99); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: var(--shadow-dark); }
  .site-nav.open { display: flex; }
  .nav-link { padding: 13px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .framework-grid, .resource-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .phase-rail { grid-template-columns: repeat(3,1fr); }
  .compare-board { grid-template-columns: 1fr; }
  .compare-vs { height: 70px; }
  .split-media, .split-media.reverse { grid-template-columns: 1fr; gap: 45px; }
  .split-media.reverse .media-frame { order: 0; }
  .studio-shell { grid-template-columns: 1fr; }
  .tool-nav { position: static; grid-template-columns: repeat(4,1fr); overflow-x: auto; }
  .tool-nav button { min-width: 170px; }
  .footer-main { grid-template-columns: 1.3fr repeat(2,.7fr); }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .container.narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .section.tight { padding: 58px 0; }
  .announcement .container { min-height: 42px; }
  .brand img { width: 158px; }
  .site-nav { top: calc(42px + var(--header-h)); }
  .hero { min-height: auto; padding: 78px 0 82px; }
  .hero-grid { gap: 42px; }
  .hero-visual { min-height: 430px; }
  .hero-photo { inset: 28px 8px 60px; }
  .hero-card.one { right: 0; width: 190px; }
  .hero-card.two { left: 0; width: 210px; }
  .hero-card.three { display: none; }
  .orbit.o1 { width: 340px; height: 340px; }
  .orbit.o2 { width: 230px; height: 230px; }
  .trust-strip { margin-top: -25px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading.split { grid-template-columns: 1fr; }
  .section-heading.split .lede { justify-self: start; }
  .grid-2, .grid-3, .grid-4, .framework-grid, .resource-grid, .service-grid, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .phase-rail { grid-template-columns: 1fr; }
  .phase-rail::before { display: none; }
  .media-frame { min-height: 430px; }
  .evolution-track { grid-template-columns: 1fr; gap: 10px; }
  .evolution-track::before { left: 20px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .evolution-step { padding: 8px 0 23px 58px; text-align: left; }
  .evolution-step::before { left: 20px; top: 10px; }
  .framework-feature { grid-template-columns: 1fr; padding: 24px; }
  .framework-feature:nth-child(even) .framework-feature-art { order: 0; }
  .detail-row { grid-template-columns: 1fr; gap: 6px; }
  .pathway { grid-template-columns: 55px 1fr; }
  .pathway .path-meta { grid-column: 2; text-align: left; }
  .tool-panel { padding: 23px; }
  .tool-head { grid-template-columns: 1fr; }
  .range-row { grid-template-columns: 1fr 47px; }
  .range-row input { grid-column: 1 / -1; grid-row: 2; }
  .result-bar { grid-template-columns: 95px 1fr 40px; }
  .metric-wall { grid-template-columns: repeat(2,1fr); }
  .quote-panel, .cta-panel { padding: 36px 25px; }
  .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: 320px 200px 200px; }
  .photo-mosaic figure:first-child { grid-row: auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .callout-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { padding: 22px 0; align-items: flex-start; flex-direction: column; }
  .modal-dialog { padding: 25px; }
}

@media (max-width: 470px) {
  h1 { font-size: 3rem; }
  .hero-visual { min-height: 370px; }
  .hero-card { padding: 14px; }
  .hero-card.one { width: 165px; }
  .hero-card.two { width: 180px; }
  .metric-wall { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .announcement, .site-header, .site-footer, .btn, .tool-nav, .toast { display: none !important; }
  body { background: #fff; }
  .section, .page-hero { padding: 30px 0; color: #000; background: #fff; }
  .tool-panel { display: block !important; box-shadow: none; break-inside: avoid; }
}

/* --------------------------------------------------------------------------
   Protected content, product ladder and member portal extensions
   -------------------------------------------------------------------------- */
.member-link { color: var(--teal-2); }
.member-link::before { content: "◈"; margin-right: 6px; font-size: .75rem; }
.lock-badge { position: absolute; top: 24px; right: 24px; z-index: 3; padding: 6px 10px; color: var(--navy); background: var(--teal-2); border-radius: 999px; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.framework-card { position: relative; }
.preview-art { position: relative; overflow: hidden; }
.preview-art::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(13,27,42,.1)); }
.protected-row { padding: 15px; background: linear-gradient(120deg, rgba(0,191,166,.08), rgba(37,99,235,.06)); border: 1px solid rgba(0,191,166,.22); border-radius: 12px; }
.engagement-ladder { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.engagement-card { position: relative; min-height: 370px; padding: 34px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.engagement-card.featured { color: var(--white); background: linear-gradient(145deg, var(--navy), #0d3851); border-color: rgba(88,224,204,.35); box-shadow: var(--shadow); }
.engagement-card.featured p { color: #c5d2df; }
.engagement-card.featured .text-link { color: var(--teal-2); }
.engagement-card h3 { margin: 26px 0 15px; font-size: 1.75rem; }
.engagement-card p { color: var(--muted); }
.engagement-card .text-link { margin-top: auto; }
.engagement-num { position: absolute; right: 24px; bottom: -26px; color: rgba(37,99,235,.07); font-family: Poppins, sans-serif; font-size: 9rem; font-weight: 900; line-height: 1; }
.engagement-card.featured .engagement-num { color: rgba(255,255,255,.055); }
.offer-label { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.offer-label.free { color: #154d3b; background: #dff7ee; }
.offer-label.member { color: #052c28; background: var(--teal-2); }
.offer-label.advisory { color: #fff; background: #6d4cc7; }
.offer-label.book { color: #693f00; background: #fff0c9; }
.offer-label.library { color: #163c82; background: #e8efff; }
.offer-label.enterprise { color: #fff; background: var(--navy-3); }
.preview-screen { position: relative; min-height: 360px; overflow: hidden; background: var(--navy); border: 1px solid rgba(13,27,42,.12); border-radius: 25px; box-shadow: var(--shadow); }
.preview-screen img { width: 100%; height: 100%; object-fit: cover; }
.preview-screen .screen-glow { position: absolute; inset: auto 18% -70px; height: 120px; background: rgba(0,191,166,.28); filter: blur(48px); }
.book-feature { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1.3fr); gap: 84px; align-items: center; }
.book-feature.light { color: var(--ink); }
.book-cover { position: relative; width: min(390px,92%); min-height: 540px; margin-inline: auto; padding: 54px 44px 44px 58px; display: flex; flex-direction: column; color: #fff; background: radial-gradient(circle at 78% 16%, rgba(88,224,204,.35), transparent 24%), linear-gradient(155deg,#081524 0%,#123858 58%,#0c746d 100%); border: 1px solid rgba(255,255,255,.22); border-radius: 8px 20px 20px 8px; box-shadow: -20px 24px 60px rgba(0,0,0,.32), inset -10px 0 30px rgba(0,0,0,.2); transform: perspective(1000px) rotateY(-7deg) rotateZ(-1deg); }
.book-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 28px 28px; }
.book-spine { position: absolute; left: 16px; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--teal-2),var(--blue)); box-shadow: 0 0 18px rgba(88,224,204,.55); }
.book-kicker { position: relative; z-index: 2; color: var(--teal-2); font-size: .72rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.book-cover strong { position: relative; z-index: 2; margin-top: 60px; font-family: Poppins,sans-serif; font-size: clamp(3.6rem,7vw,5.5rem); line-height: .88; letter-spacing: -.06em; }
.book-cover em { position: relative; z-index: 2; margin-top: 34px; color: #d8e5f2; font-size: 1.05rem; font-style: normal; line-height: 1.4; }
.book-cover small { position: relative; z-index: 2; margin-top: auto; color: var(--teal-2); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.book-meta { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dark-2 .book-meta { border-color: rgba(255,255,255,.14); }
.book-meta div { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dark-2 .book-meta div { border-color: rgba(255,255,255,.14); }
.book-meta strong { color: var(--blue); }
.dark-2 .book-meta strong { color: var(--teal-2); }
.book-meta span { color: var(--muted); }
.dark-2 .book-meta span { color: #bdcad8; }
.offer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.offer-card { position: relative; min-height: 510px; padding: 32px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.offer-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); transform: translateY(-8px); }
.offer-card.featured::before { content: "Core working system"; position: absolute; top: -14px; right: 22px; padding: 6px 10px; color: var(--navy); background: var(--teal); border-radius: 999px; font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.offer-card h3 { margin: 23px 0 8px; font-size: 1.65rem; }
.offer-card p { color: var(--muted); }
.offer-card ul { margin: 8px 0 28px; padding-left: 21px; color: var(--muted); }
.offer-card .btn { margin-top: auto; align-self: stretch; }
.price-label { margin: 4px 0 18px; color: var(--blue); font-family: Poppins,sans-serif; font-size: 1.14rem; font-weight: 900; }
.secure-list { display: grid; margin-top: 10px; border-top: 1px solid var(--line); }
.secure-list div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.secure-list span { color: var(--blue); font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.secure-list strong { color: var(--ink); font-size: .94rem; font-weight: 700; }
.license-matrix { overflow: auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.license-row { min-width: 780px; display: grid; grid-template-columns: 1.45fr repeat(3,1fr); }
.license-row > * { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.license-row > *:last-child { border-right: 0; }
.license-row:last-child > * { border-bottom: 0; }
.license-row.head { color: #fff; background: var(--navy); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.license-row:not(.head) span { text-align: center; font-size: .86rem; font-weight: 800; }
.license-row .yes { color: var(--green); background: #f1fbf7; }
.license-row .limited { color: #8a5b00; background: #fffaf0; }
.license-row .no { color: var(--red); background: #fff7f7; }
.legal-banner { margin-bottom: 30px; padding: 20px 22px; color: #5d4300; background: #fff6d8; border: 1px solid #f1d68b; border-radius: 14px; }
.legal-banner strong { display: block; color: #3e2c00; margin-bottom: 6px; }
.legal-banner p { margin: 0; }
.form-errors, .notice { margin: 0 0 22px; padding: 15px 17px; border-radius: 12px; }
.form-errors { color: #842929; background: #fff0f0; border: 1px solid #f2b9b9; }
.notice.success { color: #125f43; background: #e8faf3; border: 1px solid #a7e6cf; }
.notice.info { color: #163c82; background: #edf3ff; border: 1px solid #bdd0ff; }
.notice.warning { color: #664600; background: #fff6d8; border: 1px solid #efd58c; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.required-note { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.form-card .field input[type="checkbox"] { width: auto; }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .86rem; }
.consent-row input { margin-top: 4px; accent-color: var(--blue); }
.public-pulse { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); gap: 30px; align-items: start; }
.pulse-form { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.pulse-question { padding: 19px 0; border-bottom: 1px solid var(--line); }
.pulse-question:first-child { padding-top: 0; }
.pulse-question:last-of-type { border-bottom: 0; }
.pulse-question label { display: block; margin-bottom: 10px; color: var(--navy); font-weight: 850; }
.pulse-result { position: sticky; top: 120px; min-height: 440px; padding: 34px; color: #fff; background: linear-gradient(145deg,var(--navy),#0d4054); border-radius: 24px; box-shadow: var(--shadow); }
.pulse-result.empty { display: grid; align-content: center; text-align: center; }
.pulse-result .result-score { margin-bottom: 22px; }
.pulse-result h3 { margin-bottom: 12px; font-size: 2rem; }
.pulse-result p { color: #c3d0dd; }
.tool-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.tool-preview-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.tool-preview-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tool-preview-copy { padding: 25px; }
.tool-preview-copy h3 { margin: 15px 0 10px; }
.tool-preview-copy p { color: var(--muted); }
.tool-preview-copy .btn { margin-top: 15px; width: 100%; }

/* Member portal */
.portal-body { min-height: 100vh; color: var(--ink); background: #edf2f7; }
.portal-topbar { color: #fff; background: #07131f; border-bottom: 1px solid rgba(255,255,255,.1); }
.portal-topbar .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-brand img { width: 180px; }
.portal-user { display: flex; align-items: center; gap: 12px; font-size: .86rem; }
.portal-user strong { color: var(--teal-2); }
.portal-shell { width: min(calc(100% - 34px),1320px); margin: 30px auto 70px; display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 26px; align-items: start; }
.portal-nav { position: sticky; top: 22px; padding: 15px; display: grid; gap: 6px; background: var(--navy); border-radius: 20px; box-shadow: var(--shadow); }
.portal-nav a { padding: 12px 14px; color: #bccbda; border-radius: 10px; font-size: .86rem; font-weight: 800; }
.portal-nav a:hover, .portal-nav a.active { color: #fff; background: rgba(255,255,255,.1); }
.portal-nav a.active { box-shadow: inset 3px 0 var(--teal); }
.portal-nav .portal-nav-divider { height: 1px; margin: 7px 5px; background: rgba(255,255,255,.12); }
.portal-content { min-width: 0; }
.portal-hero { margin-bottom: 24px; padding: 34px; color: #fff; background: linear-gradient(135deg,var(--navy),#0f3d55); border-radius: 24px; box-shadow: var(--shadow); }
.portal-hero h1 { font-size: clamp(2.2rem,4.5vw,4.3rem); }
.portal-hero p { max-width: 780px; margin-top: 12px; color: #c6d2de; }
.portal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.portal-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.portal-card { padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.portal-card h2 { font-size: 1.75rem; }
.portal-card h3 { font-size: 1.35rem; }
.portal-card p { color: var(--muted); }
.portal-card .btn-row { margin-top: 20px; }
.portal-card.locked { background: linear-gradient(145deg,#fff,#f3f6fa); }
.portal-card.locked::before { content: "Protected"; display: inline-flex; margin-bottom: 16px; padding: 6px 9px; color: var(--navy); background: var(--teal-2); border-radius: 999px; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.plan-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.plan-badge { padding: 6px 10px; color: #163c82; background: #e8efff; border-radius: 999px; font-size: .7rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.plan-badge.admin { color: #fff; background: #6d4cc7; }
.portal-section { margin-top: 24px; }
.portal-section-head { margin-bottom: 17px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.portal-section-head h2 { font-size: 2rem; }
.portal-table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.portal-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.portal-table th, .portal-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .84rem; }
.portal-table th { color: #fff; background: var(--navy); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.portal-table tr:last-child td { border-bottom: 0; }
.portal-table code { font-size: .76rem; }
.status-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.status-pill.active { color: #125f43; background: #e2f7ef; }
.status-pill.inactive { color: #842929; background: #ffecec; }
.status-pill.pending { color: #694900; background: #fff2c9; }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 34px 18px; color: var(--ink); background: radial-gradient(circle at 15% 12%,rgba(37,99,235,.18),transparent 25%),radial-gradient(circle at 85% 80%,rgba(0,191,166,.16),transparent 28%),#edf2f7; }
.auth-shell { width: min(1040px,100%); display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; background: #fff; border-radius: 28px; box-shadow: var(--shadow-dark); }
.auth-brand { padding: 48px; color: #fff; background: linear-gradient(145deg,#07131f,var(--navy-3)); }
.auth-brand img { width: 210px; }
.auth-brand h1 { margin-top: 65px; font-size: clamp(2.2rem,4vw,4rem); }
.auth-brand p { margin-top: 20px; color: #bdcad8; }
.auth-panel { padding: 48px; }
.auth-panel h2 { font-size: 2.2rem; }
.auth-panel > p { color: var(--muted); }
.auth-panel form { margin-top: 27px; }
.auth-links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
.auth-links a { color: var(--blue); font-weight: 800; }
.tool-server-form { margin-top: 22px; }
.tool-result-panel { margin-top: 24px; padding: 26px; color: #fff; background: linear-gradient(145deg,var(--navy),#0d4054); border-radius: 18px; }
.tool-result-panel h3 { margin-bottom: 10px; }
.tool-result-panel p { color: #c7d3e1; }
.tool-result-panel textarea { width: 100%; min-height: 250px; padding: 17px; color: #e8f1fa; background: #06111d; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: .82rem; }
.gate-group { margin-top: 20px; }
.gate-group h3 { margin-bottom: 13px; }
.admin-code { margin: 18px 0; padding: 19px; color: #fff; background: #07131f; border-radius: 12px; font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 1.05rem; overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .engagement-ladder, .offer-grid, .tool-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .book-feature { gap: 48px; }
  .portal-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .book-feature, .public-pulse, .auth-shell { grid-template-columns: 1fr; }
  .book-cover { min-height: 500px; }
  .pulse-result { position: static; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-nav { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .portal-nav .portal-nav-divider { display: none; }
  .portal-nav a { text-align: center; }
}
@media (max-width: 760px) {
  .engagement-ladder, .offer-grid, .tool-preview-grid, .portal-grid, .portal-grid.three { grid-template-columns: 1fr; }
  .offer-card.featured { transform: none; }
  .secure-list div, .book-meta div { grid-template-columns: 1fr; gap: 6px; }
  .book-cover { min-height: 460px; padding: 42px 30px 35px 46px; }
  .book-cover strong { margin-top: 45px; }
  .portal-shell { width: min(calc(100% - 22px),1320px); }
  .portal-nav { grid-template-columns: 1fr 1fr; }
  .portal-topbar .container { min-height: 70px; }
  .portal-user span { display: none; }
  .auth-brand, .auth-panel { padding: 34px 25px; }
  .auth-brand h1 { margin-top: 42px; }
  .portal-hero { padding: 27px; }
}

/* Secure portal additions */
.asset-meta { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.metric-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 15px; }
.metric-grid article { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.metric-grid strong { display: block; color: var(--navy); font-family: Poppins,sans-serif; font-size: 2.3rem; line-height: 1; }
.metric-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: .77rem; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.tool-tabs { margin: 0 0 22px; padding: 7px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.tool-tabs a { padding: 12px 10px; color: var(--muted); border-radius: 10px; text-align: center; font-size: .82rem; font-weight: 900; }
.tool-tabs a:hover, .tool-tabs a.active { color: #fff; background: var(--navy); }
.result-grid { margin: 22px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.result-grid div { padding: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; }
.result-grid strong, .result-grid span { display: block; }
.result-grid strong { color: #c8d7e5; font-size: .74rem; }
.result-grid span { margin-top: 4px; color: var(--teal-2); font-size: 1.25rem; font-weight: 900; }
.ranking-list { margin-top: 20px; display: grid; gap: 8px; }
.ranking-list div { padding: 12px 14px; display: grid; grid-template-columns: 30px 1fr 50px; gap: 12px; align-items: center; background: rgba(255,255,255,.08); border-radius: 10px; }
.ranking-list span { display: grid; width: 25px; height: 25px; place-items: center; color: var(--navy); background: var(--teal-2); border-radius: 50%; font-weight: 900; }
.ranking-list b { color: var(--teal-2); text-align: right; }
.decision-stamp { width: fit-content; margin: 18px 0; padding: 10px 16px; border: 2px solid currentColor; border-radius: 8px; font-family: Poppins,sans-serif; font-size: 1.2rem; font-weight: 900; letter-spacing: .08em; }
.decision-stamp.go { color: #58e0a8; }
.decision-stamp.conditionalgo { color: #ffd16b; }
.decision-stamp.nogo { color: #ff8f8f; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; }
.portal-card fieldset { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; }
.portal-card legend { padding: 0 7px; color: var(--navy); font-weight: 900; }
.portal-card .field + .field { margin-top: 16px; }
.form-grid .field + .field { margin-top: 0; }
.portal-rule { height: 1px; margin: 26px 0; border: 0; background: var(--line); }
.btn.danger { color: #fff; background: #9a3030; border-color: #9a3030; }
.btn.danger:hover { background: #7d2020; }
.link-button { padding: 0; color: var(--blue); background: none; border: 0; font: inherit; font-size: .77rem; font-weight: 850; cursor: pointer; }
.message-cell { min-width: 300px; max-width: 520px; white-space: normal; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.settings-grid > div { padding: 22px; background: #f6f8fb; border: 1px solid var(--line); border-radius: 16px; }
.settings-grid h3 { margin-bottom: 16px; }
.number-list { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); }
.tool-server-form textarea { min-height: 125px; }
.gate-group { display: grid; gap: 12px; }
.gate-group[hidden] { display: none !important; }
.portal-table small { color: var(--muted); }
.portal-table form { margin: 0; }
.portal-content .btn-row form { margin: 0; }
.portal-card code { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .metric-grid, .settings-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .tool-tabs { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .portal-user { gap: 7px; }
  .portal-user .btn { padding: 8px 10px; }
}
.portal-topbar .portal-user .btn.ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.055); }
.portal-topbar .portal-user .btn.ghost:hover { color: var(--navy); background: var(--teal-2); border-color: var(--teal-2); }


/* Built Not Bought first review edition site sync */
.book-home-feature{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(0,1.08fr);gap:60px;align-items:center}.book-home-art{min-height:440px;display:grid;place-items:center}.book-home-art img{width:min(680px,100%);height:auto;filter:drop-shadow(0 35px 60px rgba(0,0,0,.42))}.book-home-status{display:grid;gap:5px;margin-top:25px;padding:16px 18px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.05)}.book-home-status strong{color:var(--teal-2)}.book-home-status span{color:#b8c8d8;font-size:.9rem}.author-about-grid{display:grid;grid-template-columns:minmax(300px,.62fr) minmax(0,1.18fr);gap:58px;align-items:center}.author-portrait{margin:0}.author-portrait img{width:100%;border-radius:26px;box-shadow:var(--shadow)}.author-portrait figcaption{padding:12px 6px;color:var(--muted);font-size:.82rem}.author-about-grid blockquote{margin:25px 0;padding:22px 24px;border-left:4px solid var(--teal);border-radius:0 16px 16px 0;background:#edf7f7;color:var(--navy);font-family:Poppins,Aptos Display,sans-serif;font-size:1.18rem;font-weight:750}.offer-card .text-link{font-weight:800}
@media(max-width:900px){.book-home-feature,.author-about-grid{grid-template-columns:1fr}.book-home-art{min-height:auto}}

/* Sitewide visual integrity and accessibility patch — 2026-07-23 */
/* Preserve the intrinsic proportions of all raster images by default. */
img {
  height: auto;
  max-inline-size: 100%;
}
figure, picture, .media-frame, .preview-screen, .framework-art,
.framework-feature-art, .book-home-art, .book-cover-stage,
.author-portrait, .author-book-profile figure {
  min-width: 0;
  max-width: 100%;
}

/* Author imagery: never stretch, crop, or leak outside its layout column. */
.author-about-grid {
  align-items: start;
}
.author-portrait {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.author-portrait img,
.author-book-profile img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center;
  overflow: hidden;
}
.author-portrait figcaption {
  line-height: 1.45;
}

/* Framework and dashboard previews should be visible in full, not cropped. */
.preview-screen {
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
  isolation: isolate;
}
.preview-screen img,
.framework-art img,
.framework-feature-art img,
.tool-preview-card img {
  width: 100%;
  height: auto !important;
  max-height: 520px;
  object-fit: contain !important;
  object-position: center;
}
.framework-art,
.framework-feature-art,
.tool-preview-card,
.book-home-art,
.book-cover-stage {
  overflow: hidden;
}
.book-home-art img,
.book-cover-stage img,
.book-sample-panel img {
  height: auto !important;
  object-fit: contain !important;
}

/* Photography remains intentionally cropped, but is confined to its frame. */
.hero-photo,
.media-frame .photo-main,
.media-frame .photo-inset,
.photo-mosaic figure {
  overflow: hidden;
}
.hero-photo img,
.media-frame .photo-main img,
.media-frame .photo-inset img,
.photo-mosaic img {
  max-width: none;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* Ensure all dark-background copy maintains strong contrast. */
.page-hero .lede,
.hero .lede,
.cta-panel .lede,
.quote-panel .lede,
.book-hero .lede {
  color: #dbe7f2;
}
.page-hero .eyebrow,
.hero .eyebrow,
.cta-panel .eyebrow,
.quote-panel .eyebrow,
.book-hero .eyebrow {
  color: #7cf0df;
}
.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: #c8d6e5;
}
.page-hero .breadcrumb a:hover,
.page-hero .breadcrumb a:focus-visible {
  color: #7cf0df;
}
.dark p,
.dark-2 p,
.dark .muted,
.dark-2 .muted {
  color: #c5d2df;
}
.dark-card p,
.chapter-card p,
.part-tab small,
.field-material-grid p {
  color: #c6d3df;
}

/* Ghost buttons on dark surfaces must be visible before hover. */
.page-hero .btn.ghost,
.hero .btn.ghost,
.cta-panel .btn.ghost,
.quote-panel .btn.ghost,
.book-hero .btn.ghost,
.site-header .btn.ghost,
.site-footer .btn.ghost {
  color: #ffffff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.48);
  box-shadow: none;
}
.page-hero .btn.ghost:hover,
.page-hero .btn.ghost:focus-visible,
.hero .btn.ghost:hover,
.hero .btn.ghost:focus-visible,
.cta-panel .btn.ghost:hover,
.cta-panel .btn.ghost:focus-visible,
.quote-panel .btn.ghost:hover,
.quote-panel .btn.ghost:focus-visible,
.book-hero .btn.ghost:hover,
.book-hero .btn.ghost:focus-visible {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

/* Teal actions use a darker text color that clears contrast requirements. */
.btn.teal,
.page-hero .btn.teal,
.hero .btn.teal,
.cta-panel .btn.teal,
.book-hero .btn.teal {
  color: #061a26;
  background: #58e0cc;
  border-color: #58e0cc;
}
.btn.teal:hover,
.btn.teal:focus-visible {
  color: #061a26;
  background: #7aead9;
  border-color: #7aead9;
}

/* Blue actions retain white text in every state. */
.btn:not(.teal):not(.ghost):not(.danger) {
  color: #ffffff;
}
.btn:not(.teal):not(.ghost):not(.danger):hover,
.btn:not(.teal):not(.ghost):not(.danger):focus-visible {
  color: #ffffff;
}

/* Text links and focus states remain identifiable without relying on color alone. */
.text-link:hover,
.text-link:focus-visible,
.footer-col a:focus-visible,
.resource-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #58e0cc;
  outline-offset: 3px;
}

/* Prevent long headings, labels and URLs from crossing cards or columns. */
h1, h2, h3, h4, p, a, span, strong, blockquote, figcaption {
  overflow-wrap: anywhere;
}
.card, .resource-card, .offer-card, .chapter-card, .motion-row,
.cta-panel, .quote-panel, .framework-feature, .book-sample-panel {
  min-width: 0;
}

/* Keep decorative layers behind readable content. */
.page-hero::before,
.hero::before,
.cta-panel::before,
.quote-panel::after,
.section-grid::before {
  pointer-events: none;
}
.page-hero .container,
.hero-grid,
.cta-panel .content,
.quote-panel blockquote,
.quote-panel cite {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .author-portrait {
    max-width: 460px;
  }
  .preview-screen {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .author-portrait {
    max-width: 100%;
  }
  .author-portrait img {
    border-radius: 20px;
  }
  .preview-screen {
    padding: 10px;
  }
  .page-hero .btn,
  .cta-panel .btn,
  .hero .btn {
    white-space: normal;
    text-align: center;
  }
}
/* HRIS Audit executive readability and conversion layer — 2026-07-23
   Loaded after the base and book styles so surface-aware contrast is deterministic. */

:root {
  --bnb-deep: #071421;
  --bnb-navy: #0d1b2a;
  --bnb-ink: #142033;
  --bnb-body: #3b4f63;
  --bnb-white: #ffffff;
  --bnb-light-copy: #d9e6f2;
  --bnb-light-muted: #bfcede;
  --bnb-teal-bright: #65ead6;
  --bnb-teal-action: #58e0cc;
  --bnb-blue-action: #2563eb;
  --bnb-blue-hover: #174fc4;
}

/* Global legibility */
body { color: var(--bnb-ink); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Never allow content or media to escape its designed region. */
section, article, figure, .card, .media-frame, .preview-screen, .framework-art,
.framework-feature-art, .book-home-art, .book-cover-stage, .book-sample-panel,
.author-portrait, .photo-mosaic, .hero-photo, .tool-preview-card {
  min-width: 0;
}
figure, .media-frame, .preview-screen, .framework-art, .framework-feature-art,
.book-home-art, .book-cover-stage, .book-sample-panel, .author-portrait,
.photo-mosaic, .hero-photo, .tool-preview-card { overflow: hidden; }

img { max-width: 100%; }
.author-portrait img,
.book-home-art img,
.book-cover-stage img,
.book-sample-panel img,
.framework-art img,
.framework-feature-art img,
.preview-screen img,
.tool-preview-card img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
.hero-photo img,
.media-frame .photo-main img,
.media-frame .photo-inset img,
.photo-mosaic figure img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.author-portrait img { aspect-ratio: auto !important; }

/* Surface-aware type colors. */
.section.white, .section.cloud, .section.blue-wash,
.section.white .card, .section.cloud .card, .section.blue-wash .card,
.offer-card, .resource-card, .framework-feature-copy {
  color: var(--bnb-ink);
}
.section.white p, .section.cloud p, .section.blue-wash p,
.section.white .lede, .section.cloud .lede, .section.blue-wash .lede,
.offer-card p, .resource-card p, .framework-feature-copy p {
  color: var(--bnb-body);
}

.hero, .page-hero, .book-hero, .section.dark, .section.dark-2, .section.ink,
.cta-panel, .quote-panel, .site-footer, .site-header, .announcement {
  color: var(--bnb-white);
}
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3,
.book-hero h1, .book-hero h2, .book-hero h3,
.section.dark h1, .section.dark h2, .section.dark h3,
.section.dark-2 h1, .section.dark-2 h2, .section.dark-2 h3,
.section.ink h1, .section.ink h2, .section.ink h3,
.cta-panel h1, .cta-panel h2, .cta-panel h3,
.quote-panel h1, .quote-panel h2, .quote-panel h3 { color: var(--bnb-white); }
.hero p, .hero .lede, .hero li,
.page-hero p, .page-hero .lede, .page-hero li,
.book-hero p, .book-hero .lede, .book-hero li,
.section.dark p, .section.dark .lede, .section.dark li,
.section.dark-2 p, .section.dark-2 .lede, .section.dark-2 li,
.section.ink p, .section.ink .lede, .section.ink li,
.cta-panel p, .cta-panel .lede, .cta-panel li,
.quote-panel p, .quote-panel .lede, .quote-panel li,
.site-footer p, .site-footer li { color: var(--bnb-light-copy); }
.hero .muted, .page-hero .muted, .book-hero .muted,
.section.dark .muted, .section.dark-2 .muted, .section.ink .muted,
.site-footer .muted { color: var(--bnb-light-muted); }
.hero .eyebrow, .page-hero .eyebrow, .book-hero .eyebrow,
.section.dark .eyebrow, .section.dark-2 .eyebrow, .section.ink .eyebrow,
.cta-panel .eyebrow, .quote-panel .eyebrow { color: var(--bnb-teal-bright); }

/* Primary buttons: always white on executive blue. */
.btn:not(.ghost):not(.teal):not(.danger) {
  color: #fff !important;
  background: var(--bnb-blue-action) !important;
  border-color: var(--bnb-blue-action) !important;
}
.btn:not(.ghost):not(.teal):not(.danger):hover,
.btn:not(.ghost):not(.teal):not(.danger):focus-visible {
  color: #fff !important;
  background: var(--bnb-blue-hover) !important;
  border-color: var(--bnb-blue-hover) !important;
}

/* Teal buttons: dark text for reliable contrast. */
.btn.teal {
  color: #061a26 !important;
  background: var(--bnb-teal-action) !important;
  border-color: var(--bnb-teal-action) !important;
}
.btn.teal:hover, .btn.teal:focus-visible {
  color: #061a26 !important;
  background: #79efdd !important;
  border-color: #79efdd !important;
}

/* Ghost buttons on every dark surface remain visible before hover.
   This explicitly fixes the homepage “Explore the method” action. */
.hero .btn.ghost,
.page-hero .btn.ghost,
.book-hero .btn.ghost,
.section.dark .btn.ghost,
.section.dark-2 .btn.ghost,
.section.ink .btn.ghost,
.cta-panel .btn.ghost,
.quote-panel .btn.ghost,
.site-header .btn.ghost,
.site-footer .btn.ghost,
[style*="background"] .btn.ghost {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.72) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
.hero .btn.ghost:hover, .hero .btn.ghost:focus-visible,
.page-hero .btn.ghost:hover, .page-hero .btn.ghost:focus-visible,
.book-hero .btn.ghost:hover, .book-hero .btn.ghost:focus-visible,
.section.dark .btn.ghost:hover, .section.dark .btn.ghost:focus-visible,
.section.dark-2 .btn.ghost:hover, .section.dark-2 .btn.ghost:focus-visible,
.section.ink .btn.ghost:hover, .section.ink .btn.ghost:focus-visible,
.cta-panel .btn.ghost:hover, .cta-panel .btn.ghost:focus-visible,
.quote-panel .btn.ghost:hover, .quote-panel .btn.ghost:focus-visible {
  color: var(--bnb-navy) !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Ghost buttons on light surfaces use dark ink and a visible boundary. */
.section.white .btn.ghost,
.section.cloud .btn.ghost,
.section.blue-wash .btn.ghost,
.offer-card .btn.ghost,
.resource-card .btn.ghost,
.framework-feature-copy .btn.ghost {
  color: var(--bnb-navy) !important;
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(13,27,42,.45) !important;
}
.section.white .btn.ghost:hover, .section.white .btn.ghost:focus-visible,
.section.cloud .btn.ghost:hover, .section.cloud .btn.ghost:focus-visible,
.section.blue-wash .btn.ghost:hover, .section.blue-wash .btn.ghost:focus-visible,
.offer-card .btn.ghost:hover, .resource-card .btn.ghost:hover {
  color: #fff !important;
  background: var(--bnb-navy) !important;
  border-color: var(--bnb-navy) !important;
}

/* Text links must read as actions, not decorative color. */
.text-link { color: #174fc4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dark .text-link, .dark-2 .text-link, .ink .text-link,
.section.dark .text-link, .section.dark-2 .text-link, .section.ink .text-link,
.book-hero .text-link, .site-footer a { color: var(--bnb-teal-bright); }

/* Cards, tags and overlays */
.hero-card { background: rgba(7,20,33,.94); border-color: rgba(255,255,255,.18); }
.hero-card small { color: #b8c9da; }
.hero-card strong { color: #fff; }
.media-label { color: #fff; background: rgba(7,20,33,.94); }
.media-label .meta { color: var(--bnb-teal-bright); }
.framework-tag, .lock-badge, .meta { line-height: 1.35; }

/* Improve scanability and conversion rhythm. */
.hero-copy .lede { max-width: 700px; }
.hero-note { color: #c4d3e1; }
.btn-row { row-gap: 12px; }
.conversion-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #d7e4ef;
  font-size: .86rem;
  font-weight: 700;
}
.conversion-proof span::before { content: "✓"; margin-right: 7px; color: var(--bnb-teal-bright); }

/* Keyboard and mobile readability */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--bnb-teal-bright) !important;
  outline-offset: 3px !important;
}
@media (max-width: 760px) {
  .btn-row .btn { width: 100%; white-space: normal; text-align: center; }
  .hero, .page-hero, .book-hero { overflow: hidden; }
  .conversion-proof { display: grid; gap: 8px; }
}
/* Explicit critical-action safeguard for the homepage secondary CTA. */
.btn.contrast-ghost {
  color: #ffffff !important;
  background: rgba(255,255,255,.14) !important;
  border: 2px solid rgba(255,255,255,.82) !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.28);
}
.btn.contrast-ghost:hover,
.btn.contrast-ghost:focus-visible {
  color: #071421 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  text-shadow: none;
}

/* 2026-07-23: Brand prominence and final review-edition synchronization */
:root {
  --header-h: 96px;
}
.site-header .header-inner {
  min-height: var(--header-h);
}
.site-header .brand {
  position: relative;
  padding: 8px 0;
  isolation: isolate;
}
.site-header .brand::before {
  content: "";
  position: absolute;
  inset: 0 -14px;
  z-index: -1;
  border-radius: 16px;
  background: radial-gradient(circle at 28% 50%, rgba(0,191,166,.13), transparent 68%);
  opacity: .85;
}
.site-header .brand img {
  width: 232px;
  max-width: 25vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.22));
}
.footer-brand img {
  width: 248px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  :root { --header-h: 82px; }
  .site-header .brand img { width: 205px; max-width: 62vw; }
  .site-nav { top: calc(37px + var(--header-h)); }
}
@media (max-width: 760px) {
  :root { --header-h: 78px; }
  .site-header .brand img { width: 188px; max-width: 64vw; }
  .site-nav { top: calc(42px + var(--header-h)); }
  .footer-brand img { width: 224px; }
}
@media (max-width: 390px) {
  .site-header .brand img { width: 170px; max-width: 61vw; }
}

/* 2026-07-27: Modern BNB hero visual and HRIS Audit Insights integration */
.nav-link.insights-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-link.insights-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal-2);
  box-shadow: 0 0 12px rgba(42, 226, 202, .6);
}
.rss-footer-link {
  color: #9fb4c8 !important;
  font-size: .8rem;
}
.rss-footer-link::before {
  content: "◔";
  margin-right: 6px;
  color: var(--teal-2);
}

.hero-photo.system-visual {
  inset: 18px 0 64px;
  border: 0;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}
.hero-photo.system-visual::after {
  display: none;
}
.hero-photo.system-visual img {
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.hero-system-note {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 22px;
  bottom: 0;
  display: grid;
  grid-template-columns: .7fr .9fr 1.8fr;
  gap: 1px;
  overflow: hidden;
  color: #dce8f4;
  background: rgba(7, 20, 33, .84);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}
.hero-system-note span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  text-align: center;
  font-size: .78rem;
  font-weight: 750;
  border-right: 1px solid rgba(255, 255, 255, .09);
}
.hero-system-note span:last-child { border-right: 0; }
.hero-system-note strong {
  color: var(--teal-2);
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
}

.insight-ribbon {
  position: relative;
  z-index: 5;
  color: #dce8f4;
  background: #071827;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.insight-ribbon-shell {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.insight-ribbon-label,
.insight-ribbon-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: #fff;
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .035em;
}
.insight-ribbon-all {
  color: var(--teal-2);
}
.insight-ribbon-all:hover,
.insight-ribbon-label:hover { color: #fff; }
.insight-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 0 5px rgba(42, 226, 202, .11), 0 0 18px rgba(42, 226, 202, .58);
}
.blog-ticker-window {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.blog-ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 8px 3%;
}
.blog-ticker-track.is-animated {
  animation: hr-blog-ticker 42s linear infinite;
}
.blog-ticker-window:hover .blog-ticker-track,
.blog-ticker-window:focus-within .blog-ticker-track {
  animation-play-state: paused;
}
.blog-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c8d7e6;
  font-size: .84rem;
  font-weight: 650;
  white-space: nowrap;
}
.blog-ticker-item:hover,
.blog-ticker-item:focus-visible { color: #fff; }
.blog-ticker-marker {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-2, #6c93ff);
}
.blog-ticker-date {
  color: #8298ad;
  font-size: .72rem;
}
@keyframes hr-blog-ticker {
  to { transform: translateX(-50%); }
}

.insight-section {
  overflow: hidden;
}
.insight-section-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.insight-feed-status {
  color: var(--slate);
  font-size: .78rem;
  font-weight: 700;
}
.insight-carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
}
.insight-card-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 44px) / 3));
  gap: 22px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, .28) transparent;
}
.insight-card {
  min-width: 0;
  min-height: 294px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(13, 27, 42, .1);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(12, 35, 55, .09);
  scroll-snap-align: start;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .24);
  box-shadow: 0 22px 54px rgba(12, 35, 55, .14);
}
.insight-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.insight-card-meta time {
  color: var(--slate);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.insight-card h3 {
  margin-top: 18px;
  font-size: clamp(1.24rem, 2vw, 1.52rem);
  line-height: 1.2;
}
.insight-card h3 a { color: var(--navy); }
.insight-card h3 a:hover { color: var(--blue); }
.insight-card p {
  margin: 16px 0 22px;
  color: #455b70;
  font-size: .94rem;
}
.insight-card .text-link {
  margin-top: auto;
}
.insight-carousel-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(13, 27, 42, .12);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(13, 27, 42, .1);
  font-size: 1.15rem;
  transition: transform .2s, color .2s, border-color .2s;
}
.insight-carousel-button:hover,
.insight-carousel-button:focus-visible {
  color: var(--blue);
  border-color: rgba(37, 99, 235, .35);
  transform: translateY(-2px);
}
.auth-insights-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal-2);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .site-nav { gap: 0; }
  .nav-link { padding-inline: 9px; font-size: .84rem; }
  .insight-card-scroller { grid-auto-columns: minmax(310px, calc((100% - 22px) / 2)); }
}
@media (max-width: 960px) {
  .insight-ribbon-shell { grid-template-columns: auto minmax(0, 1fr); }
  .insight-ribbon-all { display: none; }
  .hero-photo.system-visual { inset: 18px 16px 72px; }
}
@media (max-width: 760px) {
  .hero-photo.system-visual { inset: 0 0 74px; }
  .hero-system-note { left: 8px; right: 8px; }
  .hero-system-note span { min-height: 52px; padding: 8px; font-size: .69rem; }
  .hero-system-note strong { font-size: 1.04rem; }
  .insight-ribbon-shell { min-height: 52px; gap: 13px; }
  .insight-ribbon-label span:last-child { display: none; }
  .blog-ticker-item { font-size: .79rem; }
  .blog-ticker-date { display: none; }
  .insight-carousel-shell { grid-template-columns: 1fr; }
  .insight-carousel-button { display: none; }
  .insight-card-scroller { grid-auto-columns: minmax(280px, 88vw); padding-inline: 0; }
}
@media (max-width: 480px) {
  .hero-system-note { grid-template-columns: 1fr 1fr; }
  .hero-system-note span:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.09); }
  .insight-card { min-height: 280px; padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-ticker-track.is-animated { animation: none; }
  .blog-ticker-window { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}


/* 2026-07-27 responsive navigation and sitewide Insights patch */
.site-header .container.header-inner {
  width: min(calc(100% - 48px), 1560px);
  gap: clamp(16px, 1.4vw, 26px);
}
.site-nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.site-nav .nav-link,
.site-nav .nav-cta,
.site-nav .member-link {
  flex: 0 0 auto;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.site-nav .nav-link { padding-inline: 10px; }
.site-nav .nav-cta { margin-left: 7px; }

/* Undo the broad emergency wrapping rule for display copy and controls. */
h1, h2, h3, h4, .display, .eyebrow, .btn, .nav-link, .menu-toggle,
.trust-item strong, .phase-card h3, .framework-card h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
p, li, dd, figcaption, blockquote { overflow-wrap: break-word; }
.page-hero h1, .hero h1 { text-wrap: balance; }

@media (max-width: 1520px) {
  :root { --header-h: 82px; }
  .site-header .container.header-inner {
    width: min(calc(100% - 36px), 1480px);
  }
  .site-header .brand img {
    width: 220px;
    max-width: min(58vw, 220px);
  }
  .menu-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    z-index: 250;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 5px;
    color: #fff;
    background: rgba(7, 20, 33, .985);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(0,0,0,.42);
    backdrop-filter: blur(22px) saturate(140%);
  }
  .site-nav.open { display: flex; }
  .site-nav .nav-link,
  .site-nav .member-link,
  .site-nav .nav-cta {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 15px;
    justify-content: flex-start;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    border-radius: 11px;
  }
  .site-nav .nav-link.active::after { left: 15px; right: auto; width: 42px; }
  .site-nav .nav-cta { margin-top: 7px; justify-content: center; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(2, 9, 17, .42);
    backdrop-filter: blur(2px);
  }
}
@media (min-width: 1521px) {
  .menu-toggle { display: none !important; }
  .site-nav { display: flex !important; }
}
@media (max-width: 760px) {
  .site-header .container.header-inner { width: min(calc(100% - 24px), var(--max)); }
  .site-header .brand img { width: 184px; max-width: 64vw; }
  .site-nav { left: 12px; right: 12px; }
  .announcement .container { padding-block: 8px; line-height: 1.3; }
  .announcement span { display: none; }
}
@media (max-width: 390px) {
  .site-header .brand img { width: 164px; max-width: 60vw; }
}

.global-insights-strip {
  position: relative;
  z-index: 4;
  color: #dce8f4;
  background: linear-gradient(135deg, #071421, #0a2438 70%, #083846);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.global-insights-inner {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 2.2fr);
  align-items: stretch;
  gap: 26px;
  padding: 28px 0;
}
.global-insights-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.global-insights-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-2);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.global-insights-heading strong {
  color: #fff;
  font-family: Poppins, Aptos Display, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.28;
  overflow-wrap: normal;
  word-break: normal;
}
.global-insights-heading > a {
  width: fit-content;
  color: var(--teal-2);
  font-size: .8rem;
  font-weight: 800;
}
.global-insights-heading > a:hover,
.global-insights-heading > a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.global-insights-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
}
.global-insight-item {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 7px 12px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(7,20,33,.88);
  transition: background .2s, transform .2s;
}
.global-insight-item:hover,
.global-insight-item:focus-visible { background: rgba(17,49,73,.98); }
.global-insight-item span {
  grid-column: 1;
  color: var(--teal-2);
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}
.global-insight-item strong {
  grid-column: 1;
  color: #fff;
  font-size: .88rem;
  line-height: 1.36;
  font-weight: 760;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
}
.global-insight-item i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #8da8c0;
  font-size: 1rem;
  font-style: normal;
}
.global-insights-strip.feed-live .insight-live-dot { animation: hr-live-pulse 2.4s ease-in-out infinite; }
@keyframes hr-live-pulse { 50% { transform: scale(.72); opacity: .62; } }
@media (max-width: 1080px) {
  .global-insights-inner { grid-template-columns: 1fr; gap: 17px; }
  .global-insights-heading { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .global-insights-heading strong { grid-column: 1; }
  .global-insights-heading > a { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .global-insights-inner { padding: 24px 0; }
  .global-insights-heading { display: flex; align-items: flex-start; }
  .global-insights-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 86vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 12px;
    scrollbar-width: thin;
  }
  .global-insight-item {
    min-height: 130px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .global-insights-strip.feed-live .insight-live-dot { animation: none; }
}

/* 2026-07-27 r4: above-the-fold hero composition and application-style pinned navigator */
.header-inner { position: relative; }

/* Keep the opening proposition and the operating-system visual together in the first view. */
.hero-home {
  min-height: 0;
  padding: clamp(50px, 6vh, 76px) 0 clamp(58px, 7vh, 84px);
}
.hero-home .hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: start;
}
.hero-home .hero-copy { padding-top: clamp(4px, 1vw, 16px); }
.hero-home h1 {
  max-width: 760px;
  font-size: clamp(3.45rem, 5.15vw, 5.8rem);
  line-height: .98;
  text-wrap: balance;
}
.hero-home .lede {
  max-width: 720px;
  margin: 22px 0 25px;
  font-size: clamp(1.02rem, 1.34vw, 1.18rem);
  line-height: 1.55;
}
.hero-home .hero-note {
  margin-top: 20px;
  line-height: 1.45;
}
.hero-home .hero-visual {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 14px;
}
.hero-home .hero-photo.system-visual {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px;
  background: rgba(5,17,31,.38);
  box-shadow: 0 26px 66px rgba(0,0,0,.31);
}
.hero-home .hero-photo.system-visual img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.hero-home .hero-system-note {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(112px, .72fr) minmax(132px, .84fr) minmax(250px, 1.55fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}
.hero-home .hero-system-note span {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero-home .hero-system-note em {
  min-width: 0;
  color: #e7eff7;
  font-style: normal;
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.18;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-home .hero-system-note .wide em {
  white-space: normal;
  text-wrap: balance;
}
.hero-home .hero-system-note strong {
  flex: 0 0 auto;
  font-size: 1.24rem;
  line-height: 1;
}
.hero-home + .trust-strip { margin-top: -28px; }

/* Compact vertical space on shorter desktop screens without sacrificing hierarchy. */
@media (min-width: 1081px) and (max-height: 820px) {
  .hero-home { padding-top: 36px; padding-bottom: 58px; }
  .hero-home h1 { font-size: clamp(3.2rem, 4.7vw, 5.15rem); }
  .hero-home .eyebrow { margin-bottom: 15px; }
  .hero-home .lede { margin: 17px 0 20px; font-size: 1rem; }
  .hero-home .hero-note { margin-top: 15px; font-size: .79rem; }
  .hero-home .hero-system-note span { min-height: 52px; }
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .hero-home .hero-grid {
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    gap: 34px;
  }
  .hero-home h1 { font-size: clamp(3.25rem, 4.8vw, 4.9rem); }
  .hero-home .hero-system-note {
    grid-template-columns: minmax(104px, .68fr) minmax(122px, .8fr) minmax(230px, 1.52fr);
  }
  .hero-home .hero-system-note span { padding-inline: 9px; }
}
@media (max-width: 1080px) {
  .hero-home { padding-top: 58px; }
  .hero-home .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-home .hero-copy { padding-top: 0; }
  .hero-home h1 { max-width: 840px; font-size: clamp(3.4rem, 8.4vw, 5.6rem); }
  .hero-home .hero-visual { width: min(760px, 100%); margin-inline: auto; }
}
@media (max-width: 760px) {
  .hero-home { padding: 54px 0 70px; }
  .hero-home h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero-home .lede { margin: 20px 0 23px; }
  .hero-home .hero-visual { gap: 11px; }
  .hero-home .hero-photo.system-visual { border-radius: 22px; }
  .hero-home .hero-system-note {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero-home .hero-system-note .wide {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,.09);
    border-right: 0;
  }
  .hero-home .hero-system-note span { min-height: 50px; padding: 8px 10px; }
  .hero-home .hero-system-note em { font-size: .72rem; }
  .hero-home .hero-system-note strong { font-size: 1.08rem; }
}
@media (max-width: 470px) {
  .hero-home h1 { font-size: clamp(2.85rem, 14vw, 3.7rem); }
  .hero-home .hero-note { align-items: flex-start; }
  .hero-home .hero-note::before { margin-top: .65em; flex: 0 0 28px; }
}

/* The drawer header is injected by app.js so every static and dynamic page shares one navigator. */
.nav-drawer-head { display: none; }

@media (max-width: 1520px) {
  .site-nav {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 260;
    width: min(390px, calc(100vw - 36px)) !important;
    max-height: min(620px, calc(100dvh - var(--header-h) - 70px));
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch !important;
    align-content: start;
    justify-content: stretch !important;
    gap: 8px !important;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background: rgba(7,20,33,.985);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    box-shadow: 0 28px 76px rgba(0,0,0,.44);
    backdrop-filter: blur(22px) saturate(145%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-drawer-head {
    grid-column: 1 / -1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 3px 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-drawer-title {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .nav-drawer-title strong {
    color: #fff;
    font-family: Poppins, Aptos Display, "Segoe UI", sans-serif;
    font-size: .92rem;
    line-height: 1.2;
  }
  .nav-drawer-title small {
    color: #91a7ba;
    font-size: .68rem;
    line-height: 1.25;
  }
  .nav-pin {
    min-width: 72px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    color: #cfe0ef;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .nav-pin:hover,
  .nav-pin:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(42,226,202,.45);
  }
  .nav-pin[aria-pressed="true"] {
    color: #071421;
    background: var(--teal-2);
    border-color: var(--teal-2);
  }
  .nav-pin-icon { font-size: .82rem; line-height: 1; }

  .site-nav .nav-link,
  .site-nav .member-link,
  .site-nav .nav-cta {
    width: auto !important;
    min-width: 0;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start !important;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    font-size: .78rem;
    line-height: 1.2;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
  }
  .site-nav .nav-link:hover,
  .site-nav .nav-link:focus-visible,
  .site-nav .member-link:hover,
  .site-nav .member-link:focus-visible {
    transform: translateY(-1px);
    background: rgba(255,255,255,.09);
    border-color: rgba(42,226,202,.28);
  }
  .site-nav .nav-link.active {
    color: #fff;
    background: rgba(42,226,202,.1);
    border-color: rgba(42,226,202,.38);
  }
  .site-nav .nav-link.active::after {
    left: 10px !important;
    right: auto !important;
    bottom: 6px !important;
    width: 28px !important;
  }
  .site-nav .member-link {
    grid-column: 1 / -1;
    color: var(--teal-2);
    background: rgba(42,226,202,.06);
  }
  .site-nav .nav-cta {
    grid-column: 1 / -1;
    justify-content: center !important;
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    font-size: .8rem;
  }
  .site-nav .nav-cta:hover,
  .site-nav .nav-cta:focus-visible { background: #1557e7; }

  /* A compact drawer does not need a full-screen scrim. */
  body.nav-open::after { display: none !important; content: none !important; }
  body.nav-pinned .site-nav {
    border-color: rgba(42,226,202,.42);
    box-shadow: 0 28px 76px rgba(0,0,0,.44), 0 0 0 1px rgba(42,226,202,.08);
  }
  body.nav-pinned .menu-toggle {
    color: #071421;
    background: var(--teal-2);
    border-color: var(--teal-2);
  }
}

@media (max-width: 800px) {
  .nav-pin { display: none; }
  .site-nav { width: min(370px, calc(100vw - 24px)) !important; }
}
@media (max-width: 470px) {
  .site-nav {
    right: -2px !important;
    width: min(360px, calc(100vw - 20px)) !important;
    padding: 11px !important;
    gap: 7px !important;
  }
  .site-nav .nav-link,
  .site-nav .member-link,
  .site-nav .nav-cta {
    min-height: 42px !important;
    padding: 9px 10px !important;
    font-size: .74rem;
  }
  .nav-drawer-title small { display: none; }
}
@media (max-height: 690px) and (max-width: 1520px) {
  .site-nav { max-height: calc(100dvh - var(--header-h) - 34px); }
  .site-nav .nav-link,
  .site-nav .member-link,
  .site-nav .nav-cta { min-height: 40px !important; padding-block: 8px !important; }
  .nav-drawer-head { padding-bottom: 7px; }
}

/* r4.1: give the opening proposition enough width to stay concise without shrinking the visual. */
@media (min-width: 1081px) {
  .hero-home > .container {
    width: min(calc(100% - 56px), 1480px);
  }
  .hero-home .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(500px, .96fr);
  }
}
@media (min-width: 1081px) and (max-height: 820px) {
  .hero-home .hero-visual {
    width: min(100%, 625px);
    justify-self: end;
  }
}

/* 2026-07-27 r5: executive conversion, book synchronization, crawlable Insights and resilient responsive layout */
html, body { max-width: 100%; overflow-x: hidden; }
main, section, .container, .hero-grid, .split-media, .section-heading, .contact-layout,
.framework-detail-grid, .framework-application, .advisory-selector, .proof-strip-grid,
.motion-strip, .engagement-ladder, .insight-card-grid { min-width: 0; }

/* Keep natural language readable without breaking navigation, headings or controls inside words. */
p, li, dd, blockquote, figcaption { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
h1, h2, h3, h4, .eyebrow, .btn, .nav-link, .member-link, .nav-cta,
.trust-item strong, .proof-strip strong, .motion-strip h3, .framework-question strong,
.advisory-selector strong, .global-insight-item strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
h1, h2, h3 { text-wrap: balance; }
.btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.site-nav .btn, .site-nav a { white-space: nowrap; }
.long-url, code, pre, .contact-method a { overflow-wrap: anywhere; word-break: break-word; }

/* Dismissible Field Library announcement. */
.announcement { transition: opacity .22s ease, max-height .22s ease, border-color .22s ease; max-height: 70px; overflow: hidden; }
.announcement.is-dismissed { max-height: 0; opacity: 0; border-color: transparent; pointer-events: none; }
.announcement .container { position: relative; padding-inline: 34px; }
.announcement-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #cfe0ef;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1;
}
.announcement-close:hover,
.announcement-close:focus-visible { color: #fff; background: rgba(255,255,255,.13); }

/* Credibility immediately after the opening proposition. */
.proof-strip {
  position: relative;
  z-index: 5;
  color: #e9f3fb;
  background: #071421;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,.09);
}
.proof-strip-grid > div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 94px;
  padding: 18px 24px;
  background: #0a1c2c;
}
.proof-strip strong { color: var(--teal-2); font-family: Poppins, Aptos Display, sans-serif; font-size: 1.06rem; }
.proof-strip span { color: #c3d2df; font-size: .78rem; line-height: 1.35; }
.evidence-patterns .card { border-top: 3px solid var(--teal); }
.evidence-disclaimer { margin-top: 24px; color: var(--slate); font-size: .82rem; }

/* Executive risk framing. */
.value-leaks .dark-card {
  min-width: 0;
  padding: 30px;
  color: #e8f1f8;
  background: rgba(5,18,31,.72);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
}
.value-leaks .dark-card > span { color: var(--teal-2); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.value-leaks .dark-card h3 { margin: 13px 0 12px; color: #fff; }
.value-leaks .dark-card p { color: #c5d3df; }
.centered-actions, .section-actions { margin-top: 34px; }

/* Five-motion scan line. */
.motion-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}
.motion-strip article {
  min-width: 0;
  position: relative;
  padding: 25px 20px 24px;
  background: linear-gradient(180deg,#fff,#f5f8fb);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.motion-strip article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--teal),var(--blue));
  border-radius: 3px 3px 0 0;
}
.motion-strip article > span { color: var(--teal); font-size: .78rem; font-weight: 900; }
.motion-strip h3 { margin: 7px 0 9px; font-size: 1.22rem; }
.motion-strip p { color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Book promise mirrors the final review-copy cover. */
.book-cover-promise {
  margin: 18px 0 22px;
  color: var(--teal-2);
  font-family: Poppins, Aptos Display, sans-serif;
  font-size: clamp(1.05rem,1.6vw,1.35rem);
  font-weight: 750;
  line-height: 1.42;
}
.book-home-feature .book-cover-promise { max-width: 650px; }

/* Owned Insights landing page. */
.insights-hero .lede { max-width: 890px; }
.insight-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.insight-card-grid .insight-card { min-width: 0; height: 100%; }
.insight-card-grid[data-feed-ready="true"] .insight-card { animation: none; }

/* Individual framework pages. */
.framework-detail-hero .lede { max-width: 850px; }
.framework-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px,.9fr) minmax(0,1.1fr);
  gap: clamp(40px,6vw,82px);
  align-items: center;
}
.framework-detail-art {
  margin: 0;
  padding: 22px;
  background: #071421;
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.framework-detail-art img { width: 100%; height: auto; object-fit: contain; }
.framework-question {
  display: grid;
  gap: 7px;
  margin: 28px 0;
  padding: 20px 22px;
  background: #edf4ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
}
.framework-question span { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.framework-question strong { color: var(--ink); font-size: 1.1rem; line-height: 1.35; }
.check-list { display: grid; gap: 10px; padding-left: 1.25rem; }
.executive-question-list {
  counter-reset: executive-question;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}
.executive-question-list li {
  counter-increment: executive-question;
  min-width: 0;
  position: relative;
  padding: 54px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.executive-question-list li::before {
  content: "0" counter(executive-question);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
}
.framework-application {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr);
  gap: 52px;
  align-items: start;
}
.framework-application aside {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.framework-detail-link { margin-right: 8px; }

/* Advisory path selector. */
.advisory-selector-section { padding: 70px 0 76px; background: #fff; }
.advisory-selector {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.advisory-selector a {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 25px;
  background: linear-gradient(180deg,#f8fbff,#eef4f9);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.advisory-selector a:hover,
.advisory-selector a:focus-visible { transform: translateY(-3px); border-color: rgba(37,99,235,.45); box-shadow: var(--shadow); }
.advisory-selector span { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.advisory-selector strong { color: var(--ink); font-family: Poppins, Aptos Display, sans-serif; font-size: 1.1rem; }
.advisory-selector em { color: var(--muted); font-style: normal; font-size: .88rem; line-height: 1.45; }
article[id] { scroll-margin-top: 130px; }

/* Lower-friction inquiry form. */
.optional-details {
  margin: 20px 0;
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.optional-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.optional-details summary::-webkit-details-marker { display: none; }
.optional-details summary::after { content: "+"; color: var(--blue); font-size: 1.25rem; }
.optional-details[open] summary::after { content: "−"; }
.optional-details summary span { color: var(--slate); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.optional-form-grid { padding: 0 18px 18px; }
.consent-field { margin-top: 18px; }

/* Page-specific hero sizing protects first-screen readability across zoom levels. */
.page-hero h1 { max-width: 1040px; font-size: clamp(2.8rem,6vw,5.8rem); line-height: 1.02; }
.page-hero .lede { max-width: 900px; }
.hero-home .hero-photo.system-visual { display: block; }
.hero-home .hero-photo.system-visual::after { display: none; }
.hero-home .hero-photo.system-visual:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 4px; }

/* Native navigation stays stable; JavaScript only controls behavior. */
.site-nav .nav-link,
.site-nav .member-link,
.site-nav .nav-cta { max-width: 100%; }
@media (min-width: 1521px) {
  .site-header .brand img { width: 218px; }
  .site-nav .nav-link { padding-inline: 8px; font-size: .82rem; }
  .site-nav .nav-cta { padding-inline: 13px; }
}

@media (max-width: 1180px) {
  .proof-strip-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .motion-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .motion-strip article:nth-child(4), .motion-strip article:nth-child(5) { grid-column: auto; }
  .framework-detail-grid { grid-template-columns: 1fr; }
  .framework-detail-art { width: min(720px,100%); }
  .insight-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .advisory-selector, .executive-question-list, .engagement-ladder { grid-template-columns: 1fr; }
  .framework-application { grid-template-columns: 1fr; }
  .motion-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .announcement .container { padding-right: 40px; }
  .announcement-close { right: 4px; }
  .proof-strip-grid, .insight-card-grid { grid-template-columns: 1fr; }
  .proof-strip-grid > div { min-height: 76px; }
  .motion-strip { grid-template-columns: 1fr; }
  .hero-home .hero-system-note em { white-space: normal; text-wrap: balance; }
  .page-hero h1 { font-size: clamp(2.55rem,12vw,4.1rem); }
  .framework-detail-art { padding: 12px; border-radius: 20px; }
  .optional-details summary { align-items: flex-start; }
}
@media (max-width: 430px) {
  .announcement strong { font-size: .76rem; }
  .announcement a { font-size: .72rem; }
  .proof-strip-grid > div { padding: 16px 18px; }
  .hero-home .hero-system-note span { flex-direction: column; gap: 4px; white-space: normal; }
  .hero-home .hero-system-note em { text-align: center; }
  .btn-row .btn { width: 100%; }
}

/* 2026-07-28 r5.1: final responsive QA refinements */
.site-header .brand { min-width: 0; }
.site-header .brand img { max-width: 100%; }

/* The generic framework-card badge is absolutely positioned; citation tags belong in normal book flow. */
.citation-chapter .framework-tag {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Keep the final book promise prominent without allowing the longest word to crowd its column. */
.book-hero h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 5.15vw, 5.25rem);
  line-height: 1.01;
  overflow-wrap: normal;
  word-break: normal;
}
.book-hero-grid { gap: clamp(42px, 5vw, 72px); }

/* Laptop and landscape-tablet composition: retain the visual in the opening view. */
@media (min-width: 900px) and (max-width: 1080px) {
  .hero-home { padding: 40px 0 56px; }
  .hero-home .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
    gap: 28px;
    align-items: center;
  }
  .hero-home h1 { max-width: 560px; font-size: clamp(3rem, 5.55vw, 3.65rem); }
  .hero-home .lede { margin: 17px 0 19px; font-size: .96rem; line-height: 1.48; }
  .hero-home .hero-note { margin-top: 14px; font-size: .76rem; }
  .hero-home .hero-visual { width: 100%; margin: 0; }
  .hero-home .hero-photo.system-visual { border-radius: 22px; }
  .hero-home .hero-system-note {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .hero-home .hero-system-note .wide { grid-column: 1 / -1; }
  .hero-home .hero-system-note span { min-height: 44px; padding: 7px 8px; }
  .hero-home .hero-system-note em { font-size: .68rem; }
  .hero-home .hero-system-note strong { font-size: 1rem; }
}

@media (max-width: 899px) {
  .book-hero h1 { font-size: clamp(2.9rem, 9vw, 4.7rem); }
}
@media (max-width: 560px) {
  .book-hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.75rem); }
}

/* 2026-07-28 r7: full-site contrast correction and book-page readability pass. */
:root {
  --bnb-teal-on-light: #08766c;
  --bnb-red-on-light: #b33636;
  --bnb-copy-on-dark: #d9e6f2;
  --bnb-muted-on-dark: #c5d2df;
}

/* The book's field-material section uses light typography and therefore needs an explicit dark surface. */
.section.ink {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(37,99,235,.22), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(0,191,166,.14), transparent 28%),
    linear-gradient(145deg, #071421 0%, #0d1b2a 58%, #0a3046 100%);
}
.section.ink::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.section.ink > .container { position: relative; z-index: 1; }
.section.ink .field-material-grid article {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.section.ink .field-material-grid h3 { color: #ffffff; }
.section.ink .field-material-grid p { color: var(--bnb-copy-on-dark); }
.section.ink .field-material-grid span { color: #73efd9; }

/* Dark sections: secondary labels must remain readable at small sizes. */
.section.dark .pathway .path-meta,
.section.dark-2 .pathway .path-meta {
  color: var(--bnb-muted-on-dark);
}

/* Contact card sits inside a light section but is itself dark; restore surface-aware colors. */
.section.white .contact-panel,
.section.cloud .contact-panel { color: #ffffff; }
.section.white .contact-panel h1,
.section.white .contact-panel h2,
.section.white .contact-panel h3,
.section.cloud .contact-panel h1,
.section.cloud .contact-panel h2,
.section.cloud .contact-panel h3 { color: #ffffff; }
.section.white .contact-panel p,
.section.white .contact-panel .lede,
.section.cloud .contact-panel p,
.section.cloud .contact-panel .lede { color: var(--bnb-copy-on-dark); }
.section.white .contact-panel .eyebrow,
.section.cloud .contact-panel .eyebrow { color: #73efd9; }
.section.white .contact-panel .contact-method span,
.section.cloud .contact-panel .contact-method span { color: #b8cadd; }
.section.white .contact-panel .contact-method strong,
.section.cloud .contact-panel .contact-method strong { color: #ffffff; }

/* Book resources: use a darker teal wherever teal text sits on a light surface. */
.field-material-grid.light span,
.section.white .citation-part-header > span,
.section.cloud .citation-part-header > span {
  color: var(--bnb-teal-on-light);
}

/* Access matrix and optional-form labels: meet normal-text contrast on light backgrounds. */
.license-row .no { color: var(--bnb-red-on-light); }
.optional-details summary span { color: #4c6073; }

/* Dark advisory/IP cards nested inside light sections keep readable body copy. */
.section.cloud .book-ip-note article:nth-child(3) p,
.section.white .book-ip-note article:nth-child(3) p {
  color: var(--bnb-copy-on-dark);
}
