/* Colour and type follow the product: Sanzo Wada combination 258, IBM Plex Sans with DM Mono. */
:root {
  --olive: #545900; --olive-900: #424511; --olive-500: #83883a; --olive-200: #e7ebad; --olive-100: #eef1c6;
  --antwerp: #00346a; --antwerp-100: #d2e3f4;
  --cinnamon: #eaa523; --cinnamon-900: #7a5e29; --cinnamon-100: #f5eee0;
  --paper: #f3f2ee; --paper-2: #eae8e2; --paper-3: #dedacd; --line: #d5d2ca;
  --ink: #1f2421; --ink-2: #5b625d; --ink-3: #8e948f;
  --m: #6f938f; --e: #a8a072; --p: #98839a;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --radius: 4px; --hair: 1px solid var(--line);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.caps { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; max-width: 22em; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }

.btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--radius); background: var(--olive); color: #f4f1e4; font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid var(--olive); transition: background 140ms ease-out; }
.btn:hover { background: var(--olive-900); }
.btn-light { background: var(--olive-100); color: var(--olive-900); border-color: var(--olive-100); height: 32px; padding: 0 12px; font-size: 14px; }
.btn-light:hover { background: var(--olive-200); }
.link { color: var(--olive-900); font-weight: 500; text-underline-offset: 4px; }

.top { background: var(--olive); color: #f4f1e4; position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; gap: 28px; height: 52px; }
.mark { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.top-in { gap: 20px; }
.top .navlink { margin-left: 28px; } .top .mark + .navlink { margin-left: 40px; } .top .btn { margin-left: auto; }
.navlink { font-size: 14px; text-decoration: none; opacity: .92; white-space: nowrap; }
.navlink:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* the hero panel deepens toward the right, where the sheet sits */
.hero-band { background: linear-gradient(to right, var(--paper) 0%, var(--paper) 30%, #ddd8c9 62%, #b0a993 100%); overflow: hidden; }
.hero { padding-block: 96px 84px; position: relative; isolation: isolate; }
.hero-text { position: relative; max-width: 570px; }
/* the sheet sits behind the words as a faded splash; only the revision marks keep full strength */
.hero-art { position: absolute; z-index: -1; top: 52%; right: -60px; width: min(820px, 70%); transform: translateY(-50%) rotate(-5deg); pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 4%, #000 48%); mask-image: linear-gradient(to right, transparent 4%, #000 48%); }
.hero-sheet { display: block; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(31, 36, 33, .10); }
/* The headline's first letter is the mark, scaled so its inner C is the capital C of the line (cap height, on
   the baseline, in the text colour). The outer rim and the dot are larger than the line and sit behind the words. */
h1 { position: relative; }
.h1-c { display: inline-block; position: relative; width: .86em; height: .7em; vertical-align: baseline; }
.h1-c svg { position: absolute; left: -.294em; top: -.294em; width: 1.4em; height: 1.288em; overflow: visible; z-index: -1; }
.h1-c .core { fill: var(--olive); stroke: var(--olive); stroke-width: 2.8; stroke-linejoin: round; }
.h1-c .rim { fill: var(--olive); stroke: var(--olive); stroke-width: 2.8; stroke-linejoin: round; }
.h1-dot { display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--cinnamon); }
.hero-text h1 { margin-top: .32em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 44em; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }

/* why it matters: the statement on the left, three plain reasons on the right */
/* the whole band, edge to edge of the page, is the sheet that rolls out; what shows before it lands is the darker surface under it */
.why-section { padding: 0; background: var(--paper-2); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.why-section h2 { max-width: 14em; }
/* The whole section is a sheet that rolls into place like a drawing off a roll. The roll crosses the page left to
   right at a slight diagonal, leading with its top end, and the sheet is laid down behind it. --roll is how far across
   the roll is; --tilt (set from the sheet's height in app.js) keeps the roll parallel to the edge it uncovers. */
@property --roll { syntax: '<percentage>'; inherits: true; initial-value: -12%; }
.rollout { position: relative; --roll: -12%; --lean: 46px; --tilt: 0.14rad; }
/* plan-sheet marks on the band, kept faint: a border line set in from the edge, zone numbers along the top and
   letters down the side as on a drawing sheet, and a small title block in the bottom-right corner */
.sheet-marks { --mk: rgba(31, 36, 33, .2); position: absolute; inset: 14px; border: 1px solid var(--mk); pointer-events: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(31, 36, 33, .42); }
.sm-top { position: absolute; left: 14px; right: 0; top: 0; height: 14px; display: flex; border-bottom: 1px solid var(--mk); }
.sm-top span { flex: 1; text-align: center; line-height: 13px; border-left: 1px solid var(--mk); }
.sm-side { position: absolute; top: 0; bottom: 0; left: 0; width: 14px; display: flex; flex-direction: column; border-right: 1px solid var(--mk); }
.sm-side span { flex: 1; display: grid; place-items: center; border-top: 1px solid var(--mk); } .sm-side span:first-child { border-top: 0; }
.sm-title { position: absolute; right: 0; bottom: 0; display: flex; border-top: 1px solid var(--mk); border-left: 1px solid var(--mk); }
.sm-title span { padding: 5px 12px; border-left: 1px solid var(--mk); } .sm-title span:first-child { border-left: 0; color: rgba(31, 36, 33, .6); }
.rollout-body { position: relative; background: var(--paper); padding-block: 84px; box-shadow: 0 0 40px rgba(31, 36, 33, .10);
  clip-path: polygon(-40px -40px, calc(var(--roll) + var(--lean)) -40px, calc(var(--roll) - var(--lean)) calc(100% + 40px), -40px calc(100% + 40px)); }
.rollout-roll { position: absolute; top: -40px; bottom: -40px; left: var(--roll); width: 64px; margin-left: -32px; border-radius: 32px / 18px; opacity: 0; pointer-events: none; transform: rotate(var(--tilt));
  background: linear-gradient(90deg, #aaa594 0%, #e4e0d5 16%, #fdfcf8 40%, #efece3 60%, #cfcabb 84%, #a39e8e 100%);
  box-shadow: -26px 0 26px -14px rgba(31, 36, 33, .30), inset 0 0 0 1px rgba(31, 36, 33, .18); }
.rollout-roll::before, .rollout-roll::after { content: ''; position: absolute; left: 10%; right: 10%; height: 9px; border-radius: 50%; background: rgba(31, 36, 33, .2); }
.rollout-roll::before { top: 3px; } .rollout-roll::after { bottom: 3px; }
.rollout.in { animation: unroll 2000ms cubic-bezier(.4, .05, .2, 1) both; }
.rollout.in .rollout-roll { animation: unroll-roll 2000ms cubic-bezier(.4, .05, .2, 1) both; }
.rollout.done { --roll: 112%; } .rollout.done .rollout-body { clip-path: none; }
@keyframes unroll { from { --roll: -12%; } to { --roll: 112%; } }
@keyframes unroll-roll { 0% { width: 64px; margin-left: -32px; opacity: 0; } 5% { opacity: 1; } 92% { opacity: 1; } 100% { width: 14px; margin-left: -7px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rollout-body { clip-path: none; } .rollout-roll { display: none; } }
.why-lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; border-top: var(--hair); }
.why-list li { counter-increment: why; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-bottom: var(--hair); }
.why-list li::before { content: counter(why); grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; }
.why-list b { font-weight: 600; font-size: 17px; } .why-list span { color: var(--ink-2); margin-top: 2px; }
/* sources: four kinds of source on the left; on the right, darkening like the hero, a phone showing what comes out */
/* the hero's gradient, mirrored: the darker beige on the left, where the devices sit, easing to the page's paper on the right */
.src-section { padding-block: 80px; background: linear-gradient(to right, #b0a993 0%, #ddd8c9 38%, var(--paper) 70%, var(--paper) 100%); border-block: var(--hair); overflow: hidden; }
.src-wrap { position: relative; }
.src-section { position: relative; } .src-section::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(176, 169, 147, .34) 0%, rgba(221, 216, 201, .34) 38%, rgba(243, 242, 238, .5) 70%, rgba(243, 242, 238, .5) 100%); } .src-main { z-index: 2; }
.src-main { position: relative; z-index: 1; max-width: 760px; margin-left: auto; }
.src-lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin-top: 14px; max-width: 36em; }
.src-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.src-cat { grid-column: span 2; } .src-cat:nth-child(-n+2) { grid-column: span 3; }
.src-cat { background: #fff; border: var(--hair); border-radius: var(--radius); padding: 18px; }
.src-cat h3 { font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.src-dir { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.src-cat p { color: var(--ink-2); margin-top: 14px; font-size: 14.5px; line-height: 1.45; }
/* the tools are icons only; clicking one opens it out to show its name */
.src-tools { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.src-tool { display: inline-flex; align-items: center; height: 38px; min-width: 38px; padding: 0 7px; border: var(--hair); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: background 140ms ease-out, border-color 140ms ease-out; }
.src-tool:hover { background: var(--paper-3); border-color: var(--paper-3); }
.src-tool:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 1px; }
.src-tool img { width: 22px; height: 22px; flex: none; display: block; object-fit: contain; border-radius: 3px; }
.src-name { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 240ms ease, opacity 200ms ease, margin-left 240ms ease; }
.src-tool[aria-expanded="true"] { background: #fff; border-color: var(--ink-3); }
.src-tool[aria-expanded="true"] .src-name { max-width: 140px; opacity: 1; margin-left: 8px; }
/* Two devices on the dark side of the panel, drawn with devices.css frames and scaled down: a laptop behind and a phone
   in front, both running the Cyclar app. They are slightly see-through and fade toward the text, so they read as
   sitting behind the panel's gradient. */
.src-devices { position: absolute; top: -80px; bottom: -80px; right: 792px; width: 730px; z-index: 0; opacity: .88;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 80%, rgba(0, 0, 0, .55) 100%); mask-image: linear-gradient(to right, #000 0%, #000 80%, rgba(0, 0, 0, .55) 100%); }
.dv { position: absolute; isolation: isolate; } .dv-mac { z-index: 1; } .dv-phone { z-index: 2; }
.dv-frame { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; }
.dv-screen { position: absolute; z-index: 1; overflow: hidden; background: var(--paper); }
.dv-screen > .ca { transform-origin: 0 0; }
/* the screen openings, as fractions of each frame image */
.dv-mac { top: 128px; left: 88px; width: 622px; height: 422px; }
/* the laptop is a captured render; the live app is mapped onto its screen, in the render's own pixel space */
.tp { position: relative; width: 758px; height: 514px; transform: scale(.82); transform-origin: 0 0; filter: drop-shadow(0 20px 18px rgba(31, 36, 33, .3)); }
.tp-img { display: block; width: 758px; height: 514px; max-width: none; filter: brightness(.58) contrast(1.25); }
.tp-screen { position: absolute; left: 0; top: 0; width: 576px; height: 359px; overflow: hidden; transform-origin: 0 0; transform: matrix3d(0.498861, -0.0479221, 0, -0.000365781, -0.129685, 0.660746, 0, -0.000128138, 0, 0, 1, 0, 288.3, 42.6, 0, 1); }
.tp-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .06) 100%); box-shadow: inset 0 0 16px 5px rgba(0, 0, 0, .6), inset 0 0 3px 1px rgba(0, 0, 0, .8); pointer-events: none; }
.tp-screen .ca-desk { padding-top: 0; height: 359px; }
.dv-phone { left: 0; top: 236px; width: 290px; } .dv-phone .dv-frame { filter: drop-shadow(0 22px 22px rgba(31, 36, 33, .32)); }
.dv-phone .dv-screen { left: 3.1%; top: 1.1%; width: 93.8%; height: 97.8%; border-radius: 16.5% / 7.8%; }
/* the Cyclar app, drawn at the screens' native size */
.ca { position: relative; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow: hidden; }
.ca-top { display: flex; align-items: center; gap: 10px; background: var(--olive); color: var(--paper); }
.ca-top b { font-weight: 600; } .ca-nav { opacity: .92; } .ca-nav.on { text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.ca-badge { font-style: normal; font-family: var(--mono); background: var(--olive-100); color: var(--olive-900); border-radius: 9px; text-decoration: none; display: inline-block; text-align: center; }
.ca-menu { margin-left: auto; display: inline-flex; flex-direction: column; } .ca-menu i { display: block; background: var(--paper); }
.ca-h { font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cc { background: var(--paper); border-bottom: var(--hair); border-left: solid var(--antwerp); border-radius: 4px; }
.cc-added { border-left-color: var(--cinnamon); }
.cc.in, .note.in, .pn.in { animation: note-in 520ms cubic-bezier(.2, .9, .3, 1) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
.cc-m { display: flex; align-items: center; color: var(--ink-2); font-family: var(--mono); } .cc-m i { margin-left: auto; font-style: normal; color: var(--ink-3); }
.cc-k { text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--antwerp); color: var(--antwerp); border-radius: 3px; } .cc-added .cc-k { border-color: var(--cinnamon); background: #f5eee0; color: #7a5e29; }
/* phone: 390 by 848 */
.ca-mob { width: 390px; height: 848px; background: var(--paper-2); } .ca-status { height: 58px; background: var(--olive); color: var(--paper); display: flex; align-items: flex-end; padding: 0 30px 6px; font-size: 16px; } .ca-status b { font-weight: 600; }
.ca-mob .ca-top { height: 62px; padding: 0 20px; font-size: 19px; } .ca-mob .ca-top img { width: 28px; height: 28px; } .ca-mob .ca-top b { font-size: 23px; margin-right: 8px; }
.ca-mob .ca-badge { min-width: 26px; padding: 0 7px; font-size: 16px; line-height: 26px; border-radius: 13px; } .ca-mob .ca-menu { gap: 6px; } .ca-mob .ca-menu i { width: 24px; height: 2px; } .ca-mob .ca-nav:not(.on) { display: none; }
.ca-mob .ca-h { font-size: 15px; padding: 20px 20px 10px; } .ca-mob .ca-list { padding: 0 16px; display: grid; gap: 12px; }
.ca-mob .cc { padding: 13px 14px 13px 15px; border-left-width: 9px; } .ca-mob .cc-t { font-size: 21px; line-height: 1.3; } .ca-mob .cc-m { gap: 10px; font-size: 14.5px; margin-top: 8px; } .ca-mob .cc-k { padding: 1px 6px; font-size: 13px; }
/* phone lock screen: 390 by 848, neutral wallpaper, message and email pop-ups stacked under the clock */
.ca-lock { width: 390px; height: 848px; background: radial-gradient(130% 55% at 15% 108%, #eaa523 0%, rgba(234, 165, 35, .55) 28%, rgba(234, 165, 35, 0) 62%), radial-gradient(95% 50% at 100% 72%, #3c6ea8 0%, rgba(60, 110, 168, 0) 66%), radial-gradient(85% 45% at 0% 18%, #1f5596 0%, rgba(31, 85, 150, 0) 70%), linear-gradient(172deg, #0c2c55 0%, #00346a 46%, #071d38 100%); color: #fff; }
.lk-status { height: 58px; display: flex; align-items: flex-end; padding: 0 34px 6px; font-size: 16px; } .lk-status b { font-weight: 600; }
.lk-date { text-align: center; font-size: 19px; font-weight: 500; opacity: .88; margin-top: 30px; }
.lk-time { text-align: center; font-size: 96px; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; }
.lk-notes { display: grid; gap: 9px; padding: 34px 12px 0; }
.pn { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px 13px 12px; border-radius: 22px; background: rgba(246, 245, 240, .84); backdrop-filter: blur(18px) saturate(1.3); color: #1b1e1b; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.pn-ic { width: 40px; height: 40px; flex: none; padding: 6px; border-radius: 10px; background: #fff; object-fit: contain; } .pn-ic.pn-own { padding: 0; background: none; } .pn-tx { min-width: 0; flex: 1; }
.pn-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 15.5px; } .pn-top b { font-weight: 600; } .pn-top i { font-style: normal; font-size: 13px; color: #5c615c; }
.pn-from { font-size: 13.5px; color: #5c615c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pn-title { font-size: 15.5px; line-height: 1.28; margin-top: 2px; }
/* laptop: 576 by 372; a dark strip at the top carries the camera notch, as the menu bar does */
.ca-desk { width: 576px; height: 372px; padding-top: 13px; background: #101110; } .ca-desk > * { background-color: var(--paper); } .ca-desk .ca-top { background-color: var(--olive); }
.ca-desk .ca-top { height: 30px; padding: 0 12px; font-size: 10.5px; } .ca-desk .ca-top img { width: 14px; height: 14px; } .ca-desk .ca-top b { font-size: 12.5px; margin-right: 6px; }
.ca-desk .ca-badge { min-width: 14px; padding: 0 4px; font-size: 9px; line-height: 14px; } .ca-desk .ca-menu { gap: 3px; } .ca-desk .ca-menu i { width: 13px; height: 1px; }
.ca-crumbs { display: flex; justify-content: space-between; height: 22px; align-items: center; padding: 0 12px; border-bottom: var(--hair); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); } .ca-crumbs b { color: var(--ink); font-weight: 400; } .ca-crumbs span:last-child { color: var(--ink-3); }
.ca-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); height: 307px; }
.ca-col { background: var(--paper-2); border-right: var(--hair); padding: 10px; overflow: hidden; } .ca-desk .ca-h { font-size: 8px; margin-bottom: 6px; } .ca-desk .ca-list { display: grid; gap: 6px; }
.ca-desk .cc { padding: 6px 7px 6px 8px; border-left-width: 5px; } .ca-desk .cc-t { font-size: 10.5px; line-height: 1.3; } .ca-desk .cc-m { gap: 6px; font-size: 7.5px; margin-top: 4px; } .ca-desk .cc-k { padding: 0 3px; font-size: 7px; }
.ca-view { padding: 10px; min-width: 0; } .ca-pane { height: 100%; border: var(--hair); border-top: 3px solid var(--antwerp); border-radius: 4px; background: var(--paper); display: flex; flex-direction: column; }
.ca-pane-h { padding: 5px 7px; border-bottom: var(--hair); font-family: var(--mono); font-size: 8px; color: var(--ink-2); } .ca-pane-h b { color: var(--antwerp); font-weight: 500; }
.ca-model { position: relative; flex: 1; } .ca-model i { position: absolute; display: block; transform: skewY(-18deg); }
.ca-model .m1 { left: 18%; top: 48%; width: 62%; height: 34%; background: #dcdcd8; outline: 1px solid #9f9f9a; } .ca-model .m2 { left: 30%; top: 30%; width: 34%; height: 9%; background: #2f5c90; outline: 1px solid #00244a; }
.ca-model .m3 { left: 56%; top: 52%; width: 12%; height: 13%; background: var(--cinnamon); outline: 1px solid #7a5e29; } .ca-model .m4 { left: 24%; top: 44%; width: 24%; height: 6%; background: var(--m); outline: 1px solid #3f5f5b; }
/* desktop notifications: the system's banner in the screen's top-right corner */
.dk-toasts { position: absolute; top: 50px; right: 8px; width: 218px; display: grid; gap: 6px; z-index: 3; background: none !important; }
.note { display: flex; gap: 7px; align-items: flex-start; background: rgba(246, 245, 240, .9); backdrop-filter: blur(14px) saturate(1.3); color: #1b1e1b; border-radius: 11px; padding: 7px 8px 8px; box-shadow: 0 8px 22px rgba(0, 0, 0, .26), inset 0 0 0 .5px rgba(255, 255, 255, .7); }
.note-ic { width: 26px; height: 26px; border-radius: 6px; flex: none; } .note-tx { min-width: 0; flex: 1; }
.note-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 10px; } .note-top b { font-weight: 600; } .note-top i { font-style: normal; font-size: 8.5px; color: #5c615c; }
.note-title { font-size: 10px; line-height: 1.28; margin-top: 1px; } .note-sub { font-size: 9px; line-height: 1.28; color: #5c615c; margin-top: 1px; }
.flow-section { background: var(--paper-2); border-block: var(--hair); padding-block: 64px; }
.stage { margin-top: 28px; --c: var(--ink-3); }
.t-M { --c: var(--m); } .t-E { --c: var(--e); } .t-P { --c: var(--p); } .t-A { --c: var(--antwerp); }
.step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--olive); color: #f4f1e4; font-family: var(--mono); font-size: 12px; flex: none; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepbtn { font: inherit; font-weight: 500; font-size: 15px; text-align: left; color: var(--ink-2); background: none; border: 0; border-top: 3px solid var(--line); padding: 10px 2px 0; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color 200ms, color 200ms; }
.stepbtn .step { background: var(--paper-3); color: var(--ink-2); transition: background 200ms, color 200ms; }
.stepbtn.done { border-top-color: var(--olive-500); }
.stepbtn.on { color: var(--ink); border-top-color: var(--olive); }
.stepbtn.on .step { background: var(--olive); color: #f4f1e4; }
.stepbtn:focus-visible, .vers button:focus-visible, summary:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 2px; }
/* the panel is one fixed size for all three steps: every view sits in the same cell, so the panel is as
   tall as the tallest of them, and only the page width changes it */
.views { position: relative; margin-top: 16px; background: var(--paper); border: var(--hair); border-radius: var(--radius); padding: 18px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: var(--hair); }
.pg-dots { display: flex; gap: 10px; align-items: center; }
.pg-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background 200ms, transform 200ms; }
.pg-dot.on { background: var(--olive); transform: scale(1.25); }
/* same control as the product's secondary button: paper-3 key, border equal to fill, ink text at 500 */
.pg-arrow { display: inline-flex; align-items: center; gap: 6px; height: 32px; width: 40px; justify-content: center; padding: 0; border: 1px solid var(--paper-3); border-radius: var(--radius); background: var(--paper-3); color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 150ms, border-color 150ms, box-shadow 150ms; }
.pg-arrow:hover { background: #d2cdbd; border-color: #d2cdbd; }
.pg-arrow:active { background: #d2cdbd; border-color: #d2cdbd; box-shadow: inset 0 1px 0 var(--ink-3); }
.pg-arrow.off { visibility: hidden; }
.pg-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-dot:focus-visible, .pg-arrow:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 2px; }
.stage.measuring, .stage.measuring * { transition: none !important; }
.view { grid-area: 1 / 1; min-width: 0; min-height: 0; visibility: hidden; pointer-events: none; }
.view.on { visibility: visible; pointer-events: auto; animation: viewin 450ms ease-out both; }
.view.on.noanim { animation: none; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.side-h { font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.side-foot { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; padding-top: 12px; border-top: var(--hair); }
.badge { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cinnamon); color: #3a2c05; font-weight: 600; font-size: 12px; flex: none; }

/* step one shrinks its drawings to whatever height the panel leaves, so the whole stage fits one screen */
.view-read { display: flex; flex-direction: column; min-height: 0; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 16px; flex: 1 1 auto; min-height: 0; }
.draw { margin: 0; position: relative; background: #fff; border: var(--hair); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.draw figcaption { display: flex; align-items: center; padding: 9px 12px; border-bottom: var(--hair); font-weight: 600; font-size: 14px; }
.draw-new figcaption { color: #7a5200; }

.iso { display: block; width: 100%; height: auto; flex: 1 1 auto; min-height: 0; }
.iso polygon, .iso polyline, .iso circle { stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; fill: none; }
.iso .fy { filter: brightness(.93); } .iso .fx { filter: brightness(.85); }
.iso .slab polygon { fill: #f6f4ee; }
.iso .bwall { fill: #efece4; } .iso .bwall-l { fill: #e6e2d8; }
.iso .wall polygon { fill: #dcd8cc; }
.iso .counter polygon { fill: #f6f4ee; }
.iso .sink { fill: var(--p); }
.iso .duct polygon, .iso .hru polygon { fill: #a9c2bf; stroke: #3f5f5b; }
.iso .grille { fill: #a9c2bf; stroke: #3f5f5b; }
.iso .riser { stroke: #3f5f5b; stroke-width: 3; }
.iso .pipe { stroke: var(--p); stroke-width: 3.5; }
.iso .tray { stroke: #8a8250; stroke-width: 3; stroke-dasharray: 7 4; }
.iso .stem { stroke: #8a8250; stroke-width: 1.5; }
.iso .recep { fill: var(--e); stroke: #5d5730; }
.iso .panel polygon { fill: var(--e); stroke: #5d5730; }
.iso .light { fill: #fff; stroke: #5d5730; stroke-width: 2; }
.iso .ceil { fill: rgba(255, 255, 255, .6); stroke: var(--ink-2); }
.iso .ceil-old { stroke: var(--ink-3); stroke-dasharray: 5 4; }
.iso .drop { stroke: #b87a00; stroke-dasharray: 2 3; }
.iso .ghost { stroke: var(--ink-3); stroke-dasharray: 5 4; }
.iso .heater polygon { fill: #d3c8d4; }
.iso .c polygon, .iso .c polyline { transition: fill 700ms ease, stroke 700ms ease; }
.iso .c { transform-box: fill-box; }
.iso .c.lit .box polygon, .iso .c.mv .box polygon, .iso .c.lit .sink, .iso .c.mv .sink { fill: #f3c765; stroke: #7a5200; }
.iso .c.lit .ceil, .iso .c.mv .ceil { fill: rgba(234, 165, 35, .55); stroke: #7a5200; }
.iso .c .drop { stroke: var(--ink-3); }
.iso .c.lit .drop, .iso .c.mv .drop { stroke: #b87a00; }
.iso .glass polygon { fill-opacity: .55; }
.iso .pin { cursor: pointer; outline: none; }
.intro .iso .pin > g { animation: pop 420ms cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(700ms + var(--i) * 1250ms); }
.iso .pin > g { transition: transform 200ms ease; }
.iso .pin:hover > g, .iso .pin:focus-visible > g, .iso .pin.lit > g, .iso .pin.mv > g { transform: scale(1.25); }
.iso .pin.lit circle { stroke: #3a2c05; }
.view-read[data-sel] .iso .pin:not(.lit) circle { fill: #f1dca8; }
.iso .pin circle { fill: var(--cinnamon); stroke: #fff; stroke-width: 2; }
.iso .pin text { font: 600 11px var(--sans); fill: #3a2c05; text-anchor: middle; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }

.legend { margin-top: 14px; }
.legend ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }

.legend li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: var(--hair); border-radius: var(--radius); padding: 9px 12px; }
.legend li { cursor: pointer; transition: background 300ms, border-color 300ms, box-shadow 300ms, opacity 300ms; }
.legend li.lit, .legend li.mv { background: #fdf6e6; border-color: var(--cinnamon); box-shadow: 0 0 0 2px rgba(234, 165, 35, .35); }
.view-read[data-sel] .legend li:not(.lit) { opacity: .55; }
.legend li b { display: block; font-weight: 500; line-height: 1.35; }
.legend li i, .node i { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
@keyframes arrive { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.cite { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; padding-top: 12px; border-top: var(--hair); max-width: 64em; }
.gchange { grid-column: 1; display: flex; gap: 13px; align-items: flex-start; background: #fff; border: var(--hair); border-radius: var(--radius); padding: 9px 12px; }
/* step three: each change's number takes the colour of the discipline that made it */
.gchange .badge { transition: background 700ms ease, color 700ms ease, box-shadow 700ms ease; box-shadow: 0 0 0 3px #fff, 0 0 0 4px transparent; }
.stage[data-stage="3"] .gchange .badge { background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--c); }
.stage[data-stage="3"] .gchange.t-A .badge { color: #fff; }
/* the numbers recolour first; only then does the graph squeeze */
.graph.squeezing .grow { transition-delay: 800ms; }
.gchange b { display: block; font-weight: 500; line-height: 1.35; }
.gchange i { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }

/* ---- product design language, used on the team nodes and in step four. Values are the product's tokens. ---- */
.inbox-badge { font-style: normal; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--olive-100); color: var(--olive-900); font-family: var(--mono); font-size: 12px; line-height: 18px; text-align: center; display: inline-block; }
.swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; background: var(--c); }
.tag, .kind { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border: var(--hair); border-radius: var(--radius); padding: 0 5px; line-height: 16px; white-space: nowrap; }
.kind { color: var(--antwerp); border-color: var(--antwerp); }
.tag.check { border-color: var(--cinnamon); background: #f5eee0; color: #7a5e29; }
.node-pt { position: relative; }
.node-pt .inbox-badge { position: absolute; top: -15px; left: -18px; transform: scale(0); box-shadow: 0 0 0 1px var(--olive-500); }
.graph.notify .node-pt .inbox-badge { animation: pop 420ms cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(300ms + var(--d) * 1.6); transform: none; }

/* ---- step four: the product, seen by one discipline ---- */
.view-app { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.app-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.app-as { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.app-team { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border: 1px solid var(--paper-3); border-radius: var(--radius); background: var(--paper-3); color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 140ms ease-out, border-color 140ms ease-out; }
.app-team:hover { background: #d2cdbd; border-color: #d2cdbd; }
.app-team.on { background: var(--olive-200); border-color: var(--olive-200); color: var(--olive-900); }
.app-team .inbox-badge { background: var(--paper); }
.app-team:focus-visible, .app-list li:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 1px; }
.app-win { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border: var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--paper); font-size: 14px; }
.app-top { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; background: var(--olive); color: var(--paper); font-size: 13px; flex: none; }
.app-top b { font-size: 15px; font-weight: 600; letter-spacing: .01em; margin-left: -8px; }
.top-nav { display: inline-flex; align-items: center; gap: 16px; margin-left: 8px; }
.top-nav-link { display: inline-flex; align-items: center; gap: 6px; text-underline-offset: 4px; }
.top-nav-link.current { text-decoration: underline; font-weight: 500; }
.top-menu-button { margin-left: auto; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 28px; height: 28px; }
.top-menu-button span { display: block; width: 16px; height: 1px; background: var(--paper); }
.app-win.ring .app-top .inbox-badge { animation: pop 460ms cubic-bezier(.3, 1.7, .5, 1) both; }
.app-crumbs { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding: 0 16px; background: var(--paper); border-bottom: var(--hair); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; flex: none; }
.app-crumbs i { font-style: normal; color: var(--ink-3); white-space: pre; } .app-crumbs .current { color: var(--ink); } .crumb-path { overflow: hidden; text-overflow: ellipsis; } .crumb-status { color: var(--ink-3); }
.app-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 340px minmax(0, 1fr); transition: grid-template-columns 500ms cubic-bezier(.4, 0, .2, 1); }
.app-win.closed .app-body { grid-template-columns: 0 minmax(0, 1fr); }
.app-left { min-width: 0; overflow: hidden auto; background: var(--paper-2); border-right: var(--hair); padding: 16px; scrollbar-width: thin; }
.app-win.closed .app-left { padding-inline: 0; border-right: 0; }
.app-left h3 { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.app-left h4 { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 8px; white-space: nowrap; }
.app-list { list-style: none; margin: 0; padding: 0; min-width: 306px; }
.app-list .dis { position: relative; padding: 8px 8px 8px 10px; margin-bottom: 8px; background: var(--paper); border-bottom: var(--hair); border-left: 6px solid var(--antwerp); border-radius: var(--radius); cursor: pointer; transition: background 140ms ease-out, box-shadow 140ms ease-out; animation: arrive 380ms ease-out both; animation-delay: calc(650ms + var(--k) * 70ms); }
.app-list .dis.check { border-left-color: var(--cinnamon); }
.app-list .dis:hover { background: var(--olive-100); }
.app-list .dis.selected { background: var(--paper-2); box-shadow: inset 3px 0 0 var(--olive); z-index: 3; }
.dis-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dis-text { font-size: 14px; line-height: 1.35; }
.dis.selected .dis-text { font-weight: 500; }
.dis-more, .dis .acts { display: none; }
.dis.selected .dis-more { display: block; } .dis.selected .acts { display: flex; align-items: center; position: relative; }
.act.assign { cursor: pointer; font-family: inherit; } .act.assign:hover { background: #d2cdbd; border-color: #d2cdbd; }
.assign-card { flex: 1 0 100%; order: 3; padding: 4px 0; background: var(--paper); border: var(--hair); border-radius: var(--radius); }
.assign-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 6px 16px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.assign-item b { font-weight: 500; } .assign-item i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.assign-item:hover, .assign-item:focus-visible { background: var(--olive-100); outline: none; }
[hidden] { display: none !important; }
.inbox-reason { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink); }
.dis-redo { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 4px 0; }
.card-meta { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.acts { margin-top: 8px; gap: 6px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; height: 28px; border: 1px solid var(--paper-3); border-radius: var(--radius); padding: 0 10px; font-size: 13px; font-weight: 500; color: var(--ink); background: var(--paper-3); }
/* the deck, as in the product: tiles side by side, each with a tab row above its pane; the add-version tab sits in the
   top-right corner and opens a card listing the open document's issues, then the project's other documents */
.app-deck { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 8px 8px; }
.app-deck.tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deck-tile { display: grid; grid-template-rows: 28px minmax(0, 1fr); min-width: 0; min-height: 0; --lineage: var(--c); }
.deck-tabs { display: flex; justify-content: flex-end; align-items: flex-end; gap: 4px; height: 28px; min-width: 0; padding-right: 32px; }
.add-tab-wrap { position: absolute; top: 8px; right: 8px; z-index: 6; }
.add-tab, .pane-tab { position: relative; z-index: 1; width: 28px; height: 28px; margin-bottom: -1px; padding: 0; border: var(--hair); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; background: var(--paper); color: var(--ink-2); font-family: var(--mono); font-size: 15px; line-height: 1; cursor: pointer; transition: background 140ms ease-out, color 140ms ease-out; }
.add-tab:hover, .add-tab[aria-expanded='true'], .pane-tab:hover { background: var(--olive-100); color: var(--olive); }
.add-card { position: absolute; top: 28px; right: 0; z-index: 20; width: 300px; max-height: 340px; overflow-y: auto; padding: 4px 0; border: var(--hair); border-radius: var(--radius); background: var(--paper-2); scrollbar-width: thin; }
.add-head { display: flex; align-items: center; gap: 6px; margin: 0; padding: 4px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.add-versions { margin: 0; padding: 0; list-style: none; }
.add-row, .add-lineage-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 28px; padding: 0 8px; border: 0; background: none; text-align: left; cursor: pointer; transition: background 140ms ease-out; }
.add-row { font-family: var(--mono); font-size: 12px; color: var(--ink); } .add-row:hover:not(:disabled), .add-lineage-name:hover { background: var(--olive-100); } .add-row:disabled { color: var(--ink-3); cursor: default; }
.add-others { margin-top: 4px; padding-top: 4px; border-top: var(--hair); }
.add-lineage-name { font-family: var(--sans); font-size: 13px; color: var(--ink); } .add-lineage-name > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.add-count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); } .add-lineage .add-versions .add-row { padding-left: 16px; }
.open-pane { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; min-height: 0; border: var(--hair); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.open-pane-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-bottom: var(--hair); border-top: 3px solid var(--lineage, var(--line)); font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.open-pane-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .pane-lineage { color: var(--lineage, var(--ink)); font-weight: 500; }
.t-E .pane-lineage { color: #6f6936; } .t-M .pane-lineage { color: #3f5f5b; } .t-P .pane-lineage { color: #5d4a60; }
.pane-tools { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; } .mode-toggle { display: inline-flex; gap: 4px; }
.layer { height: 22px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); font-size: 12px; background: transparent; }
.layer.brick { padding: 0 8px; font-family: var(--sans); } .layer.on { transform: translateY(1px); box-shadow: inset 0 1px 0 var(--olive-900); color: var(--ink); }
/* the discipline nodes fly up from the graph into these buttons; the product appears only after they land */
.app-win { transition: opacity 450ms ease; } .view-app.prewin .app-win { opacity: 0; transition: none; }
.graph.done .imp { box-shadow: inset -3px 0 0 var(--c); }
.app-teams.landing .app-team { visibility: hidden; }
.fl { position: absolute; margin: 0; box-sizing: border-box; will-change: transform; }
.fl-plate { background: var(--paper-3); }
.fl-ball { background: var(--c); }
.fl-text { display: flex; align-items: center; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--ink); transform-origin: left center; }
.fl-badge { background: var(--paper); }
.app-view { position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; }
.app-view .iso { flex: 1 1 auto; min-width: 0; min-height: 0; width: 100%; height: 100%; }
.app-view { cursor: grab; user-select: none; } .app-view.grabbing { cursor: grabbing; }
@media (pointer: fine) { .app-view { touch-action: none; } }
/* until the view has been moved once, a small orbit mark shows that it can be */
.view-nudge { position: absolute; left: 50%; bottom: 14px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 242, 238, .92); border: var(--hair); pointer-events: none; animation: nudge 2.6s ease-in-out infinite; transition: opacity 300ms; }
.view-nudge svg { width: 30px; height: 30px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .view-nudge .ax { stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 2 3; }
.app-deck.moved .view-nudge { opacity: 0; animation: none; }
@keyframes nudge { 0%, 100% { transform: translateX(-7px) rotate(-10deg); } 50% { transform: translateX(7px) rotate(10deg); } }
/* viewer colours as in the product: architecture base grey, each engineering model its discipline colour,
   changed elements their change colour all the time; a selection is an outline, never another colour */
.app-view .iso polygon, .app-view .iso polyline, .app-view .iso circle { stroke: #8f8f8a; }
.app-view .iso .slab polygon { fill: #dcdcd8; } .app-view .iso .bwall { fill: #cfcfca; } .app-view .iso .bwall-l { fill: #c4c4bf; }
.app-view .iso .l-A polygon, .app-view .iso .l-A .box polygon { fill: #b9b9b4; } .app-view .iso .l-A .ceil { fill: rgba(185, 185, 180, .4); }
.app-view .iso .l-M polygon, .app-view .iso .l-M .box polygon { fill: var(--m); stroke: #3f5f5b; } .app-view .iso .l-M polyline { stroke: #3f5f5b; }
.app-view .iso .l-E polygon, .app-view .iso .l-E .box polygon, .app-view .iso .l-E circle { fill: var(--e); stroke: #5d5730; } .app-view .iso .l-E polyline { stroke: #8a8250; }
.app-view .iso .l-P polygon, .app-view .iso .l-P .box polygon { fill: var(--p); stroke: #5d4a60; } .app-view .iso .l-P polyline { stroke: var(--p); }
.app-view .iso .k-changed polygon, .app-view .iso .k-changed .box polygon { fill: #2f5c90; stroke: #00244a; } .app-view .iso .k-changed .ceil { fill: rgba(0, 52, 106, .5); }
.app-view .iso .k-added polygon, .app-view .iso .k-added .box polygon { fill: var(--cinnamon); stroke: #7a5e29; }
.app-view .iso .sel polygon, .app-view .iso .sel polyline, .app-view .iso .sel circle, .app-view .iso .sel.box polygon { stroke: var(--ink); stroke-width: 3; paint-order: stroke; }
.app-view .iso .slab.sel .top { stroke: var(--ink); stroke-width: 3; }
.layers { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; z-index: 2; }
.layer.reset { height: 24px; padding: 0 8px; border-color: transparent; background: rgba(243, 242, 238, .85); font-family: var(--sans); font-size: 13px; color: var(--ink-2); cursor: pointer; } .layer.reset:hover { background: var(--olive-100); }

/* the graph spreads its rows over the full height of the panel */
.view-graph { display: flex; flex-direction: column; }
.graph { position: relative; display: grid; gap: 16px; flex: 1; align-content: space-evenly; }
.grow { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.25fr); align-items: center; padding-right: 0; transition: padding-right 850ms cubic-bezier(.4, 0, .2, 1); }
/* step three: the graph squeezes left to make room for the disciplines */
.stage[data-stage="3"] .grow { padding-right: 300px; }
.graph.instant .grow { transition: none; }
.gimps { grid-column: 3; display: grid; gap: 5px; }
/* an issue's left edge shows who caused it, its right edge who has to act on it */
.a-M { --ca: var(--m); } .a-E { --ca: var(--e); } .a-P { --ca: var(--p); } .a-A { --ca: var(--antwerp); }
.imp { background: #fff; border: var(--hair); border-left: 3px solid var(--line); box-shadow: inset -3px 0 0 transparent; border-radius: var(--radius); padding: 5px 9px; font-size: 13px; line-height: 1.3; transition: border-color 700ms ease, box-shadow 1000ms ease; }
.stage[data-stage="3"] .imp { border-left-color: var(--ca); }
.graph.play2 .imp { box-shadow: inset -3px 0 0 var(--c); transition-delay: 0s, 1500ms; }
/* step two, arriving from step one: cards fly in, arrows walk out one by one, then the issues appear */
.graph.pre .gchange { visibility: hidden; }
.graph.pre .imp, .graph.pre .arrows1 { opacity: 0; }
.graph.play1 .arrows1 .ln { animation: walk 1100ms ease-in-out both; }
.graph.play1 .arrows1 .tip { animation: fadein 180ms ease-out both; animation-delay: 1050ms; }
.graph.play1 .imp { animation: arrive 520ms ease-out both; animation-delay: calc(950ms + var(--k) * 50ms); }
@keyframes walk { from { stroke-dashoffset: 1; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.fly { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fly .gchange { position: absolute; margin: 0; box-sizing: border-box; overflow: hidden; transition: left 900ms cubic-bezier(.5, 0, .2, 1), top 900ms cubic-bezier(.5, 0, .2, 1), width 900ms cubic-bezier(.5, 0, .2, 1), height 900ms cubic-bezier(.5, 0, .2, 1), background 900ms, border-color 900ms; }
.h3only, .stage[data-stage="3"] .h2only { display: none; }
.stage[data-stage="3"] .h3only { display: inline; }
.arrows { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.arrows .ln { fill: none; stroke: var(--cinnamon); stroke-width: 1.5; stroke-dasharray: 1; }
.arrows .tip { fill: var(--cinnamon); }
/* the arrows to the nodes arrive orange, then take the colour of the discipline they reach */
.arrows2 .ln { stroke: var(--c); } .arrows2 .tip { fill: var(--c); }
.graph.play2 .arrows2 .ln { animation: walk 1100ms ease-in-out both, tone 1000ms ease 1500ms backwards; }
.graph.play2 .arrows2 .tip { animation: fadein 180ms ease-out 1050ms both, tonef 1000ms ease 1500ms backwards; }
/* step three opens by colouring the numbers, the arrows out of each change and the near edge of each issue by author */
.arrows1 .ln { transition: stroke 700ms ease; } .arrows1 .tip { transition: fill 700ms ease; }
.stage[data-stage="3"] .arrows1 .ln { stroke: var(--c); } .stage[data-stage="3"] .arrows1 .tip { fill: var(--c); }
@keyframes tone { from { stroke: var(--cinnamon); } }
@keyframes tonef { from { fill: var(--cinnamon); } }
.arrows2, .gnodes { display: none; }
.stage[data-stage="3"] .arrows2 { display: block; }
.stage[data-stage="3"] .gnodes { display: flex; }
.stage[data-stage="2"] .gnodes { display: flex; visibility: hidden; }
/* step three: once squeezed, the second arrows and the discipline nodes fade in together */
.graph.squeezing .arrows2, .graph.squeezing .gnodes { opacity: 0; }
.graph.play2 .gnodes .node { animation: fadein 900ms ease-out backwards; animation-delay: 700ms; }
@keyframes flow { to { stroke-dashoffset: -1; } }
.gnodes { position: absolute; top: 0; bottom: 0; right: 0; width: 150px; flex-direction: column; justify-content: space-around; }
.node { display: flex; align-items: center; gap: 12px; }
.node b { font-weight: 600; font-size: 15px; }
.node-pt { width: 18px; height: 18px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--c); }
@keyframes recv { 0%, 60%, 100% { box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--c); } 12% { box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--cinnamon), 0 0 22px 8px rgba(234, 165, 35, .8); } }
.msg-do, .vs-do { font-size: 13.5px; margin-top: 8px; padding-top: 8px; border-top: var(--hair); }
.msg-do b, .vs-do b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-900); background: var(--olive-100); border-radius: 3px; padding: 1px 6px; margin-right: 4px; }
@media (prefers-reduced-motion: reduce) { .stage *, .stage *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.note { font-size: 13px; color: var(--ink-2); margin-top: 22px; max-width: 60em; }

.diff-section { padding-block: 76px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.vs { border: var(--hair); border-radius: var(--radius); padding: 20px; }
.vs-old { background: var(--paper-2); }
.vs-new { background: #fff; border-left: 3px solid var(--antwerp); }
.vs-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.vs-line { font-size: 14px; background: var(--paper-3); border-radius: 3px; padding: 8px 10px; overflow-wrap: anywhere; }
.vs-title { font-size: 19px; font-weight: 600; line-height: 1.25; }
.vs-sub { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.vs-do { font-size: 15px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.three p, .steps p { color: var(--ink-2); font-size: 15px; }

.how-section { background: var(--paper-2); border-block: var(--hair); padding-block: 64px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.steps .step { margin-bottom: 12px; }

.demo-section { padding-block: 76px; }
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.demo p { color: var(--ink-2); margin-top: 14px; max-width: 30em; font-size: clamp(17px, 1.5vw, 19px); }
.demo-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.demo-form label:nth-of-type(n+3) { grid-column: 1 / -1; }
.demo-form input, .demo-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: var(--hair); border-radius: var(--radius); padding: 10px 12px; width: 100%; resize: vertical; }
.demo-form input:focus-visible, .demo-form textarea:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 1px; }
.demo-form .btn { justify-self: start; cursor: pointer; border: 0; font: inherit; font-weight: 500; }
.demo-form .btn:disabled { opacity: .6; cursor: default; }
.demo-form .demo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-msg { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--ink-2); max-width: none; } .demo-msg.bad { color: #5d0e04; }

.foot img { vertical-align: -3px; margin-right: 6px; }
.foot { border-top: var(--hair); padding-block: 22px; font-size: 13px; color: var(--ink-2); }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 28px; } .rollout-body { padding-block: 56px; } .sheet-marks { inset: 6px; } .sm-side, .sm-top { display: none; } .src-section { background: linear-gradient(to bottom, var(--paper) 0%, var(--paper) 55%, #e4e0d4 78%, #cfcaba 100%); } .src-main { max-width: none; } .src-grid { grid-template-columns: 1fr 1fr; } .src-cat, .src-cat:nth-child(-n+2) { grid-column: auto; } .src-devices { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 400px; height: 500px; margin: 40px auto 0; -webkit-mask-image: none; mask-image: none; } .dv-mac { left: 40px; width: 420px; }
  .stepbtn { font-size: 12.5px; gap: 6px; } .app-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(220px, 1fr); } .app-left { border-right: 0; border-bottom: var(--hair); max-height: 230px; } .app-list { min-width: 0; } .app-deck, .app-deck.tri { grid-template-columns: 1fr; grid-auto-rows: minmax(230px, 1fr); }
  .hero { padding-block: 56px; } .hero-art { width: 120%; right: -40%; opacity: .7; }
  .grow { grid-template-columns: minmax(0, .7fr) 22px minmax(0, 1.3fr); padding-right: 96px; } .gchange { padding: 6px; font-size: 12.5px; gap: 6px; } .imp { font-size: 12px; padding: 4px 6px; }
  .gnodes { width: 66px; } .node { flex-direction: column; align-items: flex-start; gap: 6px; } .node b { font-size: 11.5px; }
  .pair { grid-template-columns: 1fr; } .legend ol { grid-template-columns: 1fr 1fr; }
  .views { padding: 12px; }
  .stepbtn { font-size: 13px; gap: 6px; }
  .versus, .three, .steps, .demo, .demo-form { grid-template-columns: 1fr; }
  .hero { padding-block: 56px 44px; }
}
