/* Hallmark · shape: Feature Stack · genre: atmospheric · theme: Kiln (deal 1/3, seed dark-glinda-web-application-bca3·100f658a·2026-11-29·r0) · job: join · draw: 7f4ef9
 * hero: Stage (the draw gave Banner; swapped after the hero review, the example finding is the strongest thing the page has) · nav: search-led bar · footer: mast · imagery: product built in slots, no photographs · signature: an example finding in plain words, its priority drawn as a heat scale · kiln: ember (paper-2 and paper-3 chroma lowered so the ground stays near-black)
 * axes: dark/high-contrast-serif/warm · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the section heads and the close read as any security page; rewrote them in this page's own nouns, gave the close the ember action in a composition of its own, and let the heat scale carry the finding's priority */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved · finish-review: subagent · 8 findings · 7 resolved 1 partial · gap: none */
/* Hallmark · dismissed 23 · the scroll progress line is 2px tall, a sliver of the viewport and the only accent fill besides the primary pill */
/* Hallmark · dismissed 58 · the extra words are labels and sample data inside the demo screens and the slide rail, where one slide and a half show at a time, not marketing copy */
/* Hallmark · dismissed 59 · the visitor asked for four more demonstration sections, so the page runs to eleven instead of nine; each is a different composition */
/* Hallmark · answered F4 · the selected state of a segmented control is a toggle in the demo screens, not a second call to action */
/* Hallmark · answered F8 · the visitor asked for scroll storytelling; the progress line, the drifting card and the arriving captures are each subtle and CSS only */
/* Hallmark · answered F15 · the hero, the report grid and the stat rows keep their own column gaps for their own density */
@import url("./tokens.css");
@import url("./base.css");
@import url("./demo.css");

:root { --banner-height: 72px; --seam: var(--section-gap-s); --color-paper-2: oklch(17.5% 0.011 40); --color-paper-3: oklch(22% 0.013 40); }

/* skip link */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.btn--ghost:hover { background: color-mix(in oklab, var(--color-ink) 8%, transparent); }
.btn--sm { min-height: 44px; }
.btn--lg { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.link { color: var(--color-ink); text-underline-offset: 0.2em; }
.link:hover { color: var(--color-ink-2); }
.link:active { color: var(--color-muted); }

/* nav: a search-led bar */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); height: var(--banner-height); background: color-mix(in oklab, var(--color-paper) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-md); }
.wordmark { justify-self: start; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-xl); letter-spacing: var(--tracking-display); text-decoration: none; }
.nav .btn { justify-self: end; }
.jump { display: inline-flex; align-items: center; gap: var(--space-md); min-height: 44px; padding: 0 var(--space-sm) 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); color: var(--color-muted); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.jump:hover { background: var(--color-paper-3); color: var(--color-ink-2); }
.jump:active { transform: translateY(1px); }
.jump kbd { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; border-radius: calc(var(--radius-well) / 2); background: var(--color-paper-3); color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); }
.jump-menu { position: fixed; inset: auto; top: calc(var(--banner-height) + var(--space-xs)); left: 50%; translate: -50% 0; width: min(22rem, calc(100% - var(--space-xl))); margin: 0; padding: var(--space-sm); border: 0; border-radius: var(--radius-well); background: var(--color-paper-3); color: var(--color-ink); box-shadow: var(--shadow-card); }
.jump-menu ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3xs); }
.jump-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: calc(var(--radius-well) - var(--space-sm)); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out); }
.jump-menu a:hover { background: color-mix(in oklab, var(--color-ink) 8%, transparent); }
@supports not selector(:popover-open) { .jump-menu, .jump { display: none; } }

/* bands: each section ends in a fade into the ground of the next, a different length at each seam */
.band { position: relative; background: var(--ground, var(--color-paper)); color: var(--color-ink); }
.band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: var(--seam); background: linear-gradient(to bottom, transparent, var(--next, var(--color-paper))); background: linear-gradient(to bottom in oklab, transparent, var(--next, var(--color-paper))); pointer-events: none; }
.band > .container { position: relative; z-index: var(--z-base); }
.band--hero { --ground: var(--color-paper); --next: var(--color-paper); --seam: var(--space-3xl); }
.band--stack { --ground: var(--color-paper-2); --next: var(--color-paper); --seam: var(--section-gap-l); }
.band--terminal { --ground: var(--color-paper-2); --next: var(--color-paper-2); --seam: var(--section-gap-s); }
.band--parts { --ground: var(--color-paper); --next: var(--color-paper-2); --seam: var(--section-gap); }
.band--statement { --ground: var(--color-paper-2); --next: var(--color-paper); --seam: var(--section-gap-l); }
.band--principles { --ground: var(--color-paper-2); --next: var(--color-paper); --seam: var(--section-gap-s); }
.band--stand { --ground: var(--color-paper); --next: var(--color-paper-2); --seam: var(--section-gap-s); }
.band--join { --ground: var(--color-paper); --next: var(--color-paper); --seam: var(--section-gap); }

/* hero: a stage, the text beside the example finding */
.band--hero { display: grid; align-content: center; min-height: calc(100dvh - var(--banner-height)); padding-block: var(--space-2xl) var(--space-3xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { max-width: none; font-size: clamp(2.75rem, 3.6vw + 1rem, 4.5rem); }
.hero h1 .line { display: block; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.shot--hero .ui { gap: var(--space-md); padding: var(--space-xl) var(--space-2xl); }
.shot--hero .ui__title { font-size: clamp(2.25rem, 2.4vw + 1.25rem, 3.5rem); }
.shot--hero .ui__text { font-size: var(--text-lg); max-width: 34ch; }

/* the stack: four steps of text on the left, one pinned panel of states on the right (see demo.css) */
.band--stack { padding-block: var(--section-gap-s) var(--section-gap-l); }
.shot { margin: 0; }
.shot [data-slot]:has(> img) { aspect-ratio: 16 / 10; }
.shot [data-slot] { display: grid; align-items: center; min-height: 360px; border-radius: var(--radius-card); background: var(--color-paper-3); box-shadow: var(--shadow-card); outline: var(--rule-hair) solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.shot.shot--hero [data-slot] { min-height: 0; }
.shot figcaption { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }

/* the product, built: shared parts of the example screens */
.ui { display: grid; gap: var(--space-md); align-content: center; width: 100%; padding: var(--space-xl); }
.ui__meta { color: var(--color-muted); font-size: var(--text-sm); }
.ui__title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.6vw + 1.25rem, 3rem); line-height: 1.08; letter-spacing: var(--tracking-display); max-width: none; text-wrap: balance; }
.ui__text { color: var(--color-ink-2); font-size: var(--text-lg); max-width: 34ch; }
.ui__facts { display: grid; gap: var(--space-xs); margin: 0; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.ui__facts div { display: flex; gap: var(--space-md); }
.ui__facts dt { color: var(--color-muted); min-width: 7rem; }
.ui__facts dd { margin: 0; color: var(--color-ink-2); }
.ui__facts div { align-items: center; }
.ui__decide { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); }
.ui__btns { display: inline-flex; flex-wrap: wrap; gap: var(--space-xs); }
.ui__btns .btn[aria-pressed="true"] { background: color-mix(in oklab, var(--color-ink) 16%, transparent); }
.ui__code { margin: 0; padding: var(--space-lg); border-radius: var(--radius-well); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); font: 400 var(--text-sm)/1.6 var(--font-outlier); color: var(--color-ink-2); white-space: pre-wrap; overflow-wrap: break-word; }
.ui__help { min-height: 1lh; color: var(--color-muted); font-size: var(--text-sm); }
.ui__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.ui__list { margin: 0; padding: 0; list-style: none; display: grid; }
.ui__list li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: center; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lg); }
.ui__list li:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.ui__state { color: var(--color-ink-2); font-size: var(--text-sm); text-align: right; }
.ui__list--states li { grid-template-columns: minmax(0, 1fr) auto; }
.nobr { white-space: nowrap; }

/* heat: how hot a finding is, filled only as far as its priority */
.prio { --at-n: 92; display: inline-flex; align-items: center; gap: var(--space-md); font-size: var(--text-md); font-weight: 500; color: var(--color-ink); white-space: nowrap; }
.prio--soon { --at-n: 58; }
.prio--check { --at-n: 24; }
.prio__bar, .scale__track { position: relative; display: block; flex-shrink: 0; height: 6px; border-radius: calc(var(--radius-well) / 8); background: var(--color-rule); }
.prio__bar { width: 96px; }
.prio__bar::before, .scale__track::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--at-n) * 1%); border-radius: inherit; background: linear-gradient(to right, var(--heat-2), var(--heat-4), var(--heat-6)); background-size: calc(10000% / var(--at-n)) 100%; background-repeat: no-repeat; }
.scale { --at-n: 92; display: grid; gap: var(--space-xs); }
.scale__track { width: 100%; height: 10px; }
.scale__ends { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--color-muted); }
.scale__ends span:last-child { color: var(--color-ink); font-weight: 500; }

/* rows: the three parts */
.head { display: grid; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.rows { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); align-items: center; gap: var(--gap-columns); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.row h3 { max-width: none; font-size: var(--text-display-s); line-height: 1; }
.row__role { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.4; max-width: 34ch; }
.row__role--sub { margin-top: var(--space-sm); color: var(--color-ink); font-size: var(--text-md); }
.row--hub { padding-inline: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.row__meta { display: grid; gap: var(--space-xs); justify-items: start; color: var(--color-muted); font-size: var(--text-sm); }
.band--parts { padding-block: var(--section-gap-s) var(--section-gap); }

/* statement: one sentence, set large across ten columns */
.band--statement { padding-block: var(--section-gap-l) var(--section-gap-l); }
.statement { max-width: 26ch; font-size: var(--text-display); line-height: 1.02; }

/* refusals: four across, parted by hairlines, the texts aligned on one line */
.band--principles { padding-block: var(--section-gap-s) var(--section-gap); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.grid4 > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--space-md); align-content: start; padding: var(--space-xl) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.grid4 > li:first-child { padding-left: 0; border-left: 0; }
.band--stand { padding-block: var(--section-gap-s) var(--section-gap); }
.band--stand .head .lead { color: var(--color-ink-2); }
.stand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.stand > li { display: grid; gap: var(--space-md); align-content: start; padding: var(--space-xl) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.stand > li:first-child { padding-left: 0; border-left: 0; }
.stand h3 { max-width: none; font-size: var(--text-2xl); line-height: 1.1; }
.stand p { color: var(--color-ink-2); max-width: 34ch; }
.band--stand .note { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.grid4 h3 { max-width: 12ch; font-size: var(--text-2xl); line-height: 1.1; }
.grid4 p { color: var(--color-ink-2); max-width: 30ch; align-self: start; }

/* the close: three ways in, the first one carrying the action */
.band--join { padding-block: var(--section-gap-l) var(--section-gap); }
.band--join .head .lead { color: var(--color-ink-2); }
.band--join h2 { font-size: var(--text-display-s); max-width: 18ch; }
.ways { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.ways > li { display: grid; gap: var(--space-md); align-content: start; justify-items: start; min-height: 240px; padding: var(--space-xl) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.ways > li:first-child { padding-left: 0; border-left: 0; }
.ways h3 { max-width: 14ch; font-size: var(--text-2xl); line-height: 1.1; }
.ways p { color: var(--color-ink-2); max-width: 30ch; }
.ways .btn { margin-top: var(--space-sm); }

/* footer: a mast */
.mast { background: var(--color-paper); padding-block: var(--space-3xl) var(--space-xl); }
.mast__word { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(4rem, 12vw, 10rem); line-height: 0.95; letter-spacing: var(--tracking-display); }
.mast__links { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.mast__links a { text-decoration: none; }
.mast__links a:hover { text-decoration: underline; }
.mast__legal { display: grid; gap: var(--space-2xs); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }

/* narrower screens */
@media (max-width: 60rem) {
  .band--hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
  .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stand { grid-template-columns: minmax(0, 1fr); }
  .stand > li { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .stand > li:first-child { border-top: 0; }
  .grid4 > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .grid4 > li:nth-child(n + 3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .ways > li { min-height: 0; padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .ways > li:first-child { border-top: 0; }
  .ui { padding: var(--space-lg); }
  .shot--hero .ui { padding: var(--space-lg); }
  .shot [data-slot] { min-height: 0; }
}
@media (max-width: 40rem) {
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .grid4 > li { padding-left: 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .grid4 > li:first-child { border-top: 0; }
  .nav__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .jump { justify-self: end; padding-left: var(--space-md); }
  .jump kbd { display: none; }
  .ui__list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .ui__title { font-size: var(--text-2xl); }
}
