/* Bradawl showroom. Ported from the approved design (Bradawl Showroom.dc.html, 24 Oct 2026): the warm dark and amber
   identity, Newsreader / IBM Plex type, and the same spacing. Colours and sizes are the design's own values. */

:root {
  --bg: #12100d; --bg-2: #181511; --bg-3: #1c1915; --bg-4: #1e1b16; --well: #0f0e0b; --ink: #0b0a08;
  --line: #2e2921; --line-2: #3e372c; --line-3: #4a463f;
  --text: #cbc3b3; --head: #f0e9db; --dim: #918979; --dim-2: #a9a397; --placeholder: #6f685c;
  --amber: #d9952a; --amber-2: #efb350; --on-amber: #1b1307;
  --note: #7fb0c4; --clay: #e7a283; --warn: #c9734a;
  --paper: #ece5d6; --paper-ink: #3d372d; --paper-head: #17140f;
  --serif: 'Newsreader', Georgia, serif; --sans: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 3.5vw, 44px); --section: clamp(48px, 6vw, 88px);
}

html, body { margin: 0; background: var(--bg); }
*, *::before, *::after { box-sizing: border-box; }
body { color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; min-height: 100vh; }
a { color: var(--amber-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--head); }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 2px; }
summary { cursor: pointer; list-style: none; } summary::-webkit-details-marker { display: none; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--on-amber); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flex-split { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.grow { flex: 1 1 360px; min-width: 0; }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); color: var(--head); font-weight: 600; }
.h1 { margin: 8px 0 0; line-height: 1.03; letter-spacing: -0.02em; font-size: clamp(2.1rem, 4.8vw, 3.8rem); text-wrap: balance; }
.h2 { margin: 0; line-height: 1.05; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.h2-lg { margin: 8px 0 0; line-height: 1.04; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h2-md { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lede { margin: 12px 0 0; max-width: 46rem; }
.muted { color: var(--dim); }
.guide-list { padding-left: 1.1em; } .guide-list li { margin: 0 0 14px; }
.label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.mark { margin: 6px 0 0; font-family: var(--mono); font-size: 0.7rem; color: var(--clay); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 4px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-2); color: var(--on-amber); }
.btn-big { min-height: 64px; padding: 18px 34px; font-size: 1.15rem; }
.btn-ghost { color: var(--head); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-2); }
.btn-lg { min-height: 50px; padding: 12px 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-strong { display: inline-flex; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(18,16,13,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--head); text-decoration: none; font-size: 1.2rem; font-weight: 500; flex: none; }
.brand:hover { color: var(--head); }
.brand-mark { position: relative; width: 40px; height: 12px; display: block; }
.brand-mark::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--head); }
.brand-mark::after { content: ''; position: absolute; left: 14px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(239,179,80,0.7); }
.nav-main { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.nav-main a.nav-item { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav-main a.nav-item[aria-current="page"] { color: var(--amber-2); border-bottom-color: var(--amber); }
.nav-main .btn-tell { min-height: 42px; padding: 8px 14px; font-size: 0.9rem; white-space: nowrap; }
.nav-narrow { display: none; gap: 8px; align-items: center; }
.nav-narrow .btn-tell { min-height: 40px; padding: 6px 12px; font-size: 0.86rem; }
.menu-btn { min-width: 44px; min-height: 40px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--head); font: inherit; cursor: pointer; }
.nav-drawer { border-top: 1px solid var(--line); padding: 6px var(--gutter) 14px; display: flex; flex-direction: column; }
.nav-drawer[hidden] { display: none; }
.nav-drawer a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 1.05rem; }
.nav-drawer a[aria-current="page"] { color: var(--amber-2); }
/* The homepage's menu (bradawl-0081) is longer than the old one: the full row needs about 1050 px. */
@media (max-width: 1099px) { .nav-main { display: none; } .nav-narrow { display: flex; } }
@media (min-width: 1100px) { .nav-drawer { display: none !important; } }

.private-banner { background: var(--bg-4); border-bottom: 1px dashed var(--line-3); }
.private-banner .wrap { padding-top: 7px; padding-bottom: 7px; display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--dim-2); }

/* Icons and badges */
.ico { display: flex; align-items: center; justify-content: center; flex: none; color: var(--tint); background: var(--tint-bg); }
.ico-46 { width: 46px; height: 46px; border-radius: 11px; }
.ico-52 { width: 52px; height: 52px; border-radius: 12px; }
.ico-56 { width: 56px; height: 56px; border-radius: 14px; }
.ico-60 { width: 60px; height: 60px; border-radius: 14px; }
.ico-42 { width: 42px; height: 42px; border-radius: 10px; }
.ico-30 { width: 30px; height: 30px; border-radius: 8px; }
.badge { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--m-fg); border: 1px solid var(--m-line); padding: 2px 7px; border-radius: 3px; align-self: flex-start; }

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); background-image: radial-gradient(900px 480px at 12% -140px, rgba(217,149,42,0.13), transparent 70%); background-repeat: no-repeat; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; }
.hero-copy { flex: 1.2 1 480px; min-width: 0; }
.hero h1 { line-height: 1.0; letter-spacing: -0.025em; margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.8rem); text-wrap: balance; }
.hero .lead { margin: clamp(16px, 2vw, 24px) 0 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.5; color: var(--head); text-wrap: pretty; }
.hero .sub { margin: 14px 0 0; max-width: 40rem; text-wrap: pretty; }
.hero .emph { margin: 16px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--amber-2); font-weight: 500; }
.hero .btn-row { margin-top: 22px; }
.hero-wall { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hero-wall a { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tint-bg); border: 1px solid var(--tint-line); color: var(--tint); text-decoration: none; }
.hero-wall a:hover { border-color: var(--amber); }

/* Section intro pairs */
.intro-pair { display: flex; flex-wrap: wrap; gap: 14px 56px; align-items: end; }
.intro-pair > :first-child { flex: 1.2 1 420px; min-width: 0; }
.intro-pair > :last-child { flex: 1 1 380px; min-width: 0; }
.intro-pair p { margin: 0; }
.intro-pair p + p { margin-top: 8px; }

/* Cards */
.grid { display: grid; gap: 12px; }
.grid-200 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); margin-top: 28px; }
.grid-230f { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: 28px; }
.grid-230 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin-top: 14px; }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 24px; }
.grid-260 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 14px; }

.card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); }
.card:hover { color: var(--text); border-color: var(--hover, var(--amber)); }
.card .name { font-family: var(--serif); font-weight: 600; color: var(--head); line-height: 1.15; }
.card-std { gap: 10px; padding: 18px; border-radius: 10px; background: var(--bg); }
.card-std .name { font-size: 1.22rem; }
.card-std .problem { font-size: 0.9rem; line-height: 1.4; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.card-std .badges { margin-top: auto; }
.card-cat { gap: 10px; padding: 20px 18px; border-radius: 10px; background: var(--bg-2); border-top: 3px solid var(--tint); }
.card-cat:hover { background: var(--bg-3); border-color: var(--line); border-top-color: var(--tint); }
.card-cat .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--tint); }
.card-cat .name { font-size: 1.35rem; line-height: 1.12; }
.card-cat .pitch { font-size: 0.9rem; line-height: 1.45; }
.card-cat .icons { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; color: var(--tint); }
.card-cat .count { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }
.card-feat { gap: 12px; padding: 22px; border-radius: 12px; background: var(--bg); }
.card-feat .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-feat .cat { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tint); }
.card-feat .name { font-size: 1.5rem; line-height: 1.1; }
.card-feat .problem { font-size: 0.95rem; color: var(--head); }
.card-feat .benefit { font-size: 0.9rem; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-foot .badges { align-self: center; }
.card-foot .cta { font-weight: 600; color: var(--amber-2); font-size: 0.9rem; }
.card-tool { gap: 9px; padding: 16px; border-radius: 10px; background: var(--bg-2); --hover: var(--tint); }
.card-tool .head { display: flex; align-items: center; gap: 12px; }
.card-tool .name { font-size: 1.15rem; }
.card-tool .problem { font-size: 0.9rem; line-height: 1.4; color: var(--head); }
.card-tool .benefit { font-size: 0.84rem; line-height: 1.4; }
.card-tool .card-foot { padding-top: 4px; }
.card-tool .badge { font-size: 0.6rem; padding: 2px 6px; }
.card-tool .cta { font-size: 0.82rem; }
.card-variant { flex-direction: row; gap: 12px; align-items: center; padding: 14px; border-radius: 8px; background: var(--bg); --hover: var(--tint); }
.card-variant .cat { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tint); }
.card-variant .vname { display: block; font-weight: 600; color: var(--head); }
.card-variant .benefit { display: block; font-size: 0.84rem; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--head); text-decoration: none; font-size: 0.9rem; }
.pill:hover { border-color: var(--tint, var(--amber)); color: var(--head); }
.pill .pi { color: var(--tint); display: flex; }

/* Lectern */
.lectern-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.lectern-copy p { margin: 0; }
.lectern-rn { display: flex; align-items: center; gap: 14px; }
.lectern-rn .t { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--head); }
.lectern-rn .d { display: block; font-size: 0.92rem; }
.lectern-shot { flex: 1.4 1 460px; min-width: 0; display: block; position: relative; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--ink); aspect-ratio: 16/10; }
.lectern-shot iframe { position: absolute; top: 0; left: 0; width: 1400px; height: 875px; border: 0; transform-origin: 0 0; transform: scale(var(--scale, 0.5)); pointer-events: none; }
.shot-tag { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--head); background: rgba(12,11,9,0.88); padding: 5px 9px; border-radius: 3px; }

/* Map */
.map-frame { display: block; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 10px; }
.map { display: block; }
.map .hit { fill: none; stroke: transparent; stroke-width: 22; }
.map .line { fill: none; stroke: rgba(217,149,42,0.35); stroke-width: var(--w); }
.map .count { fill: var(--head); font-size: 15px; font-family: var(--mono); text-anchor: middle; opacity: 0; pointer-events: none; }
.map a.map-link { cursor: pointer; }
.map a.map-link:focus { outline: none; }
.map .map-link.on .line, .map .map-link:hover .line, .map .map-link:focus-visible .line, .map .map-link.hl .line { stroke: var(--amber-2); stroke-width: 3.5; }
.map .map-link.on .count, .map .map-link:hover .count, .map .map-link:focus-visible .count, .map .map-link.hl .count { opacity: 1; }
.map .ring { fill: var(--bg-3); stroke: var(--line-2); stroke-width: 1.5; }
.map .dot { fill: var(--amber); }
.map .name { fill: var(--text); font-size: 17px; font-family: var(--sans); text-anchor: middle; }
.map .name.lg { font-size: 19px; }
.map .map-node.lit .ring { fill: #2a2114; stroke: var(--amber-2); }
.map .map-node.lit .name { fill: var(--head); }

/* Previous engineering embeds */
.prev-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 18px; margin-top: 26px; }
.prev-pair .item { display: flex; flex-direction: column; gap: 10px; }
.prev-pair .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prev-pair .top .n { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--head); }
.prev-pair iframe { display: block; width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }

/* Founder */
.founder .wrap { display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 5vw, 72px); align-items: start; }
.founder figure { flex: 0 1 400px; min-width: 260px; margin: 0; }
.founder figure img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center 35%; border-radius: 6px; }
.founder .bio { flex: 1.4 1 440px; min-width: 0; max-width: 46rem; display: flex; flex-direction: column; gap: 14px; }
.founder .bio p { margin: 0; }
.founder .bio .first { color: var(--head); }
.pullquote { margin: 6px 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; font-weight: 600; color: var(--head); border-top: 1px solid var(--line); padding-top: 14px; }
.about figure { flex-basis: 460px; position: sticky; top: 84px; }
.about .bio { gap: 16px; }
.about .bio .first { font-size: 1.1rem; }
.about .pullquote { font-size: 1.45rem; padding-top: 16px; margin-top: 4px; }
@media (max-width: 760px) { .about figure { position: static; } }

/* Paper call to action */
.paper { padding: var(--section) 0; background: var(--paper); color: var(--paper-ink); }
.paper .wrap { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: center; justify-content: space-between; }
.paper h2 { margin: 0; color: var(--paper-head); line-height: 1.02; font-size: clamp(2.1rem, 5vw, 4rem); }
.paper p { margin: 14px 0 0; font-size: 1.08rem; }
.paper .btn-dark { display: inline-flex; align-items: center; min-height: 54px; padding: 14px 26px; border-radius: 4px; font-weight: 600; text-decoration: none; background: var(--paper-head); color: var(--amber-2); font-size: 1.05rem; }
.paper .btn-dark:hover { color: var(--head); }

/* Tools page */
.page-head { padding: clamp(28px, 4vw, 56px) 0 clamp(16px, 2vw, 24px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); text-decoration: none; font-size: 0.9rem; }
.tab:hover { color: var(--head); }
.tab[aria-current="page"] { background: var(--bg-3); border-color: var(--tint); color: var(--head); }
.tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tint); }
.tab .n { font-family: var(--mono); font-size: 0.7rem; opacity: 0.7; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.field { font: inherit; font-size: 0.95rem; color: var(--head); background: var(--well); border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 12px; }
.filters input[type=search] { flex: 1 1 280px; max-width: 420px; }
.filters select { font-size: 0.92rem; }
.filters .count, .filters .apply { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.filters .apply { min-height: 40px; background: transparent; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); padding: 6px 12px; cursor: pointer; }
.js .filters .apply { display: none; }
.groups { padding: 0 0 clamp(48px, 6vw, 80px); }
.groups .wrap { display: flex; flex-direction: column; gap: 36px; }
.group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; border-top: 2px solid var(--tint); padding-top: 14px; }
.group-head h2 { margin: 0; font-size: 1.5rem; }
.group-head .kind { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tint); }
.no-results { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.no-results p { margin: 0; color: var(--head); font-family: var(--serif); font-size: 1.3rem; }
.matrix { border-top: 1px solid var(--line-2); padding-top: 28px; }
/* position: relative makes the scroller the containing block of the cells' absolutely positioned .sr labels, so its
   overflow clips them too; without it they escape to the page and widen it sideways on a phone. */
.matrix-scroll { position: relative; margin-top: 16px; overflow-x: auto; }
.matrix table { min-width: 720px; width: 100%; border-collapse: collapse; }
.matrix th { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 400; padding: 8px 10px; text-align: center; }
.matrix th:first-child { text-align: left; }
.matrix td { border-top: 1px solid var(--line); padding: 9px 10px; text-align: center; font-family: var(--mono); font-size: 0.8rem; }
.matrix td:first-child { text-align: left; color: var(--head); font-family: var(--sans); font-size: 0.9rem; width: 32%; }
.matrix .v1 { color: var(--amber-2); } .matrix .v2, .matrix .v3 { color: var(--text); } .matrix .v0 { color: var(--line-3); }
.legend { margin: 8px 0 0; font-family: var(--mono); font-size: 0.68rem; color: var(--dim); }

/* Product page */
.p-head { padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 44px); background-image: radial-gradient(800px 420px at 10% -160px, var(--glow), transparent 70%); background-repeat: no-repeat; }
.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a.cat { color: var(--tint); }
.p-top { display: flex; flex-wrap: wrap; gap: 20px 56px; align-items: end; margin-top: 14px; }
.p-title { flex: 1.4 1 460px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.p-icon { flex: none; width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px); border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--tint-bg); color: var(--tint); border: 1px solid var(--tint-line); }
.p-title h1 { margin: 0; line-height: 1.03; letter-spacing: -0.02em; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.p-title .problem { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; color: var(--head); }
.p-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.p-badges .badge { font-size: 0.66rem; padding: 3px 8px; }
.p-badges .kind { --m-fg: var(--tint); --m-line: var(--line-2); }
.p-actions { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.p-actions .note { margin: 0; font-size: 0.84rem; color: var(--dim); }
.p-body { padding: 0 0 clamp(36px, 5vw, 56px); }
.p-body .wrap { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: start; }
.p-main { flex: 1.3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.p-main h2.label { margin: 0 0 6px; color: var(--tint); font-family: var(--mono); }
.p-main .desc { margin: 0; font-size: 1.06rem; color: var(--head); text-wrap: pretty; }
.ticks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; flex: none; width: 10px; height: 2px; background: var(--tint); margin-top: 12px; }
.facts { flex: 1 1 340px; min-width: 0; margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.facts dd { margin: 0 0 2px; font-size: 0.95rem; }
.demo-wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(8px, 2vw, 24px); }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 0 clamp(8px, 2vw, 24px) 10px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.demo-bar .b { display: flex; align-items: center; gap: 8px; } .demo-bar .b::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
.demo-bar a { color: var(--text); }
.demo-frame { display: block; width: 100%; height: clamp(620px, 86vh, 900px); border: 0; border-radius: 10px; background: var(--ink); }
.demo-frame.rn { height: clamp(560px, 82vh, 860px); }
.demo-frame.tool { height: clamp(680px, 92vh, 960px); }
.still { margin: 0; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--bg-4); }
.still img { display: block; width: 100%; height: auto; }
.still figcaption { padding: 8px 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--bg); }
.still-quote { margin: 12px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--head); }
.concept { border: 1.5px dashed var(--line-3); border-radius: 10px; padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.concept .step { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 8px; background: var(--bg-2); }
.concept .k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tint); }
.concept .v { font-size: 0.92rem; color: var(--head); }
.concept .foot { grid-column: 1 / -1; margin: 0; font-family: var(--mono); font-size: 0.72rem; color: var(--dim-2); }
.p-more .wrap { display: flex; flex-direction: column; gap: 28px; }
.p-more h2.t { margin: 0; font-size: 1.6rem; }
.p-more h2.label { margin: 0; color: var(--dim); }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 14px; }
/* Modes not offered are dimmed by colour, not opacity, so their text keeps AA contrast. */
.mode { padding: 16px; border-radius: 8px; border: 1px solid var(--line); background: transparent; }
.mode:not(.on) .t { color: var(--dim-2); }
.mode:not(.on) .d { color: var(--dim); }
.mode:not(.on) .s { color: var(--dim); }
.mode.on { border-color: var(--tint-line2); background: var(--bg); opacity: 1; }
.mode .t { margin: 0; font-weight: 600; color: var(--head); }
.mode .d { margin: 4px 0 0; font-size: 0.88rem; }
.mode .s { margin: 8px 0 0; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mode.on .s { color: var(--tint); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.limits { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 0.94rem; }

/* Systems page */
.sys-layout { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; align-items: flex-start; }
.sys-map { flex: 1.5 1 520px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: clamp(6px, 1.5vw, 16px); }
.sys-panel { flex: 1 1 340px; min-width: 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-3); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.sys-panel p { margin: 0; }
.sys-panel .big { font-family: var(--serif); font-size: 1.3rem; color: var(--head); }
.sys-panel .lbl { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.sys-panel .sub { margin: 0 0 6px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.sys-panel .sub.hist { color: var(--note); }
.sys-tools { display: flex; flex-direction: column; gap: 6px; }
.sys-tool { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.sys-tool:hover { border-color: var(--tint); color: var(--text); }
.sys-tool .ti { color: var(--tint); display: flex; }
.sys-tool .tn { flex: 1; min-width: 0; color: var(--head); font-size: 0.92rem; }
.sys-tool .tm { font-family: var(--mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--m-fg); }
.sys-prev { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 6px; border: 1px dotted var(--note); text-decoration: none; color: var(--head); font-size: 0.92rem; }
.sys-prev span { color: var(--note); }
.sys-panel .btn { align-self: flex-start; min-height: 44px; padding: 8px 16px; }
.link-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; }
.link-list a { min-height: 48px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--head); font-size: 0.92rem; display: flex; justify-content: space-between; gap: 10px; align-items: center; text-decoration: none; }
.link-list a[aria-current="true"] { border-color: var(--amber); background: var(--bg-3); }
.link-list .n { font-family: var(--mono); font-size: 0.7rem; color: var(--dim); }

/* Engineering */
.eng-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 36px; margin-top: 30px; border-top: 1.5px solid var(--head); }
.eng-grid > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.eng-grid .t { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--head); line-height: 1.15; }
.eng-grid .b { margin: 0; font-size: 0.95rem; }
.eng-grid a { align-self: flex-start; font-size: 0.92rem; font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; }
.how { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 24px; }
.how li { padding: 14px 0 18px; border-top: 2px solid var(--amber); }
.how .n { font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }
.how p { margin: 4px 0 0; color: var(--head); }
.how-list { margin-top: 12px; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.how-list .label { margin: 14px 0 6px; color: var(--dim); font-size: 0.7rem; }
.how-list p { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.how-list .n { font-family: var(--mono); font-size: 0.74rem; color: var(--amber); padding-top: 3px; }

/* Previous */
.prev-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 20px; margin-top: 22px; border-top: 1px solid var(--line-2); }
.prev-index a { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 14px; border-bottom: 2px solid var(--line); text-decoration: none; color: var(--head); }
.prev-index a[aria-current="page"] { border-bottom-color: var(--note); }
.prev-index .n { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.prev-index .t { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.prev-item { padding: clamp(24px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.prev-item .top { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: end; }
.prev-item .top > :first-child { flex: 1.4 1 420px; min-width: 0; }
.prev-item .top > :last-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.prev-item h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prev-item .top p { margin: 8px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 3px; }
.btn-how { align-self: flex-start; min-height: 44px; padding: 8px 16px; border-radius: 4px; border: 1px solid var(--amber); background: transparent; color: var(--amber-2); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.prev-item iframe { display: block; width: 100%; height: 900px; margin-top: 18px; border: 0; background: var(--bg); }

/* Flyout */
.fly { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(560px, 100vw); max-width: 100vw; height: 100vh; max-height: 100vh; background: var(--bg-2); border: 0; border-left: 1px solid var(--line-2); color: var(--text); padding: 24px 28px 48px; overflow-y: auto; }
.fly::backdrop { background: rgba(0,0,0,0.55); }
.fly .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fly .top .eyebrow { font-size: 0.7rem; letter-spacing: 0.12em; }
.fly .close { min-height: 42px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: transparent; color: var(--head); font: inherit; cursor: pointer; }
.fly h2 { margin: 12px 0 0; font-size: 1.8rem; line-height: 1.12; }
.fly section { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.fly h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 1rem; }
.fly p { margin: 0 0 6px; font-size: 0.96rem; }
.fly ul { margin: 0; padding-left: 18px; font-size: 0.96rem; display: flex; flex-direction: column; gap: 4px; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 28px 72px; align-items: start; }
.contact .intro { flex: 1 1 340px; min-width: 0; }
.contact .intro h1 { margin: 0; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.03; letter-spacing: -0.02em; }
.contact .intro .s { margin: 14px 0 0; font-size: 1.06rem; }
.contact .intro .warn { margin: 24px 0 0; font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 14px; }
.contact .intro .warn strong { color: var(--head); font-weight: 600; }
.contact .formcol { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.topic { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.92rem; }
.topic .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.topic .v { padding: 4px 12px; border: 1px solid var(--amber); border-radius: 999px; color: var(--head); }
.topic a { color: var(--text); font-size: 0.88rem; min-height: 36px; display: inline-flex; align-items: center; }
.alert { border: 1px solid var(--warn); background: rgba(201,115,74,0.1); border-radius: 6px; padding: 14px 16px; color: var(--head); }
.alert.ok { border-color: var(--amber); background: rgba(217,149,42,0.1); }
.contact .privacy-line { margin-top: 18px; font-size: 0.9rem; color: var(--dim); }
.contact .privacy-line a { color: var(--text); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; }
.form .wide { grid-column: 1 / -1; }
.form .lab { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.form .opt { color: var(--dim); text-transform: none; letter-spacing: 0; }
.form input, .form textarea { width: 100%; font: inherit; color: var(--head); background: var(--well); border: 1px solid var(--line-2); border-radius: 4px; padding: 13px 14px; }
.form textarea { min-height: 180px; resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--warn); }
.form .err { font-size: 0.86rem; color: var(--clay); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form .actions a { font-size: 0.92rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.site-footer a { color: var(--text); }
.site-footer .footer-avatar { flex-basis: 100%; }   /* order 84: how the videos of Stevie are made */

/* Prose (privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.prose p, .prose li { margin: 0 0 10px; overflow-wrap: anywhere; }
/* The security page's processors table: wraps on a phone instead of widening the page. */
.prose-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.prose-table th { text-align: left; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); font-weight: 400; padding: 8px 10px 8px 0; }
.prose-table td { border-top: 1px solid var(--line); padding: 9px 10px 9px 0; vertical-align: top; overflow-wrap: anywhere; }

/* Plans (bradawl-0194): three cards, one column on a phone. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 32px 0 8px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-3); }
.plan h2 { font-size: 1.45rem; margin: 0; }
.plan p, .plan ul { margin: 0; }
.plan ul { padding-left: 1.2em; }
.plan li { margin: 0 0 6px; }
.plan .plan-price { font-size: 1.25rem; font-weight: 600; color: var(--amber-2); }
.plan-works-with { margin: 18px 0 0; max-width: 70ch; }
.plan-terms { margin: 8px 0 0; max-width: 70ch; }
.plan .btn-row { margin-top: auto; padding-top: 8px; }

/* Preview gate */
.gate { max-width: 30rem; margin: 12vh auto; padding: 0 var(--gutter); }
.gate form { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.gate input { flex: 1 1 200px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.for-it code { font-size: 0.86em; padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow-wrap: anywhere; }

/* Ways to get a tool (Stevie, 26 Oct 2026): filled when it exists today, outlined (dashed) when planned. */
.ways { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.card .head .ways, .card .top .ways { margin-left: auto; align-self: flex-start; flex-wrap: nowrap; }
.way { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 4px; box-sizing: border-box; }
.way.on { background: #efb350; color: #14120f; border: 1px solid #efb350; }
.way.planned { color: #a9a397; border: 1px dashed rgba(169,163,151,.6); background: transparent; }
.ways-labelled { margin-top: 10px; }
.ways-labelled .way { height: auto; padding: 3px 8px; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; }
.way-terms strong { font-weight: 600; }
.product-guide { margin-top: 14px; }
.guide-cta { margin: 32px 0; padding: 20px 22px; border: 1px solid var(--line-2); border-left: 4px solid var(--amber); border-radius: 8px; } .guide-cta h2 { margin-top: 0; } .guide-cta p { margin: 0 0 16px; } .guide-figure { margin: 24px 0; } .guide-hero { margin: 8px 0 28px; } .guide-figure img { max-width: 100%; height: auto; border-radius: 8px; } .guide-figure figcaption { margin-top: 8px; font-size: 0.9em; color: var(--dim); } .media-sheet { list-style: none; padding: 0; display: grid; gap: 28px; } .media-sheet li { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 18px; } .media-sheet img { max-width: 100%; height: auto; } @media (max-width: 640px) { .media-sheet li { grid-template-columns: 1fr; } }
