/* Hallmark · shape: product tour, redesigned by request around real screens · genre: playful · theme: Hum re-coloured by request to Graphite and coral, flat surfaces (deal 1/3, seed marketing-narc-bot-macos-74fd·02e647f8·2026-11-18·r0) · job: try · draw: e8eea7 (shape swapped: the user supplied screens)
 * hero: Stage · nav: slab · footer: colophon block · imagery: screenshots 7 (the app's own --snapshot --demo renderer, sample data) + the Critical alert and Revert built from design/ until they ship · signature: the popover hanging from Narc Bot's eyes in the menu bar
 * axes: light/rounded-sans/chromatic-yellow · posture: full-palette (pear the action and the close button, blue links and focus, coral the one paused moment, risk colours inside the product) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a monitoring app reads as fear; led with a working Block button and the score's own arithmetic instead of warnings */
/* Hallmark · motion by request: hero settle, live 60 s countdown, score tick, one reveal, parallax on the desk sheet, terminal, alert and closing popover (translate only; off under 60rem and reduced motion) */
/* Hallmark · waive 39b · ui-btn 34px with a ::after hit area to 44px · these are the built Narc Bot alert and Revert card controls, sized like the real macOS app */
/* Hallmark · dismissed 58 · the bento window around y 3800 counts the six-line YAML rule, about 25 words of real code from defaults.yaml */
/* Hallmark · waive 59 · gap 0 where the soft toolkit band meets the ink band · sections part by a change of paper on every seam, torn edge against torn edge, with equal --sec-pad inside each */
/* Hallmark · dismissed 42 · the nav is the stamped slab, made light by request so the graphite logo stands out; sticky, frosted, one action */
/* Hallmark · dismissed F4 · Block, Revert and the risk-red buttons sit inside the built Narc Bot alert and popover samples, app UI not page actions; the page has one primary, Download */
/* Hallmark · dismissed 41 · --color-term-ink is only drawn on the ink terminal sheet and band, never on --risk-crit-bg */
@import url("./tokens.css");
@import url("./base.css");


:root {
  --tear-both: polygon(0.00% 1.6px,2.08% 4px,4.17% 6.8px,6.25% 7.6px,8.33% 10.9px,10.42% 9.3px,12.50% 8.8px,14.58% 6.5px,16.67% 3.4px,18.75% 4.5px,20.83% 5.6px,22.92% 4.6px,25.00% 4.3px,27.08% 4.9px,29.17% 7.5px,31.25% 9.1px,33.33% 8.2px,35.42% 7.8px,37.50% 8.7px,39.58% 6.5px,41.67% 5.7px,43.75% 5.9px,45.83% 5.7px,47.92% 4.6px,50.00% 6.3px,52.08% 5.7px,54.17% 7.6px,56.25% 9.4px,58.33% 7.4px,60.42% 8.1px,62.50% 9px,64.58% 8.8px,66.67% 8.5px,68.75% 7.5px,70.83% 9.1px,72.92% 5.8px,75.00% 6.5px,77.08% 6.6px,79.17% 8px,81.25% 9.3px,83.33% 8.2px,85.42% 7px,87.50% 7.6px,89.58% 7.1px,91.67% 7.3px,93.75% 7.7px,95.83% 8px,97.92% 9.2px,100.00% 9.7px,100.00% calc(100% - 5.7px),97.92% calc(100% - 3.9px),95.83% calc(100% - 7.6px),93.75% calc(100% - 6.2px),91.67% calc(100% - 9.7px),89.58% calc(100% - 8.4px),87.50% calc(100% - 8.3px),85.42% calc(100% - 4.4px),83.33% calc(100% - 5.5px),81.25% calc(100% - 5.1px),79.17% calc(100% - 9.3px),77.08% calc(100% - 9.3px),75.00% calc(100% - 9.6px),72.92% calc(100% - 11.3px),70.83% calc(100% - 8.5px),68.75% calc(100% - 9.1px),66.67% calc(100% - 8.2px),64.58% calc(100% - 8.7px),62.50% calc(100% - 6.5px),60.42% calc(100% - 7.2px),58.33% calc(100% - 5px),56.25% calc(100% - 5.2px),54.17% calc(100% - 5.8px),52.08% calc(100% - 5.1px),50.00% calc(100% - 5.9px),47.92% calc(100% - 7.6px),45.83% calc(100% - 8.5px),43.75% calc(100% - 8.8px),41.67% calc(100% - 8.9px),39.58% calc(100% - 8.9px),37.50% calc(100% - 9px),35.42% calc(100% - 6.6px),33.33% calc(100% - 8px),31.25% calc(100% - 7.9px),29.17% calc(100% - 7.6px),27.08% calc(100% - 9.9px),25.00% calc(100% - 8.9px),22.92% calc(100% - 10.8px),20.83% calc(100% - 6.6px),18.75% calc(100% - 5.6px),16.67% calc(100% - 5.8px),14.58% calc(100% - 5.4px),12.50% calc(100% - 9.1px),10.42% calc(100% - 8.3px),8.33% calc(100% - 11.3px),6.25% calc(100% - 10.1px),4.17% calc(100% - 6.8px),2.08% calc(100% - 4.5px),0.00% calc(100% - 3.6px));
  --tear-both-f: polygon(0.00% -0.9px,2.08% 1.5px,4.17% 4.3px,6.25% 5.1px,8.33% 8.4px,10.42% 6.8px,12.50% 6.3px,14.58% 4px,16.67% 0.9px,18.75% 2px,20.83% 3.1px,22.92% 2.1px,25.00% 1.8px,27.08% 2.4px,29.17% 5px,31.25% 6.6px,33.33% 5.7px,35.42% 5.3px,37.50% 6.2px,39.58% 4px,41.67% 3.2px,43.75% 3.4px,45.83% 3.2px,47.92% 2.1px,50.00% 3.8px,52.08% 3.2px,54.17% 5.1px,56.25% 6.9px,58.33% 4.9px,60.42% 5.6px,62.50% 6.5px,64.58% 6.3px,66.67% 6px,68.75% 5px,70.83% 6.6px,72.92% 3.3px,75.00% 4px,77.08% 4.1px,79.17% 5.5px,81.25% 6.8px,83.33% 5.7px,85.42% 4.5px,87.50% 5.1px,89.58% 4.6px,91.67% 4.8px,93.75% 5.2px,95.83% 5.5px,97.92% 6.7px,100.00% 7.2px,100.00% calc(100% - 3.2px),97.92% calc(100% - 1.4px),95.83% calc(100% - 5.1px),93.75% calc(100% - 3.7px),91.67% calc(100% - 7.2px),89.58% calc(100% - 5.9px),87.50% calc(100% - 5.8px),85.42% calc(100% - 1.9px),83.33% calc(100% - 3px),81.25% calc(100% - 2.6px),79.17% calc(100% - 6.8px),77.08% calc(100% - 6.8px),75.00% calc(100% - 7.1px),72.92% calc(100% - 8.8px),70.83% calc(100% - 6px),68.75% calc(100% - 6.6px),66.67% calc(100% - 5.7px),64.58% calc(100% - 6.2px),62.50% calc(100% - 4px),60.42% calc(100% - 4.7px),58.33% calc(100% - 2.5px),56.25% calc(100% - 2.7px),54.17% calc(100% - 3.3px),52.08% calc(100% - 2.6px),50.00% calc(100% - 3.4px),47.92% calc(100% - 5.1px),45.83% calc(100% - 6px),43.75% calc(100% - 6.3px),41.67% calc(100% - 6.4px),39.58% calc(100% - 6.4px),37.50% calc(100% - 6.5px),35.42% calc(100% - 4.1px),33.33% calc(100% - 5.5px),31.25% calc(100% - 5.4px),29.17% calc(100% - 5.1px),27.08% calc(100% - 7.4px),25.00% calc(100% - 6.4px),22.92% calc(100% - 8.3px),20.83% calc(100% - 4.1px),18.75% calc(100% - 3.1px),16.67% calc(100% - 3.3px),14.58% calc(100% - 2.9px),12.50% calc(100% - 6.6px),10.42% calc(100% - 5.8px),8.33% calc(100% - 8.8px),6.25% calc(100% - 7.6px),4.17% calc(100% - 4.3px),2.08% calc(100% - 2px),0.00% calc(100% - 1.1px));
  --tear-bottom: polygon(0.00% 0,2.08% 0,4.17% 0,6.25% 0,8.33% 0,10.42% 0,12.50% 0,14.58% 0,16.67% 0,18.75% 0,20.83% 0,22.92% 0,25.00% 0,27.08% 0,29.17% 0,31.25% 0,33.33% 0,35.42% 0,37.50% 0,39.58% 0,41.67% 0,43.75% 0,45.83% 0,47.92% 0,50.00% 0,52.08% 0,54.17% 0,56.25% 0,58.33% 0,60.42% 0,62.50% 0,64.58% 0,66.67% 0,68.75% 0,70.83% 0,72.92% 0,75.00% 0,77.08% 0,79.17% 0,81.25% 0,83.33% 0,85.42% 0,87.50% 0,89.58% 0,91.67% 0,93.75% 0,95.83% 0,97.92% 0,100.00% 0,100.00% calc(100% - 10.1px),97.92% calc(100% - 10.6px),95.83% calc(100% - 6.9px),93.75% calc(100% - 6.1px),91.67% calc(100% - 5px),89.58% calc(100% - 4.5px),87.50% calc(100% - 7.4px),85.42% calc(100% - 7px),83.33% calc(100% - 4.8px),81.25% calc(100% - 7.2px),79.17% calc(100% - 5.6px),77.08% calc(100% - 7.1px),75.00% calc(100% - 4.9px),72.92% calc(100% - 6.6px),70.83% calc(100% - 2.8px),68.75% calc(100% - 3.1px),66.67% calc(100% - 1.8px),64.58% calc(100% - 4.3px),62.50% calc(100% - 4px),60.42% calc(100% - 6.2px),58.33% calc(100% - 7.4px),56.25% calc(100% - 5.9px),54.17% calc(100% - 6.4px),52.08% calc(100% - 4.9px),50.00% calc(100% - 4.2px),47.92% calc(100% - 4.5px),45.83% calc(100% - 5.9px),43.75% calc(100% - 9.2px),41.67% calc(100% - 8.9px),39.58% calc(100% - 10.6px),37.50% calc(100% - 10.9px),35.42% calc(100% - 10.7px),33.33% calc(100% - 11.8px),31.25% calc(100% - 10.7px),29.17% calc(100% - 7.4px),27.08% calc(100% - 4.7px),25.00% calc(100% - 6.6px),22.92% calc(100% - 7.3px),20.83% calc(100% - 8.6px),18.75% calc(100% - 10.6px),16.67% calc(100% - 9.6px),14.58% calc(100% - 11.3px),12.50% calc(100% - 8px),10.42% calc(100% - 8.6px),8.33% calc(100% - 7.8px),6.25% calc(100% - 9.4px),4.17% calc(100% - 6.9px),2.08% calc(100% - 7px),0.00% calc(100% - 8.7px));
  --tear-bottom-f: polygon(0.00% 0,2.08% 0,4.17% 0,6.25% 0,8.33% 0,10.42% 0,12.50% 0,14.58% 0,16.67% 0,18.75% 0,20.83% 0,22.92% 0,25.00% 0,27.08% 0,29.17% 0,31.25% 0,33.33% 0,35.42% 0,37.50% 0,39.58% 0,41.67% 0,43.75% 0,45.83% 0,47.92% 0,50.00% 0,52.08% 0,54.17% 0,56.25% 0,58.33% 0,60.42% 0,62.50% 0,64.58% 0,66.67% 0,68.75% 0,70.83% 0,72.92% 0,75.00% 0,77.08% 0,79.17% 0,81.25% 0,83.33% 0,85.42% 0,87.50% 0,89.58% 0,91.67% 0,93.75% 0,95.83% 0,97.92% 0,100.00% 0,100.00% calc(100% - 7.6px),97.92% calc(100% - 8.1px),95.83% calc(100% - 4.4px),93.75% calc(100% - 3.6px),91.67% calc(100% - 2.5px),89.58% calc(100% - 2px),87.50% calc(100% - 4.9px),85.42% calc(100% - 4.5px),83.33% calc(100% - 2.3px),81.25% calc(100% - 4.7px),79.17% calc(100% - 3.1px),77.08% calc(100% - 4.6px),75.00% calc(100% - 2.4px),72.92% calc(100% - 4.1px),70.83% calc(100% - 0.3px),68.75% calc(100% - 0.6px),66.67% calc(100% - -0.7px),64.58% calc(100% - 1.8px),62.50% calc(100% - 1.5px),60.42% calc(100% - 3.7px),58.33% calc(100% - 4.9px),56.25% calc(100% - 3.4px),54.17% calc(100% - 3.9px),52.08% calc(100% - 2.4px),50.00% calc(100% - 1.7px),47.92% calc(100% - 2px),45.83% calc(100% - 3.4px),43.75% calc(100% - 6.7px),41.67% calc(100% - 6.4px),39.58% calc(100% - 8.1px),37.50% calc(100% - 8.4px),35.42% calc(100% - 8.2px),33.33% calc(100% - 9.3px),31.25% calc(100% - 8.2px),29.17% calc(100% - 4.9px),27.08% calc(100% - 2.2px),25.00% calc(100% - 4.1px),22.92% calc(100% - 4.8px),20.83% calc(100% - 6.1px),18.75% calc(100% - 8.1px),16.67% calc(100% - 7.1px),14.58% calc(100% - 8.8px),12.50% calc(100% - 5.5px),10.42% calc(100% - 6.1px),8.33% calc(100% - 5.3px),6.25% calc(100% - 6.9px),4.17% calc(100% - 4.4px),2.08% calc(100% - 4.5px),0.00% calc(100% - 6.2px));
  --font-mark: "Archivo", var(--font-display);
  --mark-stretch: 112;
  --nav-h: 88px;
  /* risk colours, from the design spec; badges always carry their word */
  --risk-crit-bg: oklch(93.5% 0.04 22); --risk-crit-fg: oklch(42% 0.16 28); --risk-crit-dot: oklch(57% 0.21 28);
  --risk-high-bg: oklch(94.5% 0.04 60); --risk-high-fg: oklch(44% 0.12 45); --risk-high-dot: oklch(66% 0.18 48);
  --risk-med-bg: oklch(96% 0.05 95); --risk-med-fg: oklch(45% 0.1 70); --risk-med-dot: oklch(74% 0.15 85);
  --risk-low-bg: oklch(94.5% 0.025 260); --risk-low-fg: oklch(44% 0.14 260); --risk-low-dot: oklch(60% 0.13 260);
  --risk-info-bg: oklch(95.5% 0.004 260); --risk-info-fg: oklch(45% 0.025 260);
  --color-desk: oklch(88% 0.05 88); --sec-pad: 112px;
  --color-term: oklch(22% 0.016 255); --color-term-ink: oklch(92% 0.012 95); --color-term-muted: oklch(70% 0.014 255);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .12' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .25 0 0 0 .1 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

body { background: var(--grain), var(--fibre), var(--color-paper); background-size: 220px, 600px, auto; font-weight: 500; font-size: 1.0625rem; }
h1, h2, h3 { font-weight: var(--display-weight); }
a { color: var(--color-accent-2); }
a:hover { color: var(--color-ink); }
code, kbd, .mono { font-family: var(--font-outlier); font-size: 0.875em; font-weight: 400; }
mark { background: color-mix(in oklab, var(--color-accent) 55%, transparent); color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.1em; }

.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); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }
.skip:hover { color: var(--color-paper); }

/* cut sheets: a face and its pale fibre twin, torn, lit from the top left */
.sheet { position: absolute; inset: 0; filter: var(--shadow-paper); pointer-events: none; z-index: 0; }
.sheet > i { position: absolute; inset: 0; }
.sheet > .f { background: var(--color-fringe); clip-path: var(--tear-both-f); }
.sheet > .s { background: var(--grain), var(--fibre), var(--sheet-c, var(--color-paper-3)); background-size: 220px, 600px, auto; clip-path: var(--tear-both); }
.sheet--bottom > .f { clip-path: var(--tear-bottom-f); }
.sheet--bottom > .s { clip-path: var(--tear-bottom); }

/* controls: card stock */
.btn { --edge: 5px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-stock); background: var(--grain), var(--fibre), var(--color-card); background-size: 220px, 600px, auto; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--color-rule), inset 0 1px 0 var(--color-fringe), 0 var(--edge) 0 0 var(--color-edge); transition: translate var(--dur-micro) var(--ease-snap), box-shadow var(--dur-micro) var(--ease-snap); }
.btn:hover { --edge: 7px; translate: 0 -2px; color: var(--color-ink); }
.btn:active { --edge: 1px; translate: 0 4px; }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; --edge: 5px; }
.btn--primary { background: var(--grain), var(--fibre), var(--color-accent); background-size: 220px, 600px, auto; color: var(--color-accent-ink); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-fringe) 60%, transparent), 0 var(--edge) 0 0 var(--color-accent-deep), 2px calc(var(--edge) + 4px) 10px -3px color-mix(in oklab, var(--color-ink) 32%, transparent); transition-timing-function: var(--ease-spring); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--dl { padding-left: var(--space-md); }

/* nav: an ink slab torn along its foot */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); color: var(--color-paper); --sheet-c: var(--color-ink); }
.nav .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); padding-bottom: var(--space-2xs); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); color: inherit; text-decoration: none; font-family: var(--font-mark); font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" var(--mark-stretch); font-size: 1.75rem; letter-spacing: -0.01em; }
.wordmark img { width: 48px; height: 48px; }
.nav .wordmark img { border-radius: 11px; box-shadow: 0 0 0 2px var(--color-paper); }
.wordmark:hover { color: inherit; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a:not(.btn) { color: var(--color-paper); font-size: var(--text-sm); text-decoration: none; padding: var(--space-xs) 0; }
.nav__links a:not(.btn):hover { color: var(--color-accent); }
.nav .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); --edge: 4px; }
.nav .btn:hover { --edge: 6px; }
.nav .btn:active { --edge: 1px; }

/* shared */
.textlink { display: inline-flex; align-items: center; min-height: 52px; padding: 0; font-weight: 600; color: var(--color-accent-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.textlink:hover { color: var(--color-ink); }
.textlink:active { color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.hero__note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.sec { padding-block: var(--sec-pad); }
.lead + .more { margin-top: var(--space-md); }
.more { color: var(--color-ink-2); max-width: 52ch; }
.head .lead, .split__text .lead { max-width: 56ch; }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.head h2 + .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap-columns); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.split__text .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: var(--color-card); box-shadow: var(--shadow-card); outline: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); outline-offset: -1px; }
.shot img { width: 100%; height: auto; }

/* hero: Stage, the popover hanging from the menu bar */
.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: calc(100dvh - var(--nav-h)); padding-block: var(--space-xl) var(--space-2xl); }
.hero h1 { font-size: clamp(2.75rem, 3.6vw + 1rem, 4.75rem); line-height: 1.02; max-width: 11ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 38ch; color: var(--color-ink-2); }
.desk { position: relative; justify-self: start; width: min(100%, 600px); margin: 0; min-height: 680px; --sheet-c: var(--color-desk); }
.desk__sheet { inset: 0; }
.desk__sheet > .s, .desk__sheet > .f { border-radius: 14px 14px 0 0; }
.menubar { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: var(--space-2xs); height: 30px; padding-inline: var(--space-sm); border-radius: 14px 14px 0 0; background: color-mix(in oklab, var(--color-card) 72%, transparent); backdrop-filter: blur(12px); color: var(--color-ink); font-size: var(--text-xs); font-weight: 500; }
.menubar__item { position: relative; display: grid; place-items: center; width: 44px; height: 24px; border-radius: 6px; background: color-mix(in oklab, var(--color-ink) 14%, transparent); }
.menubar__glyph { width: 25px; height: auto; }
.menubar__dot { position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--risk-crit-dot); box-shadow: 0 0 0 1.5px var(--color-card); }
.menubar time { position: absolute; right: var(--space-md); white-space: nowrap; }
.shot--pop { position: absolute; z-index: 1; top: 38px; left: 50%; translate: -50% 0; width: 360px; aspect-ratio: 760 / 1272; border-radius: 14px; }

/* pause: the alert over the agent's terminal */
.stage { position: relative; min-height: 560px; background: none; overflow: visible; }
.term { position: absolute; left: 0; right: 6%; top: 0; padding: var(--space-xl); color: var(--color-term-ink); --sheet-c: var(--color-term); rotate: -2deg; }
.term > :not(.sheet) { position: relative; z-index: 1; }
.term p { font-family: var(--font-outlier); font-size: var(--text-sm); line-height: 1.7; max-width: none; }
.term .dim { color: var(--color-term-muted); }
.term .prompt { color: var(--color-accent); }
.term .wait { color: var(--color-accent-3); }
.wait[data-state] { color: var(--color-mint); }
.wait[data-state="blocked"] { color: var(--color-accent); }

/* built app cards, matching the real UI */
.app { position: relative; z-index: 2; background: var(--color-card); border-radius: 18px; box-shadow: var(--shadow-card), 0 0 0 1px color-mix(in oklab, var(--color-ink) 9%, transparent); color: var(--color-ink); font-size: var(--text-sm); line-height: 1.45; }
.alert { position: absolute; right: 0; top: 176px; width: min(100%, 540px); padding: var(--space-lg); }
.app__head { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-muted); }
.app__head img { width: 24px; height: 24px; border-radius: 6px; }
.app__head b { color: var(--color-ink); font-weight: 600; }
.app__head time { margin-left: auto; }
.score { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-md); }
.score__n { font: 600 var(--text-display-s)/0.9 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-display); color: var(--risk-crit-fg); }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 var(--space-xs); border-radius: 7px; font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.badge--crit { background: var(--risk-crit-bg); color: var(--risk-crit-fg); }
.badge--high { background: var(--risk-high-bg); color: var(--risk-high-fg); }
.badge--med { background: var(--risk-med-bg); color: var(--risk-med-fg); }
.badge--low { background: var(--risk-low-bg); color: var(--risk-low-fg); }
.badge--info { background: var(--risk-info-bg); color: var(--risk-info-fg); }
.alert__title { margin-top: var(--space-sm); font: 600 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.015em; max-width: 26ch; text-wrap: balance; }
.cmd { display: block; margin-top: var(--space-md); padding: var(--space-sm) var(--space-md); border-radius: 10px; background: var(--color-paper-2); font-family: var(--font-outlier); font-size: var(--text-xs); overflow-wrap: anywhere; }
.why { margin: var(--space-md) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }
.why li { padding-left: var(--space-md); position: relative; }
.why li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--risk-crit-dot); }
.app__actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.ui-btn { position: relative; display: inline-flex; align-items: center; text-decoration: none; min-height: 34px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: 9px; background: var(--color-card); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.ui-btn::after { content: ""; position: absolute; inset: -5px; }
.ui-btn:hover { background: var(--color-paper-2); }
.ui-btn:active { transform: translateY(1px); }
.ui-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ui-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.ui-btn--static { cursor: default; }
.ui-btn--static:hover { background: var(--color-card); }
.ui-btn--stop { background: var(--risk-crit-dot); border-color: var(--risk-crit-dot); color: var(--color-fringe); }
.ui-btn--stop:hover { background: var(--risk-crit-fg); }
.ui-btn--stop:active { transform: translateY(2px); }
.ui-btn--ink { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.ui-btn--ink:hover { background: var(--color-ink-2); }
.app__foot { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-xs); min-height: 1lh; }
.app__foot:empty { display: none; }
.app__foot[data-state="blocked"] { color: var(--risk-crit-fg); font-weight: 600; }
.app__foot[data-state="allowed"] { color: var(--color-mint-deep); font-weight: 600; }
.timer { display: block; height: 4px; margin-top: var(--space-lg); border-radius: var(--radius-pill); background: var(--color-paper-2); overflow: hidden; }
.timer i { display: block; height: 100%; background: var(--risk-crit-dot); transform-origin: left; animation: drain 60s linear forwards paused; }
.timer.is-running i { animation-play-state: running; }
.timer.is-done { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.alert .app__foot { margin-top: var(--space-sm); }

/* report: the real window, with a light and dark switch */
.seg { display: flex; justify-self: end; gap: var(--space-xs); }
.seg button, .dial label { --edge: 4px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--color-rule), 0 var(--edge) 0 0 var(--color-edge); transition: translate var(--dur-micro) var(--ease-snap), box-shadow var(--dur-micro) var(--ease-snap); }
.seg button:hover, .dial label:hover { --edge: 6px; translate: 0 -2px; }
.seg button:active, .dial label:active { --edge: 1px; translate: 0 3px; }
.seg button[aria-selected="true"], .dial input:checked + label { --edge: 1px; translate: 0 3px; background: var(--color-ink); color: var(--color-paper); box-shadow: 0 var(--edge) 0 0 var(--color-ink); }
.seg button:focus-visible, .dial input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.seg button:disabled { opacity: 0.55; cursor: not-allowed; }
.shot--report { border-radius: var(--radius-card); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: var(--space-xl) 0 0; }
.trio > div, .facts > div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.trio dt, .facts dt { font: 600 var(--text-xl)/1.2 var(--font-display); letter-spacing: -0.02em; }
.trio dd, .facts dd { margin: var(--space-xs) 0 0; color: var(--color-ink-2); line-height: 1.5; max-width: 44ch; }

/* why this score */
.shot--detail { justify-self: center; width: min(100%, 440px); border-radius: var(--radius-card); rotate: -1.5deg; }
.facts { display: grid; gap: var(--space-lg); margin: var(--space-xl) 0 0; }

/* five levels, one dial */
.dial { display: flex; flex-wrap: wrap; justify-self: end; gap: var(--space-xs); margin: 0; padding: 0; border: 0; }
.dial legend { width: 100%; margin-bottom: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.dial input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.levels { width: 100%; border-collapse: collapse; }
.levels thead th { padding: 0 var(--space-md) var(--space-sm) 0; text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.levels td, .levels tbody th { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-top: 1px solid var(--color-rule); text-align: left; vertical-align: middle; font-size: var(--text-lead); }
.levels tbody th { font-weight: 600; }
.levels .num { text-align: right; padding-right: var(--space-2xl); font: 600 var(--text-2xl)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-display); }
.levels thead .num { font: 500 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; }
.levels td:last-child { width: 30%; }
[data-m]:not([data-m="balanced"]) { display: none; }
.sec--levels:has(#m-quiet:checked) [data-m="balanced"], .sec--levels:has(#m-strict:checked) [data-m="balanced"] { display: none; }
.sec--levels:has(#m-quiet:checked) [data-m="quiet"], .sec--levels:has(#m-strict:checked) [data-m="strict"] { display: inline; }
.note { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }

/* the toolkit: a bento of wells */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile { display: grid; align-content: start; gap: var(--space-sm); min-height: 320px; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--grain), var(--fibre), var(--color-paper-2); background-size: 220px, 600px, auto; }
.tile h3 { font-size: var(--text-xl); }
.tile > p { color: var(--color-ink-2); max-width: 46ch; }
.tile .shot, .tile .app, .tile .yaml { margin-top: var(--space-md); }
.tile--live { grid-column: span 7; }
.tile--agents { grid-column: span 5; }
.tile--revert { grid-column: span 5; }
.tile--rules { grid-column: span 7; }
.shot--crop { max-width: 520px; border-radius: 12px; }
.hialert { padding: var(--space-lg); }
.hialert .app__head { gap: var(--space-sm); }
.diff { margin: var(--space-md) 0 0; padding: var(--space-sm) var(--space-md); border-radius: 10px; background: var(--color-paper-2); font-family: var(--font-outlier); font-size: var(--text-xs); line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff .add { color: var(--color-mint-deep); transition: color var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); }
.diff.is-reverted .add { text-decoration: line-through; color: var(--color-muted); opacity: 0.6; }
.yaml { margin: 0; padding: var(--space-lg); border-radius: 14px; background: var(--color-term); color: var(--color-term-ink); font-family: var(--font-outlier); font-size: var(--text-sm); line-height: 1.7; overflow-x: auto; }
.yaml code { font-size: inherit; }
.yaml .k { color: var(--color-accent); }

/* bands: a torn ink sheet, a torn paper sheet */
.band { position: relative; padding-block: var(--sec-pad); }
.band > .container { position: relative; z-index: 1; }
.band--ink { color: var(--color-paper); --sheet-c: var(--color-ink); }
.band--ink .lead { margin-top: var(--space-lg); color: var(--color-term-ink); max-width: 44ch; }
.statement { max-width: 18ch; font-size: var(--text-display); line-height: 1.02; }
.local { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.keep { padding: var(--space-xl); }
.dial--app { justify-self: start; }
.keep__path { margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.keep__path code { color: var(--color-ink); overflow-wrap: anywhere; }
.band--close { --sheet-c: transparent; }
.band--close .sheet { display: none; }
.band--soft { --sheet-c: var(--color-paper-2); }
.band--soft .tile { background: var(--grain), var(--fibre), var(--color-paper); background-size: 220px, 600px, auto; }
.close .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 40ch; }
.close { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.close h2 { font-size: var(--text-display); line-height: 1.02; max-width: 10ch; }
.close__mark { justify-self: end; width: min(100%, 360px); height: auto; rotate: 4deg; filter: var(--shadow-paper); }

/* footer: colophon block */
.foot { padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.foot__in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: start; }
.foot__mast { display: grid; gap: var(--space-md); justify-items: start; }
.foot__mast p { max-width: 48ch; color: var(--color-ink-2); font-size: var(--text-sm); }
.wordmark--lg { color: var(--color-ink); font-size: 2rem; }
.wordmark--lg img { width: 56px; height: 56px; }
.foot__links { display: grid; gap: var(--space-xs); justify-self: end; justify-items: start; margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }

/* motion: the popover drops from the menu bar, the alert lands, content rises once, sheets drift */
[data-parallax] { translate: 0 var(--py, 0px); }
.js .hero .shot--pop { animation: pop-drop 0.55s var(--ease-snap) 0.25s both; transform-origin: 50% 0; }
.js .stage:not(.is-in) .term, .js .stage:not(.is-in) .alert { opacity: 0; }
.stage.is-in .term { animation: sheet-in 0.7s var(--ease-out) both; }
.stage.is-in .alert { animation: card-drop 0.6s var(--ease-snap) 0.18s both; }
.alert.is-decided { animation: settle-press var(--dur-long) var(--ease-snap); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.levels [data-m], [role="tabpanel"] { animation: cell-pop var(--dur-short) var(--ease-out); }
@keyframes drain { to { transform: scaleX(0); } }
@keyframes pop-drop { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }
@keyframes sheet-in { from { opacity: 0; transform: translate(-24px, 12px) rotate(-3deg); } }
@keyframes card-drop { from { opacity: 0; transform: translateY(-28px); } }
@keyframes settle-press { 40% { transform: translateY(3px); } }
@keyframes cell-pop { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 60rem) {
  .nav__links li:not(:last-child) { display: none; }
  .hero .container, .head--split, .split, .split--rev, .local, .close, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .hero .container { gap: var(--space-xl); min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .desk { min-height: 0; padding-bottom: var(--space-2xl); }
  .shot--pop { position: relative; top: auto; left: auto; translate: none; width: min(100%, 340px); margin: var(--space-xs) auto 0; }
    .stage { min-height: 0; display: grid; gap: var(--space-md); }
  .term, .alert { position: relative; inset: auto; width: auto; rotate: none; }
  .seg, .dial, .foot__links { justify-self: start; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .tile--live, .tile--agents, .tile--revert, .tile--rules { grid-column: 1 / -1; }
  .close__mark { justify-self: start; width: 200px; }
  .shot--detail { rotate: none; }
  .levels thead { display: none; }
  .levels tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-md); align-items: center; padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
  .levels td, .levels tbody th { padding: 0; border: 0; font-size: var(--text-md); }
  .levels .num { padding-right: 0; font-size: var(--text-xl); }
  .levels td:last-child { grid-column: 1 / -1; width: auto; }
}
@media (max-width: 60rem) { :root { --sec-pad: 80px; } }
@media (max-width: 40rem) {
  :root { --sec-pad: 64px; }
  .alert, .tile { padding: var(--space-lg); }
  .term { padding: var(--space-lg) var(--space-md); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .ui-btn, .seg button, .dial label { transition: none; }
  .btn:hover, .seg button:hover, .dial label:hover { translate: none; }
  [data-parallax] { translate: none; }
  .js .hero .shot--pop, .stage.is-in .term, .stage.is-in .alert, .alert.is-decided, .levels [data-m], [role="tabpanel"] { animation: none; }
  .js .stage:not(.is-in) .term, .js .stage:not(.is-in) .alert { opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .timer i { animation: none; }
}

/* permissions vs Narc Bot, and the category comparison */
.vs, .cmp { width: 100%; border-collapse: collapse; }
.vs th, .vs td, .cmp th, .cmp td { padding: var(--space-md) var(--space-md) var(--space-md) 0; border-top: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.vs thead th, .cmp thead th { border-top: 0; padding-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.vs thead td, .cmp thead td { border-top: 0; }
.vs thead .vs__us { color: var(--color-ink); font-weight: 600; }
.vs tbody th { width: 18%; font-weight: 600; }
.vs tbody td { width: 41%; font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); }
.vs tbody td:last-child { color: var(--color-ink); font-weight: 600; }
.vs tbody td:last-child, .vs thead .vs__us { padding-left: var(--space-md); background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
.scroll-x { overflow-x: auto; }
.cmp { min-width: 720px; }
.cmp thead th { width: 17%; text-align: center; padding-right: 0; }
.cmp tbody th { font-weight: 600; font-size: var(--text-lead); }
.cmp tbody td { text-align: center; vertical-align: middle; padding-right: 0; }
.cmp .part { font-size: var(--text-sm); color: var(--color-muted); }
.cmp .is-us th, .cmp .is-us td { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
.cmp .is-us th { padding-left: var(--space-md); }
.ic { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic--yes { color: var(--color-mint-deep); }
.ic--no { color: var(--color-muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.faq h2 { max-width: 10ch; }
.faq__list details { border-top: 1px solid var(--color-rule); }
.faq__list details:last-child { border-bottom: 1px solid var(--color-rule); }
.faq__list summary { position: relative; display: block; padding: var(--space-lg) var(--space-2xl) var(--space-lg) 0; font: 600 var(--text-xl)/1.3 var(--font-display); letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: var(--space-xs); top: 50%; translate: 0 -50%; font-size: 1.75rem; font-weight: 500; color: var(--color-muted); transition: rotate var(--dur-short) var(--ease-out); }
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list summary:hover { color: var(--color-ink-2); }
.faq__list summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 6px; }
.faq__list details p { max-width: 62ch; padding-bottom: var(--space-lg); color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .vs thead { display: none; }
  .vs tr { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
  .vs th, .vs td { width: auto !important; padding: var(--space-2xs) 0; border: 0; }
  .vs tbody td:nth-child(2)::before { content: "settings.json: "; color: var(--color-muted); font-weight: 500; }
  .vs tbody td:last-child { padding: var(--space-xs) var(--space-sm); border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) { .faq__list summary::after { transition: none; } }
.faq__list details:not([open]) > p { display: none; }
@media (max-width: 60rem) {
  .scroll-x { overflow: visible; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); padding: var(--space-md) var(--space-sm); border-top: 1px solid var(--color-rule); }
  .cmp tbody th { grid-column: 1 / -1; padding: 0 0 var(--space-2xs); border: 0; }
  .cmp tbody td { display: contents; }
  .cmp tbody td::before { color: var(--color-ink-2); text-align: left; }
  .cmp tbody td:nth-child(2)::before { content: "Records everything"; }
  .cmp tbody td:nth-child(3)::before { content: "Explains risk"; }
  .cmp tbody td:nth-child(4)::before { content: "Catches chains"; }
  .cmp tbody td:nth-child(5)::before { content: "Stops it first"; }
  .cmp .is-us { border-radius: 12px; }
  .cmp .is-us th, .cmp .is-us td { background: none; }
  .cmp .is-us { background: color-mix(in oklab, var(--color-accent) 22%, transparent); }
  .cmp .is-us th { padding-left: 0; }
}
.keep__team { display: flex; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.keep__team span { color: var(--color-muted); }

/* flat surfaces: straight edges instead of torn paper */
.sheet > .f { display: none; }
.sheet > .s { clip-path: none; }
.desk__sheet > .s { border-radius: 16px; }
.band--ink .lead { color: var(--color-term-ink); }
.btn { --edge: 4px; }
.btn:hover { --edge: 5px; }
.wordmark { letter-spacing: -0.005em; }

/* Graphite and coral, from the G05 logo (by request). Overrides the Hum colours; torn paper and grain are off. */
:root {
  --color-paper: oklch(97.6% 0.003 270); --color-paper-2: oklch(94.8% 0.004 270); --color-paper-3: oklch(91.5% 0.005 270);
  --color-ink: oklch(19.5% 0.006 270); --color-ink-2: oklch(31% 0.008 270); --color-muted: oklch(48% 0.01 270);
  --color-rule: oklch(88.5% 0.005 270);
  --color-accent: oklch(68% 0.18 28); --color-accent-deep: oklch(56% 0.18 28); --color-accent-ink: oklch(19.5% 0.006 270);
  --color-accent-2: oklch(50% 0.17 28); --color-accent-3: oklch(72% 0.16 28); --color-focus: oklch(52% 0.18 28);
  --color-card: oklch(99.4% 0.002 270); --color-edge: oklch(84% 0.006 270); --color-fringe: oklch(99.4% 0.002 270);
  --color-desk: oklch(30% 0.008 270); --color-sugar: oklch(30% 0.008 270);
  --color-term: oklch(22% 0.006 270); --color-term-ink: oklch(93% 0.004 270); --color-term-muted: oklch(70% 0.008 270);
  --grain: none; --fibre: none;
}

/* light nav, so the graphite logo stands out */
.nav { --sheet-c: color-mix(in oklab, var(--color-card) 88%, transparent); color: var(--color-ink); }
.nav .sheet { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); filter: none; border-bottom: 1px solid var(--color-rule); }
.nav__links a:not(.btn) { color: var(--color-ink-2); }
.nav__links a:not(.btn):hover { color: var(--color-accent-2); }
.nav .wordmark img { box-shadow: none; }

/* nav: clear over the hero, frosted once scrolling (always frosted without script) */
.js .nav .sheet { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.js.is-scrolled .nav .sheet { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .nav .sheet { transition: none; } }

/* pricing: two plans side by side */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.plan { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-lg); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-card); box-shadow: 0 0 0 1px var(--color-rule); }
.plan--main { box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-card); }
.plan h3 { font-size: var(--text-xl); }
.plan__price { display: grid; gap: var(--space-2xs); }
.plan__price b { font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.plan:not(.plan--main) .plan__price b { font-size: var(--text-2xl); line-height: 1.1; }
.plan__price span { color: var(--color-muted); }
.plan__list { display: grid; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.plan__list li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.plan__list .ic { flex-shrink: 0; width: 20px; height: 20px; margin-top: var(--space-3xs); }
.plan .btn { justify-self: start; }
.band__a { color: var(--color-term-ink); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.band__a:hover { color: var(--color-accent-3); }
@media (max-width: 60rem) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ===== Narc Bot for Teams page ===== */
.hero--teams h1 { max-width: 11ch; }
.dash { padding: var(--space-lg); width: min(100%, 600px); justify-self: start; font-size: var(--text-md); }
.dash__top { display: flex; align-items: center; gap: var(--space-sm); }
.dash__top img { width: 28px; height: 28px; border-radius: 7px; }
.dash__top div { display: grid; margin-right: auto; }
.dash__top span:not(.badge) { color: var(--color-muted); font-size: var(--text-xs); }
.dash .tiles { margin-top: var(--space-lg); }
.dash .tile-crit { background: var(--risk-crit-bg); }
.dash .tile-crit b, .dash .tile-crit span { color: var(--risk-crit-fg); }
.dash__label { margin-top: var(--space-lg); font-weight: 600; }
.rulesp { padding: var(--space-lg); font-size: var(--text-md); }
.rulesp__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.rulesp__head span { color: var(--color-muted); font-size: var(--text-sm); }
.rulesp__list { margin: 0; padding: 0; list-style: none; }
.rulesp__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 9.5rem; gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.rulesp__on { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.ic--lock { width: 16px; height: 16px; stroke-width: 2; color: var(--color-muted); }
.rulesp__hosts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); font-size: var(--text-sm); }
.rulesp__hosts b { margin-right: var(--space-xs); }
.rulesp__hosts code { padding: var(--space-2xs) var(--space-xs); border-radius: 6px; background: var(--color-paper-2); font-size: var(--text-xs); }
.teamlog { padding: var(--space-xs) var(--space-lg); }
.teamlog table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.teamlog th, .teamlog td { padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-top: 1px solid var(--color-rule); text-align: left; vertical-align: middle; }
.teamlog thead th { border-top: 0; color: var(--color-muted); font-weight: 500; white-space: nowrap; }
.teamlog tbody th { font-weight: 600; font-size: var(--text-md); }
.teamlog .num { text-align: right; padding-right: var(--space-lg); font: 600 var(--text-xl)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.teamlog thead .num { font: 500 var(--text-sm)/1.3 var(--font-body); }
.sec--log:has(#lv-crit:checked) .teamlog tbody tr:not([data-lv="crit"]), .sec--log:has(#lv-high:checked) .teamlog tbody tr:not([data-lv="high"]) { display: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--space-md); font: 600 var(--text-display-s)/1 var(--font-display); color: var(--color-accent-deep); }
.steps h3 { font-size: var(--text-xl); }
.steps p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.access { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.access .lead { margin-top: var(--space-lg); color: var(--color-term-ink); }
.signup { width: 100%; max-width: 32rem; justify-self: end; }
.signup label { display: block; margin-bottom: var(--space-xs); font-weight: 600; color: var(--color-paper); }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-card); color: var(--color-ink); font: inherit; outline: 2px solid transparent; outline-offset: -3px; }
.signup input:focus-visible { outline-color: var(--color-focus); }
.signup input[aria-invalid] { border-color: var(--color-error); }
.signup__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-term-ink); }
@media (max-width: 60rem) {
  .dash { justify-self: stretch; }
  .rulesp__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .rulesp__on { grid-column: 1 / -1; }
  .teamlog thead { display: none; }
  .teamlog tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); align-items: center; padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
  .teamlog tbody tr:first-child { border-top: 0; }
  .teamlog th, .teamlog td { padding: 0; border: 0; }
  .teamlog .num { padding: 0; text-align: left; font-size: var(--text-lg); }
  .teamlog tbody th { grid-column: 1 / -1; }
  .teamlog td:nth-child(n+4) { grid-column: span 1; color: var(--color-muted); }
  .steps, .access { grid-template-columns: minmax(0, 1fr); }
  .signup { justify-self: start; }
  .signup__row { flex-wrap: wrap; }
}
.dash b, .rulesp b, .signup label { font-weight: 600; }
/* stat tiles and the review list, used by the team dashboard */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.tiles > div { display: grid; gap: var(--space-2xs); padding: var(--space-sm); border-radius: 12px; background: var(--color-paper-2); }
.tiles b { font: 600 var(--text-2xl)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-display); }
.tiles span { font-size: var(--text-xs); color: var(--color-muted); }
.review { margin: var(--space-xs) 0 0; padding: 0; list-style: none; }
.review li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: var(--space-sm); align-items: start; padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.review .badge { justify-self: start; }
.review b { display: block; font-weight: 600; line-height: 1.3; }
.review span:not(.badge) { font-size: var(--text-xs); color: var(--color-muted); }
.plan__list { align-content: start; }
.rulesp__list li { padding-block: var(--space-md); }
.dash .review li { padding-block: var(--space-md); }

/* three pages: the current page in the nav, and the Personal plan as the hero's picture */
.nav__links a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--color-accent); }
.hero--plan h1 { max-width: 12ch; }
.plan--hero { width: min(100%, 480px); justify-self: center; grid-template-rows: auto; }
.plan--hero h2 { font-size: var(--text-xl); }
.plan__fine { font-size: var(--text-sm); color: var(--color-muted); }
.faq__list a, .hero__note a { color: var(--color-accent-2); }
@media (max-width: 60rem) { .plan--hero { justify-self: stretch; width: 100%; } }
.split__text .lead a, .head .lead a { color: var(--color-accent-2); }
.plan--hero { justify-self: start; }
.plan--side { width: min(100%, 520px); justify-self: start; }
@media (max-width: 60rem) { .plan--side { width: 100%; } }
