/* Modulus: B2B commerce for manufacturers and distributors (design concept).
   Order: tokens → base → grounds and type → buttons, links, chips, fields → header and menu → shared pieces →
   home → system page → book page → footer, dialog → motion → responsive. */

/* ---------- tokens: aluminium, graphite, one safety orange ---------- */
:root {
  --alu: #EEEFEC;               /* page */
  --white: #FFFFFF;
  --graphite: #151719;          /* dark sections, ink */
  --graphite-2: #1E2124;        /* panels on dark */
  --ink: #151719;
  --ink-60: #626568;            /* secondary text on alu: 5.3 */
  --ink-40: #7E8083;            /* second tone of headlines on alu, large only: 3.4 */
  --on-dark: #F3F3F1;
  --dark-55: #8F9194;           /* secondary text and second tone on graphite: 6.0 */
  --orange: #FF5B1F;            /* the one accent */
  --orange-2: #FF7643;
  --err: #C0261A;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --m: 32px;                    /* page margin, as on the reference */
  --g: 32px;                    /* column gap */
  --sec: clamp(96px, 10vw, 160px);
  --nav-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--alu); }
body { margin: 0; background: var(--alu); color: var(--ink); font: 500 16px/1.3 var(--sans); letter-spacing: -.03em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--orange); color: var(--ink); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 3px; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { position: relative; width: 100%; padding: 0 var(--m); }

/* ---------- grounds and type ---------- */
section { position: relative; }
.light { background: var(--alu); color: var(--ink); --line: rgb(21 23 25 / .14); --line-2: rgb(21 23 25 / .3); --soft: var(--ink-60); --t2: var(--ink-40); --focus: var(--ink); }
.dark { background: var(--graphite); color: var(--on-dark); --line: rgb(255 255 255 / .2); --line-2: rgb(255 255 255 / .4); --soft: var(--dark-55); --t2: var(--dark-55); --focus: var(--orange); }
.t2 { color: var(--t2); }
.halves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
.d1 { font-size: clamp(42px, 4.45vw, 64px); line-height: 1; letter-spacing: -.016em; text-wrap: balance; }
.h2 { font-size: clamp(38px, 4.45vw, 64px); line-height: 1; letter-spacing: -.016em; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.22vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
.lead { max-width: 30em; color: var(--soft); text-wrap: pretty; }
.small { font-size: 12px; line-height: 1.3; }
/* the section rule: a hairline across the page with the section's name on the left and a note on the right */
.rule { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rule span:last-child { color: var(--soft); }
/* a section head as on the reference: the title, and one short line under it in the soft tone */
.sec-head { display: grid; gap: 24px; justify-items: start; margin-top: 32px; }
.sec-head .lead { max-width: 24em; }

/* ---------- buttons, links, chips, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 0 16px 0 18px; border: 0; font-size: 16px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.btn .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-2); }
.btn-orange:focus-visible { outline-color: var(--orange); }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: #2A2D31; }
.btn-ink:disabled { background: rgb(21 23 25 / .1); color: var(--ink-60); cursor: default; }
.btn-ink:disabled .i { transform: none; }
.btn-line { box-shadow: inset 0 0 0 1px var(--line-2); color: inherit; background: none; }
.btn-line:hover { background: rgb(128 128 128 / .08); }
.btn-sm { min-height: 40px; padding: 0 12px 0 14px; gap: 18px; font-size: 15px; }
/* the reference's link: text with a 1 px rule under it, wiped through on hover */
.ulink { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 12px; border: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; color: inherit; font-size: 16px; text-decoration: none; transition: background-size .5s var(--ease); }
.ulink:hover { animation: wipe .7s var(--ease); }
.ulink .i { width: 14px; height: 14px; }
@keyframes wipe { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }
.tag { display: inline-block; padding: 3px 7px; background: var(--white); color: var(--ink); font-size: 12px; line-height: 1.3; }
.dark .tag { background: var(--on-dark); }
/* choices: square chips, the chosen one filled */
.chips { display: grid; gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.chip > span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip b { font-weight: 500; }
.chip small { font-size: 12px; color: var(--soft); }
.chip:hover > span { background: var(--white); }
.chip input:checked + span { background: var(--ink); box-shadow: none; color: var(--on-dark); }
.chip input:checked + span small { color: var(--dark-55); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .flabel { font-size: 12px; color: var(--soft); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--g); }
.input { width: 100%; min-height: 48px; padding: 12px 0 10px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: none; font-size: 18px; transition: border-color .2s; }
.input::placeholder { color: #A3A5A8; }
.input:focus { outline: none; border-bottom-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.input[aria-invalid="true"] { border-bottom-color: var(--err); }
select.input { appearance: none; cursor: pointer; background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 0 center / 6px 6px no-repeat; padding-right: 24px; }
.err { min-height: 1.3em; font-size: 14px; color: var(--err); }
.err:empty { min-height: 0; }

/* ---------- header: the mark left, Menu in the middle, one link right; eased into a bar while scrolling ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; color: var(--ink); --dur: .75s; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgb(238 239 236 / 0); box-shadow: 0 1px 0 rgb(21 23 25 / 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), -webkit-backdrop-filter var(--dur) var(--ease); }
.nav-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: var(--nav-h); padding: 0 var(--m); pointer-events: auto; transition: height var(--dur) var(--ease); }
.nav[data-state="bar"]::before { background: rgb(238 239 236 / .94); box-shadow: 0 1px 0 rgb(21 23 25 / .12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav[data-state="bar"] .nav-in { height: 56px; }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; text-decoration: none; }
.logo .mark { width: 24px; height: 24px; }
.menu-btn { justify-self: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font-size: 16px; }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: none; transition: color .2s; }
.nav-cta:hover, .menu-btn:hover { color: var(--orange); }
/* the menu: a white panel that drops from the top, big links on hairlines */
.menu { position: fixed; inset: 0; z-index: 60; background: rgb(21 23 25 / .2); --line: rgb(21 23 25 / .14); --soft: var(--ink-60); --focus: var(--ink); }
.menu-panel { position: absolute; top: 0; left: 50%; display: flex; flex-direction: column; width: min(500px, 100%); max-height: 100svh; padding: 0 16px 32px; overflow: auto; background: var(--white); color: var(--ink); transform: translateX(-50%); animation: drop .6s var(--ease); }
@keyframes drop { from { transform: translate(-50%, -24px); opacity: 0; } }
.menu-x { align-self: center; height: 72px; padding: 0 12px; border: 0; background: none; color: inherit; font-size: 16px; }
.menu-x:hover { color: var(--orange); }
.menu-main { display: grid; border-bottom: 1px solid var(--line); }
.menu-main a { padding: 14px 0 12px; border-top: 1px solid var(--line); font-size: 32px; line-height: 1.2; letter-spacing: -.03em; text-decoration: none; transition: color .2s; }
.menu-main a:hover, .menu-sub a:hover { color: var(--orange); }
.menu-sub { display: grid; justify-items: start; gap: 10px; margin-top: 56px; }
.menu-sub a { text-decoration: none; }
.menu-mail { margin-top: 56px; border-bottom: 1px solid var(--line); }
.menu-mail a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.menu-mail small { display: block; font-size: 12px; color: var(--soft); }
.menu-mail .i { width: 14px; height: 14px; margin-top: 3px; }

/* ---------- shared pieces ---------- */
.frame { position: relative; overflow: hidden; overflow: clip; background: #D9DBD8; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a hairline list: title + text per row (the leaks, the steps) */
.hlist li { padding: 20px 0 28px; border-top: 1px solid var(--line); }
.hlist h3 { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.15; letter-spacing: -.03em; }
.hlist p { margin-top: 10px; max-width: 26em; color: var(--soft); }
/* the cross-section drawing (the logo's big brother) */
.xsec { width: 100%; height: auto; overflow: visible; }
.xsec .body { fill: none; stroke: currentColor; stroke-width: .22; }
.xsec .slot-fill { fill: var(--orange); opacity: 0; transition: opacity .4s; }
.xsec .slot-fill.on { opacity: 1; }
.xsec .lead-line { stroke: var(--line-2); stroke-width: .2; fill: none; }

/* ---------- home: hero ---------- */
.hero { min-height: max(720px, 100svh); padding-top: calc(var(--nav-h) + 48px); overflow: hidden; overflow: clip; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 48px; justify-items: start; max-width: 720px; }
.hero-sub { max-width: 31em; color: var(--ink-60); font-size: 18px; line-height: 1.3; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.phead-lead { margin-top: 24px; }
.hero-meta { position: absolute; left: var(--m); bottom: 32px; z-index: 2; display: flex; gap: 32px; font-size: 12px; color: var(--ink-60); }
.hero-meta b { display: block; margin-bottom: 4px; font-weight: 500; color: var(--ink); }
.stage { position: absolute; inset: 0; z-index: 1; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; right: 8%; bottom: 10%; width: min(42vw, 560px); color: var(--ink-40); transition: opacity .8s; }
.stage.is-ready .stage-fallback { opacity: 0; }
.stage canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.stage.is-ready canvas { opacity: 1; }

/* ---------- home: the leaks, titles only ---------- */
.leaks { padding: var(--sec) 0; }
.leak-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); margin-top: clamp(80px, 9vw, 144px); }
.leak-grid li { position: relative; padding: 16px 0 72px; border-top: 1px solid var(--line); }
.leak-grid .n { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.leak-grid h3 { max-width: 10em; margin-top: 32px; font-size: clamp(24px, 2.22vw, 32px); line-height: 1.2; letter-spacing: -.03em; }
.leak-grid li::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--orange); transition: width .8s var(--ease); }
.leak-grid li.is-hit::before { width: 64px; }

/* ---------- home: the ordering check (the product slice) ---------- */
.check { padding: var(--sec) 0; }
.check-form { display: grid; gap: clamp(48px, 5vw, 72px); margin-top: clamp(64px, 7vw, 112px); }
.q { min-width: 0; margin: 0; padding: 0; border: 0; }
.q > legend { padding: 0; }
.q-h { float: left; width: 100%; display: flex; align-items: baseline; gap: 16px; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 1.95vw, 28px); line-height: 1.15; letter-spacing: -.03em; }
.q-h + * { clear: both; }
.q-n { flex: none; font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; overflow: clip; background: #CFD1CE; cursor: pointer; }
.tile input { position: absolute; inset: 0; z-index: 4; margin: 0; opacity: 0; cursor: pointer; }
.tile-img, .tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-img img { filter: grayscale(.85) brightness(.82); transition: filter .5s, transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(rgb(21 23 25 / 0), rgb(21 23 25 / .78)); pointer-events: none; }
.tile-t { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: grid; gap: 2px; color: var(--on-dark); }
.tile-t b { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.tile-t span { font-size: 12px; color: rgb(243 243 241 / .8); }
.tile-ck { position: absolute; top: 0; right: 0; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; background: var(--orange); color: var(--ink); opacity: 0; transition: opacity .25s; }
.tile-ck .i { width: 16px; height: 16px; }
.tile:hover .tile-img img { filter: grayscale(.3) brightness(.9); }
.tile input:checked ~ .tile-img img { filter: none; transform: scale(1.04); }
.tile input:checked ~ .tile-ck { opacity: 1; }
.tile:has(input:checked) { box-shadow: inset 0 0 0 2px var(--orange); }
.tile:has(input:checked)::before { content: ""; position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 0 2px var(--orange); pointer-events: none; }
.tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.q-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; }
.chips-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* the answer: a dark read-out, one figure and two facts */
.readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin-top: clamp(56px, 6vw, 96px); padding: clamp(24px, 3vw, 40px); }
.ro-main { display: grid; align-content: space-between; gap: 32px; }
.ro-k { font-size: 12px; color: var(--soft); }
.ro-big { font-size: clamp(64px, 7.5vw, 112px); line-height: .9; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ro-side { display: grid; align-content: space-between; gap: 40px; }
.ro-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); }
.ro-stats div { padding: 12px 0 0; border-top: 1px solid var(--line); }
.ro-stats dt { font-size: 12px; color: var(--soft); }
.ro-stats dd { margin-top: 10px; font-size: clamp(22px, 2.22vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.ro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.ro-how { grid-column: 1 / -1; margin-top: 32px; }
.ro-how summary { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--soft); cursor: pointer; list-style: none; }
.ro-how summary::-webkit-details-marker { display: none; }
.ro-how summary .i { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.ro-how[open] summary .i { transform: rotate(180deg); }
.ro-how p { max-width: 64em; margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--soft); }

/* ---------- home: the system ---------- */
.system { padding: var(--sec) 0; }
.sys-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; align-items: center; margin-top: clamp(64px, 7vw, 112px); }
.sys-figure { position: relative; width: min(100%, 520px); margin: 0 auto; padding: 56px 104px; color: var(--on-dark); }
.sys-figure .xsec { color: var(--on-dark); }
.sys-cap { position: absolute; font-size: 12px; color: var(--soft); white-space: nowrap; }

.sys-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 20px 0 24px; border-top: 1px solid var(--line); cursor: default; }
.sys-list li:last-child { border-bottom: 1px solid var(--line); }
.sys-list .n { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; }
.sys-list h3 { font-size: clamp(24px, 2.22vw, 32px); letter-spacing: -.03em; line-height: 1.15; }
.sys-list p { grid-column: 2 / 3; color: var(--soft); max-width: 30em; }
.sys-list .wk { font-size: 12px; color: var(--soft); white-space: nowrap; }
.sys-list li:hover h3, .sys-list li.on h3 { color: var(--orange); }
.sys-more { margin-top: 32px; }

/* ---------- home: one photograph, one line ---------- */
.band { padding: var(--sec) 0; }
.band-pic { aspect-ratio: 21 / 9; }
.band-cap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 16px; align-items: start; margin-top: 32px; }
.band-cap .lead { padding-top: 10px; }

/* ---------- home: the offer ---------- */
.offer { padding: var(--sec) 0; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 64px; margin-top: clamp(64px, 7vw, 112px); }
.offer-card { padding-top: 24px; border-top: 1px solid var(--line); }
.offer-t { display: grid; gap: 12px; justify-items: start; align-content: start; }
.offer-t p { color: var(--soft); }
.offer-t .ulink { margin-top: 16px; }
/* the book, built in CSS: a hardcover seen slightly from the side */
.book3d { --w: 210px; --h: 300px; --d: 30px; position: relative; flex: none; width: var(--w); height: var(--h); margin: 8px 0 8px 18px; transform-style: preserve-3d; transform: rotateY(28deg) rotateX(4deg); transition: transform 1s var(--ease); }
.book3d:hover { transform: rotateY(14deg) rotateX(2deg); }
.book3d > * { position: absolute; inset: 0; }
.book-front { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 20px; background: #1C1F22; color: var(--on-dark); box-shadow: inset 4px 0 0 rgb(255 255 255 / .06), 18px 24px 40px -18px rgb(0 0 0 / .55); transform: translateZ(calc(var(--d) / 2)); }
.book-front .bt { font-size: 30px; line-height: .98; letter-spacing: -.03em; }
.book-front .bt em { font-style: normal; color: var(--orange); }
.book-front .ba2 { font-size: 11px; color: var(--dark-55); }
.book-front svg { width: 34px; height: 34px; color: var(--dark-55); }
.book-spine { right: auto; width: var(--d); background: var(--orange); transform: translateX(-50%) rotateY(-90deg); }
.book-pages { left: auto; right: 0; width: var(--d); background: repeating-linear-gradient(90deg, #F6F5F0 0 2px, #E3E1DA 2px 3px); transform: translateX(50%) rotateY(90deg); }
.book-back { background: #111315; transform: translateZ(calc(var(--d) / -2)) rotateY(180deg); }
.dark .book-front { background: #2A2D31; }
.book-wrap { display: flex; gap: 48px; align-items: flex-start; perspective: 1400px; }

/* ---------- questions ---------- */
.qs { padding: var(--sec) 0; }
.qs + .qs { padding-top: 0; }
.qs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 32px; margin-top: 32px; }
.qs-title { display: grid; gap: 24px; justify-items: start; align-content: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.03em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa details p { max-width: 36em; padding: 0 0 22px; color: var(--soft); }

/* ---------- page heads (system and book pages) ---------- */
.phead { padding: calc(var(--nav-h) + 48px) 0 0; }
.phead .halves { align-items: end; row-gap: 32px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 40px; font-size: 12px; color: var(--ink-60); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- system page ---------- */
.sys-scroll { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin-top: 64px; }
.sys-sticky { position: sticky; top: 56px; height: calc(100svh - 56px); }
.sys-sticky .stage { inset: 0; }
.sys-sticky .stage-fallback { position: absolute; inset: 0; margin: auto; width: min(80%, 420px); height: auto; right: auto; bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.slot-tag { position: absolute; left: 0; bottom: 32px; z-index: 2; display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--ink-60); }
.slot-tag b { font-size: 32px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); transition: color .3s; }
.steps { padding-bottom: 20vh; }
.step { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 48px 0; }
.step .rule { margin-bottom: 8px; }
.step .h2 { max-width: 11em; margin-top: 24px; }
.step > p:not(.rule) { max-width: 24em; color: var(--ink-60); font-size: 18px; }
.step > p.items { font-size: 16px; color: var(--ink); }
.step dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin-top: 8px; }
.step dl div { padding: 12px 0 16px; border-top: 1px solid var(--line); }
.step dt { font-size: 12px; color: var(--ink-60); }
.step dd { margin-top: 8px; }
.step dd ul li { padding: 3px 0; }
.weeks { padding: var(--sec) 0; }
.wk-bar { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(64px, 7vw, 112px); border-top: 1px solid var(--line); }
.wk-bar > span { padding: 10px 0 0; font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); padding-left: 8px; height: 40px; }
.wk-bar > span:first-child { border-left: 0; padding-left: 0; }
.wk-rows { display: grid; gap: 8px; margin-top: 16px; }
.wk-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.wk-row i { display: flex; align-items: center; height: 44px; padding: 0 14px; background: var(--graphite-2); box-shadow: inset 2px 0 0 var(--orange); font-style: normal; font-size: 15px; white-space: nowrap; overflow: hidden; transform-origin: left; }
.wk-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); margin-top: 64px; }
.wk-notes div { padding-top: 16px; border-top: 1px solid var(--line); }
.wk-notes h3 { font-size: 20px; letter-spacing: -.03em; }
.wk-notes ul { margin-top: 12px; color: var(--soft); }
.wk-notes li { padding: 6px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.wk-notes li:first-child { border-top: 0; }
.start { padding: var(--sec) 0; }
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); margin-top: clamp(64px, 7vw, 112px); }
.path li { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.path li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--ink); }
.path li:first-child::before, .path li:nth-child(2)::before { background: var(--orange); }
.path .n { font-size: 12px; color: var(--ink-60); }
.path h3 { margin-top: 40px; font-size: clamp(22px, 1.95vw, 28px); letter-spacing: -.03em; }
.path p { margin-top: 10px; color: var(--ink-60); max-width: 22em; }
.path .free { margin-top: 16px; }
.cta-band { padding: clamp(80px, 8vw, 128px) 0; }
.cta-band .halves { align-items: end; row-gap: 32px; }
.cta-band .h2 { max-width: 12em; }
.cta-copy { display: grid; gap: 40px; align-content: end; justify-items: start; }
.cta-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; justify-self: start; }

/* ---------- book page ---------- */
.bk-hero { padding-bottom: var(--sec); }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; margin-top: 56px; }
.bk-left { display: grid; gap: 40px; align-content: start; }
.bk-stage { display: grid; place-items: center; min-height: 420px; background: #E3E4E0; perspective: 1400px; }
.bk-stage .book3d { --w: 240px; --h: 340px; --d: 34px; }
.bk-stage .book-front .bt { font-size: 34px; }
.chapters li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.chapters .n { font-size: 12px; color: var(--ink-60); padding-top: 3px; font-variant-numeric: tabular-nums; }
.chapters .pg { font-size: 12px; color: var(--ink-60); font-variant-numeric: tabular-nums; }
.chapters li.on { color: var(--ink); }
.chapters li.on .n { color: var(--orange); }
.form-card { display: grid; gap: 28px; align-content: start; align-self: start; padding: clamp(24px, 3vw, 40px); background: var(--white); }
.form-card .rule { margin-bottom: 0; }
.fmt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-steps { display: flex; gap: 16px; font-size: 12px; color: var(--ink-60); }
.form-steps span.on { color: var(--ink); }
.form-btns { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 8px; }
.fine { font-size: 12px; color: var(--ink-60); max-width: 40em; }
.call { padding: var(--sec) 0; }
.call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 48px; margin-top: clamp(64px, 7vw, 112px); }
.agenda li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px 0 20px; border-top: 1px solid var(--line); font-size: clamp(20px, 1.67vw, 24px); letter-spacing: -.03em; }
.agenda li:last-child { border-bottom: 1px solid var(--line); }
.agenda .mins { font-size: 12px; letter-spacing: -.03em; color: var(--soft); padding-top: 8px; font-variant-numeric: tabular-nums; }

.sched { display: grid; gap: 24px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--graphite-2); }
.sched-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sday, .stime { position: relative; display: block; cursor: pointer; }
.sday input, .stime input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.sday span { display: grid; gap: 2px; padding: 10px 10px 9px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.sday small, .stime small { font-size: 12px; color: var(--soft); }
.sday b { font-size: 20px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sday input:checked + span, .stime input:checked + span { background: var(--orange); box-shadow: none; color: var(--ink); }
.sday input:checked + span small, .stime input:checked + span small { color: var(--ink); }
.sday input:disabled + span { opacity: .35; cursor: default; }
.sday input:disabled { cursor: default; }
.sday:hover input:not(:disabled):not(:checked) + span, .stime:hover input:not(:checked) + span { background: rgb(255 255 255 / .06); }
.sday input:focus-visible + span, .stime input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.sched-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; min-height: 52px; }
.stime span { display: grid; gap: 1px; padding: 10px 10px 9px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.stime b { font-weight: 500; font-variant-numeric: tabular-nums; }
.sched .input { border-bottom-color: var(--line-2); }
.sched .input::placeholder { color: #6E7175; }
.sched-tz { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--soft); }
.sched-pick { font-size: 15px; }
.sched-pick b { font-weight: 500; }

/* ---------- footer ---------- */
.foot { padding: clamp(80px, 8vw, 128px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); row-gap: 56px; }
.foot-nav a { display: block; width: fit-content; padding: 2px 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.03em; text-decoration: none; transition: color .25s; }
.foot-nav a:hover { color: var(--orange); }
.foot-side { display: grid; gap: 40px; align-content: start; }
.foot-h { margin-bottom: 12px; font-size: 12px; color: var(--soft); }
.foot-side li { padding: 3px 0; }
.foot-side a { text-decoration: none; }
.foot-side a:hover { color: var(--orange); }
.foot-note { grid-column: 1 / -1; max-width: 46em; font-size: 12px; color: var(--soft); }
.foot-mark { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(80px, 9vw, 144px); padding-top: 24px; border-top: 1px solid var(--line); }
.foot-mark svg { width: clamp(120px, 16vw, 230px); height: auto; color: currentColor; }
.foot-word { font-size: clamp(64px, 12.5vw, 200px); line-height: .78; letter-spacing: -.045em; }
.foot-small { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; font-size: 12px; color: var(--soft); }

/* ---------- dialog ---------- */
.dlg { width: min(560px, calc(100vw - 32px)); padding: 32px; border: 0; background: var(--alu); color: var(--ink); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); --line: rgb(21 23 25 / .14); }
.dlg::backdrop { background: rgb(10 11 12 / .6); }
.dlg-x-f { position: absolute; top: 12px; right: 12px; }
.dlg-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; }
.dlg .small { color: var(--ink-60); }
.dlg-t { margin: 12px 0; font-size: 32px; line-height: 1.05; letter-spacing: -.03em; }
.dlg > p:not(.small) { color: var(--ink-60); }
.dlg-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 20px 0 24px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 15px; }
.dlg-sum dt { color: var(--ink-60); }

/* ---------- smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- motion ---------- */
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.line-m { display: block; overflow: hidden; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.line-m > span { display: inline-block; }
.js .line-m > span { transform: translateY(110%); animation: rise 1.2s var(--ease) .1s forwards; }
.js .line-m + .line-m > span { animation-delay: .2s; }
.js [data-fade] { opacity: 0; animation: fadeup 1s var(--ease) .5s forwards; }
.io [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.io [data-reveal].in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.split .w > span { display: inline-block; }
.io .split .w > span { transform: translateY(105%); transition: transform 1s var(--ease) calc(var(--wi, 0) * 45ms); }
.io .split.in .w > span { transform: none; }
.io .rule { background: linear-gradient(var(--line), var(--line)) 0 100% / 0 1px no-repeat; border-bottom-color: transparent; transition: background-size 1.4s var(--ease); }
.io .rule.in { background-size: 100% 1px; }
.io .frame.unveil img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease), transform 1.2s var(--ease); }
.io .frame.unveil.in img { clip-path: inset(0); }
.io .wk-row i { transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.io .wk-rows.in .wk-row i { transform: none; }
.count.is-flip { animation: flip .14s ease-out; }
@keyframes flip { from { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .line-m > span, .io [data-reveal], .io .split .w > span { transform: none; opacity: 1; }
  .js [data-fade] { opacity: 1; }
  .io .frame.unveil img { clip-path: none; }
  .io .rule { background-size: 100% 1px; }
  .io .wk-row i { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .links { gap: 20px; }
  .links a { font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  :root { --m: 24px; --g: 24px; --nav-h: 64px; }
  .menu-panel { width: 100%; }
  .halves, .leak-grid, .band-cap, .q-row, .readout, .sys-body, .ba-grid, .offer-grid, .qs-grid, .bk-grid, .call-grid, .foot-grid, .sys-scroll { grid-template-columns: minmax(0, 1fr); }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .hero > .wrap { order: 0; }
  .hero .stage-home { order: 1; }

  .hero-copy { max-width: none; }
  .stage-home { position: relative; inset: auto; height: min(110vw, 640px); margin: 8px calc(var(--m) * -1) 0; }
  .hero-meta { position: static; margin-top: 8px; }
  .stage-fallback { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: min(70vw, 420px); }
  .ro-leaks { grid-template-columns: minmax(0, 1fr); }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .leak-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leak-grid li { padding-bottom: 48px; }
  .band-pic { aspect-ratio: 4 / 3; }
  .sys-figure { max-width: 420px; margin: 0 auto; }
  .sys-sticky { position: relative; top: 0; height: min(100vw, 560px); }
  .step { min-height: 0; padding: 40px 0; }
  .steps { padding-bottom: 0; }
  .wk-notes, .path { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .foot-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --m: 16px; --g: 16px; }
  .tiles { gap: 6px; }
  .tile { aspect-ratio: 1 / 1; }
  .tile-t b { font-size: 17px; }
  .chips-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ro-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ba-cols { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .track { grid-template-columns: minmax(0, 1fr); }
  .fields, .fmt { grid-template-columns: minmax(0, 1fr); }
  .sched-days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .sday span { padding: 8px 6px; }
  .sday b { font-size: 17px; }
  .sched-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-wrap { flex-direction: column; align-items: flex-start; }
  .wk-row i { font-size: 12px; padding: 0 8px; height: 36px; }
  .wk-bar > span { font-size: 10px; padding-left: 3px; }
  .foot-mark { flex-direction: column; align-items: flex-start; }
  .dlg { padding: 24px 20px; }
}
@media (max-width: 760px) {
  .leak-grid { grid-template-columns: minmax(0, 1fr); }
  .leak-grid li { padding-bottom: 32px; }
  .leak-grid h3 { margin-top: 16px; }
  .ro-cta .btn { flex: 1 1 100%; }
  .nav-cta { font-size: 15px; }
}
.menu-x:focus-visible { outline-offset: 3px; }
/* hooks the alternative looks use; hidden in the base look */
.nav-links, .hero-note { display: none; }

/* ---------- drawing sheet: the chosen look (an engineering drawing: millimetre grid, ruled boxes, a boxed header) ---------- */
.light { background-color: var(--alu); background-image: linear-gradient(rgb(21 23 25 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(21 23 25 / .05) 1px, transparent 1px); background-size: 16px 16px; background-position: -1px -1px; }
.dark { background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 16px 16px; }
/* header: a boxed strip of cells */
.nav::before, .nav[data-state="bar"]::before { background: var(--alu); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-in, .nav[data-state="bar"] .nav-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 0; height: 52px; margin: 12px var(--m) 0; padding: 0; border: 1px solid var(--ink); background: var(--alu); }
.logo { height: 100%; padding: 0 20px; border-right: 1px solid var(--ink); }
.nav-links { display: flex; height: 100%; justify-self: start; }
.nav-links a { display: flex; align-items: center; padding: 0 20px; border-right: 1px solid var(--ink); font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s; }
.nav-links a:hover { background: var(--ink); color: var(--on-dark); }
.menu-btn { display: none; }
.nav-cta { height: 100%; padding: 0 22px; background: var(--orange); color: var(--ink); border-left: 1px solid var(--ink); }
.nav-cta:hover { background: var(--orange-2); color: var(--ink); }
/* hero: the words left; the profile in a framed drawing cell right, with a title block */
.hero { padding-top: calc(var(--nav-h) + 72px); }
.hero .stage-home { left: 50%; right: var(--m); top: calc(var(--nav-h) + 24px); bottom: calc(32px + 49px); border: 1px solid var(--ink); background: rgb(238 239 236 / .7); }
.hero-note { position: absolute; left: 50%; right: var(--m); bottom: 32px; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; height: 50px; border: 1px solid var(--ink); border-top: 0; font-size: 13px; }
.hero-note span { display: flex; align-items: center; padding: 0 14px; }
.hero-note span + span { border-left: 1px solid var(--ink); }
.hero-note span + span::before { content: ""; width: 8px; height: 8px; margin-right: 10px; background: var(--orange); }
.d1 { font-size: clamp(42px, 4.45vw, 64px); }
.hero-copy { max-width: 46%; }
/* links: boxed */
.ulink { padding: 12px 16px; background: none; box-shadow: inset 0 0 0 1px currentColor; animation: none !important; transition: background-color .2s, color .2s; }
.ulink:hover { background: var(--ink); color: var(--on-dark); }
.dark .ulink:hover { background: var(--on-dark); color: var(--ink); }
.hero .ulink:first-child { background: var(--ink); color: var(--on-dark); box-shadow: none; }
.hero-cta { gap: 0; }
.hero-cta .ulink + .ulink { margin-left: -1px; }
/* section labels: a boxed strip */
.rule, .io .rule { padding: 0; border: 1px solid var(--line-2); background: none; }
.rule span { padding: 9px 12px; }
.rule span:last-child { border-left: 1px solid var(--line-2); }
/* the leaks: a ruled table */
.leak-grid { gap: 0; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); }
.leak-grid li { padding: 14px 20px 64px; border-top: 0; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.leak-grid li::before { top: 0; height: 2px; }
/* footer: a title block */
.foot-grid { border: 1px solid var(--ink); }
.foot-nav { padding: 20px; }
.foot-side { padding: 20px; border-left: 1px solid var(--ink); }
.foot-mark { border: 1px solid var(--ink); padding: 24px; margin-top: -1px; }
@media (max-width: 999px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; justify-self: end; height: 100%; padding: 0 16px; border-left: 1px solid var(--ink); }
  .nav-in, .nav[data-state="bar"] .nav-in { grid-template-columns: auto minmax(0, 1fr) auto auto; margin: 8px var(--m) 0; }
  .nav-cta { padding: 0 14px; }
  .hero-copy { max-width: none; }
  .hero .stage-home { position: relative; inset: auto; height: min(90vw, 520px); margin: 24px var(--m) 0; }
  .hero-note { position: relative; left: auto; right: auto; bottom: auto; margin: 0 var(--m) 40px; }
  .foot-side { border-left: 0; border-top: 1px solid var(--ink); }
}

/* ---------- the rest of the sheet: everything sits in ruled boxes; boxes that touch share one line ---------- */
.light { --box: var(--ink); }
.dark { --box: rgb(255 255 255 / .32); }
.menu-btn { align-items: center; }
/* the check: question captions as table heads over ruled tile and chip grids */
.q-h { margin: 0; padding: 10px 14px; border: 1px solid var(--box); border-bottom: 0; font-size: clamp(18px, 1.5vw, 21px); }
.tiles, .chips { gap: 0; border-top: 1px solid var(--box); border-left: 1px solid var(--box); }
.tile { border-right: 1px solid var(--box); border-bottom: 1px solid var(--box); }
.tile:has(input:checked) { box-shadow: none; }
.tile:has(input:checked)::before { box-shadow: inset 0 0 0 3px var(--orange); }
.chip > span { box-shadow: none; border-right: 1px solid var(--box); border-bottom: 1px solid var(--box); }
.readout { padding: 0; }
.ro-main, .ro-side { padding: clamp(24px, 3vw, 40px); }
.ro-side { border-left: 1px solid var(--line); }
.ro-how { margin: 0; padding: 14px clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
/* the system: the drawing in one cell, the slots in the next */
.sys-body { gap: 0; margin-top: 48px; border: 1px solid var(--box); align-items: stretch; }
.sys-body > .sys-figure { width: auto; max-width: none; margin: 0; padding: 72px 96px; border-right: 1px solid var(--box); }
.sys-draw { position: relative; max-width: 340px; margin: 0 auto; }
.sys-draw .xsec { display: block; }
.q > legend.q-h { padding: 10px 14px; }
.nav-links a[aria-current] { background: var(--ink); color: var(--on-dark); }
.sys-body > div { padding: 0 32px 32px; }
.sys-list li:first-child { border-top: 0; }
/* one photograph with its caption strip */
.band-pic { border: 1px solid var(--box); }
.band-cap { gap: 0; margin-top: 0; border: 1px solid var(--box); border-top: 0; }
.band-cap > * { padding: 20px 24px; }
.band-cap .lead { padding-top: 30px; border-left: 1px solid var(--box); }
/* the offer: two cells */
.offer-grid { gap: 0; margin-top: 48px; border: 1px solid var(--box); }
.offer-card { padding: 32px; border-top: 0; }
.offer-card + .offer-card { border-left: 1px solid var(--box); }
/* system page */
.sys-sticky .stage { inset: 24px 0 73px; border: 1px solid var(--box); }
.slot-tag { left: 0; right: 0; bottom: 24px; height: 49px; padding: 0 16px; align-items: center; border: 1px solid var(--box); border-top: 0; }
.slot-tag b { font-size: 20px; }
.wk-bar { margin-top: 48px; border: 1px solid var(--box); }
.wk-rows { gap: 0; margin-top: 0; padding: 8px 0; border: 1px solid var(--box); border-top: 0; }
.wk-row { padding: 4px 0; }
.path { gap: 0; margin-top: 48px; border: 1px solid var(--box); }
.path li { padding: 24px 20px 28px; border-top: 0; }
.path li + li { border-left: 1px solid var(--box); }
.path li::before { top: 0; left: 0; width: 8px; height: 8px; }
.cta-band .frame { border: 1px solid var(--box); }
/* book page */
.bk-stage { background: transparent; border: 1px solid var(--box); }
.chapters { border: 1px solid var(--box); border-top: 0; }
.chapters li { padding: 12px 14px 14px; }
.chapters li:first-child { border-top: 0; }
.chapters li:last-child { border-bottom: 0; }
.form-card { border: 1px solid var(--box); }
.agenda { border: 1px solid var(--box); }
.agenda li { padding: 16px 20px 20px; }
.agenda li:first-child { border-top: 0; }
.agenda li:last-child { border-bottom: 0; }
.sched { border: 1px solid var(--box); }
.call-grid { align-items: start; }
/* questions */
.qs-grid { gap: 0; margin-top: 0; border: 1px solid var(--box); border-top: 0; }
.qs-grid > * { padding: 20px 24px; }
.qs-grid > .qa { padding-top: 0; padding-bottom: 0; border-left: 1px solid var(--box); }
.qa details:first-child { border-top: 0; }
.qa details:last-child { border-bottom: 0; }
.dlg { border: 1px solid var(--ink); }
/* the menu (phones): a full-width sheet of boxed links */
.menu { background: rgb(21 23 25 / .3); }
.menu-panel { left: 0; width: 100%; padding: 8px var(--m) 24px; background: var(--alu); transform: none; animation: sheet .5s var(--ease); }
@keyframes sheet { from { transform: translateY(-16px); opacity: 0; } }
.menu-x { align-self: flex-end; height: 52px; padding: 0 18px; border: 1px solid var(--ink); }
.menu-main { margin-top: 16px; border: 1px solid var(--ink); }
.menu-main a { padding: 12px 16px 10px; }
.menu-main a:first-child { border-top: 0; }
.menu-sub { margin-top: 32px; }
.menu-mail { margin-top: 32px; border: 1px solid var(--ink); }
.menu-mail a { padding: 12px 16px; }
.menu-mail li:first-child a { border-top: 0; }
@media (max-width: 999px) {
  .hero > .wrap { order: 0; }
  .hero .stage-home { order: 1; }
  .hero .hero-note { order: 2; }
  .ro-side { border-left: 0; border-top: 1px solid var(--line); }
  .sys-body > .sys-figure { padding: 56px 64px; border-right: 0; border-bottom: 1px solid var(--box); }
  .sys-body > div { padding: 0 20px 24px; }
  .band-cap .lead { border-left: 0; border-top: 1px solid var(--box); padding-top: 20px; }
  .offer-card + .offer-card { border-left: 0; border-top: 1px solid var(--box); }
  .path li + li { border-left: 0; border-top: 1px solid var(--box); }
  .qs-grid > .qa { border-left: 0; border-top: 1px solid var(--box); }
  .sys-sticky .stage { inset: 16px 0 66px; }
  .slot-tag { bottom: 16px; }
}
@media (max-width: 760px) {
  .sys-body > .sys-figure { padding: 48px 40px; }
  .tile-t b { font-size: 16px; }
}

/* ---------- icons: Phosphor, drawn as boxed symbols where they stand alone, inline beside small labels ---------- */
.ibox { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--box); color: currentColor; transition: color .3s, border-color .3s, background-color .3s; }
.ibox .i { width: 22px; height: 22px; }
.ibox-l { width: 56px; height: 56px; }
.ibox-l .i { width: 28px; height: 28px; }
.rule span, .sched-tz, .ic { display: inline-flex; align-items: center; gap: 8px; }
.rule .i, .sched-tz .i, .ic .i { width: 14px; height: 14px; }
/* the leaks: number left, symbol right, title under */
.leak-grid li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.leak-grid li .ibox { justify-self: end; margin-top: -2px; color: var(--soft); }
.leak-grid li h3 { grid-column: 1 / -1; margin-top: 24px; }
.leak-grid li.is-hit .ibox { color: var(--orange); border-color: var(--orange); }
/* the slot list */
.sys-list li { grid-template-columns: 40px 36px minmax(0, 1fr) auto; }
.sys-i { width: 24px; height: 24px; align-self: center; color: var(--soft); transition: color .3s; }
.sys-list li:hover .sys-i, .sys-list li.on .sys-i { color: var(--orange); }
/* the path and the questions: a symbol in the cell's corner */
.path li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; }
.path li .ibox { justify-self: end; grid-row: 1; grid-column: 2; }
.path li > :not(.ibox):not(.n) { grid-column: 1 / -1; }
.path li .n { grid-row: 1; }
.qs-h { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
/* book formats and the call agenda */
.fmt .chip > span { grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.fmt .chip > span .i { grid-row: 1 / 3; width: 28px; height: 28px; }
.agenda li { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
.agenda li .i { width: 22px; height: 22px; color: var(--soft); }
.foot-side .ic { gap: 10px; }
.foot-side .ic .i { width: 16px; height: 16px; }
.hero-note span .i { width: 15px; height: 15px; margin-right: 10px; }
.path li > .ulink { justify-self: start; }
