@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/lora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lora-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }

/* RJL Solutions: executive navy, mineral teal and light neutral panels. Serif headings, sans body. */
:root {
  --indigo: #0B1F33; --indigo-2: #071523; --brand: #0F5B67; --brand-d: #084450;
  --lav: #EAF2F4; --lav-2: #D2E2E6; --lav-text: #B8D8DE;
  --panel: #F5F7F8; --white: #FFFFFF; --ink: #182331; --muted: #56616F; --rule: #D8DEE5; --rule-d: rgba(255,255,255,.16);
  --steel: #355F7A; --bronze: #8A5D2D; --paper: #FAF9F6;
  --warn: #9A3412;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.125rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-d); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; }
h1 { font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.1; letter-spacing: -.012em; }
h2 { font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.2; letter-spacing: -.005em; }
h3 { font-weight: 600; font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #167D8D; outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--indigo); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; white-space: nowrap !important; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 760px; }

/* Announcement bar and header */
.announce { background: #000; color: #fff; font-size: .875rem; line-height: 1.4; text-align: center; }
.announce .wrap { padding-top: 9px; padding-bottom: 9px; }
.announce p { margin: 0; }
.announce a { color: #fff; font-weight: 700; text-decoration-color: #B8D8DE; text-underline-offset: 4px; }
.site-header { background: var(--indigo); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand svg { width: 32px; height: 32px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .01em; }
.brand-sub { font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--lav-text); margin-left: 6px; }
.nav { display: flex; align-items: center; gap: 6px 30px; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #167D8D; color: #fff; }
.nav a.btn { padding: 11px 22px; border: 1.5px solid #fff; border-radius: 3px; background: transparent; color: #fff; }
.nav a.btn:hover, .nav a.btn[aria-current="page"] { background: #fff; color: var(--indigo); border-color: #fff; }

/* Buttons: solid indigo on light, solid white on dark */
.btn { display: inline-block; font: 700 1rem/1.2 var(--sans); padding: 16px 28px; border-radius: 3px; text-decoration: none; border: 1.5px solid var(--brand); cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn--p { background: var(--brand); color: #fff; }
.btn--p:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn--g { background: transparent; color: var(--brand); }
.btn--g:hover { background: var(--brand); color: #fff; }
.dark .btn--p { background: #fff; color: var(--indigo); border-color: #fff; }
.dark .btn--p:hover { background: var(--lav); border-color: var(--lav); color: var(--indigo); }
.dark .btn--g { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.dark .btn--g:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.arrow { font-weight: 700; text-decoration: none; color: var(--brand); display: inline-block; }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .15s; }
.arrow:hover { color: var(--brand-d); text-decoration: underline; text-underline-offset: 4px; }
.arrow:hover::after { transform: translateX(3px); }
.arrow--q { font-weight: 500; }
.dark a.arrow { color: #fff; }

/* Eyebrow: small caps label with an indigo diamond */
.eyebrow { font: 700 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.eyebrow::before { content: "\25C6"; display: inline-block; font-size: .7em; margin-right: 10px; position: relative; top: -1px; }
.dark .eyebrow { color: var(--lav-text); }

/* Hero */
.hero { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 60% at 94% 62%, rgba(22,125,141,.14), rgba(22,125,141,0) 70%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 860px; }
.hero .lede { color: rgba(255,255,255,.84); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; max-width: 680px; margin: 26px 0 0; }
.hero .lede a { color: #fff; }
.hero--home { padding: clamp(40px, 6vw, 84px) 0 0; }
.hero--page { padding: clamp(36px, 5vw, 64px) 0 clamp(52px, 7vw, 88px); }
.hero--page h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero--home .actions { margin-bottom: clamp(48px, 7vw, 88px); }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-d); }
.proof li { padding: 24px 24px 28px 0; display: grid; gap: 4px; align-content: start; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--rule-d); }
.proof b { font: 600 1.05rem/1.3 var(--serif); color: #fff; }
.proof span { font-size: .9rem; color: var(--lav-text); line-height: 1.4; }
.crumb { font-size: .95rem; margin-bottom: 22px; }
.crumb a { color: var(--lav-text); }
.glance { color: rgba(255,255,255,.72); font-size: .95rem; margin: 18px 0 0; }
.glance a { color: #fff; }
.hero--doc > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px 72px; align-items: center; }
.hero--doc .actions { margin-top: 28px; }

/* Sections */
.s { padding: clamp(64px, 8vw, 112px) 0; background: var(--white); }
.s--panel { background: var(--panel); }
.s h2 { margin-bottom: 20px; }
.sub { color: var(--muted); max-width: 680px; margin: 0; }
.dark .sub { color: rgba(255,255,255,.82); }
.more { margin-top: 36px; }
.note { margin: 36px 0 0; color: var(--muted); max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.split p { max-width: 600px; }
.split h2 { max-width: 560px; }
.split--form { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.pull { margin: 34px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); font: 400 italic 1.3rem/1.5 var(--serif); color: var(--ink); max-width: 560px; }

/* Cards and checklists */
.card { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: clamp(24px, 3vw, 36px); }
.s--panel .card { box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.card h3 { margin-bottom: 10px; }
.checks li { position: relative; padding: 16px 0 16px 38px; border-top: 1px solid var(--rule); line-height: 1.5; }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 18px; height: 18px; border: 1.5px solid var(--brand); border-radius: 3px; background: var(--white); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 23px; width: 5px; height: 9px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.card .checks { margin-top: 8px; }
.linklist { display: grid; gap: 0; }
.linklist li { padding: 14px 0; border-top: 1px solid var(--rule); }
.linklist li:first-child { border-top: 0; }
.card .linklist { margin-top: 6px; }

/* Phases */
.phases { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.phase { display: flex; flex-direction: column; }
.ph-label { background: var(--lav); color: var(--brand); font: 700 .8rem/1.3 var(--sans); letter-spacing: .04em; padding: 11px 14px; margin: 0 0 22px; }
.phase h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }
.phase .when { color: var(--brand); font-weight: 700; font-size: .88rem; letter-spacing: .02em; margin: 0 0 12px; }
.phase p { margin: 0 0 18px; color: var(--ink); font-size: 1.02rem; line-height: 1.6; }
.phase .ph-out { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--muted); }
.phase .ph-out b { color: var(--ink); }

/* Whitepaper covers */
.cover { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4; padding: 14px 14px 12px; color: #fff; background: linear-gradient(160deg, #102A43 0%, #071C35 72%); box-shadow: 0 2px 4px rgba(7,21,35,.18), 0 14px 30px rgba(7,21,35,.22); overflow: hidden; }
.cover::after { content: ""; position: absolute; right: -40%; top: -20%; width: 90%; height: 60%; background: radial-gradient(closest-side, rgba(22,125,141,.26), rgba(22,125,141,0)); }
.cv-top { font: 700 .5rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--lav-text); position: relative; }
.cv-top::before { content: "\25C6"; margin-right: 5px; font-size: .8em; }
.cv-title { margin-top: auto; font: 600 .98rem/1.22 var(--serif); color: #fff; position: relative; }
.cv-rule { display: block; width: 26px; height: 2px; background: #167D8D; margin: 10px 0 8px; position: relative; }
.cv-foot { font: 500 .55rem/1.2 var(--sans); letter-spacing: .06em; color: var(--lav-text); position: relative; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2.5deg); }
.cover--hero { width: 100%; max-width: 250px; justify-self: center; transform: rotate(2deg); }
.cover--hero .cv-title { font-size: 1.35rem; }
.cover--hero .cv-top { font-size: .62rem; }
.cover--hero .cv-foot { font-size: .7rem; }
.fcards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fcard { background: var(--white); border-top: 2px solid var(--brand); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.stage { background: var(--lav); padding: 34px 0 30px; display: flex; justify-content: center; }
.stage .cover { width: 150px; }
.fbody { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.fbody h3 { font-size: 1.3rem; margin-bottom: 10px; }
.fbody h3 a, .paper h3 a { color: var(--ink); text-decoration: none; }
.fbody h3 a:hover, .paper h3 a:hover { color: var(--brand); text-decoration: underline; }
.fbody p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.meta { font: 700 .7rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: auto 0 0; padding-top: 6px; }
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.paper { background: var(--white); border-top: 2px solid var(--brand); padding: 30px; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 28px; align-items: start; box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.paper .cover { width: 124px; }
.paper h3 { font-size: 1.3rem; margin-bottom: 10px; }
.paper-body { display: flex; flex-direction: column; height: 100%; }
.paper p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.paper .links { margin-top: auto; padding-top: 4px; }
.tag-new { background: var(--lav); color: var(--brand); font: 700 .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }

/* Ledger of background */
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 6px 36px; padding: 26px 0; border-top: 1px solid var(--rule); }
.kv > div:first-child { border-top: 0; }
.kv dt { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.kv dd { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.kv--wide { margin-top: 36px; background: var(--white); border-top: 2px solid var(--brand); padding: 8px clamp(22px, 3vw, 40px); box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.kv--tight > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 15px 0; }
.kv--tight dt { font-size: 1.05rem; }
.kv--tight dd { font-size: .95rem; }

/* Closing call to action (indigo) */
.cta { background: var(--indigo); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 100% at 100% 100%, rgba(22,125,141,.22), rgba(22,125,141,0) 62%); pointer-events: none; }
.cta > .wrap { position: relative; }
.cta h2 { color: #fff; max-width: 780px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; }

/* Forms */
input[type=text], input[type=email], select, textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #767B8C; border-radius: 3px; padding: 14px 15px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22,125,141,.28); border-color: var(--brand); }
.field { display: grid; gap: 7px; margin-bottom: 20px; }
.field label { font-weight: 700; font-size: .94rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.hp { position: absolute; left: -9999px; }
.card--form { padding: clamp(26px, 3.4vw, 44px); }
.direct { margin-top: 28px; color: var(--muted); }

/* Whitepaper detail pages */
.abstract { max-width: 740px; font-size: 1.2rem; line-height: 1.7; }
.abstract p:last-child { margin: 0; }
.quotes { display: grid; gap: 40px; margin-top: 36px; max-width: 860px; }
.qfig { margin: 0; }
.qfig .eyebrow { margin-bottom: 12px; }
.quote { margin: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--brand); font: 400 italic 1.3rem/1.55 var(--serif); color: var(--ink); }
.qlist { margin-top: 36px; display: grid; gap: 0; max-width: 820px; counter-reset: q; }
.qlist li { padding: 26px 0; border-top: 1px solid var(--rule); }
.qlist h3 { margin-bottom: 8px; font-size: 1.2rem; }
.qlist p { margin: 0 0 8px; color: var(--muted); }
.qlist .glance { color: var(--ink); font-size: .98rem; margin-top: 10px; }
.linklist li .arrow { font-weight: 600; }
.s > .wrap > .linklist { margin-top: 24px; max-width: 760px; }

/* Diagnostic */
.dx { max-width: 780px; margin: 0 auto; }
.card--dx { padding: clamp(26px, 4vw, 48px); box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 12px 36px rgba(7,21,35,.07); }
.dx-bar { height: 6px; background: var(--lav); border-radius: 3px; overflow: hidden; margin-bottom: 10px; }
.dx-bar > span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s; }
.dx-step { font: 700 .76rem var(--sans); letter-spacing: .14em; color: var(--brand); text-transform: uppercase; margin-bottom: 24px; }
.dx-q h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.28; font-weight: 600; }
.dx-q .ctx { color: var(--muted); margin-top: 14px; }
.dx-opts { display: grid; gap: 12px; margin-top: 28px; }
.dx-opts button { text-align: left; font: 500 1.02rem/1.45 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid #767B8C; border-radius: 3px; padding: 17px 20px; cursor: pointer; transition: border-color .12s, background .12s; }
.dx-opts button:hover { border-color: var(--brand); background: var(--lav); }
.dx-back { margin-top: 24px; background: none; border: 0; color: var(--brand); font: 700 .95rem var(--sans); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.dx-result h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 600; }
.dx-gaps { margin: 26px 0 0; display: grid; gap: 16px; counter-reset: g; }
.dx-gap { background: var(--panel); border-left: 4px solid var(--brand); padding: 20px 22px; counter-increment: g; }
.dx-gap.is-block { border-left-color: var(--warn); }
.dx-gap h3 { font-size: 1.15rem; margin-bottom: 8px; }
.dx-gap h3::before { content: counter(g) ". "; color: var(--brand); }
.dx-gap p { margin: 0 0 8px; color: var(--muted); font-size: 1rem; }
.dx-gap .ask { color: var(--ink); }
.dx-gap a { font-weight: 700; font-size: .95rem; }
.dx-flag { display: inline-block; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--warn); margin-bottom: 6px; }
.dx-summary { margin-top: 24px; }
.dx-summary textarea { min-height: 180px; font-size: .92rem; }
.dx-small { font-size: .95rem; color: var(--muted); margin: 28px auto 0; max-width: 780px; }

/* Footer */
.site-footer { background: var(--indigo-2); color: rgba(255,255,255,.72); padding: 40px 0 48px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 36px; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }

@media (max-width: 960px) {
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .fcards { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--rule-d); }
  .papers { grid-template-columns: minmax(0, 1fr); }
  .hero--doc > .wrap { grid-template-columns: minmax(0, 1fr); }
  .cover--hero { justify-self: start; max-width: 200px; order: -1; }
  .kv > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .wrap { padding: 0 20px; }
  .announce { font-size: .8125rem; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .nav { width: 100%; gap: 4px 16px; justify-content: space-between; flex-wrap: nowrap; }
  .nav a { font-size: .9rem; }
  .nav a.btn { padding: 8px 14px; }
  .cover--hero { display: none; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .proof li, .proof li + li { padding: 16px 12px 16px 0; border-left: 0; }
  .proof b { font-size: .98rem; }
  .proof span { font-size: .84rem; }
  .paper { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .paper .cover { width: 120px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .news form .btn { width: 100%; }
  .stage .cover { width: 140px; }
  .pull { font-size: 1.15rem; }
}
@media print { .announce, .site-header, .news, .site-footer, .dx-back, .actions { display: none; } .hero, .cta { background: #fff; color: #000; } .hero h1, .cta h2 { color: #000; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
h2[tabindex="-1"]:focus { outline: none; }

/* Lighter executive theme: cool mist header and hero with navy text; teal carries interaction. */
:root { --hero-top: #E7F0F3; --hero-bot: #F8FAFB; --cta: #0B1F33; }
.announce { background: var(--brand); }
.site-header { background: var(--hero-top); }
.brand, .brand:hover { color: var(--indigo); }
.brand-sub { color: var(--brand); }
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: #167D8D; }
.nav a.btn { border-color: var(--brand); color: var(--brand); }
.nav a.btn:hover, .nav a.btn[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.hero { background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bot) 100%); color: var(--ink); }
.hero::before { background: radial-gradient(46% 60% at 94% 62%, rgba(22,125,141,.12), rgba(22,125,141,0) 70%); }
.hero h1 { color: var(--indigo); }
.hero .lede { color: #3E4152; }
.hero .lede a { color: var(--brand); }
.hero .eyebrow { color: var(--brand); }
.proof { border-top-color: rgba(15,91,103,.18); }
.proof li + li { border-left-color: rgba(15,91,103,.18); }
.proof li:nth-child(n+3) { border-top-color: rgba(15,91,103,.18); }
.proof b { color: var(--indigo); }
.proof span { color: var(--muted); }
.crumb a, .glance a { color: var(--brand); }
.glance { color: var(--muted); }
.cta { background: var(--cta); }
.site-footer { background: var(--panel); color: var(--muted); border-top: 1px solid var(--rule); }
.site-footer a { color: var(--brand); }
.site-footer a:hover { color: var(--brand-d); text-decoration: underline; }
@media print { .hero, .cta { background: #fff; } }

/* v17 foundation layers */
.stack { margin-top: 48px; display: grid; gap: 12px; max-width: 960px; }
.layer { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: 22px 26px; }
.layer h3 { font-size: 1.15rem; margin-bottom: 6px; }
.layer p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.layer-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.layer--top { background: var(--lav); border-color: var(--lav-2); border-top-color: var(--brand); }
.layer--trust { background: var(--panel); }
.layer--base { background: transparent; border: 1.5px dashed #B9BCCB; border-top: 1.5px dashed #B9BCCB; }
.layer--base h3 { color: var(--muted); }
@media (max-width: 760px) { .layer-row { grid-template-columns: minmax(0, 1fr); } .layer { padding: 18px 20px; } }

/* v18 technical fluency */
.tech { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tech-card { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: 24px 26px 26px; }
.tech-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tech-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.tech-card--key { background: var(--lav); border-color: var(--lav-2); border-top-color: var(--brand); }
.tech-card--key p { color: var(--ink); font-weight: 500; }
.tech-card--wide { grid-column: 1 / -1; }
@media (max-width: 960px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tech { grid-template-columns: minmax(0, 1fr); } .tech-card--wide { grid-column: auto; } }

/* v20 assessment fixes */
.dx-opts button.is-sel { border-color: var(--brand); background: var(--lav); box-shadow: inset 4px 0 0 var(--brand); }
.dx-opts button.dx-na { color: var(--muted); font-weight: 400; border-style: dashed; }
.dx-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.dx-review { margin-top: 24px; background: var(--panel); padding: 14px 20px; border: 1px solid var(--rule); }
.dx-review summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.dx-review ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.dx-review li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.dx-review .dx-back { margin-top: 0; }
.dx-go { margin-top: 32px; }
.dx-print { display: none; }
.hint-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 400px) {
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 2px 12px; flex-wrap: wrap; }
  .nav a { font-size: .85rem; }
  .nav a.btn { padding: 7px 12px; }
}
@media (max-width: 640px) { .nav { flex-wrap: wrap; } }
@media print {
  .dx-summary textarea, .dx-summary .field, .dx-review, .dx-go, .dx-gap a, .dx-summary .dx-small { display: none !important; }
  .dx-print { display: block; white-space: pre-wrap; font: 12px/1.5 var(--sans); color: #000; margin: 12px 0; }
  .site-header, .site-footer, .news, .hero { display: none !important; }
  .card--dx { box-shadow: none; border: 0; padding: 0; }
  .dx-gap { break-inside: avoid; background: #fff; border: 1px solid #999; border-left-width: 4px; }
}

/* v23 privacy page */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose .checks { margin-top: 8px; }
.fine a, .hint-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dx-codes { font: 500 .8rem var(--sans); color: var(--muted); margin: -16px 0 18px; }
.prose ul.plain { margin: 8px 0 14px; padding-left: 1.2em; }
.prose ul.plain li { margin: 0 0 10px; }

/* v25 navigation: collapsible menu on smaller screens (open by default without JavaScript) */
.nav-toggle { display: none; font: 700 .95rem var(--sans); color: var(--brand); background: transparent; border: 1.5px solid var(--brand); border-radius: 3px; padding: 9px 16px; cursor: pointer; }
.nav { gap: 6px 26px; }
@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-header .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 4px; }
  .js .site-header.nav-open .nav { display: flex; }
  .js .site-header .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--lav-2); font-size: 1.05rem; }
  .js .site-header .nav a.btn { width: auto; margin-top: 14px; padding: 11px 22px; border: 1.5px solid var(--brand); }
  .js .site-header .wrap { flex-wrap: wrap; }
}

/* v25 pillar pages */
.split--venn { align-items: center; }
.venn { margin: 0; }
.venn svg { width: 100%; height: auto; display: block; max-width: 560px; margin: 0 auto; }
.v-ring { fill: none; stroke: var(--lav-2); stroke-width: 14; }
.v-ringlbl { font: 700 13px var(--sans); letter-spacing: .14em; fill: var(--brand); }
.v-c { stroke-width: 2; }
.v-ai { fill: rgba(53,95,122,.16); stroke: #355F7A; }
.v-data { fill: rgba(22,125,141,.14); stroke: #167D8D; }
.v-sec { fill: rgba(138,93,45,.14); stroke: #8A5D2D; }
.v-h { font: 600 30px var(--serif); fill: var(--indigo); }
.v-s { font: 500 15px var(--sans); fill: #3E4152; }
.v-o { font: 600 15px var(--sans); fill: var(--indigo); }
.v-core { fill: var(--indigo); }
.v-corel { font: 700 15px var(--sans); fill: #fff; }
.pillar-links { margin-top: 20px; }
.pillar-links li { color: var(--muted); }
.pillar-links li a { margin-right: 8px; font-weight: 700; }
.tech--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tech-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.tech-link:hover { border-color: var(--brand); transform: translateY(-1px); }
.tech-link h3 { color: var(--brand); }
.note { color: var(--muted); font-size: .95rem; margin-top: 18px; max-width: 760px; }
.pull--sm { font-size: 1.15rem; margin: 18px 0; }
.split--tight { margin: 40px 0 28px; gap: 24px 48px; }
.split--tight h3 { margin-bottom: 8px; }
.rel { margin-top: 10px; }
.more .rel { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.more .rel li { border: 0; padding: 0; }

.mtable { margin-top: 28px; border-top: 2px solid var(--brand); background: var(--white); }
.s--panel .mtable { box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.mrow { display: grid; gap: 8px 28px; padding: 16px 22px; border-bottom: 1px solid var(--rule); }
.mt2 .mrow { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); }
.mt3 .mrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, 1fr); }
.mt4 .mrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mhead { padding-top: 12px; padding-bottom: 12px; background: var(--lav); }
.mhead span { font: 700 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mrow span { font-size: .98rem; line-height: 1.5; color: var(--muted); }
.mrow span:first-child { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) {
  .mhead { display: none; }
  .mrow, .mt2 .mrow, .mt3 .mrow, .mt4 .mrow { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mrow span:not(:first-child)::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); }
  .mrow span:not(:first-child)[data-l=""]::before { content: ""; }
  .tech--2 { grid-template-columns: minmax(0, 1fr); }
}

.flow { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: f; }
.flow--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow li { position: relative; background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: 18px 16px; counter-increment: f; }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font: 700 .72rem var(--sans); letter-spacing: .12em; color: var(--brand); margin-bottom: 8px; }
.flow b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--indigo); margin-bottom: 6px; }
.flow span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1080px) { .flow, .flow--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flow, .flow--5 { grid-template-columns: minmax(0, 1fr); } }

.stack--arch .layer p.chips { margin-top: 10px; }
.chip { display: inline-block; font: 600 .8rem var(--sans); color: var(--brand); background: var(--lav); border: 1px solid var(--lav-2); border-radius: 999px; padding: 3px 11px; margin: 4px 6px 0 0; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; background: var(--white); border: 1px solid var(--rule); padding: 16px 20px; }
.steps .sn { font: 700 1.05rem var(--serif); color: var(--brand); }
.steps p { margin: 0; color: var(--ink); line-height: 1.55; }
.steps p.tags { margin-bottom: 6px; }
.tag { display: inline-block; font: 700 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 3px; margin-right: 6px; }
.tag--ai { background: rgba(53,95,122,.14); color: #355F7A; }
.tag--data { background: rgba(22,125,141,.11); color: var(--brand); }
.tag--security { background: rgba(138,93,45,.14); color: #7A4D22; }
.tag--orchestration { background: #EFEDE6; color: #5A5440; }
.steps li:has(.tag--security) { border-left: 3px solid #8A5D2D; }
@media (max-width: 640px) { .steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* v26 home diagram image and About portrait */
.gpa-head { max-width: 760px; }
.gpa-fig { margin: 36px 0 0; }
.gpa-fig img { display: block; width: 100%; max-width: 760px; height: auto; }
.gpa-copy { max-width: 760px; margin-top: 28px; }
.gpa-lead { font-size: 1.12rem; color: var(--ink); }
.gpa-copy h3 { margin: 28px 0 10px; font-size: 1.3rem; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px 56px; align-items: center; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 2px rgba(7,21,35,.06), 0 12px 32px rgba(7,21,35,.14); }
@media (max-width: 760px) { .about-hero { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 260px; } }

/* v26b: feedback items */
.hero-fine { margin: 14px 0 0; max-width: 62ch; font-size: .9rem; line-height: 1.5; color: var(--lav-text); }
.recog { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule-d); font-size: .88rem; line-height: 1.5; color: var(--lav-text); }
.card-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.card-cta .fine { margin: 0; font-size: .88rem; color: var(--muted, #5b5b66); }
.hero--home .actions:has(+ .hero-fine) { margin-bottom: 0; }
.hero--home .hero-fine { margin-bottom: clamp(40px, 6vw, 72px); }
.hero--home .recog { padding-bottom: 28px; }
.hero--home .hero-fine, .hero--home .recog { color: var(--muted); }
.hero--home .recog { border-top-color: var(--rule); }
.hero--home .recog { border-top-color: rgba(15,91,103,.18); }

/* v27: email-gated flagship papers */
.gate { margin: 26px 0 0; max-width: 560px; display: grid; gap: 10px; }
.gate label { font: 600 .98rem/1.4 var(--sans); color: var(--ink); }
.gate-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gate-row input[type=email] { flex: 1 1 240px; min-width: 0; }
.gate .fine { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.gate .fine a { color: inherit; }
@media (max-width: 560px) { .gate-row .btn { width: 100%; } }
.reader-group + .reader-group { margin-top: clamp(48px, 6vw, 72px); }
.reader-group .papers { margin-top: 24px; }
.inline-cta { margin: 20px 0 0; font-weight: 600; }
.inline-cta .arrow { margin-left: 6px; }
.who-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.who-mini img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; display: block; }
.who-mini p { margin: 0; display: grid; gap: 2px; }
.who-mini span { color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) { .paper .cover { display: none; } }
.card-alt { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.home-portrait img { width: 112px; height: 140px; object-fit: cover; border-radius: 3px; display: block; margin: 4px 0 18px; }
.dx-quickcta { margin: 18px 0 6px; }

/* v28 audience tracks and reading */
.tech--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .tech--two { grid-template-columns: minmax(0, 1fr); } }
.tech-card p + p { margin-top: 12px; }
.hero .lede--2 { margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.hero .eyebrow a { color: inherit; text-decoration: none; }
.paper--feature { max-width: 900px; }
.paper--feature .eyebrow { margin-bottom: 10px; }
.paper .links a + a { margin-left: 22px; }
.rd-ten { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: rd; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.rd-ten li { counter-increment: rd; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 14px 0; border-top: 1px solid var(--rule); }
.rd-ten li::before { content: counter(rd, decimal-leading-zero); font: 700 .8rem/1.6 var(--sans); color: var(--brand); letter-spacing: .08em; }
.rd-ten a { font-family: var(--serif); font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.35; }
.rd-ten a:hover { color: var(--brand); }
.rd-ten span { grid-column: 2; color: var(--muted); font-size: .92rem; }
.rd-tools { margin: 32px 0 8px; display: grid; gap: 14px; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-chip { font: 600 .9rem var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--rule); padding: 8px 14px; border-radius: 2px; cursor: pointer; }
.rd-chip.is-on { background: var(--lav); border-color: var(--brand); color: var(--brand); }
.rd-search input { width: 100%; max-width: 480px; font: 1rem var(--sans); padding: 11px 14px; border: 1px solid var(--rule); border-radius: 2px; }
.rd-count { margin: 0; color: var(--muted); font-size: .92rem; }
.rd-group { margin-top: 44px; }
.rd-cat { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--brand); }
.rd-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.rd { background: var(--white); border: 1px solid var(--rule); padding: 24px 26px; scroll-margin-top: 90px; }
.rd h3 { font-size: 1.12rem; line-height: 1.35; margin: 0 0 6px; }
.rd h3 a { color: var(--ink); text-decoration: none; }
.rd h3 a:hover { color: var(--brand); text-decoration: underline; }
.rd p { margin: 10px 0 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.rd .rd-meta { margin: 0 0 8px; font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.rd .rd-credit { margin: 0; font-size: .9rem; }
.rd .rd-q { color: var(--ink); }
.rd .rd-q b { display: block; font: 700 .72rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rd .rd-access, .rd .rd-comp { font-size: .88rem; }
.rd-empty { margin-top: 28px; }
.rd-reset { font: 600 1rem var(--sans); color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.ll { margin: 30px 0 0; padding: 0; list-style: none; max-width: 860px; }
.ll li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding: 26px 0; border-top: 1px solid var(--rule); scroll-margin-top: 90px; }
.ll .ll-n { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--brand); }
.ll h3 { font-size: 1.25rem; margin: 0 0 8px; }
.ll p { margin: 0; color: var(--muted); line-height: 1.65; }
.ll .ll-src { margin-top: 10px; font-size: .95rem; }
.ll .ll-checks { margin: 16px 0 0; border-left: 3px solid var(--rule); padding-left: 16px; }
.ll .ll-checks dt { font-size: .88rem; font-weight: 700; color: var(--ink); margin: 10px 0 3px; }
.ll .ll-checks dd { margin: 0; color: var(--muted); line-height: 1.6; }
.ll-src a, .ll-research-sources a { overflow-wrap: anywhere; }
.ll-question { max-width: 860px; margin-top: 24px; padding: 20px; border: 1px solid var(--rule); }
.ll-question h3 { font-size: 1.1rem; margin: 0 0 8px; }
.ll-question p { margin: 0; }
.ll-theme-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; padding-left: 24px; }
.ll-research-sources li { margin-bottom: 16px; }
[id^="theme-"] { scroll-margin-top: 100px; }
@media (max-width: 760px) { .ll-theme-nav { grid-template-columns: minmax(0, 1fr); } .ll li { grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; } }
@media (max-width: 760px) {
  .rd-ten, .rd-grid { grid-template-columns: minmax(0, 1fr); }
  .ll li { grid-template-columns: 44px minmax(0, 1fr); }
  .ll .ll-n { font-size: 1.6rem; }
}
.rethink { background: var(--indigo); color: #fff; }
.rethink h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; max-width: 820px; }
.rethink .lede { color: rgba(255,255,255,.86); font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.65; margin: 22px 0 0; max-width: 760px; }
.rethink { padding: clamp(52px, 6.5vw, 88px) 0; }
.rethink { padding: clamp(52px, 6.5vw, 88px) 0; }
/* v28: nine items fit on one row at desktop widths */
@media (min-width: 1081px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 14px 24px; }
  .nav { gap: 6px 20px; flex-wrap: nowrap; }
  .nav a { font-size: .97rem; white-space: nowrap; }
  .nav a.btn { padding: 10px 18px; }
}
.hero--page { padding-top: clamp(28px, 4vw, 48px); }

/* v29: tighter vertical rhythm. Same type sizes and line lengths; less empty space between blocks. */
.s, .rethink { padding: clamp(40px, 5vw, 68px) 0; }
.news { padding: clamp(36px, 4.5vw, 56px) 0; }
.hero--page { padding: clamp(24px, 3vw, 40px) 0 clamp(32px, 4vw, 48px); }
.hero--home { padding-top: clamp(28px, 4vw, 52px); }
.hero--home .actions { margin-bottom: clamp(28px, 4vw, 48px); }
.hero--home .hero-fine { margin-bottom: clamp(28px, 4vw, 44px); }
.hero .lede { margin-top: 18px; }
.actions { margin-top: 26px; }
.more, .note, .kv--wide, .quotes, .qlist, .gpa-fig { margin-top: 24px; }
.pull { margin-top: 24px; }
.tech, .phases, .stack, .fcards { margin-top: 28px; }
.split { gap: 32px clamp(32px, 4vw, 56px); }
.split--tight { margin: 28px 0 20px; }
.kv > div { padding: 18px 0; }
.reader-group + .reader-group { margin-top: clamp(32px, 4vw, 48px); }
.rd-group { margin-top: 32px; }
.rd-ten, .rd-tools { margin-top: 24px; }
.rd-grid { margin-top: 16px; gap: 18px; }
.rd { padding: 20px 22px; }
.ll { margin-top: 20px; }
.ll li { padding: 18px 0; }
.prose h2 { margin-top: 28px; }
.eyebrow { margin-bottom: 12px; }
@media (min-width: 1100px) { .rd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rd h3 { font-size: 1.05rem; } .rd p { font-size: .94rem; } }

/* v29b: second tightening pass. Section gaps roughly a third smaller; type and line lengths unchanged. */
.s, .rethink { padding: clamp(28px, 3.2vw, 44px) 0; }
.news { padding: clamp(28px, 3.4vw, 40px) 0; }
.hero--page { padding: clamp(18px, 2.4vw, 30px) 0 clamp(24px, 3vw, 34px); }
.hero--home { padding-top: clamp(22px, 3vw, 38px); }
.hero--home .actions { margin-bottom: clamp(22px, 3vw, 34px); }
.hero--home .hero-fine { margin-bottom: clamp(22px, 3vw, 34px); }
.hero .lede { margin-top: 14px; }
.actions { margin-top: 20px; }
.hero-fine { margin-top: 10px; }
.s h2 { margin-bottom: 14px; }
.more, .note, .kv--wide, .quotes, .qlist, .gpa-fig, .pull { margin-top: 18px; }
.tech, .phases, .stack, .fcards { margin-top: 20px; }
.split--tight { margin: 20px 0 14px; }
.reader-group + .reader-group { margin-top: clamp(24px, 3vw, 36px); }
.rd-group { margin-top: 24px; }
.eyebrow { margin-bottom: 10px; }

/* v29 Ontology Studio page */
.ba { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ba-card { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid #8FA8B3; padding: 22px 24px; }
.ba-card--after { border-top-color: var(--brand); box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.ba-k { margin: 0 0 10px; font: 700 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ba-card--after .ba-k { color: var(--brand); }
.ba-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink); line-height: 1.6; }
.ba-verdict { margin: 14px 0 0; font: italic 400 1.02rem/1.5 var(--serif); color: var(--ink); }
.ba-h { margin-top: 28px; font-size: 1.15rem; }
.tech-card code { font-size: .88em; background: var(--lav); padding: 1px 5px; border-radius: 3px; }
@media (max-width: 760px) { .ba { grid-template-columns: minmax(0, 1fr); } }
.osteps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: os; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: 1000px; }
.osteps li { counter-increment: os; position: relative; padding: 14px 0 0 46px; border-top: 1px solid var(--rule); color: var(--muted); line-height: 1.6; }
.osteps li::before { content: counter(os, decimal-leading-zero); position: absolute; left: 0; top: 12px; font: 600 1.35rem/1 var(--serif); color: var(--brand); }
.osteps li b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.hero--page .hero-fine { color: var(--muted); }
@media (max-width: 760px) { .osteps { grid-template-columns: minmax(0, 1fr); } }

/* Ontology worked example (v30) */
.wx { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr); gap: 16px; }
.wx-part { background: var(--white); border: 1px solid var(--rule); padding: 18px 20px; }
.wx-part p { margin: 0 0 8px; line-height: 1.55; font-size: .98rem; }
.wx-part p:last-child { margin-bottom: 0; }
.wx-part--result { border-top: 3px solid var(--brand); }
.wx-table { overflow-x: auto; }
.wx-table table { border-collapse: collapse; width: 100%; font-size: .86rem; font-variant-numeric: tabular-nums; }
.wx-table th, .wx-table td { padding: 5px 8px; text-align: right; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.wx-table th:nth-child(-n+3), .wx-table td:nth-child(-n+3) { text-align: left; }
.wx-table th { font-weight: 700; color: var(--muted); font-size: .76rem; letter-spacing: .02em; }
.wx-fine { font-size: .86rem; color: var(--muted); margin-top: 8px !important; }
.wx-sum { font: 500 1.4rem/1.2 var(--serif); color: var(--ink); white-space: nowrap; }
.wx-sum b { color: var(--brand); }
.osteps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
@media (max-width: 1000px) { .wx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .wx-part--data { grid-column: 1 / -1; } }
@media (max-width: 760px) { .wx { grid-template-columns: minmax(0, 1fr); } .osteps--three { grid-template-columns: minmax(0, 1fr); } }

/* Agentic architecture (v30): responsive HTML diagram, not an image */
.arch { margin-top: 20px; }
.arch-frame { border: 2px solid var(--brand); background: var(--white); padding: 0 14px 14px; position: relative; }
.arch-fl { margin: 0 -14px 12px; padding: 7px 14px; background: var(--brand); color: #fff; font: 700 .74rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.arch-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; }
.arch-main { display: grid; gap: 8px; }
.arch-l { border: 1px solid var(--rule); border-left: 4px solid #8FA8B3; padding: 10px 14px; background: var(--panel); }
.arch-l h3 { margin: 0 0 6px; font-size: 1rem; }
.arch-l p { margin: 0; }
.arch-l .chips { margin: 0; }
.arch-l--people { border-left-color: var(--brand); background: #F0F5F6; }
.arch-l--people p { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.arch-l--src { border-left-color: var(--rule); }
.arch-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.arch-pair b { display: block; font-size: .86rem; margin-bottom: 4px; }
.arch-note { margin-top: 6px !important; font-size: .86rem; color: var(--brand); font-style: italic; }
.arch-side { border: 1px dashed var(--brand); padding: 12px 14px; background: #F0F5F6; }
.arch-side h3 { margin: 0 0 8px; font-size: 1rem; }
.arch-side ul { margin: 0; padding-left: 16px; display: grid; gap: 6px; font-size: .9rem; line-height: 1.45; }
.arch-base { margin-top: 8px; border: 1px solid var(--rule); border-top: 3px solid var(--ink); padding: 10px 14px; background: var(--white); }
.arch-base h3 { margin: 0 0 4px; font-size: 1rem; }
.arch-base p { margin: 0; color: var(--muted); font-size: .94rem; }
.cm-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cm-card { border: 1px solid var(--rule); border-top: 3px solid #8FA8B3; padding: 12px 14px; background: var(--white); }
.cm-card h3 { margin: 0 0 2px; font-size: .98rem; }
.cm-role { margin: 0 0 6px; font: 700 .7rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cm-list { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 1000px) { .cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .arch-body, .arch-pair { grid-template-columns: minmax(0, 1fr); } .cm-grid { grid-template-columns: minmax(0, 1fr); } }
/* Podcast player on paper pages */
.pod { display: block; width: 100%; max-width: 720px; margin-top: 18px; }
.pod-tx { margin-top: 16px; max-width: 760px; }
.pod-tx summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.pod-tx .prose { margin-top: 12px; }
.pod-tx .prose p { margin: 0 0 10px; }

/* v31: cover titles always fit (shorter titles on covers, smaller type for long ones) */
.cv-title--s { font-size: .86rem; }
.cv-title--xs { font-size: .76rem; }
.cover--hero .cv-title--s { font-size: 1.18rem; }
.cover--hero .cv-title--xs { font-size: 1.04rem; }
.cover { min-width: 0; }
.cv-title { overflow-wrap: break-word; hyphens: auto; }

/* Brand logo (Oct 2026): one outlined-vector lockup replaces the old mark and text spans */
.brand { flex-shrink: 0; gap: 0; }
.brand-logo { display: block; width: 230px; height: auto; max-width: 100%; }
.brand:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 2px; }
@media (min-width: 1081px) and (max-width: 1279px) { .brand-logo { width: 200px; } }
@media (max-width: 600px) { .brand-logo { width: 205px; } }
@media (max-width: 380px) { .brand-logo { width: 178px; } }
@media (max-width: 359px) { .brand-logo { width: 158px; } .site-header .wrap { column-gap: 16px; } }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-logo { display: block; width: 190px; height: auto; }
/* Cover thumbnails carry the brand symbol, matching the PDF covers */
.cv-top { display: flex; align-items: center; white-space: nowrap; }
.cv-top::before { content: ""; flex: none; width: 1.7em; height: 1.7em; margin-right: 6px; font-size: 1em; background: url("/assets/brand/RJL-Solutions-symbol-white.svg") center / contain no-repeat; }

/* Exhibits shared with the papers (guide/exhibits.py). On a phone the drawing scrolls inside its frame. */
.exhibit { margin: 28px 0 6px; max-width: 900px; }
.exhibit-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.exhibit svg { display: block; width: 100%; height: auto; min-width: 620px; }
.exhibit figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 10px; max-width: 720px; }
.exhibit-hint { display: none; }
.exhibit-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (max-width: 700px) { .exhibit-hint { display: inline; } }
.exhibit-narrow { display: none; }
.exhibit--dual .exhibit-narrow svg { min-width: 0; max-width: 420px; }
@media (max-width: 640px) { .exhibit--dual .exhibit-wide { display: none; } .exhibit--dual .exhibit-narrow { display: block; } }

/* Optional whitepaper subscription: native modal, with a no-JavaScript anchor fallback. */
.subscription-dialog{border:1px solid var(--line,#d8e0e8);border-radius:16px;padding:0;width:calc(100% - 32px);max-width:580px;max-height:calc(100dvh - 32px);overflow:auto;color:var(--ink,#13283c);background:#fff;box-shadow:0 24px 80px #071c3540}
.subscription-dialog::backdrop{background:#071c35b3}
.subscription-dialog:not([open]):target{display:block;position:relative;margin:24px 0}
.subscription-content{padding:clamp(20px,4vw,36px)}
.subscription-content h2{font-size:clamp(1.5rem,4vw,2rem);line-height:1.2;clear:both}
.subscription-content form{display:grid;gap:14px;margin-top:24px}
.subscription-content input[type=email]{width:100%;min-width:0;box-sizing:border-box;padding:13px;border:1px solid #748696;border-radius:6px;font:inherit}
.subscription-content .subscription-consent{display:flex;align-items:flex-start;gap:10px;font-size:1rem;line-height:1.5}
.subscription-consent input{flex:none;margin-top:6px}
.subscription-close{float:right;padding:8px 14px;background:#eef3f6;border:1px solid #748696;border-radius:6px;font:inherit;cursor:pointer}
.subscription-content :focus-visible{outline:3px solid #006d77;outline-offset:3px}

.service-offers,.service-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.service-offers h3,.service-scenarios h3{font-size:1.5rem;line-height:1.25;margin-bottom:16px}
.service-offers .note{margin-top:24px}
.service-scenarios p+p{margin-top:16px}
.buyer-faq details{border-bottom:1px solid var(--line,#d8e0e8);padding:20px 0}
.buyer-faq summary{font-weight:700;font-size:1.08rem;cursor:pointer;line-height:1.5}
.buyer-faq details p{margin:16px 0 0}
.buyer-faq summary:focus-visible{outline:3px solid var(--brand);outline-offset:5px}
@media(max-width:760px){.service-offers,.service-scenarios{grid-template-columns:1fr}}

/* Role-based reading and practice journeys. */
.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.journey-card{min-width:0;scroll-margin-top:110px}.journey-card h2{font-size:1.7rem}.journey-steps{padding-left:24px;margin:26px 0 0}.journey-steps li{padding:0 0 24px 8px}.journey-steps li:last-child{padding-bottom:0}.journey-steps h3{font-size:1.1rem;margin:0 0 8px}.journey-steps p{margin:0 0 12px}.journey-steps .links{display:flex;flex-wrap:wrap;gap:12px 22px}.journey-nav{flex-wrap:wrap}.journey-vocabulary dt{font-weight:700;margin-top:20px}.journey-vocabulary dd{margin:6px 0 0}.journey-card a{overflow-wrap:anywhere}
@media(max-width:850px){.journey-grid{grid-template-columns:1fr}.journey-card h2{font-size:1.5rem}}
/* Stack shared content/form columns before inputs and buttons become cramped. */
.split > *{min-width:0}
@media(max-width:760px){.split,.split--form{grid-template-columns:minmax(0,1fr)}.card--form .btn{max-width:100%;white-space:normal}}

/* Track record (Oct 2026) */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 10px; }
.stat { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; color: var(--brand); }
.stat span { display: block; font-size: .95rem; line-height: 1.45; color: var(--ink); margin-top: 4px; }
.stat small { display: block; font-size: .85rem; color: var(--muted); margin-top: 3px; }
.outcomes li { margin-bottom: 12px; line-height: 1.6; }
.proof-draft { display: inline-block; background: #FFF4E5; color: var(--warn); border: 1px solid #F3C98B; font-size: .85rem; font-weight: 600; padding: 4px 10px; margin: 6px 0; }
.quotes { margin-top: 24px; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Agents page: agent cards, illustrative console, three-layer stack */
.hero-note { margin: 18px 0 0; font-size: .92rem; color: var(--muted); letter-spacing: .01em; }
.agent-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.agent-card { background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: 26px 28px 24px; display: flex; flex-direction: column; }
.s--panel .agent-card { box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
.agent-card h3 { margin-bottom: 10px; }
.agent-card > p { color: var(--muted); font-size: 1rem; }
.agent-card .checks li { padding: 10px 0 10px 34px; font-size: .98rem; }
.agent-card .checks li::before { top: 13px; }
.agent-card .checks li::after { top: 16px; }
.agent-meta { margin: 14px 0 0; display: grid; gap: 10px; flex: 1; align-content: end; }
.agent-meta div { background: var(--lav); padding: 12px 14px; }
.agent-meta div + div { background: var(--panel); border: 1px solid var(--rule); }
.agent-meta dt { font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.agent-meta dd { margin: 4px 0 0; font-size: .95rem; line-height: 1.5; }
.console { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 4px rgba(7,21,35,.05), 0 22px 60px rgba(7,21,35,.14); font-size: .95rem; }
.console-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; background: var(--panel); border-bottom: 1px solid var(--rule); font-size: .78rem; }
.console-head span:first-child { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.console-head span:last-child { color: var(--muted); }
.console-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.console-facts div { padding: 12px 18px; border-left: 1px solid var(--rule); }
.console-facts div:first-child { border-left: 0; }
.console-facts span { display: block; font-size: .78rem; color: var(--muted); }
.console-facts b { font-size: .92rem; }
.console-log { padding: 4px 18px; }
.console-log li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EEF0F4; }
.console-log li:first-child { border-top: 0; }
.console-log b { display: block; font-weight: 500; }
.console-log span { font-size: .8rem; color: var(--muted); }
.tag { font-style: normal; font-size: .76rem; font-weight: 700; white-space: nowrap; padding: 5px 10px; border-radius: 999px; background: var(--lav); color: var(--brand); }
.tag--warn { background: #FDEDE4; color: var(--warn); }
.tag--ok { background: #E3F4E8; color: #14532D; }
.console figcaption { padding: 12px 18px; background: var(--panel); border-top: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.tiers { display: grid; gap: 12px; }
.tier { padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; align-items: center; }
.tier p { margin: 0; }
.tier-k { grid-column: 1; font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.tier-t { grid-column: 1; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.tier-d { grid-column: 2; grid-row: 1 / span 2; font-size: .95rem; }
.tier--people { background: var(--indigo); color: #fff; }
.tier--people .tier-k, .tier--agents .tier-k { color: var(--lav-text); }
.tier--people .tier-d, .tier--agents .tier-d { color: rgba(255,255,255,.84); }
.tier--agents { background: var(--brand); color: #fff; margin: 0 18px; }
.tier--systems { background: var(--white); border: 1px solid var(--lav-2); margin: 0 36px; }
.tier--systems .tier-k { color: var(--brand); }
.tier--systems .tier-d { color: var(--muted); }
@media (max-width: 760px) {
  .console-facts { grid-template-columns: minmax(0, 1fr); }
  .console-facts div { border-left: 0; border-top: 1px solid var(--rule); }
  .console-facts div:first-child { border-top: 0; }
  .console-log li { flex-direction: column; align-items: flex-start; }
  .tier { grid-template-columns: minmax(0, 1fr); }
  .tier-d { grid-column: 1; grid-row: auto; }
  .tier--agents, .tier--systems { margin: 0; }
}

/* Offer pages and hubs */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.offer-grid .card h3 { margin-bottom: 6px; }
.offer-grid .checks li { padding: 12px 0 12px 34px; font-size: 1rem; }
.offer-grid .checks li::before { top: 15px; }
.offer-grid .checks li::after { top: 18px; }
.offer-facts { margin: 8px 0 0; display: grid; gap: 14px; }
.offer-facts dt { font: 700 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.offer-facts dd { margin: 3px 0 0; font-size: 1rem; line-height: 1.5; }
.offer-cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.offer-card { display: block; background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--brand); padding: 24px 26px 26px; color: var(--ink); text-decoration: none; }
.offer-card:hover { border-color: var(--lav-2); border-top-color: var(--brand); box-shadow: 0 8px 28px rgba(7,21,35,.08); color: var(--ink); }
.offer-card h3 { margin: 8px 0 8px; color: var(--brand); }
.offer-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.offer-card .offer-when { font-size: .9rem; color: var(--ink); background: var(--lav); padding: 8px 12px; }
.s--panel .offer-card { box-shadow: 0 1px 2px rgba(7,21,35,.04), 0 8px 28px rgba(7,21,35,.06); }
@media (max-width: 960px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }
.offer-group { margin-top: 64px; }
.tech-card .offer-when { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--brand); background: var(--lav); padding: 5px 10px; margin: 0 0 10px; }
.offer-cards--one { max-width: 640px; }
.glance .arrow + .arrow { margin-left: 22px; }
/* Worked guides */
.guide-toc { margin: 8px 0 0; padding-left: 22px; list-style: decimal; }
.guide-toc li { padding: 6px 0; border-top: 1px solid var(--rule); }
.guide-toc li:first-child { border-top: 0; }
.guide-toc a { text-decoration: none; }
.claims-guide .mrow span, .claims-guide h3 { overflow-wrap: anywhere; }
.guide-steps { margin: 28px 0 0; padding-left: 24px; list-style: decimal; max-width: 820px; }
.guide-steps li { padding: 10px 0; border-top: 1px solid var(--rule); }
.guide-steps li:first-child { border-top: 0; }
#part-8 .card, #part-1 .card { margin-top: 24px; }

/* Code-native diagrams and restrained motion
   Content is visible by default. JavaScript only adds brief, one-time reveals. */
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: clamp(36px, 6vw, 78px); align-items: center; }
.home-hero-copy { min-width: 0; }
.home-hero-copy .actions { margin-bottom: 0; }
.home-hero-copy .hero-fine { max-width: 48ch; }
.home-system { margin:0; padding:32px; background:#fff; border:1px solid #D2E2E6; border-radius:16px; box-shadow:0 20px 60px rgba(7,21,35,.07); min-width:0; }
.hs-heading > span,.hs-overline,.hs-number { display:block; font-family:var(--sans); font-size:10px; font-weight:700; letter-spacing:.12em; color:#0F5B67; }
.hs-heading h2 { margin:12px 0 28px; font:500 clamp(26px,2.2vw,34px)/1.15 var(--serif); color:#0B1F33; }
.hs-inputs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.hs-input { padding:0 12px; border-left:1px solid #D8DEE5; }
.hs-input:first-child { padding-left:0; border-left:0; }
.hs-input:last-child { padding-right:0; }
.hs-input h3 { margin:12px 0 8px; font:700 13px/1.35 var(--sans); color:#182331; }
.hs-input p { margin:0; font:400 11px/1.6 var(--sans); color:#56616F; }
.hs-join { display:grid; grid-template-columns:repeat(3,1fr); height:36px; margin:12px 0 0; }
.hs-join span { width:1px; background:#B8CED4; margin:auto; height:100%; position:relative; }
.hs-join span::after { content:''; position:absolute; bottom:0; left:-3px; width:7px; height:7px; background:#167D8D; border-radius:50%; }
.hs-control { padding:23px 24px; border-radius:8px; background:#0B1F33; }
.hs-control .hs-overline { color:#9FC1C8; }
.hs-control h3 { margin:10px 0 20px; font:500 24px/1.2 var(--serif); color:#fff; }
.hs-controls { display:flex; flex-wrap:wrap; gap:8px 20px; padding-top:14px; border-top:1px solid #355064; color:#D7E5EA; font:400 11px/1.4 var(--sans); }
.hs-down { text-align:center; height:34px; font:400 24px/34px var(--sans); color:#167D8D; }
.hs-result { display:flex; align-items:center; gap:16px; padding:18px 20px; background:#EAF2F4; border-radius:8px; }
.hs-result-icon { display:grid; place-items:center; flex:0 0 32px; height:32px; border:1px solid #167D8D; border-radius:50%; color:#0F5B67; font-size:18px; }
.hs-result h3 { margin:6px 0; font:500 23px/1.2 var(--serif); color:#0B1F33; }
.hs-result p { margin:0; font:400 11px/1.5 var(--sans); color:#56616F; }
.home-system figcaption { margin-top:20px; font:400 10px/1.5 var(--sans); text-align:center; color:#56616F; }
@media(max-width:1040px) { .home-system { width:min(100%,640px); margin-inline:auto; } }
@media(max-width:440px) { .home-system { padding:22px 18px; } .hs-input { padding-inline:8px; } .hs-number { font-size:8px; letter-spacing:.07em; } .hs-input h3 { font-size:12px; } .hs-input p { font-size:10px; } .hs-control { padding:20px; } .hs-control h3 { font-size:22px; } .hs-result { padding:16px 14px; gap:12px; } .hs-result h3 { font-size:20px; } }
.home-motion { margin: 0; min-width: 0; filter: drop-shadow(0 20px 38px rgba(7,21,35,.12)); }
.home-motion svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.hm-shell { fill: rgba(255,255,255,.76); stroke: rgba(64,30,136,.18); stroke-width: 2; }
.hm-kicker, .hm-label, .hm-rail text { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; fill: var(--brand); }
.hm-card { fill: #fff; stroke: var(--lav-2); stroke-width: 1.5; }
.hm-title { font-size: 14px; font-weight: 750; fill: var(--ink); }
.hm-copy { font-size: 11px; fill: var(--muted); }
.hm-path { fill: none; stroke: #355F7A; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hm-control-card { fill: var(--indigo); }
.hm-label--light { fill: #B8D8DE; }
.hm-control-title { font: 600 20px/1 var(--serif); fill: #fff; }
.hm-control-copy { font-size: 13px; font-weight: 650; fill: #fff; }
.hm-rule { stroke: rgba(255,255,255,.28); }
.hm-output-card { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.hm-output-mark { fill: #2E8B57; }
.hm-output-title { font: 600 21px/1 var(--serif); fill: var(--brand); }
.hm-rail rect { fill: #EAF2F4; }
.hm-rail circle { fill: #167D8D; }
.hm-rail text { font-size: 9px; letter-spacing: 1px; }

.guided-flow { margin-top: 34px; }
.guided-flow-steps { display: grid; margin: 0; padding: 0; list-style: none; gap: 10px; }
.guided-flow--six .guided-flow-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.guided-flow--four .guided-flow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guided-flow-steps li { position: relative; min-width: 0; }
.guided-flow-step, .guided-flow-steps button { position: relative; width: 100%; min-height: 140px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 5px; padding: 18px 17px 16px; border: 1px solid var(--rule); border-top: 3px solid var(--lav-2); border-radius: 0; background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.guided-flow-steps button:hover { border-color: #9FC1C8; border-top-color: var(--brand); box-shadow: 0 9px 26px rgba(7,21,35,.08); transform: translateY(-2px); }
.guided-flow-steps button:focus-visible { outline: 3px solid rgba(124,77,223,.32); outline-offset: 3px; }
.guided-flow-steps button[aria-pressed="true"] { border-color: var(--brand); border-top-color: var(--brand); background: var(--lav); box-shadow: inset 0 0 0 1px var(--brand); }
.guided-flow-steps button > span { font-size: .72rem; font-weight: 800; letter-spacing: .13em; color: var(--brand); }
.guided-flow-steps button > b { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; color: var(--indigo); }
.guided-flow-steps button > small { display: block; margin-top: 2px; color: var(--muted); font-size: .79rem; line-height: 1.4; }
.guided-flow-detail { display: grid; grid-template-columns: minmax(210px, .85fr) minmax(280px, 1.25fr) minmax(220px, .9fr); gap: 28px; align-items: start; margin-top: 14px; padding: 25px 28px; background: var(--indigo); color: #fff; border-radius: 2px; box-shadow: 0 12px 34px rgba(7,21,35,.12); }
.guided-flow-detail > * { margin: 0; }
.guided-flow-detail h3 { margin: 2px 0 0; color: #fff; font-size: 1.35rem; }
.guided-flow-detail > p { color: rgba(255,255,255,.84); font-size: .97rem; line-height: 1.62; }
.guided-flow-k { margin: 0; font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #B8D8DE; }
.guided-flow-evidence { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); }
.guided-flow-evidence b, .guided-flow-evidence span { display: block; }
.guided-flow-evidence b { margin-bottom: 6px; color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.guided-flow-evidence span { color: rgba(255,255,255,.84); }
.guided-flow-detail.is-changing { opacity: .64; transform: translateY(3px); }

@media (hover: hover) {
  .offer-card, .tech-card, .paper, .fcard, .agent-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
  .offer-card:hover, .tech-card:hover, .paper:hover, .fcard:hover, .agent-card:hover,
  .offer-card:focus-within, .tech-card:focus-within, .paper:focus-within, .fcard:focus-within, .agent-card:focus-within { transform: translateY(-4px); box-shadow: 0 15px 36px rgba(7,21,35,.11); }
  .paper:hover .cover, .fcard:hover .cover { scale: 1.015; }
  .paper .cover, .fcard .cover { transition: scale .22s ease; }
}

.motion-ready .motion-reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.motion-ready .motion-reveal.is-in-view { opacity: 1; transform: translateY(0); }
.motion-ready .home-motion .hm-node,
.motion-ready .home-motion .hm-control,
.motion-ready .home-motion .hm-output,
.motion-ready .home-motion .hm-rail { opacity: 0; transform: translateY(10px); transform-box: fill-box; transform-origin: center; }
.motion-ready .home-motion .hm-path { stroke-dasharray: 270; stroke-dashoffset: 270; }
.motion-ready .home-motion.is-in-view .hm-node,
.motion-ready .home-motion.is-in-view .hm-control,
.motion-ready .home-motion.is-in-view .hm-output,
.motion-ready .home-motion.is-in-view .hm-rail { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s ease; }
.motion-ready .home-motion.is-in-view .hm-node--ai { transition-delay: .1s; }
.motion-ready .home-motion.is-in-view .hm-node--security { transition-delay: .2s; }
.motion-ready .home-motion.is-in-view .hm-control { transition-delay: .38s; }
.motion-ready .home-motion.is-in-view .hm-output { transition-delay: .75s; }
.motion-ready .home-motion.is-in-view .hm-rail { transition-delay: .9s; }
.motion-ready .home-motion.is-in-view .hm-path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s ease .25s; }

@media (max-width: 1040px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-motion { width: min(100%, 680px); margin-inline: auto; }
  .guided-flow--six .guided-flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guided-flow-detail { grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); }
  .guided-flow-evidence { grid-column: 1 / -1; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
}
@media (max-width: 700px) {
  .home-hero-grid { gap: 30px; }
  .home-motion { margin-inline: -4px; width: calc(100% + 8px); }
  .guided-flow--six .guided-flow-steps, .guided-flow--four .guided-flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guided-flow-steps button { min-height: 124px; }
  .guided-flow-detail { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 23px 22px; }
  .guided-flow-evidence { grid-column: auto; }
}
@media (max-width: 430px) {
  .guided-flow--six .guided-flow-steps, .guided-flow--four .guided-flow-steps { grid-template-columns: minmax(0, 1fr); }
  .guided-flow-steps button { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition: none !important; }
  .motion-ready .motion-reveal,
  .motion-ready .home-motion .hm-node,
  .motion-ready .home-motion .hm-control,
  .motion-ready .home-motion .hm-output,
  .motion-ready .home-motion .hm-rail { opacity: 1; transform: none; }
  .motion-ready .home-motion .hm-path { stroke-dashoffset: 0; }
}
/* Product discovery: readable cards and a linear review walkthrough. */
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; align-items:start; }
.product-walkthrough { margin:32px 0; padding:24px; background:#EAF2F4; border:1px solid #D8DEE5; border-radius:12px; }
.product-walkthrough img { display:block; width:min(100%,698px); height:auto; margin:auto; border:1px solid #D8DEE5; border-radius:8px; }
.product-walkthrough figcaption { max-width:698px; margin:16px auto 0; color:#526575; font-size:.9rem; line-height:1.5; }
.product-card { padding:32px; background:#fff; border:1px solid #D8DEE5; border-top:4px solid #167D8D; border-radius:12px; }
.product-card h2 { font-size:clamp(1.65rem,3vw,2.2rem); }
.product-summary { font-size:1.2rem; font-weight:600; color:#0B1F33; }
.product-status { display:inline-block; margin:0 0 20px; padding:6px 12px; border-radius:4px; background:#EAF2F4; color:#0F5B67; font-size:.82rem; font-weight:700; letter-spacing:.02em; }
.product-status--preview { background:#eef1f5; color:#34465a; }
.product-card li { margin-bottom:10px; }
.product-card .actions { gap:12px; flex-wrap:wrap; }
.product-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; padding-left:24px; }
.product-steps li { padding-left:6px; }
.product-steps li::marker { color:#0F5B67; font-weight:700; }
.product-steps h3 { font-size:1.1rem; }
.nav a[aria-current="location"] { color:var(--ink); border-bottom-color:#167D8D; }
@media(max-width:900px) { .product-steps { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .product-grid,.product-steps { grid-template-columns:minmax(0,1fr); } .product-card { padding:24px; } }
