/* drawgen draft v3: one design system for every page.
   Colourways are set on <html data-theme="...">: electric (default), signal, acid. */

/* ---------- tokens ---------- */
:root, [data-theme="electric"] {
  --paper: #f2f1ed; --paper-2: #e9e7e1; --card: #fff;
  --ink: #0b0c0f; --ink-2: #2a2c33; --mute: #686b74; --faint: #a4a6ad; --line: #dddbd4; --line-2: #ebe9e3;
  --night: #07080d; --night-2: #10121a; --night-line: rgba(255,255,255,.09); --night-mute: rgba(234,236,244,.62); --night-faint: rgba(234,236,244,.38);
  --acc: #2b00ff; --acc-ink: #2600e0; --on-acc: #fff; --acc-night: #8f84ff;
  --acc-soft: color-mix(in srgb, var(--acc) 9%, #fff); --acc-mist: color-mix(in srgb, var(--acc) 4%, #fff);
  --glow: color-mix(in srgb, var(--acc) 55%, transparent);
}
[data-theme="signal"] {
  --paper: #f1eee5; --paper-2: #e7e3d8; --line: #dcd6c8; --line-2: #e9e5da;
  --ink: #0e1814; --ink-2: #26332e; --mute: #66706b;
  --night: #0a1a15; --night-2: #11251f; --night-mute: rgba(236,240,236,.64); --night-faint: rgba(236,240,236,.38);
  --acc: #ff5a1f; --acc-ink: #c2410c; --on-acc: #fff; --acc-night: #ff8a5c;
}
[data-theme="acid"] {
  --paper: #ececE7; --paper-2: #e2e2dc; --line: #d8d8d1; --line-2: #e6e6e0;
  --ink: #0a0a0a; --ink-2: #262626; --mute: #6a6a66;
  --night: #0a0a0a; --night-2: #151515;
  --acc: #c6f03a; --acc-ink: #4a5c00; --on-acc: #0a0a0a; --acc-night: #d4ff4f;
  --acc-soft: #eef8cf; --acc-mist: #f6fbe6;
}
:root {
  --max: 1360px; --gut: 24px; --r: 10px; --r-lg: 18px;
  --ease: cubic-bezier(.2,.7,.1,1); --ease-io: cubic-bezier(.76,0,.24,1);
  --sans: 'Switzer', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; transition: background .4s; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--acc); color: var(--on-acc); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; }

/* ---------- type ---------- */
.h-xl { font-size: clamp(46px, 7vw, 116px); line-height: .95; letter-spacing: -.048em; font-weight: 400; }
.h-l { font-size: clamp(36px, 4.9vw, 78px); line-height: 1; letter-spacing: -.04em; font-weight: 400; }
.h-m { font-size: clamp(28px, 3.1vw, 48px); line-height: 1.06; letter-spacing: -.032em; font-weight: 400; }
.h-s { font-size: clamp(21px, 1.8vw, 27px); line-height: 1.22; letter-spacing: -.02em; font-weight: 400; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.small { font-size: 14px; color: var(--mute); }
em.g, .g { font-style: normal; color: var(--faint); }
.night em.g, .on-photo em.g { color: var(--night-faint); }
.acc-t { color: var(--acc-ink); }
.night .acc-t { color: var(--acc-night); }
.mono { font-family: var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--card) 55%, transparent); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--acc); }
.night .pill, .on-photo .pill { color: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.idx { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); }
.night .idx { color: var(--night-mute); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: stretch; height: 50px; border-radius: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; border: 0; padding: 0; background: none; isolation: isolate; }
.btn .t { display: inline-flex; align-items: center; padding: 0 22px; border-radius: 8px 0 0 8px; background: var(--ink); color: var(--paper); transition: background .3s; }
.btn .ar { width: 50px; display: grid; place-items: center; border-radius: 0 8px 8px 0; background: var(--acc); color: var(--on-acc); overflow: hidden; position: relative; }
.btn .ar svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn .ar svg + svg { position: absolute; transform: translateX(-36px); }
.btn:hover .ar svg:first-child { transform: translateX(36px); }
.btn:hover .ar svg + svg { transform: none; }
.btn:hover .t { background: var(--ink-2); }
.btn.line .t { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.line .ar { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); margin-left: -1px; }
.btn.line:hover .t { background: var(--card); }
.night .btn .t, .on-photo .btn .t { background: #fff; color: #0b0c0f; }
.night .btn.line .t, .on-photo .btn.line .t { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.night .btn.line .ar, .on-photo .btn.line .ar { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.btn.sm { height: 40px; font-size: 11.5px; }
.btn.sm .t { padding: 0 16px; }
.btn.sm .ar { width: 40px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.tlink svg { width: 14px; height: 14px; transition: transform .35s var(--ease); color: var(--acc-ink); }
.tlink:hover svg { transform: translateX(4px); }
.night .tlink { color: #fff; }
.night .tlink svg { color: var(--acc-night); }

/* ---------- header ---------- */
.hd { position: fixed; z-index: 60; top: 12px; left: 0; right: 0; pointer-events: none; transition: transform .5s var(--ease); }
.hd.hide { transform: translateY(-110%); }
.hd-in { pointer-events: auto; display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 10px 0 18px; border-radius: 12px; background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent), 0 12px 40px -18px rgba(0,0,0,.25); transition: background .4s, color .4s, box-shadow .4s; }
.hd.dark .hd-in { background: rgba(10,11,16,.35); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; letter-spacing: -.03em; font-weight: 500; }
.logo svg { width: 19px; height: 23px; fill: currentColor; }
.logo svg path:last-child { fill: var(--acc); }
.hd.dark .btn .t { background: #fff; color: #0b0c0f; }
.hd.dark .logo svg path:last-child { fill: var(--acc-night); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > a, .nav-i > button { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; background: none; border: 0; cursor: pointer; transition: background .2s; }
.nav > a:hover, .nav-i > button:hover, .nav-i.open > button { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.hd.dark .nav > a:hover, .hd.dark .nav-i > button:hover, .hd.dark .nav-i.open > button { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"], .nav-i.cur > button { box-shadow: inset 0 -2px 0 var(--acc); border-radius: 8px 8px 2px 2px; }
.nav-i { position: relative; }
.nav-i > button svg { width: 10px; transition: transform .3s; }
.nav-i.open > button svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 12px); left: -8px; width: 380px; padding: 8px; border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent), 0 30px 60px -20px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .3s; }
.nav-i.open .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 12px; border-radius: 9px; transition: background .2s; }
.dd a:hover { background: var(--paper); }
.dd a .idx { grid-row: span 2; padding-top: 3px; }
.dd a b { font-weight: 500; font-size: 15px; }
.dd a span:last-child { font-size: 13px; color: var(--mute); line-height: 1.4; }
.dd a.ov { margin-top: 4px; background: var(--paper); }
.hd-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mb { display: none; width: 44px; height: 44px; border-radius: 8px; border: 0; background: none; cursor: pointer; }
.mb svg { width: 20px; margin: 0 auto; }
.mm { position: fixed; inset: 0; z-index: 70; background: var(--night); color: #fff; padding: 88px var(--gut) 40px; overflow: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.mm.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mm .x { position: absolute; top: 20px; right: var(--gut); width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 8px; cursor: pointer; color: #fff; }
.mm h4 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-mute); margin: 28px 0 10px; }
.mm a { display: block; font-size: 26px; letter-spacing: -.025em; padding: 6px 0; }

/* ---------- sections ---------- */
.sec { padding: 150px 0; position: relative; }
.sec.tight { padding: 100px 0; }
.sec + .sec.cont { padding-top: 0; }
.night { background: var(--night); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.night::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); }
.night::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 20%), color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%); opacity: .8; transition: opacity .6s; pointer-events: none; }
.night .lead { color: var(--night-mute); }
.sh { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; margin-bottom: 72px; align-items: end; }
.sh .pill { grid-column: 1 / -1; justify-self: start; }
.sh h2 { grid-column: 1 / span 8; }
.sh .lead { grid-column: 9 / span 4; }
.sh.c { text-align: center; justify-items: center; }
.sh.c .pill, .sh.c h2, .sh.c .lead { grid-column: 2 / span 10; justify-self: center; }
.sh.c .lead { margin: 0 auto; }

/* ---------- reveal ---------- */
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i) * 38ms); }
.js .split.in .w > span { transform: none; }
.js [data-ink] .w > span { color: var(--faint); transition: color .4s; }
.rm [data-r], .rm .split .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 1040px); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero.sub { min-height: min(88svh, 920px); }
.hero.wf { min-height: min(76svh, 800px); }
.hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.04); animation: hzoom 16s var(--ease) both; }
@keyframes hzoom { from { scale: 1.08; } to { scale: 1; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,10,.62) 0%, rgba(5,6,10,.15) 30%, rgba(5,6,10,.35) 60%, rgba(5,6,10,.92) 100%), linear-gradient(90deg, rgba(5,6,10,.55), transparent 60%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0); background-size: 26px 26px; mask-image: linear-gradient(180deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000); }
.hero .wrap { padding-top: 140px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.hero .hx { grid-column: 1 / span 7; }
.hero .crumb { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 22px; }
.hero .crumb a:hover { color: #fff; }
.hero .pill { margin-bottom: 26px; }
.hero h1 { max-width: 10em; font-size: clamp(44px, 6.1vw, 98px); }
.hero.plain h1 { font-size: clamp(46px, 7vw, 112px); }
.hero .lead { color: rgba(255,255,255,.8); margin-top: 28px; max-width: 31em; }
.hero .ctas { margin-top: 36px; }
.hero .side { grid-column: 9 / span 4; align-self: end; }
.hero.plain { min-height: auto; padding-bottom: 40px; align-items: stretch; }
.hero.plain::before { background: none; }
.hero.plain::after { mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.hero.plain .wrap { padding-top: 180px; padding-bottom: 40px; display: block; }
.hero.plain h1 { max-width: 12em; }

/* live feed: what drawgen did a moment ago */
.feed { position: relative; height: 252px; }
.feed .fi { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 28px 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(14,15,22,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.feed .fi i { grid-row: span 2; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-style: normal; font-size: 12px; }
.feed .fi i.f { background: var(--acc); color: var(--on-acc); }
.feed .fi b { font-weight: 500; font-size: 14px; line-height: 1.3; }
.feed .fi small { font-size: 12.5px; color: var(--night-mute); grid-column: 2; }
.feed .fi .tm { grid-row: span 2; align-self: start; font-family: var(--mono); font-size: 11px; color: var(--night-faint); }
.feed-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 12px; }
.feed-h .live { display: inline-flex; align-items: center; gap: 8px; }
.feed-h .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-night); box-shadow: 0 0 0 0 var(--glow); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- marquee ---------- */
.mq { border-block: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.mq .tr { display: flex; width: max-content; animation: mq 50s linear infinite; }
.mq span { display: inline-flex; align-items: center; gap: 26px; padding: 22px 13px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.mq span::after { content: ''; width: 7px; height: 7px; background: var(--acc); border-radius: 1px; }
@keyframes mq { to { transform: translateX(-50%); } }
.rm .mq .tr { animation: none; }

/* ---------- problem: a stream of paperwork and four statements on one thread ---------- */
.pb { text-align: center; overflow: hidden; }
.pb h2 { max-width: 12em; margin: 26px auto 0; }
/* mess to order: scattered paperwork straightens as you scroll, then a few documents send lines down to the mark */
.pbw { position: relative; }
.chaos { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; margin: 96px auto 0; --p: 0; }
.chaos .tile { position: relative; z-index: 2; flex: none; height: 46px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 calc((1 - var(--p)) * 18px) calc((1 - var(--p)) * 30px) -16px rgba(0,0,0,.28); display: flex; align-items: center; gap: 9px; padding: 0 13px; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--mute); white-space: nowrap;
  transform: translate(calc(var(--dx, 0px) * (1 - var(--p))), calc(var(--dy, 0px) * (1 - var(--p)))) rotate(calc(var(--r, 0deg) * (1 - var(--p)))); opacity: calc(.55 + var(--p) * .45); will-change: transform; transition: background .5s, color .5s, box-shadow .5s; }
.chaos .tile::before { content: ''; width: 16px; height: 20px; border-radius: 3px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.chaos .tile.lit { background: var(--acc); color: var(--on-acc); box-shadow: 0 16px 40px -14px var(--glow); }
.chaos .tile.lit::before { background: color-mix(in srgb, var(--on-acc) 30%, transparent); box-shadow: none; }
.thread { position: relative; max-width: 640px; margin: 0 auto; padding-top: 140px; }
.thread p { position: relative; z-index: 2; background: var(--paper); padding: 14px 18px; margin: 0 auto 110px; width: fit-content; max-width: 100%; border-radius: 10px; }
.thread .mark { position: relative; z-index: 2; width: 74px; height: 74px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .8s var(--ease), background .8s; }
.thread .mark svg { width: 34px; height: 42px; fill: var(--ink); }
.thread .mark svg path:last-child { fill: var(--acc); }
.pbw.lit .thread .mark { background: var(--night); box-shadow: 0 0 0 1px var(--acc), 0 0 0 10px color-mix(in srgb, var(--acc) 12%, transparent), 0 30px 70px -20px var(--glow); animation: beacon 2.4s var(--ease) infinite; }
.pbw.lit .thread .mark svg { fill: #fff; }
@keyframes beacon { 50% { box-shadow: 0 0 0 1px var(--acc), 0 0 0 22px transparent, 0 30px 70px -20px var(--glow); } }

/* ---------- cards ---------- */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); }
.night .card { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }

/* workflow cards with a photo */
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.wcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 40px 60px -30px rgba(0,0,0,.35); }
.wcard .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.wcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wcard:hover .ph img { transform: scale(1.05); }
.wcard .tx { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wcard .tx p { color: var(--mute); font-size: 15.5px; }
.wcard .tx .tlink { margin-top: auto; padding-top: 14px; }
.wcard.later { background: transparent; box-shadow: inset 0 0 0 1px var(--line); border: 1px dashed var(--line); }

/* two industries */
.ind2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ind { position: relative; min-height: 640px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.ind img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ind::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,6,10,.15), rgba(5,6,10,.85)); }
.ind:hover img { transform: scale(1.04); }
.ind .pill { position: absolute; top: 28px; left: 28px; }
.ind h3 { margin-bottom: 10px; }
.ind p { color: rgba(255,255,255,.78); max-width: 26em; }
.ind ul { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.ind li { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 15px; }
.ind li a { display: flex; justify-content: space-between; width: 100%; }
.ind li a:hover { color: var(--acc-night); }
.ind li .idx { color: rgba(255,255,255,.55); }

/* three-step cards */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 > div { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); }
.steps3 .idx { display: block; margin-bottom: 56px; }
.steps3 h3 { margin-bottom: 10px; }
.steps3 p { color: var(--mute); font-size: 15.5px; }
.night .steps3 > div { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.night .steps3 p { color: var(--night-mute); }

/* bento: people decide */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento .b { grid-column: span 4; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); display: flex; flex-direction: column; gap: 10px; min-height: 360px; }
.bento .b.w { grid-column: span 8; }
.bento .b .viz { flex: 1; display: grid; place-items: center; margin: 4px 0 18px; min-height: 150px; border-radius: 12px; background: var(--paper); position: relative; overflow: hidden; }
.bento .b p { color: var(--mute); font-size: 15.5px; }
.vz-price { width: 78%; display: grid; gap: 10px; }
.vz-price .r { display: flex; justify-content: space-between; font-size: 13px; color: var(--mute); padding: 8px 0; border-bottom: 1px solid var(--line); }
.vz-price .sp { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 9px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--acc); font-size: 14px; }
.vz-price .sp b { font-weight: 500; font-size: 18px; }
.vz-db { display: flex; gap: 14px; align-items: flex-end; }
.vz-db span { width: 54px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.vz-db span.me { background: var(--acc); color: var(--on-acc); box-shadow: 0 16px 30px -12px var(--glow); }
.vz-src { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px; max-width: 520px; }

/* sourced facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); display: flex; flex-direction: column; gap: 14px; }
.fact .n { font-size: clamp(54px, 6vw, 92px); letter-spacing: -.05em; line-height: .95; }
.fact .n small { font-size: .38em; letter-spacing: -.02em; color: var(--mute); margin-left: 6px; }
.fact p { color: var(--ink-2); font-size: 15.5px; }
.fact .src { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.fact .src a { text-decoration: underline; text-underline-offset: 3px; }

/* a feature: text beside an animated illustration */
.feat { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.feat + .feat { margin-top: 120px; }
.feat .tx { grid-column: 1 / span 4; }
.feat .vs { grid-column: 6 / span 7; }
.feat.rev .tx { grid-column: 9 / span 4; grid-row: 1; }
.feat.rev .vs { grid-column: 1 / span 7; grid-row: 1; }
.feat .tx .pill { margin-bottom: 22px; }
.feat .tx h3 { margin-bottom: 16px; }
.feat .tx > p { color: var(--ink-2); }
.feat .tx ul { margin-top: 24px; border-top: 1px solid var(--line); }
.feat .tx li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 12px; }
.feat .tx li::before { content: ''; width: 6px; height: 6px; margin-top: 9px; flex: none; border-radius: 1px; background: var(--acc); }
.night .feat .tx > p { color: var(--night-mute); }
.night .feat .tx ul, .night .feat .tx li { border-color: var(--night-line); }

/* the stage an illustration sits on */
.stage { position: relative; border-radius: var(--r-lg); background: var(--paper-2); padding: 48px 36px; overflow: hidden; isolation: isolate; display: grid; place-items: center; min-height: 460px; }
.stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 0); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }
.night .stage { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.night .stage::before { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); }
.scene { width: 100%; max-width: 560px; color: var(--ink); }

/* ---------- illustration parts ---------- */
.scene [data-a] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.scene [data-a].on { opacity: 1; transform: none; }
.rm .scene [data-a] { opacity: 1; transform: none; }
.win { background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px rgba(11,13,20,.06), 0 1px 2px rgba(11,13,20,.04), 0 26px 50px -26px rgba(11,13,20,.28); font-size: 13.5px; overflow: hidden; }
.win-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--mute); }
.win-h b { color: var(--ink); font-weight: 500; }
.win-h .chip, .win-h .when { margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; white-space: nowrap; background: var(--acc-soft); color: var(--acc-ink); }
.chip.g { background: var(--paper); color: var(--mute); }
.chip.dash { background: transparent; color: var(--ink-2); outline: 1px dashed var(--faint); outline-offset: -1px; }
.chip.k { background: var(--ink); color: var(--paper); }
.chip.a { background: var(--acc); color: var(--on-acc); }
.approve { height: 32px; padding: 0 12px; border-radius: 7px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: transform .18s, background .3s; white-space: nowrap; }
.approve.done { background: var(--acc); color: var(--on-acc); }
.approve.press { transform: scale(.94); }
.approve .b { display: none; }
.approve.done .a { display: none; }
.approve.done .b { display: inline-flex; align-items: center; gap: 6px; }
.approve svg { width: 10px; height: 10px; }
.job { display: grid; gap: 12px; }
.job .doc { padding: 14px 16px 16px; }
.job .doc .win-h { padding: 0 0 10px; margin-bottom: 10px; }
.job .doc p { line-height: 1.5; color: var(--ink-2); }
.job ul.win { padding: 4px 16px; }
.job li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.job li:last-child { border-bottom: 0; }
.job li i { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; background: var(--acc-soft); color: var(--acc-ink); }
.job li i svg { width: 10px; height: 10px; }
.job li.fl { color: var(--acc-ink); }
.job li.fl i { background: var(--acc); color: var(--on-acc); }
.job li span { margin-left: auto; color: var(--mute); font-size: 12.5px; text-align: right; }
.job li.fl span { color: var(--acc-ink); font-weight: 500; }
.job .ok { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; color: var(--mute); font-size: 13px; }
.lines .row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); align-items: center; }
.lines .row:last-child { border-bottom: 0; }
.lines .row .v { font-weight: 500; font-variant-numeric: tabular-nums; }
.lines .row .srcs { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.lines .row.open { background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--ink) 3%, transparent) 8px 9px); }
.lines .row.open .v { font-weight: 400; color: var(--mute); }
.lines .row.tot { background: var(--paper); }
.lines .row.tot .v { font-size: 18px; }
.lines .row small { display: block; font-size: 12px; color: var(--mute); }
.tbl .row { display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr 26px; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.tbl .row > span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .row.h { font-size: 11.5px; color: var(--mute); padding-block: 10px 8px; font-family: var(--mono); letter-spacing: .03em; }
.tbl .row.flag { background: var(--acc-mist); }
.tbl .row .ok { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc-ink); font-weight: 600; font-size: 11px; justify-self: end; }
.tbl .row .ok svg { width: 10px; height: 10px; }
.tbl .row.flag .ok { background: var(--acc); color: var(--on-acc); }
.tbl .row.flag .d { color: var(--acc-ink); font-weight: 500; }
.note { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; margin-top: 12px; }
.note .t small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 2px; }
.enq { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: start; }
.enq .mail .body { padding: 14px 16px; line-height: 1.6; color: var(--ink-2); }
.enq .mail .body p + p { margin-top: 8px; }
.hl { background-image: linear-gradient(var(--acc-soft), var(--acc-soft)); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .8s var(--ease); border-radius: 3px; }
.hl.on { background-size: 100% 100%; }
.rm .hl { background-size: 100% 100%; }
.scene .hl[data-a] { opacity: 1; transform: none; }
.req ul { padding: 4px 16px; }
.req li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.req li:last-child { border-bottom: 0; }
.req li .k { color: var(--mute); }
.req li .v { font-weight: 500; text-align: right; }
.found { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-top: 12px; font-size: 13px; }
.found b { color: var(--acc-ink); font-weight: 600; }
.qdoc { padding: 26px 26px 22px; width: 100%; max-width: 440px; margin: 0 auto; position: relative; }
.qdoc .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.qdoc .top .s { font-size: 12px; color: var(--mute); display: block; }
.qdoc .top b { font-weight: 500; font-size: 15px; }
.qdoc .l { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.qdoc .l.est { color: var(--acc-ink); }
.qdoc .sum { display: flex; justify-content: space-between; padding: 12px 0 0; font-weight: 500; }
.qdoc .price { margin-top: 16px; padding: 14px; border-radius: 9px; background: var(--paper); }
.qdoc .price .k { font-size: 12px; color: var(--mute); }
.qdoc .price .v { font-size: 26px; letter-spacing: -.03em; min-height: 1.2em; }
.qdoc .sig { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12.5px; color: var(--mute); }
.qdoc .sig svg { width: 110px; height: 30px; color: var(--acc-ink); }
.qdoc .stamp { position: absolute; top: -10px; right: -10px; }
.caret { display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bars { padding: 16px; }
.bars .b { display: grid; grid-template-columns: 130px 1fr 48px; gap: 12px; align-items: center; padding: 7px 0; font-size: 12.5px; }
.bars .tr { position: relative; height: 18px; }
.bars .tr i { position: absolute; left: 0; height: 7px; border-radius: 4px; width: 0; transition: width 1s var(--ease); }
.bars .tr i.q { top: 0; background: var(--line); }
.bars .tr i.a { bottom: 0; background: var(--ink-2); }
.bars .b.over .tr i.a { background: var(--acc); }
.bars .b .d { text-align: right; font-variant-numeric: tabular-nums; color: var(--mute); }
.bars .b.over .d { color: var(--acc-ink); font-weight: 600; }
.bars .leg { display: flex; gap: 16px; margin-top: 10px; font-size: 11.5px; color: var(--mute); }
.bars .leg i { display: inline-block; width: 10px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.kv { padding: 4px 16px; }
.kv li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.kv li:last-child { border-bottom: 0; }
.kv li small { color: var(--mute); font-size: 12px; }
.kv li span { text-align: right; }
.stack { display: grid; gap: 12px; }

/* ---------- tabs ---------- */
.tabs .tl { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.tabs .tl button { position: relative; text-align: left; padding: 20px 20px 22px 0; font-size: 18px; letter-spacing: -.01em; color: var(--mute); background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; transition: color .3s; }
.tabs .tl button small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); padding-top: 4px; }
.tabs .tl button::after { content: ''; position: absolute; left: 0; right: 20px; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.tabs .tl button[aria-selected="true"] { color: var(--ink); }
.tabs .tl button[aria-selected="true"]::after { transform: scaleX(1); transition: transform var(--dur, 9s) linear; }
.tabs.held .tl button[aria-selected="true"]::after, .rm .tabs .tl button[aria-selected="true"]::after { transition: none; }
.tabs .tp { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; margin-top: 56px; }
.tabs .tp[hidden] { display: none; }
.tabs .tp .tx { grid-column: 1 / span 4; }
.tabs .tp .tx h3 { margin-bottom: 16px; }
.tabs .tp .tx > p { color: var(--ink-2); }
.tabs .tp .ex { margin-top: 26px; border-top: 1px solid var(--line); }
.tabs .tp .ex a { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: color .2s; }
.tabs .tp .ex a b { flex: none; width: 116px; font-weight: 400; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.tabs .tp .ex a:hover { color: var(--acc-ink); }
.tabs .tp .vs { grid-column: 6 / span 7; }

/* built-for: a vertical list of trades with a panel */
.bf { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.bf .tl { grid-column: 1 / span 4; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.bf .tl button { text-align: left; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; display: flex; gap: 18px; align-items: center; font-size: 21px; letter-spacing: -.02em; color: var(--mute); transition: color .3s, padding .4s var(--ease); }
.bf .tl button .idx { width: 28px; }
.bf .tl button[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.bf .tl button[aria-selected="true"] .idx { color: var(--acc-ink); }
.bf .tp { grid-column: 6 / span 7; }
.bf .tp[hidden] { display: none; }
.bf .panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf .panel .ph { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.bf .panel .ph img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bf .panel .ph::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5,6,10,.85)); }
.bf .panel .ph p { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 10px; }
.bf .panel .stage { min-height: 420px; padding: 24px 18px; }

/* sticky story: the step in view drives the picture */
.story { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.story .steps { grid-column: 1 / span 5; }
.story .st { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .5s; }
.story .st.on { opacity: 1; }
.story .st .idx { margin-bottom: 20px; }
.story .st h3 { margin-bottom: 14px; }
.story .st p { color: var(--ink-2); max-width: 28em; }
.story .st .mob { display: none; }
.story .pin { grid-column: 7 / span 6; position: relative; }
.story .pin .stick { position: sticky; top: max(11vh, 88px); height: min(80vh, 780px); }
.story .pin .lines .row { padding: 8px 14px; gap: 4px 14px; }
.story .pin .scene { font-size: 13px; }
.story .pin .note { padding: 10px 14px; }
.story .pin .stage { position: absolute; inset: 0; }
.story .pin .scene { position: absolute; inset: 28px 28px; max-width: none; width: auto; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.story .pin .scene > * { width: 100%; max-width: 520px; }
.story .pin .scene.cur { opacity: 1; visibility: visible; transition-delay: 0s; }
.story .rail { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; z-index: 3; }
.story .rail i { width: 4px; height: 22px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 12%, transparent); transition: background .4s, height .4s var(--ease); }
.story .rail i.cur { background: var(--acc); height: 40px; }

/* pipeline in the how-it-works hero */
.pipe { position: relative; margin-top: 88px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.pipe::before { content: ''; position: absolute; left: 10%; right: 10%; top: 31px; height: 1px; background: rgba(255,255,255,.16); }
.pipe .pulse { position: absolute; top: 28px; left: 10%; width: 60px; height: 7px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--acc-night)); box-shadow: 0 0 18px var(--acc-night); animation: pulse 4.5s var(--ease-io) infinite; }
@keyframes pulse { from { left: 10%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { left: calc(90% - 60px); opacity: 0; } }
.rm .pipe .pulse { display: none; }
.pipe .n { position: relative; text-align: center; padding: 0 10px; }
.pipe .n .o { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-family: var(--mono); font-size: 12px; color: var(--night-mute); transition: background .4s, color .4s, box-shadow .4s; }
.pipe .n.lit .o { background: var(--acc); color: var(--on-acc); box-shadow: 0 0 40px -6px var(--acc-night); }
.pipe .n b { display: block; font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.pipe .n small { display: block; color: var(--night-mute); font-size: 13.5px; margin-top: 4px; }

/* works with what you use */
.fm { display: grid; grid-template-columns: 1fr 120px 1.1fr 120px 1fr 120px 1fr; align-items: center; }
.fm .col { display: grid; gap: 10px; }
.fm .col > span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 4px; }
.fm .it { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 9px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); font-size: 15px; }
.fm .it::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.25); }
.fm .core { padding: 28px 22px; border-radius: 14px; background: var(--acc); color: var(--on-acc); text-align: center; box-shadow: 0 30px 80px -30px var(--glow); }
.fm .core svg { width: 32px; height: 40px; fill: currentColor; margin: 0 auto 14px; display: block; }
.fm .core b { display: block; font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.fm .core small { display: block; margin-top: 8px; font-size: 13px; opacity: .78; line-height: 1.45; }
.fm .who { padding: 24px 20px; border-radius: 14px; background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); text-align: center; }
.fm .who b { display: block; font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.fm .who small { display: block; margin-top: 8px; font-size: 13px; color: var(--night-mute); line-height: 1.45; }
.fm .wire { height: 1px; }
.fm .wire i { position: absolute; top: -2px; left: 0; width: 18px; height: 5px; border-radius: 3px; background: var(--acc-night); box-shadow: 0 0 10px var(--acc-night); animation: run 2.6s var(--ease) infinite; animation-delay: var(--w, 0s); }
@keyframes run { from { transform: translateX(-20px); opacity: 0; } 20%, 80% { opacity: 1; } to { transform: translateX(64px); opacity: 0; } }
.rm .fm .wire i { animation: none; opacity: 0; }

/* one record, four versions */
.rec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.rec > div { padding: 26px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); position: relative; }
.rec > div::after { content: ''; position: absolute; top: 38px; right: -17px; width: 18px; height: 1px; background: var(--acc); }
.rec > div:last-child::after { display: none; }
.rec .idx { display: block; margin-bottom: 40px; }
.rec h3 { margin-bottom: 10px; }
.rec p { color: var(--mute); font-size: 15px; }
.rec .ex { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }

/* evidence: one number and where it came from */
.evi { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px 96px; align-items: center; }
.evi .col { display: grid; gap: 12px; }
.evi .src { padding: 16px 18px; }
.evi .src .k { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.evi .src p { font-size: 14px; line-height: 1.4; }
.evi .src .qa { display: flex; gap: 14px; margin-top: 8px; font-size: 12.5px; color: var(--mute); }
.evi .src .qa b { color: var(--ink); font-weight: 500; }
.evi .src.gap { background: transparent; box-shadow: none; outline: 1px dashed var(--faint); outline-offset: -1px; }
.evi .core { padding: 26px; text-align: left; box-shadow: 0 0 0 2px var(--acc), 0 40px 80px -30px var(--glow); }
.evi .core .big { font-size: 46px; letter-spacing: -.04em; margin: 8px 0 6px; }
.evi .core .rng { font-size: 14px; color: var(--mute); }
.evi .spread { position: relative; height: 34px; margin-top: 18px; }
.evi .spread .ax { position: absolute; left: 0; right: 0; top: 16px; height: 1px; background: var(--line); }
.evi .spread .band { position: absolute; top: 10px; height: 13px; border-radius: 7px; background: var(--acc-soft); }
.evi .spread i { position: absolute; top: 11px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink-2); }
.evi .spread i.est { background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }

/* ---------- offers ---------- */
.offer { position: relative; overflow: hidden; }
.offer .bgp { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.offer .bgp img { width: 100%; height: 100%; object-fit: cover; }
.offer h2 { max-width: 13em; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.offers.one { grid-template-columns: 1fr; }
.of { padding: 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 14px; }
.of h3 { max-width: 18em; }
.of .pill { align-self: flex-start; }
.of p { color: var(--night-mute); }
.of ol { margin: 6px 0 10px; border-top: 1px solid var(--night-line); counter-reset: s; }
.of li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 15px; }
.of li::before { counter-increment: s; content: '0' counter(s); font-family: var(--mono); font-size: 12px; color: var(--acc-night); padding-top: 3px; }
.of li small { display: block; color: var(--night-mute); font-size: 14px; margin-top: 3px; }
.of .btn { margin-top: auto; align-self: flex-start; }
.offers.one .of { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 48px; }
.offers.one .of .l { display: flex; flex-direction: column; gap: 14px; }
.offers.one .of ol { margin: 0; }

/* next page */
.next { display: block; position: relative; overflow: hidden; border-top: 1px solid var(--line); isolation: isolate; }
.next::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-io); }
.next:hover::before { transform: scaleY(1); }
.next .wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 72px; transition: color .5s; }
.next:hover .wrap { color: var(--on-acc); }
.next .idx { display: block; margin-bottom: 16px; transition: color .5s; }
.next:hover .idx { color: var(--on-acc); opacity: .8; }
.next .h-l { transition: transform .7s var(--ease); }
.next:hover .h-l { transform: translateX(14px); }
.next .go { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .5s, box-shadow .5s, transform .7s var(--ease); }
.next .go svg { width: 28px; height: 28px; }
.next:hover .go { background: var(--on-acc); color: var(--acc); box-shadow: none; transform: rotate(-45deg); }

/* ---------- start page ---------- */
.startg { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.startg .l { grid-column: 1 / span 5; }
.startg .r { grid-column: 7 / span 6; }
.nextsteps { margin-top: 40px; border-top: 1px solid var(--line); }
.nextsteps li { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.form { padding: 32px; }
.form h2 { margin-bottom: 8px; }
.form .hint { color: var(--mute); font-size: 15px; }
.form .offer-line { margin-top: 14px; }
.form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 22px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.form label.w { grid-column: 1 / -1; }
.form input, .form textarea, .form select { font: inherit; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper); border: 0; border-radius: 9px; padding: 13px 14px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--acc); }
.form .err input, .form .err textarea { box-shadow: inset 0 0 0 2px #d33; }
.form .fail { color: #c22; font-size: 14px; margin-top: 12px; }
.form .done { text-align: center; padding: 40px 0; }
.form .done svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--acc-ink); }
.sendlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.sendlist li { display: grid; grid-template-columns: 36px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sendlist li .idx { padding-top: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two > .card { padding: 32px; }
.two > .card h3 { margin: 18px 0 10px; }
.two > .card > p { color: var(--mute); }

/* talk overlay */
.talk { position: fixed; inset: 0; z-index: 80; background: color-mix(in srgb, var(--night) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.talk.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.talk .form { width: 100%; max-width: 620px; max-height: calc(100svh - 40px); overflow: auto; transform: translateY(24px) scale(.98); transition: transform .6s var(--ease); position: relative; }
.talk.open .form { transform: none; }
.talk .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 8px; border: 0; background: var(--paper); cursor: pointer; }
body.lock { overflow: hidden; }

/* ---------- footer ---------- */
.ft { background: var(--night); color: #fff; padding: 110px 0 0; overflow: hidden; position: relative; isolation: isolate; }
.ft .top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-bottom: 80px; border-bottom: 1px solid var(--night-line); }
.ft .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; padding: 56px 0; }
.ft .cols h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 16px; }
.ft .cols li { padding: 4px 0; font-size: 15px; }
.ft .cols li a:hover { color: var(--acc-night); }
.ft .cols .about { color: var(--night-mute); font-size: 14.5px; max-width: 22em; display: grid; gap: 8px; }
.ft .word { font-size: clamp(90px, 22vw, 360px); letter-spacing: -.07em; line-height: .78; font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); margin-bottom: -.06em; white-space: nowrap; user-select: none; }
.ft .word span { background: linear-gradient(90deg, var(--acc-night), transparent 70%); -webkit-background-clip: text; background-clip: text; }

/* ---------- colourway switcher (draft only) ---------- */
.themer { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 20px 40px -18px rgba(0,0,0,.35); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.themer button { width: 28px; height: 28px; border-radius: 7px; border: 0; cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.themer button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.themer .dr { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav > a, .nav-i > button { padding: 0 9px; font-size: 14px; }
  .fm { grid-template-columns: 1fr 70px 1.1fr 70px 1fr 70px 1fr; }
  @keyframes run { from { transform: translateX(-20px); opacity: 0; } 20%, 80% { opacity: 1; } to { transform: translateX(40px); opacity: 0; } }
}
@media (max-width: 960px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .sec { padding: 96px 0; }
  .nav, .hd-r .btn { display: none; }
  .mb { display: grid; place-items: center; }
  .hd { top: 8px; }
  .hd-in { height: 56px; }
  .hero .wrap { padding-bottom: 40px; }
  .hero .hx, .hero .side { grid-column: 1 / -1; }
  .hero .side { margin-top: 40px; }
  .feed { height: 200px; }
  .sh { margin-bottom: 48px; }
  .sh h2, .sh .lead { grid-column: 1 / -1; }
  .wcards, .steps3, .facts, .ind2, .offers, .two { grid-template-columns: 1fr; }
  .ind { min-height: 520px; padding: 24px; }
  .bento .b, .bento .b.w { grid-column: 1 / -1; min-height: 0; }
  .feat .tx, .feat .vs, .feat.rev .tx, .feat.rev .vs { grid-column: 1 / -1; grid-row: auto; }
  .feat .vs { margin-top: 36px; }
  .feat + .feat { margin-top: 80px; }
  .stage { padding: 28px 14px; min-height: 0; }
  .enq { grid-template-columns: 1fr; }
  .tabs .tl { grid-template-columns: 1fr 1fr; }
  .tabs .tl button { font-size: 16px; }
  .tabs .tp .tx, .tabs .tp .vs { grid-column: 1 / -1; }
  .tabs .tp .vs { margin-top: 32px; }
  .bf .tl, .bf .tp { grid-column: 1 / -1; }
  .bf .tl { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; margin-bottom: 20px; scrollbar-width: none; }
  .bf .tl button { flex: none; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
  .bf .tl button[aria-selected="true"] { padding-left: 14px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .bf .tl button[aria-selected="true"] .idx { color: var(--acc-night); }
  .bf .panel { grid-template-columns: 1fr; }
  .bf .panel .ph { min-height: 280px; }
  .bf .panel .stage { min-height: 0; }
  .story .steps { grid-column: 1 / -1; }
  .story .pin { display: none; }
  .story .st { min-height: 0; opacity: 1; padding: 48px 0; }
  .story .st .mob { display: block; margin-top: 28px; }
  .story .st .mob .stage { min-height: 0; }
  .pipe { grid-template-columns: 1fr; gap: 18px; margin-top: 56px; }
  .pipe::before, .pipe .pulse { display: none; }
  .pipe .n { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; text-align: left; padding: 0; align-items: center; }
  .pipe .n .o { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .fm { grid-template-columns: 1fr; }
  .fm .wire { width: 1px; height: 48px; margin: 0 auto; }
  .fm .wire i { width: 5px; height: 14px; left: -2px; top: 0; animation-name: runv; }
  @keyframes runv { from { transform: translateY(-16px); opacity: 0; } 20%, 80% { opacity: 1; } to { transform: translateY(40px); opacity: 0; } }
  .fm .col { grid-template-columns: 1fr 1fr; }
  .fm .col > span { grid-column: 1 / -1; }
  .rec { grid-template-columns: 1fr 1fr; }
  .rec > div::after { display: none; }
  .evi { grid-template-columns: 1fr; gap: 48px; }
  .offers.one .of { grid-template-columns: 1fr; row-gap: 20px; }
  .next .wrap { padding-top: 48px; padding-bottom: 48px; }
  .next .go { width: 60px; height: 60px; }
  .startg .l, .startg .r { grid-column: 1 / -1; }
  .startg .r { margin-top: 40px; }
  .form { padding: 22px; }
  .form .fields { grid-template-columns: 1fr; }
  .sendlist { grid-template-columns: 1fr; }
  .ft .top { grid-template-columns: 1fr; }
  .ft .cols { grid-template-columns: 1fr 1fr; }
  .ft .cols > div:first-child { grid-column: 1 / -1; }
  .themer { right: 10px; bottom: 10px; padding: 6px 6px 6px 10px; }
  .themer .lbl { display: none; }
}
@media (max-width: 560px) {
  .rec { grid-template-columns: 1fr; }
  .tbl .row { grid-template-columns: 1.3fr .8fr .8fr 24px; }
  .tbl .row > span:nth-child(3) { display: none; }
  .bars .b { grid-template-columns: 96px 1fr 40px; }
  .lines .row { padding: 10px 12px; }
  .ctas .btn { flex: 1 1 auto; }
  .ctas .btn .t { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.night .form.card { background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.night .form.card .lead, .night .form.card .hint { color: var(--mute); }
.form .btn .t, .night .form .btn .t { background: var(--ink); color: var(--paper); }
@media (max-width: 960px) { .hero::before { background: linear-gradient(180deg, rgba(5,6,10,.6) 0%, rgba(5,6,10,.45) 35%, rgba(5,6,10,.7) 60%, rgba(5,6,10,.94) 100%); } }

/* ---------- connections: curved lines with dots flowing along them ---------- */
[data-wires] { position: relative; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.wires .base { fill: none; stroke: var(--line); stroke-width: 1.2; }
.wires .draw { fill: none; stroke: var(--acc); stroke-width: 1.4; stroke-linecap: round; opacity: .85; }
.wires .dot { fill: var(--acc); }
.wires .halo { fill: var(--acc); opacity: .22; }
.night .wires .base { stroke: rgba(255,255,255,.12); }
.night .wires .draw { stroke: var(--acc-night); }
.night .wires .dot, .night .wires .halo { fill: var(--acc-night); }
[data-wires] > :not(.wires) { position: relative; z-index: 2; }
.bus { display: flex; justify-content: center; margin-bottom: 72px; }
.bus .node { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 10px; border-radius: 12px; background: var(--night); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 0 0 1px var(--acc), 0 20px 50px -20px var(--glow); }
.bus .node svg { width: 18px; height: 22px; fill: #fff; }
.bus .node svg path:last-child { fill: var(--acc-night); }
.job ul.win li { position: relative; }
.job ul.win li:not(:last-child)::after { content: ''; position: absolute; left: 10px; top: 32px; height: calc(100% - 22px); width: 1px; background: var(--line); }
.job ul.win li.on:not(:last-child)::after { background: linear-gradient(var(--acc), var(--line)); }

/* ---------- living network behind the heroes ---------- */
.hero canvas.net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 35%, #000 70%); opacity: .9; }
.hero.plain canvas.net { mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }

/* ---------- transitions ---------- */
.hero .wrap { opacity: calc(1 - var(--hp, 0) * 1.25); transform: translate3d(0, calc(var(--hp, 0) * -70px), 0); }
main > .hero + * { position: relative; z-index: 3; margin-top: -28px; border-radius: 28px 28px 0 0; background: var(--paper); }
main > .hero + .mq { border-top: 0; box-shadow: 0 -1px 0 var(--line); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.hd { view-transition-name: hd; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
@media (max-width: 960px) { .chaos { gap: 8px; margin-top: 64px; } .chaos .tile { height: 40px; font-size: 10px; padding: 0 10px; } .thread p { margin-bottom: 80px; } main > .hero + * { margin-top: -20px; border-radius: 20px 20px 0 0; } }

/* ---------- simple home page ---------- */
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 88px; }
.fs { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 5%, transparent); display: flex; flex-direction: column; gap: 10px; }
.fs .fv { height: 120px; margin-bottom: 18px; border-radius: 12px; background: var(--paper); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 12px; }
.fs .fv .chip { height: 28px; padding: 0 12px; font-size: 12.5px; }
.fs .fv .mk { width: 56px; height: 56px; border-radius: 14px; background: var(--night); display: grid; place-items: center; box-shadow: 0 16px 36px -14px var(--glow); }
.fs .fv .mk svg { width: 24px; height: 30px; fill: #fff; }
.fs .fv .mk svg path:last-child { fill: var(--acc-night); }
.fs .fv .approve { height: 36px; padding: 0 14px; font-size: 13px; }
.fs p { color: var(--mute); font-size: 15.5px; }
.ind.sm { min-height: 460px; gap: 8px; }
.ind.sm .tlink { margin-top: 14px; color: #fff; }
.ind.sm .tlink svg { color: var(--acc-night); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.promise > div { padding-top: 24px; display: grid; gap: 8px; }
.promise .idx { color: var(--ink); font-size: 12.5px; }
.promise p { color: var(--mute); font-size: 15.5px; max-width: 26em; }
.cta-s { text-align: center; }
.cta-s h2 { max-width: 12em; margin: 0 auto; }
.cta-s .lead { margin: 22px auto 0; }
.cta-s .ctas { justify-content: center; margin-top: 34px; }
@media (max-width: 960px) {
  .flow3 { grid-template-columns: 1fr; gap: 40px; }
  .promise { grid-template-columns: 1fr; gap: 0; }
  .ind.sm { min-height: 380px; }
}

/* =====================================================================
   Ovarko: charcoal and cream, Geist Mono headlines, bracket corners,
   square edges, photos in black and white. This layer sits on top of the shared system.
   ===================================================================== */
html, html[data-theme="electric"], html[data-theme="signal"], html[data-theme="acid"] {
  --paper: #efe9dc; --paper-2: #e6dfd0; --card: #f7f3ea; --cream: #e8e1d3;
  --ink: #121212; --ink-2: #2a2a2a; --mute: #5b5f63; --faint: #9a9488; --line: #d6cdbb; --line-2: #e3dbca;
  --night: #121212; --night-2: #1a1c1f; --night-line: rgba(232,225,211,.13); --night-mute: rgba(232,225,211,.66); --night-faint: rgba(232,225,211,.38);
  --acc: #143457; --acc-ink: #143457; --on-acc: #efe9dc; --acc-night: #ffe600; --acc-soft: #dfe4ea; --acc-mist: #eef0f1; --glow: rgba(20,52,87,.3);
  --r: 2px; --r-lg: 4px;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --bk: 10px;
}
body { font-size: 16.5px; }
.night, .hero, .ft { color: var(--cream); }
.h-xl, .h-l, .h-m, .h-s { font-family: var(--mono); font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.h-xl { font-size: clamp(38px, 5.2vw, 80px); line-height: 1.02; }
.h-l { font-size: clamp(30px, 3.7vw, 56px); line-height: 1.06; }
.h-m { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.h-s { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.hero h1, .hero.plain h1 { font-size: clamp(38px, 5vw, 78px); max-width: 13em; }
em.g, .g { color: var(--faint); }
.night em.g, .on-photo em.g { color: rgba(232,225,211,.42); }

/* corner brackets: buttons, cards and bracketed words */
.bk, .btn, .fs, .steps3 > div, .fact, .of, .stg .keep, .ct-card {
  --c: currentColor;
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-repeat: no-repeat;
  background-size: var(--bk) 1px, 1px var(--bk), var(--bk) 1px, 1px var(--bk), var(--bk) 1px, 1px var(--bk), var(--bk) 1px, 1px var(--bk);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
}
.bk { --bk: .26em; padding: 0 .16em; margin: 0 .04em; background-size: var(--bk) 2px, 2px var(--bk), var(--bk) 2px, 2px var(--bk), var(--bk) 2px, 2px var(--bk), var(--bk) 2px, 2px var(--bk); }
.fs, .steps3 > div, .fact, .of, .stg .keep, .ct-card { --c: var(--ink); background-color: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 0; }
.night .of, .night .stg .keep, .night .ct-card { --c: var(--cream); background-color: rgba(232,225,211,.03); box-shadow: inset 0 0 0 1px var(--night-line); }

/* buttons: text between corner brackets */
.btn { height: 48px; border-radius: 0; color: var(--ink); background-color: transparent; transition: background-color .25s; }
.btn .t, .btn.line .t, .night .btn .t, .on-photo .btn .t, .night .btn.line .t, .on-photo .btn.line .t, .hd.dark .btn .t, .form .btn .t, .night .form .btn .t { background: transparent; color: inherit; box-shadow: none; border-radius: 0; padding: 0 6px 0 24px; backdrop-filter: none; font-weight: 500; letter-spacing: .1em; }
.btn .ar, .btn.line .ar, .night .btn.line .ar, .on-photo .btn.line .ar { background: transparent; color: inherit; box-shadow: none; border-radius: 0; width: 40px; margin: 0; }
.btn:hover { background-color: color-mix(in srgb, currentColor 7%, transparent); }
.btn:hover .t { background: transparent; }
.btn.line { color: var(--mute); }
.night .btn, .on-photo .btn, .hd .btn { color: var(--cream); }
.night .btn.line, .on-photo .btn.line { color: var(--night-mute); }
.form .btn, .night .form .btn { color: var(--ink); }
.btn.sm { height: 40px; }
.btn.sm .t { padding: 0 4px 0 16px; }
.tlink { letter-spacing: .1em; }

/* labels: plain mono, no box */
.pill { height: auto; padding: 0; box-shadow: none; background: none; color: var(--mute); font-size: 11.5px; letter-spacing: .14em; }
.pill::before { border-radius: 0; background: var(--acc); }
.night .pill, .on-photo .pill { color: var(--night-mute); box-shadow: none; background: none; }
.night .pill::before, .on-photo .pill::before { background: var(--acc-night); }

/* header: charcoal bar across the top */
.hd { top: 0; }
.hd .wrap { max-width: none; padding: 0; }
.hd-in, .hd.dark .hd-in { height: 68px; padding: 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); border-radius: 0; background: rgba(18,18,18,.9); color: var(--cream); box-shadow: inset 0 -1px 0 rgba(232,225,211,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: -.02em; gap: 10px; }
.logo svg.mark { width: 26px; height: 26px; fill: none; }
.logo svg path:last-child, .hd.dark .logo svg path:last-child { fill: none; }
.nav > a, .nav-i > button { font-family: var(--mono); font-size: 13px; }
.nav > a:hover, .nav-i > button:hover, .nav-i.open > button, .hd.dark .nav > a:hover, .hd.dark .nav-i > button:hover { background: rgba(232,225,211,.08); }
.nav a[aria-current="page"], .nav-i.cur > button { box-shadow: inset 0 -1px 0 var(--acc-night); border-radius: 0; }
.dd { border-radius: 2px; background: var(--card); }
.dd a { border-radius: 2px; }
.dd a b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.mb { color: var(--cream); }
main > .hero + * { border-radius: 0; margin-top: 0; }

/* photos in black and white, colour returns on hover */
.hero .bg img, .offer .bgp img { filter: grayscale(1) contrast(1.1) brightness(.72); }
.hero::before { background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.2) 35%, rgba(18,18,18,.55) 65%, rgba(18,18,18,.95) 100%), linear-gradient(90deg, rgba(18,18,18,.65), transparent 65%); }
.hero::after { background-image: radial-gradient(circle at 1px 1px, rgba(232,225,211,.16) 1px, transparent 0); }
.wcard .ph img, .ind img, .bf .panel .ph img { filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.wcard:hover .ph img, .ind:hover img, .bf .panel .ph:hover img { filter: grayscale(.15); }
.hero .lead { color: rgba(232,225,211,.82); }

/* square edges everywhere */
.card, .wcard, .ind, .stage, .win, .bento .b, .rec > div, .two > .card, .bf .panel .ph, .fm .core, .fm .who, .fm .it, .evi .core, .form input, .form textarea, .chip, .approve, .themer, .feed .fi { border-radius: 2px; }
.wcard, .rec > div, .bento .b, .two > .card { box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.wcard:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: none; }
.win { background: #fbf8f1; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -26px rgba(18,18,18,.35); }
.win-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; }
.chip, .approve { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.stage { background: var(--paper-2); }
.fm .core { background: var(--acc); color: var(--cream); }
.fact .n { font-family: var(--mono); font-weight: 600; letter-spacing: -.06em; }
.idx { letter-spacing: .1em; }
.tabs .tl { border-top-color: var(--ink); }
.tabs .tl button { font-family: var(--mono); font-size: 15px; }
.bf .tl button { font-family: var(--mono); font-size: 18px; letter-spacing: -.02em; }
.next .h-l { font-family: var(--mono); }
.next .go { border-radius: 0; }
.ft .word { -webkit-text-stroke: 1px rgba(232,225,211,.16); font-family: var(--mono); letter-spacing: -.08em; }
.ft .word span { background: linear-gradient(90deg, var(--cream), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.ft .cols li a:hover { color: var(--acc-night); }

/* the document strip, as on the current site */
.docs { background: var(--night); color: var(--cream); padding: 40px 0 44px; overflow: hidden; }
.docs .lbl { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--night-mute); margin-bottom: 24px; }
.docs .tr { display: flex; gap: 12px; width: max-content; animation: mq 70s linear infinite; }
.docs span { display: grid; place-items: center; height: 92px; padding: 0 40px; min-width: 190px; font-family: var(--mono); font-size: 13px; color: rgba(232,225,211,.78); background: rgba(232,225,211,.05); box-shadow: inset 0 0 0 1px rgba(232,225,211,.12); white-space: nowrap; }
.rm .docs .tr { animation: none; }

/* problem in four lines */
.prob { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.prob > div { padding: 22px 24px 0 0; display: grid; gap: 14px; align-content: start; }
.prob p { font-family: var(--mono); font-size: 16px; line-height: 1.45; letter-spacing: -.02em; color: var(--ink); }

/* three stages */
.stg .tp { grid-template-columns: repeat(12, 1fr); }
.stg .tp .tx { grid-column: 1 / span 6; }
.stg .tp .tx .when { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-night); margin-bottom: 18px; }
.stg .tp .tx p { color: var(--night-mute); margin-top: 16px; max-width: 34em; }
.stg .tp .keep { grid-column: 8 / span 5; padding: 28px; }
.stg .tp .keep .idx { display: block; margin-bottom: 12px; }
.stg .tl { border-top-color: var(--night-line); }
.stg .tl button { color: var(--night-faint); }
.stg .tl button[aria-selected="true"] { color: var(--cream); }
.stg .tl button::after { background: var(--acc-night); }

/* contact */
.ct { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.ct .l { grid-column: 1 / span 6; }
.ct .r { grid-column: 8 / span 5; display: grid; gap: 16px; }
.ct-card { padding: 26px; }
.ct-card b { display: block; font-family: var(--mono); font-weight: 500; margin: 8px 0 6px; }
.ct-card p { color: var(--night-mute); font-size: 15px; }
.ct .mail { font-family: var(--mono); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; color: var(--cream); user-select: all; }

/* typed headline */
.typed .c { opacity: 0; }
.typed .c.on { opacity: 1; }
.rm .typed .c, .typed.done .c { opacity: 1; }
.typed .cur { display: inline-block; width: .5em; height: .9em; margin-left: .06em; background: var(--acc-night); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }

@media (max-width: 960px) {
  .hd-in, .hd.dark .hd-in { height: 60px; padding: 0 var(--gut); }
  .prob { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stg .tp .tx, .stg .tp .keep { grid-column: 1 / -1; }
  .stg .tp .keep { margin-top: 28px; }
  .ct .l, .ct .r { grid-column: 1 / -1; }
  .ct .r { margin-top: 36px; }
  .docs span { height: 72px; min-width: 150px; padding: 0 24px; }
}
@media (max-width: 560px) { .prob { grid-template-columns: 1fr; } }
.fs .fv .mk, .bus .node, .fm .core { color: var(--cream); }
.fs .fv .mk svg, .bus .node svg, .fm .core svg, .thread .mark svg, .logo svg { fill: none !important; }
.fs .fv .mk svg path:last-child, .bus .node svg path:last-child, .thread .mark svg path:last-child { fill: none; }
.fs .fv .mk svg { width: 30px; height: 30px; }
main > .hero + .docs { background: var(--night); }
.nw { white-space: nowrap; }
.fs .fv, .fs .fv .mk { border-radius: 2px; }
.fact .n { font-size: clamp(40px, 4.2vw, 66px); }
.bus .node { border-radius: 2px; box-shadow: 0 0 0 1px var(--acc); }

/* =================== Ovarko home, Vooma-style sections =================== */
/* hero: headline bottom left, action bottom right */
.hero.vh .wrap { align-items: end; }
.hero.vh .hx { grid-column: 1 / span 8; }
.hero.vh .side { grid-column: 10 / span 3; justify-self: end; }
.hero.vh .lead { margin-top: 22px; }

/* the problem: a band of message bars, lines flowing down into the mark */
.vp { text-align: center; }
.vp .sh { justify-items: center; }
.vp h2 { max-width: 15em; margin: 0 auto; }
.eq { display: flex; align-items: center; justify-content: center; gap: 7px; height: 110px; margin: 72px auto 0; max-width: 1180px; position: relative; z-index: 2; }
.eq .bar { flex: 0 0 11px; height: var(--h); background: #ddd5c4; box-shadow: inset 0 0 0 1px #cfc6b3; animation: eq 2.4s ease-in-out infinite; animation-delay: var(--d); transform-origin: center; }
.eq .bar.hot { background: var(--acc-night); box-shadow: 0 0 18px -2px var(--acc-night); }
.eq .bar.hot:nth-of-type(odd) { background: var(--acc); box-shadow: 0 0 18px -4px var(--acc); }
@keyframes eq { 50% { transform: scaleY(.72); } }
.rm .eq .bar { animation: none; }
.vp .lines { position: relative; max-width: 760px; margin: 0 auto; padding-top: 120px; }
.vp .lines p { position: relative; z-index: 2; width: fit-content; max-width: 100%; margin: 0 auto 120px; padding: 12px 20px; background: var(--paper); font-family: var(--mono); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -.02em; }
.vp .stamp { position: relative; z-index: 2; width: 92px; height: 92px; margin: 0 auto; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background .7s var(--ease), color .7s, transform .9s var(--ease), box-shadow .7s; }
.vp .stamp svg { width: 46px; height: 46px; fill: none; }
.vpw.lit .stamp { background: var(--night); color: var(--cream); transform: scale(1.12); box-shadow: 0 0 0 1px var(--night), 0 30px 60px -20px rgba(18,18,18,.5); }
.vpw .wires .draw { stroke-width: 1.6; }

/* product: dark, an accordion beside the document stack */
.vpro .grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.vpro .l { grid-column: 1 / span 5; }
.vpro .r { grid-column: 7 / span 6; }
.vpro h2 { margin: 26px 0 48px; }
.acc4 .ai { position: relative; border-left: 1px solid var(--night-line); padding: 4px 0 4px 22px; }
.acc4 .ai + .ai { margin-top: 6px; }
.acc4 .ai .bar { position: absolute; left: -1px; top: 0; width: 2px; height: 100%; background: var(--acc-night); transform: scaleY(0); transform-origin: top; }
.acc4 .ai.on .bar { transform: scaleY(1); transition: transform var(--dur, 6s) linear; }
.acc4.held .ai.on .bar, .rm .acc4 .ai.on .bar { transition: none; }
.acc4 .ah { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 0; cursor: pointer; font-family: var(--mono); font-size: 17px; letter-spacing: -.02em; color: var(--night-faint); transition: color .3s; }
.acc4 .ai.on .ah { color: var(--cream); }
.acc4 .ab { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc4 .ai.on .ab { grid-template-rows: 1fr; }
.acc4 .ab > p { overflow: hidden; color: var(--night-mute); font-size: 15.5px; max-width: 30em; }
.acc4 .ai.on .ab > p { padding-bottom: 14px; }
.iso { width: 100%; max-width: 560px; display: block; margin: 0 auto; overflow: visible; }
.iso .sh { fill: var(--night); stroke: rgba(232,225,211,.32); stroke-width: 1; transition: stroke .5s, fill .5s, transform .7s var(--ease); }
.iso[data-step="1"] .s0 { stroke: var(--acc-night); fill: rgba(255,230,0,.08); transform: translateY(-16px); }
.iso[data-step="2"] .s0, .iso[data-step="2"] .s6 { stroke: var(--acc-night); }
.iso[data-step="2"] .s6 { fill: rgba(255,230,0,.08); }
.iso[data-step="3"] .s0 { stroke: var(--acc-night); fill: rgba(255,230,0,.14); }
.iso[data-step="4"] .s0 { stroke: var(--cream); fill: rgba(232,225,211,.06); }
.iso .co { opacity: 0; transition: opacity .5s var(--ease); }
.iso .co line { stroke: rgba(232,225,211,.45); stroke-dasharray: 3 3; }
.iso .co circle { fill: var(--acc-night); }
.iso .co rect { fill: #17191c; stroke: rgba(232,225,211,.28); }
.iso .co .t1 { font-family: var(--mono); font-size: 12px; fill: var(--cream); letter-spacing: .02em; }
.iso .co .t2 { font-family: var(--mono); font-size: 10.5px; fill: rgba(232,225,211,.6); }
.iso[data-step="1"] .c1, .iso[data-step="2"] .c2, .iso[data-step="3"] .c3, .iso[data-step="4"] .c4 { opacity: 1; }
.iso[data-step="4"] .c4 circle { animation: ping2 1.6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping2 { 50% { transform: scale(1.8); opacity: .4; } }
.iso .cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; fill: rgba(232,225,211,.38); }

/* who it is for: accordion, photo swaps */
.vert { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
.vert .acc2 { grid-column: 1 / span 5; border-top: 1px solid var(--ink); }
.vert .ai { border-bottom: 1px solid var(--line); }
.vert .ah { width: 100%; display: flex; justify-content: space-between; align-items: baseline; background: none; border: 0; padding: 22px 0; cursor: pointer; font-family: var(--mono); font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.04em; color: var(--faint); transition: color .3s; text-align: left; }
.vert .ah small { font-size: 12px; font-weight: 400; letter-spacing: .1em; }
.vert .ai.on .ah { color: var(--ink); }
.vert .ab { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.vert .ai.on .ab { grid-template-rows: 1fr; }
.vert .ab > div { overflow: hidden; }
.vert .ab p { color: var(--ink-2); max-width: 30em; }
.vert .ab ul { margin: 18px 0 8px; border-top: 1px solid var(--line); }
.vert .ab li a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 14px; }
.vert .ab li a:hover { color: var(--acc); }
.vert .ab .tlink { margin: 18px 0 26px; }
.vert .pics { grid-column: 7 / span 6; position: relative; min-height: 520px; overflow: hidden; background: var(--night); }
.vert .pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); filter: grayscale(1) contrast(1.05); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.vert .pics img.on { opacity: 1; transform: none; }

/* what it does: tabs over photos with a floating product card */
.sol .tl { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-bottom: 0; }
.sol .tl button { padding: 18px 20px; border-right: 1px solid var(--line); background: transparent; }
.sol .tl button:last-child { border-right: 0; }
.sol .tl button[aria-selected="true"] { background: var(--card); }
.sol .tl button::after { left: 0; right: 0; top: -1px; }
.sol .tp { margin-top: 0; display: grid; grid-template-columns: 5fr 7fr; column-gap: 0; border: 1px solid var(--line); align-items: stretch; }
.sol .tp .tx { grid-column: auto; padding: 40px 36px; background: var(--card); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.sol .tp .tx p { color: var(--ink-2); }
.sol .tp .tx .btn { align-self: flex-start; margin-top: 10px; }
.sol .tp .vs { grid-column: auto; position: relative; min-height: 460px; overflow: hidden; background: var(--night); display: grid; place-items: center; padding: 36px; }
.sol .tp .vs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5) contrast(1.1); }
.sol .tp .vs .scene { position: relative; z-index: 2; max-width: 440px; }

/* tools: a grid with lines running through it */
.intg { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.intg .l { grid-column: 1 / span 5; }
.intg .l .lead { margin-top: 22px; }
.intg .grid { grid-column: 7 / span 6; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; isolation: isolate; }
.intg .grid::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(255,230,0,.45) 25%, transparent calc(25% + 1px), transparent calc(75% - 1px), rgba(255,230,0,.45) 75%, transparent calc(75% + 1px)); }
.intg .grid::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, transparent calc(25% - 2px), var(--acc-night) 25%, transparent calc(25% + 2px), transparent calc(75% - 2px), var(--acc-night) 75%, transparent calc(75% + 2px)); mask-image: linear-gradient(transparent 0%, #000 10%, #000 20%, transparent 30%); -webkit-mask-image: linear-gradient(transparent 0%, #000 10%, #000 20%, transparent 30%); mask-size: 100% 300%; -webkit-mask-size: 100% 300%; animation: flow 4s linear infinite; }
@keyframes flow { from { mask-position: 0 100%; -webkit-mask-position: 0 100%; } to { mask-position: 0 0%; -webkit-mask-position: 0 0%; } }
.rm .intg .grid::after { animation: none; }
.intg .tile { height: 84px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; }
.intg .tile i { width: 10px; height: 10px; flex: none; background: var(--line); }
.intg .tile.in i { background: var(--acc); }
.intg .tile.out i { background: var(--acc-night); }
.intg .tile small { margin-left: auto; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

@media (max-width: 960px) {
  .hero.vh .hx, .hero.vh .side { grid-column: 1 / -1; justify-self: start; }
  .hero.vh .side { margin-top: 28px; }
  .eq { gap: 4px; height: 90px; overflow: hidden; }
  .eq .bar { flex-basis: 7px; }
  .vp .lines p { margin-bottom: 80px; }
  .vpro .l, .vpro .r { grid-column: 1 / -1; }
  .vpro .r { margin-top: 40px; }
  .vert .acc2, .vert .pics { grid-column: 1 / -1; }
  .vert .pics { min-height: 300px; margin-top: 28px; order: -1; }
  .sol .tl { grid-template-columns: 1fr 1fr; }
  .sol .tl button:nth-child(2) { border-right: 0; }
  .sol .tl button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sol .tp { grid-template-columns: 1fr; }
  .sol .tp .vs { min-height: 0; padding: 28px 14px; }
  .intg .l, .intg .grid { grid-column: 1 / -1; }
  .intg .grid { margin-top: 36px; }
}
.vert .pics [data-pane].on img { opacity: 1; transform: none; }

/* =================== logistics-only home: one of each moving piece =================== */
/* hero: dotted map of Europe with live routes */
.hero.mapx { background: #121212; min-height: clamp(640px, 100svh, 980px); }
.hero.mapx .wrap { padding-top: 110px; padding-bottom: 56px; }
.hero.mapx h1 { font-size: clamp(36px, 4.6vw, 70px); }
.hero.mapx::before { background: linear-gradient(0deg, rgba(18,18,18,.94) 0%, rgba(18,18,18,.6) 34%, rgba(18,18,18,0) 52%); z-index: 0; pointer-events: none; }
.hero.mapx::after { display: none; }
.hero.mapx canvas.ovmap { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero.mapx .wrap { z-index: 2; }
.hero.mapx .hx { grid-column: 1 / span 7; }
.hero.mapx .legend { grid-column: 10 / span 3; justify-self: end; align-self: end; display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-mute); }
.hero.mapx .legend span { display: flex; align-items: center; gap: 10px; }
.hero.mapx .legend i { width: 18px; height: 2px; background: var(--acc-night); box-shadow: 0 0 8px var(--acc-night); }
.hero.mapx .legend i.d { width: 6px; height: 6px; border-radius: 50%; }

/* extraction: fields leave the email and land in the TMS form */
.xt { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 40px; background: var(--paper-2); }
.xt .win { position: relative; z-index: 1; }
.xt .mail .body { padding: 16px 18px; line-height: 1.7; color: var(--ink-2); font-size: 14px; }
.xt .mail .body p + p { margin-top: 8px; }
.xt .src { border-radius: 2px; padding: 1px 3px; margin: 0 -3px; transition: background .4s, color .4s, box-shadow .4s; }
.xt .src.on { background: rgba(20,52,87,.1); box-shadow: inset 0 -1.5px 0 var(--acc); color: var(--acc); }
.xt .form2 .fld { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); }
.xt .form2 .fld label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.xt .form2 .val { min-height: 30px; display: flex; align-items: center; padding: 0 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink); transition: box-shadow .4s, background .4s; }
.xt .form2 .val.on { box-shadow: inset 0 0 0 1.5px var(--acc-night); background: #fbfdf9; }
.xt .form2 .val.ask { color: var(--acc); font-family: var(--mono); font-size: 12px; }
.xt .foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 13px; color: var(--mute); }
.xt .fly { position: absolute; z-index: 5; left: 0; top: 0; padding: 3px 8px; background: var(--acc); color: var(--cream); font-size: 12.5px; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(20,52,87,.6); }
.xt .wirex { position: absolute; z-index: 0; inset: 0; pointer-events: none; }

/* scanner: a beam moves down the invoice, rows tick or get corrected */
.scan { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 40px; background: var(--paper-2); }
.scan .paper { position: relative; overflow: hidden; background: #fbf8f1; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(18,18,18,.4); padding: 22px 22px 14px; }
.scan .paper .hd2 { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--mute); padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.scan .paper .hd2 b { color: var(--ink); font-weight: 600; }
.scan .ln { display: grid; grid-template-columns: 1fr auto 22px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; opacity: .5; transition: opacity .4s, background .4s; }
.scan .ln .amt { font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; }
.scan .ln .amt b { display: none; font-weight: 600; color: var(--acc); }
.scan .ln .mk { width: 20px; height: 20px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.scan .ln.ok, .scan .ln.bad { opacity: 1; }
.scan .ln.ok .mk { opacity: 1; transform: none; color: var(--acc); background: var(--acc-soft); }
.scan .ln.bad { background: rgba(255,230,0,.08); }
.scan .ln.bad .mk { opacity: 1; transform: none; background: var(--acc-night); color: #2a1f05; }
.scan .ln.bad .amt s { color: var(--faint); }
.scan .ln.bad .amt b { display: inline; }
.scan .ln small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--mute); margin-top: 2px; height: 0; overflow: hidden; transition: height .4s var(--ease); }
.scan .ln.bad small { height: 17px; }
.scan .beam { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(255,230,0,.18)); border-bottom: 2px solid var(--acc-night); box-shadow: 0 6px 16px -6px var(--acc-night); }
.scan .beam.on { animation: sweep 3s linear forwards; }
@keyframes sweep { 0% { opacity: 1; transform: translateY(-64px); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(330px); } }
.rm .scan .beam { display: none; }
.scan .tally { display: grid; gap: 14px; }
.scan .tally .big { font-family: var(--mono); font-size: clamp(44px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--ink); }
.scan .tally .row3 { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 10px; }
.scan .tally .row3 b { color: var(--ink); font-weight: 500; }
.scan [data-a].fade { opacity: 0; transition: opacity .5s; }
.scan [data-a].fade.on { opacity: 1; }

/* pipeline: loads move across five columns, one waits for its CMR */
.pipe2 { position: relative; padding: 36px 40px 40px; background: var(--paper-2); }
.pipe2 .cols { display: grid; grid-template-columns: 150px repeat(5, 1fr); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.pipe2 .cols span:first-child { color: transparent; }
.pipe2 .lane { position: relative; display: grid; grid-template-columns: 150px 1fr; align-items: center; height: 64px; border-bottom: 1px solid var(--line); }
.pipe2 .lane .id { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.pipe2 .lane .id small { display: block; font-size: 10.5px; color: var(--faint); }
.pipe2 .track { position: relative; height: 100%; }
.pipe2 .track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); }
.pipe2 .fill { position: absolute; left: 10%; top: 50%; height: 2px; margin-top: -.5px; width: calc(var(--c, 0) * 20%); background: var(--acc); transition: width .9s var(--ease); }
.pipe2 .tok { position: absolute; top: 50%; left: calc(10% + var(--c, 0) * 20%); transform: translate(-50%, -50%); width: 34px; height: 22px; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-family: var(--mono); font-size: 10px; transition: left .9s var(--ease), background .4s, opacity .4s; }
.pipe2 .tok::before { content: ''; position: absolute; inset: -5px; box-shadow: 0 0 0 1px transparent; transition: box-shadow .4s; }
.pipe2 .tok.hide { opacity: 0; }
.pipe2 .tok.warn { background: var(--acc-night); color: #2a1f05; }
.pipe2 .tok.warn::before { box-shadow: 0 0 0 1px var(--acc-night); animation: ping3 1.2s infinite; }
@keyframes ping3 { 50% { inset: -10px; opacity: .2; } }
.pipe2 .tok.done { background: var(--acc); }
.pipe2 .tag { position: absolute; top: 4px; left: calc(10% + var(--c, 0) * 20%); transform: translateX(-50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #776a00; opacity: 0; transition: opacity .3s, left .9s var(--ease); white-space: nowrap; }
.pipe2 .lane.warn .tag { opacity: 1; }
.pipe2 .toast { position: absolute; right: 40px; bottom: 14px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--night); color: var(--cream); font-size: 12.5px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.pipe2 .toast.on { opacity: 1; transform: none; }
.pipe2 .toast i { width: 8px; height: 8px; background: var(--acc-night); }

/* the three solution rows */
.solx { display: grid; gap: 120px; }
.srow { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.srow .tx { grid-column: 1 / span 4; }
.srow .vz { grid-column: 6 / span 7; min-width: 0; }
.srow.rev .tx { grid-column: 9 / span 4; grid-row: 1; }
.srow.rev .vz { grid-column: 1 / span 7; grid-row: 1; }
.srow .tx .idx { display: block; margin-bottom: 18px; }
.srow .tx h3 { margin-bottom: 16px; }
.srow .tx p { color: var(--ink-2); }
.srow .tx .tlink { margin-top: 26px; }

/* who it is for: three photo panels, the one you point at opens */
.aud { display: flex; gap: 10px; height: min(70vh, 620px); min-height: 480px; }
.pan { position: relative; flex: 1; min-width: 0; overflow: hidden; background: var(--night); color: var(--cream); transition: flex-grow .8s var(--ease); isolation: isolate; }
.pan.on { flex-grow: 2.6; }
.pan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) brightness(.62) contrast(1.1); transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s; }
.pan.on img { transform: none; filter: grayscale(.2) brightness(.7); }
.pan::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(18,18,18,.9)); }
.pan .t { position: absolute; left: 26px; right: 26px; bottom: 26px; }
.pan .t .idx { color: var(--night-mute); display: block; margin-bottom: 10px; }
.pan .t h3 { white-space: nowrap; }
.pan .t p { max-width: 28em; color: rgba(232,225,211,.82); font-size: 15px; margin-top: 10px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.pan.on .t p { max-height: 8em; opacity: 1; transition-delay: .25s; }
.pan .t ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.pan.on .t ul { max-height: 6em; opacity: 1; transition-delay: .35s; }
.pan .t li { font-family: var(--mono); font-size: 11px; padding: 4px 8px; box-shadow: inset 0 0 0 1px rgba(232,225,211,.3); }

/* how we work: the line fills as you scroll and lights each stage */
.tline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 56px; --p: 0; }
.tline::before, .tline::after { content: ''; position: absolute; left: 0; top: 13px; height: 1px; }
.tline::before { right: 0; background: var(--night-line); }
.tline::after { width: calc(var(--p) * 100%); height: 2px; top: 12.5px; background: var(--acc-night); box-shadow: 0 0 12px var(--acc-night); }
.tline .stp { position: relative; }
.tline .stp .nd { position: absolute; top: -56px; left: 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--night); box-shadow: inset 0 0 0 1px var(--night-line); font-family: var(--mono); font-size: 11px; color: var(--night-mute); transition: background .5s, color .5s, box-shadow .5s; }
.tline .stp.lit .nd { background: var(--acc-night); color: #2a1f05; box-shadow: 0 0 24px -4px var(--acc-night); }
.tline .stp .when { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--night-faint); margin-bottom: 14px; transition: color .5s; }
.tline .stp.lit .when { color: var(--acc-night); }
.tline .stp h3 { margin-bottom: 12px; color: var(--cream); }
.tline .stp p { color: var(--night-mute); font-size: 15px; }
.tline .stp .keep { margin-top: 20px; padding: 18px 20px; }
.tline .stp .keep p { color: var(--cream); font-size: 14.5px; }
.tline .stp { opacity: .45; transition: opacity .6s; }
.tline .stp.lit { opacity: 1; }
.rm .tline .stp { opacity: 1; }

@media (max-width: 960px) {
  .hero.mapx::before { background: linear-gradient(0deg, rgba(18,18,18,.95) 20%, rgba(18,18,18,.55) 60%, rgba(18,18,18,.35)); }
  .hero.mapx .hx, .hero.mapx .legend { grid-column: 1 / -1; justify-self: start; }
  .hero.mapx .legend { margin-top: 28px; grid-auto-flow: column; gap: 18px; }
  .solx { gap: 80px; }
  .srow .tx, .srow .vz, .srow.rev .tx, .srow.rev .vz { grid-column: 1 / -1; grid-row: auto; }
  .srow .vz { margin-top: 32px; }
  .xt, .scan { grid-template-columns: 1fr; gap: 28px; padding: 20px 14px; }
  .pipe2 { padding: 20px 12px 64px; }
  .pipe2 .cols, .pipe2 .lane { grid-template-columns: 74px 1fr; }
  .pipe2 .cols { display: flex; justify-content: space-around; padding-left: 74px; font-size: 8.5px; letter-spacing: .02em; }
  .pipe2 .cols span:first-child { display: none; }
  .pipe2 .lane .id small { display: none; }
  .pipe2 .toast { left: 12px; right: 12px; bottom: 12px; }
  .aud { flex-direction: column; height: auto; min-height: 0; }
  .pan, .pan.on { flex: none; height: 300px; }
  .pan .t p, .pan .t ul { max-height: 10em; opacity: 1; }
  .tline { grid-template-columns: 1fr; padding-top: 0; padding-left: 52px; gap: 44px; }
  .tline::before { left: 13px; top: 0; bottom: 0; width: 1px; height: auto; right: auto; }
  .tline::after { left: 12.5px; top: 0; width: 2px; height: calc(var(--p) * 100%); }
  .tline .stp .nd { top: 0; left: -52px; }
}
.hero.plain .mail { font-family: var(--mono); font-size: clamp(18px, 1.8vw, 24px); color: var(--cream); user-select: all; }
.steps3 > div { display: flex; flex-direction: column; }
.steps3 > div > div:last-child { margin-top: auto !important; padding-top: 22px; }
.rm .pipe2 .tok, .rm .pipe2 .fill, .rm .pipe2 .tag, .rm .scan [data-a], .rm .scan .ln, .rm .xt .val, .rm .tline .stp, .rm .pan, .rm .pan img { transition: none !important; }
/* the line runs behind the stage numbers, not through them */
.tline::before, .tline::after { z-index: 0; }
.tline .stp { z-index: 1; }
.tline .stp .nd { z-index: 2; }

/* inbox: each email's status card flips from today to handled */
.ibx { max-width: 1000px; margin: 56px auto 0; text-align: left; background: #fbf8f1; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -36px rgba(18,18,18,.35); }
.ibx-h { display: flex; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.ibx-h b { font-weight: 600; }
.ibx-h .cnt { color: var(--mute); font-size: 12px; }
.ibx-h .cnt .n { display: inline-block; min-width: 1ch; color: var(--ink); font-weight: 600; transition: color .3s; }
.ibx.all .ibx-h .cnt .n { color: #776a00; }
.ibx-sw { margin-left: auto; box-shadow: inset 0 0 0 1px var(--line); }
.ibx-sw button { color: var(--mute); }
.ibx-sw button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.ibx ul { padding: 4px 24px; }
.ibx li { position: relative; display: grid; grid-template-columns: 22px 120px 1fr 270px 46px; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; transition: color .5s; }
.ibx li:last-child { border-bottom: 0; }
.ibx li::before { content: ''; position: absolute; left: -24px; top: 0; bottom: 0; width: 3px; background: var(--acc-night); transform: scaleY(0); transition: transform .35s var(--ease); }
.ibx li.cur::before { transform: none; }
.ibx li.cur { background: linear-gradient(90deg, rgba(255,230,0,.08), transparent 70%); }
.ibx .mk2 { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
.ibx .mk2 .un { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); transition: transform .3s var(--ease), opacity .3s; }
.ibx .mk2 svg { position: absolute; width: 16px; height: 16px; padding: 3px; background: var(--acc-night); color: #2a1f05; opacity: 0; transform: scale(.4); transition: transform .35s var(--ease) .1s, opacity .3s .1s; }
.ibx li.done .mk2 .un { transform: scale(0); opacity: 0; }
.ibx li.done .mk2 svg { opacity: 1; transform: none; }
.ibx .who { font-family: var(--mono); font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ibx .sub { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; transition: font-weight .3s, color .3s; }
.ibx li.done .sub { font-weight: 450; color: var(--ink-2); }
.ibx .st2 { position: relative; height: 28px; perspective: 600px; justify-self: start; width: 100%; }
.ibx .st2 .f { position: absolute; left: 0; top: 0; height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font-family: var(--mono); font-size: 11.5px; white-space: nowrap; backface-visibility: hidden; transition: transform .6s cubic-bezier(.5,0,.2,1.2); transform-origin: 50% 50%; }
.ibx .st2 .f svg { width: 11px; height: 11px; }
.ibx .st2 .a { background: #f3e1c2; color: #8a5a12; }
.ibx .st2 .b { background: rgba(255,230,0,.16); color: #776a00; transform: rotateX(-180deg); }
.ibx li.done .st2 .a { transform: rotateX(180deg); }
.ibx li.done .st2 .b { transform: rotateX(0); }
.ibx .tm { font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-align: right; }
.ibx-f { padding: 14px 24px 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--mute); position: relative; height: 46px; overflow: hidden; }
.ibx-f span { position: absolute; left: 24px; right: 24px; transition: opacity .4s, transform .5s var(--ease); }
.ibx-f .b { opacity: 0; transform: translateY(10px); color: #776a00; }
.ibx.all .ibx-f .a { opacity: 0; transform: translateY(-10px); }
.ibx.all .ibx-f .b { opacity: 1; transform: none; }
.rm .ibx .st2 .f, .rm .ibx li, .rm .ibx .mk2 * { transition: none; }
@media (max-width: 960px) {
  .ibx-h { flex-wrap: wrap; padding: 14px; gap: 10px 14px; }
  .ibx-sw { margin-left: 0; width: 100%; }
  .ibx-sw button { flex: 1; }
  .ibx ul { padding: 4px 14px; }
  .ibx li { grid-template-columns: 22px 1fr; gap: 6px 10px; padding: 12px 0; }
  .ibx li::before { left: -14px; }
  .ibx .mk2 { grid-row: span 3; align-self: start; margin-top: 1px; }
  .ibx .who, .ibx .sub, .ibx .st2 { grid-column: 2; }
  .ibx .sub { white-space: normal; font-size: 13.5px; }
  .ibx .tm { display: none; }
  .ibx-f { height: 64px; padding: 12px 14px; }
  .ibx-f span { left: 14px; right: 14px; }
}
.rm .ibx-f span, .rm .ibx-sw button { transition: none; }
.ibx-sw { display: flex; }
.ibx-sw button { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border: 0; background: none; cursor: pointer; transition: background .3s, color .3s; }
.later { display: flex; gap: 16px; align-items: baseline; margin-top: 88px; padding-top: 24px; border-top: 1px dashed var(--line); }
.later .chip { flex: none; font-family: var(--mono); }
.later p { color: var(--mute); font-size: 15.5px; max-width: 48em; }
.later b { color: var(--ink-2); font-weight: 500; }

/* customs: source lines light up as each declaration box fills */
.cdx { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; padding: 36px; background: var(--paper-2); }
.cdx .src2 { display: grid; gap: 14px; }
.cdx .doc2 { background: #fbf8f1; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -26px rgba(18,18,18,.35); padding: 0 0 6px; }
.cdx .dh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.cdx .dh b { color: var(--ink); font-weight: 600; }
.cdx .l2 { display: flex; justify-content: space-between; gap: 10px; margin: 0 8px; padding: 7px 6px; font-size: 12.5px; color: var(--ink-2); border-radius: 2px; transition: background .4s, color .4s, box-shadow .4s; }
.cdx .l2 span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.cdx .l2.hit { background: rgba(20,52,87,.08); box-shadow: inset 2px 0 0 var(--acc); }
.cdx .l2.bad { background: rgba(240,180,76,.18); box-shadow: inset 2px 0 0 #d38b1c; color: #7a4f0f; }
.cdx .decl { background: #fbf8f1; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(18,18,18,.4); display: grid; grid-template-columns: 1fr 1fr; }
.cdx .decl .dh { grid-column: 1 / -1; }
.cdx .bx { position: relative; min-height: 76px; padding: 22px 12px 10px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background .4s, box-shadow .4s; }
.cdx .bx:nth-child(even) { border-right: 0; }
.cdx .bx.w2 { grid-column: 1 / -1; border-right: 0; }
.cdx .bx i { position: absolute; top: 6px; left: 8px; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--faint); }
.cdx .bx small { position: absolute; top: 6px; left: 30px; right: 8px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cdx .bx b { display: block; margin-top: 8px; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); min-height: 1.3em; }
.cdx .bx em { display: inline-block; margin-top: 4px; font-style: normal; font-family: var(--mono); font-size: 10px; padding: 2px 6px; outline: 1px dashed var(--faint); outline-offset: -1px; color: var(--mute); opacity: 0; transition: opacity .4s; }
.cdx .bx em.on { opacity: 1; }
.cdx .bx em.q { outline-color: #d38b1c; color: #7a4f0f; }
.cdx .bx.lit { background: rgba(255,230,0,.07); box-shadow: inset 0 0 0 1px rgba(255,230,0,.5); }
.cdx .bx.bad { background: rgba(240,180,76,.14); box-shadow: inset 0 0 0 1px #d38b1c; }
.cdx .dfoot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; font-size: 12.5px; color: var(--mute); opacity: 0; transition: opacity .5s; }
.cdx .dfoot.on { opacity: 1; }
.rm .cdx .l2, .rm .cdx .bx, .rm .cdx .bx em, .rm .cdx .dfoot { transition: none; }
.steps3.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) {
  .cdx { grid-template-columns: 1fr; padding: 18px 12px; gap: 16px; }
  .steps3.four { grid-template-columns: 1fr; }
}
.hero.mapx .legend i.shp { width: 14px; height: 6px; background: var(--cream); box-shadow: none; clip-path: polygon(0 0, 75% 0, 100% 50%, 75% 100%, 0 100%); }
.hero.mapx .legend i.tr { width: 10px; height: 6px; background: linear-gradient(90deg, var(--cream) 70%, var(--acc-night) 70%); box-shadow: none; }
.hero.mapx .legend i.pl { width: 12px; height: 10px; background: var(--cream); box-shadow: none; clip-path: polygon(100% 50%, 0 0, 25% 50%, 0 100%); }
.hero.mapx .hx { min-width: 0; }
@media (max-width: 600px) { .hero.mapx .hx .pill { white-space: normal; line-height: 1.5; } }

/* home hero: the header sits on the map with no bar or line, and turns into the bar once the page scrolls */
.hero.mapx .wrap { padding-top: 96px; }
.hero.mapx canvas.ovmap { -webkit-mask-image: linear-gradient(180deg, transparent 60px, rgba(0,0,0,.4) 120px, #000 230px); mask-image: linear-gradient(180deg, transparent 60px, rgba(0,0,0,.4) 120px, #000 230px); }

/* hero as its own layer: it stays pinned while the page slides over it; the headline travels down and settles as the small line above the next title */
.hero.mapx { position: sticky; top: 0; z-index: 0; }
.hero.mapx.covered { visibility: hidden; }
.hero.mapx canvas.ovmap { opacity: calc(1 - var(--hp, 0) * .5); }
.hero.mapx .wrap { opacity: 1; transform: none; filter: none; }
.hero.mapx .lead, .hero.mapx .ctas { opacity: calc(1 - var(--hp, 0) * 3); transform: translate3d(0, calc(var(--hp, 0) * 30px), 0); }
main > .hero.mapx ~ * { position: relative; z-index: 3; }
main > .hero.mapx ~ :not(.night) { background: var(--paper); }
main > .hero.mapx + * { box-shadow: 0 -24px 60px rgba(0,0,0,.45); }
.merge-fly { position: fixed; inset: 0; z-index: 55; pointer-events: none; display: none; }
.merge-fly span { position: absolute; left: 0; top: 0; white-space: nowrap; line-height: normal; transform-origin: 0 0; will-change: transform; }
.merge { grid-column: 2 / span 10; justify-self: center; font-size: clamp(15px, 1.3vw, 19px); line-height: 1; letter-spacing: -.048em; color: var(--ink); margin: 0 0 -6px; text-align: center; }
.merge em.g { font-style: normal; color: var(--mute); }
.merge .mw { opacity: 0; }
.merge.landed .mw { opacity: 1; }
.merge::before { content: ''; display: inline-block; vertical-align: .12em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc, #ffe600); margin-right: .7em; opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s var(--ease); }
.merge.landed::before { opacity: 1; transform: none; }
.hd.ovtop .hd-in { transition: background .45s var(--ease), box-shadow .45s var(--ease); }
.hd.ovtop:not(.solid) .hd-in { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hd.ovtop.solid .hd-in { background: #1a1b1d; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: inset 0 -1px 0 rgba(232,225,211,.1); }

/* How it works: plain dark background, no dots and no pointer glow; held in place while scrolling moves through the steps */
#how::before, #how::after { display: none; }
#how.scrub { overflow: clip; }
#how.scrub > .wrap { position: sticky; top: var(--st, 80px); }
#how.scrub .acc4 .ai.on .bar { transition: none; }
.acc4 .ai.hov:not(.on) .ah { color: rgba(232,225,211,.68); }
.acc4 .ai.hov:not(.on) { border-left-color: rgba(232,225,211,.28); }

/* header: a floating glass box, as on drawgen.co. Same fonts and contents; on the map it is a light tint, once the page scrolls it darkens a little */
.hd { top: 12px; }
.hd.hide { transform: translateY(calc(-100% - 24px)); }
.hd .wrap { max-width: var(--max); padding: 0 var(--gut); }
.hd-in, .hd.dark .hd-in, .hd.ovtop .hd-in, .hd.ovtop:not(.solid) .hd-in {
  height: 60px; padding: 0 10px 0 20px; border-radius: 14px; color: var(--cream);
  background: rgba(20,20,22,.28);
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.08), 0 14px 36px -20px rgba(0,0,0,.5);
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.hd.solid .hd-in, .hd.ovtop.solid .hd-in, .hd:not(.ovtop) .hd-in {
  background: rgba(26,27,29,.72);
  backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.06), 0 14px 36px -20px rgba(0,0,0,.6);
}
@media (max-width: 960px) {
  .hd { top: 8px; }
  .hd-in, .hd.dark .hd-in, .hd.ovtop .hd-in, .hd.ovtop:not(.solid) .hd-in { height: 56px; padding: 0 8px 0 16px; border-radius: 12px; }
}

/* hero scroll: plain scrolling, with depth. The map sits further back, so it scrolls slower than the page, drifts a little closer and dims;
   the headline and buttons scroll slightly faster and fade, so the two layers pull apart as you leave the hero. Motion is set from site.js. */
.hero.mapx { position: relative; overflow: clip; isolation: isolate; }
.hero.mapx.covered { visibility: visible; }
main > .hero.mapx + * { box-shadow: none; }
.hero.mapx canvas.ovmap { transform-origin: 50% 35%; transform: none; opacity: 1; will-change: transform, opacity; -webkit-mask-image: none; mask-image: none; }
.hero.mapx .hx { transform: none; opacity: 1; will-change: transform, opacity; }
.hero.mapx .lead, .hero.mapx .ctas { opacity: 1; transform: none; }
/* the fade under the header, as an overlay instead of a mask (a mask on a moving canvas is repainted every frame) */
.hero.mapx::after { display: block; content: ''; position: absolute; inset: 0 0 auto 0; height: 240px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,18,18,.2) 0, rgba(18,18,18,0) 120px); }

/* one continent from the hero map, dotted and faint, behind a light section (canvas drawn in site.js) */
[data-continent] { overflow-x: clip; }
[data-continent] > .wrap { position: relative; z-index: 1; }
canvas.cont { position: absolute; z-index: 0; right: 7vw; top: 58%; width: min(52vw, 800px); height: auto; transform: translateY(-46%); pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
canvas.cont.in { opacity: 1; transform: translateY(-50%); }
@media (max-width: 960px) { canvas.cont { width: 95vw; right: -12vw; } }
/* the How it works version: Europe, cream dots on dark, on the left, with the North Sea ports in green */
#how[data-continent] > .wrap > .grid { position: relative; z-index: 1; }
canvas.cont.left { right: auto; left: 30%; top: 50%; width: min(36vw, 560px); transform: translate(-50%, -46%); }
canvas.cont.left.in { transform: translate(-50%, -50%); }
@media (max-width: 960px) { canvas.cont.left { width: 80vw; left: 40%; top: 45%; } }

/* the turning stack: text lines on the top sheet, so the quarter turns read */
.iso .isoln { transition: transform .7s var(--ease); }
.iso[data-step="1"] .isoln { transform: translateY(-16px); }
/* what lies on the top sheet, one set per step, crossfading */
.iso .stc { opacity: 0; transition: opacity .45s var(--ease); }
.iso[data-step="1"] .st1, .iso[data-step="2"] .st2, .iso[data-step="3"] .st3, .iso[data-step="4"] .st4 { opacity: 1; transition-delay: .15s; }
.iso .stc line, .iso .stc polyline { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.iso .stc .m { stroke: rgba(232,225,211,.38); }
.iso .stc .w { stroke: rgba(232,225,211,.7); }
.iso .stc .g { stroke: #ffe600; }
.iso .stc polygon.g { fill: #ffe600; stroke: none; }
.iso .stc .f { fill: rgba(232,225,211,.2); stroke: none; }
.iso .stc .o { fill: none; stroke: rgba(232,225,211,.35); stroke-width: 1; stroke-dasharray: 2 2; }
.iso .stc .card { fill: #17191c; stroke: rgba(255,230,0,.7); stroke-width: 1; }
.iso .stc .ring { fill: rgba(255,230,0,.1); stroke: #ffe600; stroke-width: 1.4; }
.iso .stc .tick { stroke: #ffe600; stroke-width: 2; }


/* How it works and the three stages read as one section: the stages follow straight on, on the same dark ground */
#how { padding-bottom: 40px; }
#how + #stages { padding-top: 40px; }
#how + #stages::after { display: none; }

/* three stages: clean gold, no glow; each column on a shared row grid so the "You keep" boxes line up exactly */
.tline::after { box-shadow: none; }
.tline .stp.lit .nd { background: var(--night); color: var(--acc-night); box-shadow: inset 0 0 0 1px var(--acc-night); }
.tline { grid-template-rows: repeat(4, auto); row-gap: 0; }
.tline .stp { display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
.tline .stp .keep { align-self: stretch; }
@media (max-width: 960px) { .tline { grid-template-rows: none; row-gap: 44px; } .tline .stp { grid-template-rows: none; grid-row: auto; } }

/* the bridge: at the end of How it works the stack folds into a line, and a gold line runs from under it across the page,
   handing over to the four stages below */
.iso .isoln, .iso .cap { opacity: calc(1 - var(--fold, 0) * 1.6); }
.iso[data-step="1"] .c1, .iso[data-step="2"] .c2, .iso[data-step="3"] .c3, .iso[data-step="4"] .c4 { opacity: calc(1 - var(--fold, 0) * 2); }
.iso .sh { stroke-opacity: calc(1 - var(--fold, 0) * .5); }
.iso .s0 { transition: stroke .5s, fill .5s; }
#how .bridge { position: relative; height: 1px; margin-top: 56px; background: var(--night-line); opacity: calc(1 - var(--gone, 0)); }
#how .bridge span { position: absolute; inset: 0; background: var(--acc-night); transform-origin: 100% 50%; transform: scaleX(var(--fold, 0)); }
#how:not(.scrub) .bridge span { transform: scaleX(1); }
#how + #stages .sh .pill { margin-bottom: 0; }
/* four stages, each with its price in gold */
.tline.four { grid-template-columns: repeat(4, 1fr); }
.tline .stp .when { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tline .stp .when .pr { font-weight: 500; color: var(--acc-night); letter-spacing: .1em; white-space: nowrap; }
.tline .stp:not(.lit) .when .pr { color: var(--night-faint); }
#stages .paynote { margin-top: 48px; font-family: var(--mono); font-size: clamp(15px, 1.2vw, 18px); color: var(--cream); letter-spacing: -.01em; }
#stages .paynote::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--acc-night); margin-right: 12px; vertical-align: .12em; }
@media (max-width: 1200px) and (min-width: 961px) { .tline.four { grid-template-columns: repeat(2, 1fr); } }

/* Who it is for now follows the hero directly, so it gets its full top padding */
main > .hero.mapx + #who { padding-top: 150px; }
@media (max-width: 960px) { main > .hero.mapx + #who { padding-top: 96px; } }

/* hero always fills the screen */
.hero.mapx { min-height: 100vh; min-height: 100svh; }
/* Who it is for and the inbox section sit closer together */
main > .hero.mapx + #who { padding-bottom: 40px; }
#who + .sec.vp { padding-top: 72px; }
@media (max-width: 960px) { main > .hero.mapx + #who { padding-bottom: 24px; } #who + .sec.vp { padding-top: 48px; } }
/* stages without labels: three shared rows (title, text, you keep) so every column lines up exactly */
.tline.four { grid-template-rows: repeat(3, auto); }
.tline.four .stp { grid-row: span 3; }
.tline .stp h3 { align-self: start; }
.tline .stp > p { align-self: start; }

/* Solutions as one compact block: the four kinds of work on the left, their animation on the right, one at a time */
.solt { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.solt .l { grid-column: 1 / span 4; }
.solt .l .lead { margin-top: 20px; }
.solt .acc4 { margin-top: 40px; }
.solt .r { grid-column: 6 / span 7; min-width: 0; min-height: 520px; display: grid; align-items: center; }
.solt .pane { grid-area: 1 / 1; display: none; }
.solt .pane.on { display: block; animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.solt .pane .vz { margin: 0; }
/* the step list on a light background */
.acc4.lite .ai { border-left-color: var(--line); }
.acc4.lite .ah { color: var(--faint); display: flex; gap: 14px; align-items: baseline; }
.acc4.lite .ah .n { font-size: 12px; letter-spacing: .1em; color: var(--faint); }
.acc4.lite .ai.on .ah, .acc4.lite .ai.on .ah .n { color: var(--ink); }
.acc4.lite .ai.hov:not(.on) .ah { color: var(--mute); }
.acc4.lite .ai.hov:not(.on) { border-left-color: var(--mute); }
.acc4.lite .ab > div { overflow: hidden; }
.acc4.lite .ab p { color: var(--ink-2); font-size: 15.5px; max-width: 30em; }
.acc4.lite .ab .tlink { margin: 12px 0 16px; }
.acc4.lite .ai .bar { background: #e6cc00; }
@media (max-width: 960px) {
  .solt .l, .solt .r { grid-column: 1 / -1; }
  .solt .r { min-height: 0; margin-top: 40px; }
}

/* Contact, merged into the dark footer: the message on the left, a shipping label with the form on the right */
.ft .top.ct2 { grid-template-columns: repeat(12, 1fr); align-items: start; column-gap: 24px; padding-bottom: 96px; }
.ft .ct2 .l { grid-column: 1 / span 5; }
.ft .ct2 .l .lead { margin-top: 24px; color: var(--night-mute); max-width: 30em; }
.ft .ct2 .l .ctas { margin-top: 36px; }
.ft .ct2 .r { grid-column: 7 / span 6; }
.lbl { position: relative; padding: 26px 26px 22px; background: rgba(232,225,211,.025); box-shadow: inset 0 0 0 1px var(--night-line); font-family: var(--mono); }
.lbl .c { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(232,225,211,.75); }
.lbl .c.tl { left: -1px; top: -1px; border-left-width: 1.5px; border-top-width: 1.5px; }
.lbl .c.tr { right: -1px; top: -1px; border-right-width: 1.5px; border-top-width: 1.5px; }
.lbl .c.bl { left: -1px; bottom: -1px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.lbl .c.br { right: -1px; bottom: -1px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.lbl-h { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--night-line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-mute); }
.lbl-h span:last-child { color: var(--cream); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.lblf .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 22px; }
.lblf label { display: grid; gap: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-faint); }
.lblf label.w { grid-column: 1 / -1; }
.lblf input, .lblf textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--night-line); color: var(--cream); font-family: var(--mono); font-size: 14.5px; letter-spacing: -.01em; text-transform: none; padding: 6px 0 9px; border-radius: 0; resize: none; outline: none; transition: border-color .3s; }
.lblf input::placeholder, .lblf textarea::placeholder { color: rgba(232,225,211,.28); }
.lblf input:focus, .lblf textarea:focus { border-bottom-color: var(--acc-night); }
.lblf label.err input, .lblf label.err textarea { border-bottom-color: #e5484d; }
.lbl-f { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.lbl-f .fail { font-family: var(--sans); font-size: 13px; color: var(--night-mute); max-width: 26em; }
.lbl-f .btn { margin-left: auto; }
.lbl .tear { position: relative; height: 1px; margin: 24px -26px 20px; background-image: linear-gradient(90deg, var(--night-line) 50%, transparent 50%); background-size: 8px 1px; }
.lbl .tear::before, .lbl .tear::after { content: ''; position: absolute; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1px var(--night-line); }
.lbl .tear::before { left: -7px; } .lbl .tear::after { right: -7px; }
.lbl-b .bc { display: block; width: 100%; height: 54px; fill: rgba(232,225,211,.82); }
.lbl-cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--night-faint); }
@media (max-width: 960px) {
  .ft .ct2 .l, .ft .ct2 .r { grid-column: 1 / -1; }
  .ft .ct2 .r { margin-top: 48px; }
  .lblf .fields { grid-template-columns: 1fr; }
}

/* Solutions: the animation box fills the full height of the left column (from the Solutions label to the last item), so it sits exactly centred between them,
   and it is wider. Like How it works, the section holds still while scrolling moves through the four items. */
.solt { align-items: stretch; }
.solt .l { grid-column: 1 / span 4; }
.solt .r { grid-column: 5 / span 8; min-height: 0; align-self: stretch; display: grid; }
.solt .pane.on { display: grid; }
.solt .pane > .vz { display: grid; height: 100%; }
.solt .pane > .vz > .xt, .solt .pane > .vz > .scan, .solt .pane > .vz > .cdx { height: 100%; padding: 56px; align-content: center; }
.solt .pane > .vz > .pipe2 { height: 100%; padding: 56px 48px 72px; display: flex; flex-direction: column; justify-content: center; }
.sec.scrub { overflow: clip; }
.sec.scrub > .wrap { position: sticky; top: var(--st, 80px); }
#solutions.scrub .acc4 .ai.on .bar { transition: none; }
@media (max-width: 960px) { .solt .l, .solt .r { grid-column: 1 / -1; } .solt .pane > .vz > * { padding: 20px 14px; } }
.solt .r { align-items: stretch; }
.solt .pane { min-height: 0; }
/* subpages end with the overview and the wordmark only */
.ft.short { padding-top: 0; }
.ft.short .cols { padding-top: 72px; }

/* order rules table */
.tbl.rules .row { grid-template-columns: .9fr 1.5fr 26px; }
.tbl.rules .row > span:not(:first-child) { text-align: left; }
.tbl.rules .row > span.ok { justify-self: end; }
@media (max-width: 960px) { .tbl.rules .row { grid-template-columns: .9fr 1.5fr 24px; } .tbl.rules .row > span:nth-child(3) { display: grid; } }
/* mobile: four stages stack */
@media (max-width: 960px) { .tline.four { grid-template-columns: 1fr; grid-template-rows: none; } .tline.four .stp { grid-row: auto; grid-template-rows: none; } }
/* one accent across the site: gold on night, mustard ink on cream (replaces the navy) */
html, html[data-theme="electric"], html[data-theme="signal"], html[data-theme="acid"] {
  --acc: #ffe600; --acc-ink: #776a00; --on-acc: #2a1f05; --acc-soft: #fff6a8; --acc-mist: #fff7d1; --glow: rgba(255,230,0,.3);
}
.next:hover .go { color: var(--acc-ink); }
.vert .ab li a:hover, .xt .form2 .val.ask, .scan .ln .amt b { color: var(--acc-ink); }
.scan .ln.ok .mk { color: var(--acc-ink); }
.xt .src.on { background: rgba(255,230,0,.2); box-shadow: inset 0 -1.5px 0 #e6cc00; color: #5a4a00; }
.xt .fly { background: #ffe600; color: #2a1f05; }
.cdx .l2.hit { background: rgba(255,230,0,.12); box-shadow: inset 2px 0 0 #e6cc00; }

/* language switch */
.hd .lang { display: flex; align-items: center; gap: 2px; margin-right: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }
.hd .lang a { padding: 6px 7px; color: var(--night-mute); text-decoration: none; transition: color .25s; }
.hd .lang a:hover { color: var(--cream); }
.hd .lang a[aria-current] { color: var(--acc-night); }
.hd .lang a + a::before { content: ''; }
.mm .lang { display: flex; gap: 18px; margin-top: 28px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; }
.mm .lang a { opacity: .55; }
.mm .lang a[aria-current] { opacity: 1; color: var(--acc-night); }

/* no pointer spotlight in dark sections */
.night:not(.hero)::after { content: none; }

/* smoothness: scroll-driven progress bars ease over wheel steps; reveals a little quicker */
#how.scrub .acc4 .ai .bar, #solutions.scrub .acc4 .ai .bar { transition: transform .16s linear; }
.js [data-r] { transition: opacity .85s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js .split .w > span { transition-duration: .9s; }
.hero.mapx canvas.ovmap { contain: strict; }

/* How it works keeps the dotted background, fading in at the top and running on into How we start */
#how::before { display: block; mask-image: linear-gradient(180deg, transparent 0, #000 22%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
#how + #stages::before { mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); }
/* the home order entry section: South America at the left edge of the demo, mostly visible */
#order-entry canvas.cont { right: auto; left: calc(36% - 4vw); top: 52%; width: min(32vw, 470px); transform: translate(-50%, -46%); }
#order-entry canvas.cont.in { transform: translate(-50%, -50%); }
@media (max-width: 960px) { #order-entry canvas.cont { width: 80vw; left: 50%; top: 40%; } }
/* contact: one starting point, text next to a small animation */
.start1 { align-items: center; }
.start1 .tx .idx { display: block; margin-bottom: 18px; }
.start1 .tx h3 { margin-bottom: 12px; }
.start1 .tx p { color: var(--mute); }

/* while How it works is pinned, its dots sit on the pinned frame and stay still; only the stack and the step line move */
#how.scrub::before { display: none; }
#how.scrub > .wrap::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 50%; width: 100vw; margin-left: -50vw;
  top: calc(-1 * var(--st, 80px)); height: 100vh;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0); background-size: 26px 26px; background-position: center top; }

/* language: the current one, with a small menu for the others */
.langdd { position: relative; margin-right: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }
.langdd .lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; background: none; color: var(--acc-night); cursor: pointer; font: inherit; letter-spacing: inherit; }
.langdd .lang-btn svg { width: 9px; height: 6px; color: var(--night-mute); transition: transform .25s var(--ease); }
.langdd.open .lang-btn svg { transform: rotate(180deg); }
.langdd .lang-menu { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 64px; transform: translate(-50%, -4px); display: grid; padding: 6px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line), 0 18px 40px -16px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; z-index: 5; }
.langdd.open .lang-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.langdd .lang-menu a { padding: 8px 10px; text-align: center; color: var(--night-mute); transition: color .2s, background .2s; }
.langdd .lang-menu a:hover, .langdd .lang-menu a:focus-visible { color: var(--cream); background: rgba(232,225,211,.06); }

/* confirmed is green: values are marked in yellow first, and turn green once they are in and checked */
:root { --ok: #1f8f4e; --ok-soft: #dbeee1; --ok-night: #4fd07f; }
.xt .form2 .val.on { transition: box-shadow .4s, background .4s, color .4s; }
.xt:has(.approve.done) .form2 .val.on { box-shadow: inset 0 0 0 1.5px var(--ok); background: #f3faf5; }
.xt .src.on { transition: background .4s, box-shadow .4s, color .4s; }
.xt:has(.approve.done) .src.on { background: rgba(31,143,78,.12); box-shadow: inset 0 -1.5px 0 var(--ok); color: #155c33; }
.approve.done { background: var(--ok); color: #fff; }
.hl { transition: background-size .8s var(--ease), background-image .4s; }
.enq:has(.found.on) .hl:not(.q) { background-image: linear-gradient(var(--ok-soft), var(--ok-soft)); }
.enq .req li .v { transition: color .4s; }
.enq:has(.found.on) .req li:not(:last-child) .v { color: var(--ok); }
.tbl .row .ok { transition: background .4s, color .4s; }
.stack:has(.approve.done) .tbl .row:not(.flag) .ok { background: var(--ok-soft); color: var(--ok); }
.ibx li.done:not(.q) .mk2 svg { background: var(--ok); color: #fff; }
.ibx li:not(.q) .st2 .b { background: rgba(31,143,78,.12); color: #176b3b; }

/* the demo clip on the order entry page: a desktop window reading a sample order (synthetic data) */
.dclip { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.dc-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.dc-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dc-bar .dc-t { margin-left: 10px; color: var(--faint); }
.dc-bar .dc-st { margin-left: auto; color: var(--ink-2); }
.dc-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; padding: 28px; background: var(--paper-2); }
.dc-scan { position: relative; overflow: hidden; padding: 6px; }
.sheet { position: relative; background: #fdfcf8; color: #1d1d1b; padding: 26px 28px 30px; font-size: 12.5px; line-height: 1.55; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -22px rgba(0,0,0,.35); }
.sheet .lh { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid #1d1d1b; }
.sheet .co { display: flex; gap: 10px; align-items: center; }
.sheet .lg { width: 26px; height: 26px; background: #1d1d1b; clip-path: polygon(0 100%, 50% 0, 100% 100%, 50% 70%); }
.sheet b { font-weight: 600; }
.sheet small { display: block; color: #6b6a64; font-size: 10.5px; }
.sheet .no { text-align: right; }
.sheet .no b { font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.sheet .bx2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 14px; }
.sheet .bx2 > div { border: 1px solid #cfcbc0; padding: 9px 11px; display: grid; gap: 3px; }
.sheet .bx2 small { text-transform: uppercase; letter-spacing: .06em; font-size: 9.5px; }
.sheet .gt { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.sheet .gt th { text-align: left; font-weight: 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: #6b6a64; border-bottom: 1px solid #cfcbc0; padding: 5px 4px; }
.sheet .gt td { padding: 7px 4px; border-bottom: 1px solid #e6e2d8; }
.sheet .tm { margin-top: 12px; font-size: 11.5px; }
.sheet .pen { margin-top: 14px; font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; color: #2b4a8a; font-size: 14px; }
.sheet .ft2 { display: flex; justify-content: flex-end; margin-top: 16px; }
.sheet .stamp { padding: 4px 8px; border: 1px solid #b8b3a6; color: #9a958a; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.dh { transition: background .25s, box-shadow .25s; border-radius: 2px; }
.dh.on { background: rgba(255,230,0,.38); box-shadow: inset 0 -1.5px 0 #e6cc00; }
.dh.ok { background: rgba(31,143,78,.14); box-shadow: inset 0 -1.5px 0 var(--ok); }
.dclip { position: relative; }
.dc-ret { position: absolute; left: 0; top: 0; width: 40px; height: 20px; pointer-events: none; z-index: 3; opacity: 0;
  transition: transform .38s cubic-bezier(.65,0,.25,1), width .38s cubic-bezier(.65,0,.25,1), height .38s cubic-bezier(.65,0,.25,1), opacity .3s; }
.dc-ret.on { opacity: 1; }
.dc-ret i { position: absolute; width: 9px; height: 9px; border: 0 solid var(--ink); }
.dc-ret i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.dc-ret i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.dc-ret i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.dc-ret i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.dc-fly { position: absolute; left: 0; top: 0; z-index: 4; padding: 3px 8px; background: var(--acc); color: #2a1f05; font-size: 12.5px; font-weight: 500; white-space: nowrap; pointer-events: none; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.dc-out { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); padding: 20px 22px; align-self: start; }
.dc-l { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--faint); margin-bottom: 10px; }
.dr { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; opacity: .2; transform: translateX(6px); transition: opacity .25s, transform .25s var(--ease); }
.dr:last-child { border-bottom: 0; }
.dr span { color: var(--mute); }
.dr b { font-weight: 500; transition: color .3s; }
.dr i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--faint); }
.dr.on { opacity: 1; transform: none; }
.dr.ok b { color: var(--ok); }
.dr.q.on b { color: var(--acc-ink); }
.dc-pb { height: 2px; background: var(--line-2); }
.dc-pb span { display: block; height: 2px; width: 0; background: var(--acc); }
.dc-cap { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.dc-cap::before { content: ''; width: 6px; height: 6px; background: var(--faint); }
@media (max-width: 960px) { .dc-body { grid-template-columns: 1fr; padding: 16px; } .dc-bar .dc-t { display: none; } .sheet { padding: 18px; } }
