:root {
  --navy: #102a43;
  --navy-2: #132f4c;
  --blue: #2456c4;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --purple: #6b5de2;
  --gold: #c9872b;
  --terracotta: #c45c45;
  --slate: #486581;
  --muted: #6b7c8d;
  --ice: #f3f7fb;
  --ice-2: #eaf2f7;
  --paper: #ffffff;
  --cream: #fff8e8;
  --border: #d6e2ec;
  --border-strong: #b7c8d6;
  --success: #176b52;
  --warning-bg: #fff6dc;
  --danger-bg: #fff0ee;
  --shadow: 0 18px 48px rgba(16, 42, 67, 0.10);
  --shadow-soft: 0 8px 24px rgba(16, 42, 67, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1180px;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; color: var(--navy); background: var(--paper); font-family: var(--serif); font-size: 18px; line-height: 1.62; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: #d8eee9; color: var(--navy); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .65rem 1rem; background: var(--navy); color: #fff; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.brand-stripe { height: 8px; background: linear-gradient(90deg, var(--teal) 0 70%, var(--purple) 70% 100%); }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.section { padding: 5.4rem 0; }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #fff; }
.section--compact { padding: 3.8rem 0; }

.site-header { position: relative; z-index: 200; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); }
.site-header__inner { width: min(1420px, calc(100% - 2.5rem)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; gap: 1.4rem; }
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-link img { display: block; width: 212px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-family: var(--sans); font-size: .82rem; }
.main-nav > a, .nav-group__button { border: 0; background: none; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav > a:hover, .nav-group__button:hover, .nav-group__button[aria-expanded="true"] { color: var(--teal); }
.main-nav__cta { padding: .62rem .86rem; border: 1px solid var(--navy) !important; border-radius: 999px; }
.nav-group { position: relative; }
.nav-group__button { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem 0; }
.nav-group__button::after { content: "▾"; font-size: .7rem; }
.nav-group__menu { position: absolute; top: calc(100% + .8rem); left: 50%; width: 320px; transform: translateX(-50%); display: none; padding: .55rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.nav-group.is-open .nav-group__menu { display: grid; }
.nav-group__menu::before { content: ""; position: absolute; left: 50%; top: -.45rem; width: .8rem; height: .8rem; transform: translateX(-50%) rotate(45deg); background: #fff; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.nav-group__menu a { position: relative; display: grid; gap: .15rem; padding: .72rem .8rem; border-radius: 9px; color: var(--navy); text-decoration: none; }
.nav-group__menu a:hover, .nav-group__menu a[aria-current="page"] { background: var(--ice); color: var(--teal-dark); }
.nav-group__menu strong { font-family: var(--sans); font-size: .82rem; }
.nav-group__menu small { color: var(--slate); font-family: var(--serif); font-size: .82rem; line-height: 1.35; }
.menu-button { display: none; margin-left: auto; padding: .55rem .75rem; border: 1px solid var(--border-strong); border-radius: 10px; background: #fff; color: var(--navy); font-family: var(--sans); font-weight: 700; }

.product-nav { position: sticky; top: 0; z-index: 150; background: rgba(16,42,67,.97); color: #fff; box-shadow: 0 2px 12px rgba(16,42,67,.12); backdrop-filter: blur(10px); }
.product-nav__inner { min-height: 58px; display: flex; align-items: center; gap: 1.2rem; }
.product-lockup { display: grid; flex: 0 0 auto; color: #fff; text-decoration: none; line-height: 1.05; }
.product-lockup strong { font-family: var(--sans); font-size: 1rem; letter-spacing: .08em; }
.product-lockup span { color: #b9c9d8; font-size: .7rem; }
.product-nav__links { margin-left: auto; display: flex; align-items: center; gap: 1rem; font-family: var(--sans); font-size: .73rem; }
.product-nav__links a { color: #dbe8f2; font-weight: 700; text-decoration: none; }
.product-nav__links a:hover { color: #fff; }
.product-nav__cta { padding: .48rem .75rem; border: 1px solid #80c8c0; border-radius: 999px; color: #fff; font-family: var(--sans); font-size: .73rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.product-nav__cta:hover { background: var(--teal); color: #fff; }

.eyebrow { margin: 0 0 .65rem; color: var(--teal); font-family: var(--sans); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: #93d6cf; }
h1, h2, h3, h4 { margin: 0 0 .7em; color: inherit; line-height: 1.12; letter-spacing: -.018em; }
h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.05rem, 3.7vw, 3.55rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.63rem); }
p { margin: 0 0 1.15rem; }
.lead { max-width: 820px; color: var(--slate); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.48; }
.section--navy .lead, .section--navy p { color: #dbe8f2; }
.statement-line { margin-top: 1.7rem; padding-left: 1rem; border-left: 4px solid var(--teal); color: var(--navy); font-size: 1.2rem; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 5.4rem 0 5.9rem; background: radial-gradient(circle at 85% 25%, rgba(15,118,110,.13), transparent 22rem), linear-gradient(180deg,#fff 0%,#f8fbfd 100%); }
.hero::after { content: ""; position: absolute; right: -13rem; top: -16rem; width: 48rem; height: 48rem; border: 2px solid rgba(36,86,196,.07); border-radius: 50%; box-shadow: 0 0 0 68px rgba(15,118,110,.035), 0 0 0 138px rgba(107,93,226,.024); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(350px,.85fr); gap: 4.5rem; align-items: center; }
.hero h1 span { color: var(--teal); }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; padding: .45rem .75rem; border: 1px solid #d9b56a; border-radius: 999px; background: var(--cream); color: #70501b; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-pill::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }
.hero__actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero__microcopy { margin: 1.1rem 0 0; color: var(--muted); font-family: var(--sans); font-size: .78rem; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.05rem; border: 1px solid var(--navy); border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .86rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); border-color: var(--teal-dark); background: var(--teal-dark); color: #fff; box-shadow: var(--shadow-soft); }
.button--secondary { background: #fff; color: var(--navy); }
.button--secondary:hover { border-color: var(--slate); background: var(--ice); color: var(--navy); }
.button--teal { border-color: var(--teal); background: var(--teal); }
.button--light { border-color: #fff; background: #fff; color: var(--navy); }
.button--light:hover { border-color: #fff; background: var(--ice); color: var(--navy); }
.button--outline-light { border-color: #8da5b9; background: transparent; color: #fff; }
.button--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.dossier { position: relative; width: min(445px,100%); justify-self: end; overflow: hidden; border: 1px solid var(--border); border-radius: 23px; background: #fff; box-shadow: 0 25px 50px rgba(16,42,67,.16); }
.dossier__topline { height: 8px; background: linear-gradient(90deg,var(--teal) 0 40%,var(--purple) 40% 62%,var(--gold) 62% 80%,var(--terracotta) 80%); }
.dossier__header { padding: 1.35rem 1.45rem 1rem; border-bottom: 1px solid var(--border); }
.dossier__kicker { display: block; margin-bottom: .3rem; color: var(--teal); font-family: var(--sans); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dossier__header strong { display: block; font-size: 2.65rem; line-height: 1; }
.dossier__header small { color: var(--slate); }
.dossier__object { display: grid; gap: .2rem; margin: 1rem 1.35rem; padding: .75rem .85rem; border: 1px solid var(--border); border-radius: 10px; background: var(--ice); }
.dossier__object span, .dossier__result span { color: var(--muted); font-family: var(--sans); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dossier__object strong, .dossier__result strong { font-family: var(--sans); font-size: .78rem; }
.dossier__gates { padding: .25rem 1.35rem .65rem; }
.gate { display: grid; grid-template-columns: 2.5rem 1fr; gap: .8rem; align-items: center; padding: .85rem .9rem; border: 1px solid var(--border); border-left: 5px solid var(--teal); border-radius: 12px; }
.gate--two { border-left-color: var(--purple); }
.gate__number { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--sans); font-weight: 900; }
.gate--two .gate__number { background: var(--purple); }
.gate span { display: block; color: var(--teal); font-family: var(--sans); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gate--two span { color: var(--purple); }
.gate strong { display: block; font-size: 1.25rem; line-height: 1.15; }
.gate small { display: block; margin-top: .2rem; color: var(--slate); font-size: .72rem; line-height: 1.3; }
.gate-arrow { color: var(--gold); text-align: center; line-height: 1.3; }
.dossier__modules { display: grid; grid-template-columns: repeat(7,1fr); gap: .25rem; padding: .2rem 1.35rem .8rem; }
.dossier__modules span { display: grid; place-items: center; height: 1.8rem; border-radius: 7px; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .58rem; font-weight: 800; }
.dossier__modules span:nth-child(2), .dossier__modules span:nth-child(6) { background: var(--teal); }
.dossier__modules span:nth-child(3) { background: var(--purple); }
.dossier__modules span:nth-child(4) { background: var(--gold); }
.dossier__modules span:nth-child(5) { background: var(--terracotta); }
.dossier__result { display: grid; gap: .15rem; margin: 0 1.35rem 1rem; padding: .75rem .85rem; border-radius: 10px; background: var(--navy); color: #fff; }
.dossier__result span { color: #9dd9d3; }
.dossier__footer { display: flex; justify-content: space-between; gap: .5rem; padding: .75rem 1.35rem; border-top: 1px solid var(--border); color: var(--muted); font-family: var(--sans); font-size: .62rem; font-weight: 700; }

.phrase-band { background: var(--navy); color: #fff; }
.phrase-band__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.phrase-band p { margin: 0; padding: 1.35rem 1rem; border-right: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; text-align: center; }
.phrase-band p:last-child { border-right: 0; }
.phrase-band span { color: #8ed0c9; font-weight: 700; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 3.1rem; }
.problem-card { padding: 1.45rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(16,42,67,.02); }
.problem-card > span { display: inline-grid; place-items: center; width: 2.15rem; height: 2.15rem; margin-bottom: .9rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 900; }
.problem-card:nth-child(2) > span { background: var(--teal); }
.problem-card:nth-child(3) > span { background: var(--purple); }
.problem-card:nth-child(4) > span { background: var(--gold); }
.problem-card h3 { font-size: 1.18rem; }
.problem-card p { margin: 0; color: var(--slate); font-size: .93rem; }

.definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.1rem; }
.definition-panel { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.definition-panel--is { border-top: 7px solid var(--teal); }
.definition-panel--not { border-top: 7px solid var(--terracotta); }
.definition-panel__label { color: var(--teal); font-family: var(--sans); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.definition-panel--not .definition-panel__label { color: var(--terracotta); }
.check-list, .cross-list { margin: 1rem 0 0; padding: 0; list-style: none; }
.check-list li, .cross-list li { position: relative; margin: .75rem 0; padding-left: 1.8rem; }
.check-list li::before, .cross-list li::before { position: absolute; left: 0; top: .05rem; font-family: var(--sans); font-weight: 900; }
.check-list li::before { content: "✓"; color: var(--teal); }
.cross-list li::before { content: "×"; color: var(--terracotta); }
.definition-bottom-line { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border-left: 5px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream); font-size: 1.1rem; font-weight: 700; }

.section-heading { margin-bottom: 2rem; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.gate-panel { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.gate-panel::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 10rem; height: 10rem; border: 2px solid rgba(15,118,110,.08); border-radius: 50%; box-shadow: 0 0 0 24px rgba(15,118,110,.03); }
.gate-panel--utility::after { border-color: rgba(107,93,226,.09); box-shadow: 0 0 0 24px rgba(107,93,226,.03); }
.gate-panel__number { display: inline-block; margin-bottom: .9rem; padding: .35rem .55rem; border-radius: 8px; background: var(--teal); color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.gate-panel--utility .gate-panel__number { background: var(--purple); }
.gate-panel__label { margin-bottom: .35rem; color: var(--muted); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gate-panel ul { padding-left: 1.2rem; }
.gate-panel li { margin: .35rem 0; }
.gate-panel__rule { margin: 1.2rem 0 0; padding: .75rem .85rem; border-radius: 9px; background: var(--ice); font-weight: 700; }
.modules-heading { margin: 3.6rem auto 1.4rem; }
.modules-heading h3 { max-width: 780px; }
.module-grid { display: grid; gap: .9rem; }
.module-card { display: grid; grid-template-columns: 4rem 1fr; gap: 1.2rem; padding: 1.3rem 1.4rem; border: 1px solid var(--border); border-left: 7px solid var(--navy); border-radius: var(--radius-sm); background: #fff; }
.module-card--2, .module-card--6 { border-left-color: var(--teal); }
.module-card--3 { border-left-color: var(--purple); }
.module-card--4 { border-left-color: var(--gold); }
.module-card--5 { border-left-color: var(--terracotta); }
.module-card--7 { border-left-color: var(--blue); }
.module-card__number { display: grid; place-items: center; align-self: start; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 900; }
.module-card--2 .module-card__number, .module-card--6 .module-card__number { background: var(--teal); }
.module-card--3 .module-card__number { background: var(--purple); }
.module-card--4 .module-card__number { background: var(--gold); }
.module-card--5 .module-card__number { background: var(--terracotta); }
.module-card--7 .module-card__number { background: var(--blue); }
.module-card h3 { margin-bottom: .35rem; }
.module-card p { margin-bottom: .35rem; color: var(--slate); }
.module-card small { color: var(--muted); font-family: var(--sans); font-size: .76rem; font-weight: 700; }

.outcome-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: .8rem; margin-top: 2rem; }
.outcome-strip article { padding: 1.2rem; border: 1px solid rgba(255,255,255,.18); border-top: 5px solid #8ed0c9; border-radius: 13px; background: rgba(255,255,255,.05); }
.outcome-strip article:nth-child(2) { border-top-color: #d9b56a; }
.outcome-strip article:nth-child(3) { border-top-color: #9b91ed; }
.outcome-strip article:nth-child(4) { border-top-color: #70b9a8; }
.outcome-strip article:nth-child(5) { border-top-color: #df8b78; }
.outcome-strip span { display: inline-block; margin-bottom: .55rem; color: #9dd9d3; font-family: var(--sans); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.outcome-strip h3 { min-height: 3.1em; font-size: 1.06rem; }
.outcome-strip p { margin: 0; color: #dbe8f2; font-size: .87rem; }
.outcome-note { margin: 1.7rem 0 0; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.06); font-weight: 700; }

.output-stack { display: grid; gap: .7rem; margin-top: 1.4rem; }
.output-stack > div { display: grid; grid-template-columns: 2.4rem 1fr; gap: .85rem; padding: .85rem 0; border-top: 1px solid var(--border); }
.output-stack > div:last-child { border-bottom: 1px solid var(--border); }
.output-stack span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: .68rem; font-weight: 900; }
.output-stack p { margin: 0; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.evidence-grid article { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--ice); }
.evidence-grid ul { margin-bottom: 0; padding-left: 1.2rem; }

.role-cloud { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.role-cloud span { padding: .45rem .7rem; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--navy); font-family: var(--sans); font-size: .75rem; font-weight: 700; }
.use-case-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 3rem; }
.use-case-grid article { padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.use-case-grid article > span { color: var(--teal); font-family: var(--sans); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.use-case-grid h3 { margin-top: .65rem; font-size: 1.18rem; }
.use-case-grid p { margin: 0; color: var(--slate); font-size: .91rem; }

.technical-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; margin: 1.4rem 0; }
.technical-grid > div { padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.technical-grid span { display: block; color: var(--teal); font-family: var(--sans); font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.technical-grid strong { display: block; margin: .25rem 0; }
.technical-grid p { margin: 0; color: var(--slate); font-size: .86rem; }
.technical-limit { margin-top: 1.3rem; padding: 1.25rem 1.35rem; border-left: 5px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--warning-bg); }
.technical-limit strong { display: block; margin-bottom: .3rem; }
.technical-limit p { margin: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.3rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 1.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.price-card--featured { transform: translateY(-7px); border: 2px solid var(--teal); }
.price-card__label { color: var(--teal); font-family: var(--sans); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.price-card__price { margin: .45rem 0 .8rem; font-size: 2.45rem; font-weight: 700; line-height: 1; }
.price-card__price span { color: var(--muted); font-family: var(--sans); font-size: .75rem; font-weight: 400; }
.price-card ul { margin: 1rem 0 1.5rem; padding-left: 1.15rem; }
.price-card li { margin: .35rem 0; }
.price-card .button { margin-top: auto; }
.pricing-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.pricing-notes p { margin: 0; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--slate); font-size: .87rem; }

.foundation-links { display: grid; gap: .7rem; margin-top: 1.4rem; }
.foundation-links a { display: grid; gap: .12rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 10px; color: var(--navy); text-decoration: none; }
.foundation-links a:hover { border-color: var(--teal); background: var(--ice); }
.foundation-links strong { font-family: var(--sans); font-size: .86rem; }
.foundation-links span { color: var(--slate); font-size: .85rem; }
.evidence-date { margin-top: 1rem; color: var(--muted); font-family: var(--sans); font-size: .72rem; }

.trace-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.stack-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .55rem; align-items: center; }
.stack-diagram article { display: grid; gap: .2rem; min-height: 150px; padding: 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(255,255,255,.06); }
.stack-diagram__focus { border-color: #79c4bc !important; background: rgba(15,118,110,.3) !important; }
.stack-diagram article > span { color: #9dd9d3; font-family: var(--sans); font-size: .66rem; font-weight: 900; }
.stack-diagram strong { align-self: end; }
.stack-diagram small { color: #dbe8f2; line-height: 1.35; }
.stack-diagram > div { color: #9dd9d3; font-size: 1.5rem; }

.faq-layout { grid-template-columns: .72fr 1.28fr; }
.faq-list details { padding: 1.05rem 0; border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; list-style: none; font-size: 1.16rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--teal); font-family: var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: .8rem 2rem 0 0; color: var(--slate); }
.boundary-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding: 2rem; border: 1px solid var(--border); border-top: 7px solid var(--terracotta); border-radius: var(--radius); background: #fff; }
.final-cta .button-row { margin-top: 1rem; }

.site-footer { padding: 4rem 0 1.6rem; border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .8fr .8fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 220px; }
.footer-brand p { max-width: 390px; color: var(--slate); font-size: .9rem; }
.footer-product-line { padding-top: .7rem; border-top: 1px solid var(--border); }
.footer-grid h2 { margin-bottom: .7rem; font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: .35rem 0; }
.footer-grid a { color: var(--slate); font-family: var(--sans); font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-family: var(--sans); font-size: .7rem; }

@media (max-width: 1280px) {
  .main-nav { gap: .75rem; font-size: .77rem; }
  .brand-link img { width: 190px; }
  .product-nav__links { gap: .72rem; }
}

@media (max-width: 1120px) {
  .menu-button { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 1rem; right: 1rem; display: none; max-height: calc(100vh - 110px); overflow: auto; margin: 0; padding: .8rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav > a, .nav-group__button { width: 100%; padding: .75rem; text-align: left; }
  .main-nav__cta { border-radius: 9px; }
  .nav-group__button { justify-content: space-between; }
  .nav-group__menu { position: static; width: auto; transform: none; margin: 0 .75rem .5rem; border: 0; border-left: 3px solid var(--teal); border-radius: 0; box-shadow: none; }
  .nav-group__menu::before { display: none; }
  .product-nav__links { display: none; }
  .product-nav__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr .8fr; gap: 2.5rem; }
  .problem-grid, .use-case-grid { grid-template-columns: repeat(2,1fr); }
  .outcome-strip { grid-template-columns: repeat(3,1fr); }
  .outcome-strip article:last-child { grid-column: span 1; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .section { padding: 4.2rem 0; }
  .site-header__inner { min-height: 78px; }
  .brand-link img { width: 175px; }
  .product-lockup span { display: none; }
  .hero { padding: 4rem 0 4.6rem; }
  .hero__grid, .intro-grid, .definition-grid, .gate-grid, .trace-grid, .boundary-panel { grid-template-columns: 1fr; gap: 2.2rem; }
  .dossier { justify-self: center; }
  .phrase-band__grid { grid-template-columns: repeat(2,1fr); }
  .phrase-band p:nth-child(2) { border-right: 0; }
  .phrase-band p:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .evidence-grid, .technical-grid, .pricing-notes { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card--featured { transform: none; }
  .outcome-strip { grid-template-columns: repeat(2,1fr); }
  .stack-diagram { grid-template-columns: 1fr; }
  .stack-diagram > div { transform: rotate(90deg); text-align: center; }
  .stack-diagram article { min-height: 0; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  .container, .site-header__inner { width: min(100% - 1.35rem, var(--max)); }
  h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  h2 { font-size: clamp(1.9rem, 10vw, 2.65rem); }
  .product-nav__cta { padding: .42rem .58rem; font-size: .68rem; }
  .hero__actions, .button-row { display: grid; }
  .button { width: 100%; }
  .dossier__header strong { font-size: 2.25rem; }
  .dossier__footer { display: grid; }
  .problem-grid, .use-case-grid, .outcome-strip { grid-template-columns: 1fr; }
  .module-card { grid-template-columns: 3rem 1fr; gap: .8rem; padding: 1.05rem; }
  .module-card__number { width: 2.55rem; height: 2.55rem; }
  .phrase-band p { padding: 1rem .45rem; font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}


/* v5.5 contrast correction: light panels inside navy sections */
.section--navy .boundary-panel { color: var(--navy); }
.section--navy .boundary-panel h1,
.section--navy .boundary-panel h2,
.section--navy .boundary-panel h3,
.section--navy .boundary-panel h4 { color: var(--navy); }
.section--navy .boundary-panel p,
.section--navy .boundary-panel .lead { color: var(--slate); }
.section--navy .boundary-panel .eyebrow,
.section--navy .boundary-panel .eyebrow--light { color: #a64634; }
.section--navy .boundary-panel .cross-list,
.section--navy .boundary-panel .cross-list li,
.section--navy .boundary-panel .statement-line,
.section--navy .boundary-panel strong { color: var(--navy); }

@media print {
  .site-header, .product-nav, .hero__actions, .final-cta, .site-footer, .button { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section, .hero { padding: 1.2rem 0; background: #fff !important; color: #000 !important; }
  .hero__grid, .intro-grid, .definition-grid, .gate-grid, .trace-grid, .boundary-panel { grid-template-columns: 1fr; }
  .dossier { box-shadow: none; }
  .outcome-strip { grid-template-columns: repeat(5,1fr); }
  .outcome-strip article { color: #000; background: #fff; border-color: #999; }
  .outcome-strip p, .section--navy p { color: #000; }
  a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* DigiData website v5.4 navigation integration */
.nav-group__menu--products { width: 360px; }
.nav-group__menu::after { content: ""; position: absolute; left: 0; right: 0; top: -.85rem; height: .9rem; }
.nav-group__subgroup { margin-top: .25rem; padding-top: .3rem; border-top: 1px solid var(--border); }
.nav-group__subrow { display: grid; grid-template-columns: minmax(0,1fr) 2.5rem; border-radius: 9px; }
.nav-group__subrow:hover, .nav-group__subgroup:focus-within > .nav-group__subrow, .nav-group__subgroup[data-open="true"] > .nav-group__subrow { background: var(--ice); }
.nav-group__subrow .nav-group__parent:hover, .nav-group__subrow .nav-group__parent:focus-visible { background: transparent; }
.nav-group__subtrigger { display: grid; place-items: center; border: 0; border-radius: 0 9px 9px 0; background: transparent; color: var(--navy); font-family: var(--sans); font-weight: 900; }
.nav-group__subtrigger:hover, .nav-group__subtrigger:focus-visible { background: rgba(15,118,110,.09); }
.nav-group__subtrigger span { transition: transform .16s ease; }
.nav-group__subgroup[data-open="true"] .nav-group__subtrigger span { transform: rotate(180deg); }
.nav-group__submenu { display: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .15rem; margin: .2rem 0 .25rem .65rem; padding: .35rem; border-left: 3px solid var(--teal); background: #f8fbfd; }
.nav-group__subgroup[data-open="true"] > .nav-group__submenu { display: grid; }
.nav-group__submenu a { padding: .58rem .62rem; }
.nav-group__submenu strong { font-size: .76rem; }
.nav-group__submenu small { font-size: .74rem; }
@media (min-width:1121px) {
  .nav-group:hover > .nav-group__menu, .nav-group:focus-within > .nav-group__menu { display: grid; }
  .nav-group__subgroup:hover > .nav-group__submenu, .nav-group__subgroup:focus-within > .nav-group__submenu { display: grid; }
  .nav-group__subgroup:hover .nav-group__subtrigger span, .nav-group__subgroup:focus-within .nav-group__subtrigger span { transform: rotate(180deg); }
}
@media (max-width:1120px) {
  .nav-group__menu--products { width: auto; }
  .nav-group__submenu { grid-template-columns: 1fr; }
}
