/* Bizati Digital: one stylesheet for every page.
   Stone ground, carbon ink, one red-orange accent (#FF3B00). Instrument Serif for display, Plus Jakarta Sans for
   everything else; JetBrains Mono only inside interface fragments ([data-ui]) and code.
   Pages are generated by build/build.mjs from src/pages; edit those, not the root .html files. */

/* Self-hosted fonts (SIL Open Font License), Latin subset. Barlow is only used inside the demo mock-ups, so
   browsers fetch it only on pages that show them. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-normal-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-normal-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-normal-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-normal-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-normal-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-normal-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-italic-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-normal-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-normal-400-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --stone: #F6F5F0;
  --stone-2: #EDEBE4;
  --paper: #FFFFFF;
  --carbon: #111111;
  --carbon-2: #191919;
  --carbon-3: #232323;
  --orange: #FF3B00;
  --orange-ink: #D93200;  /* orange text on stone, 4.6:1 */
  --green: #18A957;
  --line: #DDDAD0;
  --line-d: rgba(255, 255, 255, .1);
  --muted: #55534C;       /* secondary text on stone */
  --muted-d: #ABA89E;     /* secondary text on carbon */
  --field: #6E6B62;
  --err: #B3200A;
  --hh: 64px;
  --h0: 64px;             /* top offset for main; the home masthead sets it to 25vh in script.js */
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(16px, 4vw, 48px);
  --gap: 24px;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--hh) + 16px); -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--stone); color: var(--carbon);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: rgba(255, 59, 0, .15);
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary, label { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--orange); color: var(--carbon); padding: 12px 18px; font-weight: 700; z-index: 100; text-decoration: none; border-radius: 999px; }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: max(var(--pad), env(safe-area-inset-left)); position: relative; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.025em; }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; max-width: 52ch; text-wrap: pretty; }
p { text-wrap: pretty; }
em { font-style: italic; }

/* ---------- Buttons (one shape: full pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1px solid var(--carbon); border-radius: 999px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; line-height: 1.2;
  background: transparent; color: var(--carbon); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--carbon); }
.btn-primary:hover { background: var(--carbon); border-color: var(--carbon); color: var(--stone); }
[data-nav-theme="dark"] .btn-primary:hover, .site-header[data-theme="dark"] .btn-primary:hover { background: var(--stone); border-color: var(--stone); color: var(--carbon); }
.btn-ghost:hover { background: var(--carbon); color: var(--stone); }
.btn-ghost-d { border-color: rgba(246, 245, 240, .4); color: var(--stone); }
.btn-ghost-d:hover { background: var(--stone); border-color: var(--stone); color: var(--carbon); }
.btn-dark { background: var(--carbon); border-color: var(--carbon); color: var(--stone); }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); color: var(--carbon); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ----------
   One fixed bar. Its colours follow the section under it: script.js watches [data-nav-theme] sections with an
   IntersectionObserver and sets data-theme. On the home page it starts as a 25vh masthead and shrinks on scroll. */
.site-header {
  --nav-bg: rgba(246, 245, 240, .82); --nav-ink: var(--carbon); --nav-line: rgba(17, 17, 17, .1); --nav-panel: var(--stone);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--hcur, var(--hh));
  color: var(--nav-ink); background: var(--nav-bg); border-bottom: 1px solid var(--nav-line);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
  padding-top: env(safe-area-inset-top);
}
.site-header[data-theme="dark"] { --nav-bg: rgba(17, 17, 17, .68); --nav-ink: var(--stone); --nav-line: rgba(255, 255, 255, .1); --nav-panel: #161616; }
.site-header[data-theme="liquid"] { --nav-bg: rgba(20, 10, 5, 0); --nav-ink: #FFF; --nav-line: rgba(255, 255, 255, .16); --nav-panel: #140A05; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand-mark rect { fill: #FF3B00; transition: fill .4s ease; }
.brand-text { transition: color .4s ease; }
.site-header[data-theme="liquid"] .brand { color: #00C8FF; }
.site-header[data-theme="liquid"] .brand-mark rect { fill: #00C8FF; }

.has-mast:not(.is-scrolled) { --nav-bg: var(--stone); --nav-line: transparent; }
.header-in { height: var(--hh); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { flex: none; width: 28px; height: 28px; }
.brand-text { font-family: var(--serif); font-size: 27px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.has-mast .brand { position: absolute; left: max(var(--pad), env(safe-area-inset-left)); top: calc(var(--h0) - 1.25em); font-size: clamp(52px, min(11vw, 14vh), 168px); gap: .2em; }
.has-mast .brand-mark { width: .8em; height: .8em; }
.has-mast .brand-text { font-size: 1em; letter-spacing: -0.035em; }
.mast-note {
  position: absolute; right: max(var(--pad), env(safe-area-inset-right)); top: calc(var(--hcur, var(--h0)) - 24px); transform: translateY(-100%);
  max-width: 30ch; text-align: right; font-size: 16px; line-height: 1.45; opacity: calc(1 - var(--hp, 0) * 2.5); pointer-events: none;
}
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background-color .15s; }
.nav a:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.nav a[aria-current="page"] { background: color-mix(in srgb, currentColor 10%, transparent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; padding: 0; cursor: pointer; flex: none; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html:not(.js) .site-header { position: absolute; }

main { padding-top: var(--h0); }
.page-index { --h0: max(180px, 25vh); }

/* ---------- Home hero: masthead + hero = one 100vh screen ---------- */
.hero { position: relative; display: flex; min-height: calc(100vh - var(--h0)); min-height: calc(100svh - var(--h0)); padding: clamp(28px, 4vh, 48px) 0 clamp(20px, 3vh, 32px); }
.hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vh, 48px); }
.gridlines { position: absolute; inset: 0; max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.gridlines i { border-left: 1px solid var(--line); }
.gridlines i:last-child { border-right: 1px solid var(--line); }
.hero-top { position: relative; display: grid; gap: 28px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 { max-width: 15em; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; line-height: 1.3;
}
.status-sep { margin: 0 4px; opacity: .5; }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--green); opacity: .35; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .5; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.hero-side { display: grid; grid-template-columns: minmax(0, 6fr) auto; gap: 24px 40px; align-items: end; }
.hero-sub { font-size: clamp(17px, 1.35vw, 19px); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-foot { position: relative; display: grid; gap: 16px; }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--carbon); }
.proof-item { padding: 16px 24px 4px; border-left: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof dt { font-size: 15px; line-height: 1.4; }
.proof dd { display: flex; align-items: baseline; gap: 8px; }
.proof-n { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 68px); line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof-of { font-size: 15px; font-weight: 600; color: var(--muted); }

.callbar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px;
  padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--carbon); color: var(--stone); text-decoration: none;
  transition: background-color .2s;
}
.callbar:hover { background: #000; }
.callbar-text { font-size: 16px; line-height: 1.35; }
.callbar-text strong { font-weight: 700; }
.callbar-dash { opacity: .5; }
.callbar-num { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.callbar-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--carbon); transition: transform .2s var(--ease); }
.callbar:hover .callbar-go { transform: translateX(3px); }
.wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--orange); transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.9s; } .wave i:nth-child(3) { animation-delay: -.3s; } .wave i:nth-child(4) { animation-delay: -.7s; }
.wave i:nth-child(5) { animation-delay: -.5s; } .wave i:nth-child(6) { animation-delay: -.1s; } .wave i:nth-child(7) { animation-delay: -.8s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- Showcase: 2008 -> modern -> liquid glass ----------
   A short scroll track with a sticky stage. script.js writes the phase values (0..1, eased) while the section is
   on screen; everything that moves uses transform or opacity only.
   --m 2008 -> modern   --g modern -> liquid (frame shrinks and fades, glass rises)   --f finale   --sp raw progress */
.story { --sp: 0; --m: 0; --g: 0; --f: 0;
  position: relative; height: 190vh; height: 190svh; background: var(--carbon); color: var(--stone); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: calc(var(--hh) + 16px); }
html:not(.js) .story { --m: 1; height: auto; }
html:not(.js) .stage { position: relative; height: auto; padding-bottom: 48px; }
html:not(.js) .liquid, html:not(.js) .finale { display: none; }

.story-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; flex: none; opacity: calc(1 - var(--g) * 2); position: relative; z-index: 2; }
.story-bar h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.story-pills { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pill { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: rgba(246, 245, 240, .75); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.pill span { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .6; }
.pill:hover { color: var(--stone); background: rgba(255, 255, 255, .08); }
.pill[aria-pressed="true"] { background: var(--stone); color: var(--carbon); }

.frame-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px var(--pad) 18px; }
.frame {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  width: min(1120px, 100%, calc((100svh - var(--hh) - 170px) * 1.6)); aspect-ratio: 16 / 10;
  background: #0C0C0E; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, .06) inset, 0 40px 100px -30px rgba(0, 0, 0, .9), 0 80px 180px -60px rgba(255, 59, 0, .22);
  opacity: calc(1 - var(--g));
  transform: scale(calc(1 - var(--g) * .16)); /* recedes from 1 to .84; never above 1 */
  will-change: transform, opacity; backface-visibility: hidden;
}
.frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); pointer-events: none; }
.frame-cap { font-size: 14px; color: var(--muted-d); text-align: center; opacity: calc(1 - var(--g) * 3); }

.chrome { position: relative; height: 44px; flex: none; }
.chrome-old, .chrome-new { position: absolute; inset: 0; }
.chrome-old { pointer-events: none; opacity: calc(1 - var(--m) * 1.6); background: #D4D0C8; font: 11px Tahoma, Verdana, Arial, sans-serif; color: #000; display: grid; grid-template-rows: 22px 22px; }
.ie-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px 0 8px; color: #FFF; font-weight: 700; background: linear-gradient(90deg, #0A246A, #3A6EA5 55%, #A6CAF0); white-space: nowrap; overflow: hidden; }
.ie-title > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.ie-btns { display: flex; gap: 2px; flex: none; }
.ie-btns i { width: 16px; height: 14px; display: grid; place-items: center; font-style: normal; font-size: 10px; line-height: 1; color: #000; background: #D4D0C8; border: 1px outset #FFF; }
.ie-bar { display: flex; align-items: center; gap: 6px; padding: 0 6px; border-top: 1px solid #FFF; border-bottom: 1px solid #808080; }
.ie-k { color: #444; }
.ie-url { flex: 1; min-width: 0; background: #FFF; border: 1px inset #808080; padding: 1px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-go { padding: 0 6px; border: 1px outset #FFF; }
.chrome-new { opacity: calc(var(--m) * 1.6 - .6); display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 12px; padding: 0 8px 0 14px; background: #141416; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A40; display: block; }
.url { justify-self: center; min-width: 0; padding: 5px 18px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: #A1A1AA; font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg { justify-self: end; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.seg button { min-height: 30px; padding: 4px 12px; border: 0; border-radius: 999px; background: transparent; color: #A1A1AA; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button:hover { color: #FFF; }
.seg button[aria-pressed="true"] { background: #F4F4F5; color: #111; }
.seg-light { background: var(--stone-2); }
.seg-light button { min-height: 40px; padding: 6px 18px; font-size: 15px; color: var(--muted); }
.seg-light button:hover { color: var(--carbon); }
.seg-light button[aria-pressed="true"] { background: var(--carbon); color: var(--stone); }
[data-nav-theme="dark"] .seg-light { background: rgba(255, 255, 255, .08); }
[data-nav-theme="dark"] .seg-light button { color: var(--muted-d); }
[data-nav-theme="dark"] .seg-light button:hover { color: var(--stone); }
[data-nav-theme="dark"] .seg-light button[aria-pressed="true"] { background: var(--stone); color: var(--carbon); }
.story:not(.is-modern) .chrome-new, .story:not(.is-modern) .reveal { pointer-events: none; }

.screen { position: relative; flex: 1; min-height: 0; overflow: hidden; container: screen / size; background: #0F141C; }
.pane { position: absolute; inset: 0; overflow: hidden; }
.screen .bf { opacity: calc(1 - var(--m) * .7); transform: scale(calc(1 + var(--m) * .05)); transform-origin: 50% 100%; }
.reveal { position: absolute; inset: 0; overflow: hidden; transform: translate3d(0, calc((1 - var(--m)) * 100%), 0); will-change: transform; }
.reveal-in { position: absolute; inset: 0; transform: translate3d(0, calc((var(--m) - 1) * 100%), 0); will-change: transform; }
.scan { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange); box-shadow: 0 0 24px 4px rgba(255, 59, 0, .5); transform: translate3d(0, calc((1 - var(--m)) * 100cqh), 0); opacity: min(1, var(--m) * 12, (1 - var(--m)) * 12); pointer-events: none; }

/* Legacy page (2008). Scales as one fixed-width page, the way old sites did. */
.bf { --e: min(100cqw / 36, 100cqh / 27); font-size: var(--e); line-height: 1.25; display: flex; flex-direction: column; background: #CCFFCC; font-family: "Times New Roman", Times, serif; color: #000; }
.bf-marquee { background: #FFFF00; border-top: .1em solid #F00; border-bottom: .1em solid #F00; height: 1.5em; flex: none; overflow: hidden; white-space: nowrap; }
.bf-marquee span { display: inline-block; font: 700 .85em "Comic Sans MS", "Comic Neue", "Trebuchet MS", sans-serif; color: #C00000; padding-left: 100%; line-height: 1.75; animation: bf-scroll 14s linear infinite; }
@keyframes bf-scroll { to { transform: translateX(-100%); } }
.bf-head { background: #000099; text-align: center; padding: .5em .4em; flex: none; border-bottom: .2em ridge #C0C0C0; }
.bf-logo { font: 700 1.9em "Comic Sans MS", "Comic Neue", "Trebuchet MS", sans-serif; color: #FF0; text-decoration: underline; line-height: 1.1; }
.bf-tag { font: italic .8em "Times New Roman", Times, serif; color: #F9F; margin-top: .15em; }
.bf-body { display: flex; flex: 1; min-height: 0; }
.bf-nav { width: 7.4em; background: #008080; padding: .5em; flex: none; display: flex; flex-direction: column; gap: .35em; border-right: .15em solid #F0F; }
.bf-nav span { display: block; background: #C0C0C0; border: .2em outset #EEE; color: #00E; font: 700 .7em Arial, Helvetica, sans-serif; text-align: center; padding: .4em .2em; text-decoration: underline; }
.bf-main { flex: 1; min-width: 0; padding: .5em .7em; background: #FFC; overflow: hidden; }
.bf-welcome { font: 700 1.3em "Times New Roman", Times, serif; color: #CC0000; text-align: center; text-decoration: underline; line-height: 1.15; }
.bf-new { display: inline-block; background: #C00; color: #FF0; font: 700 .55em Arial, Helvetica, sans-serif; padding: .2em .4em; vertical-align: middle; }
.bf-main p { font-size: .68em; line-height: 1.2; color: #00C; margin-top: .5em; }
.bf-main hr { border: 0; border-top: .2em groove #808080; margin: .5em 0; }
.bf-main p.bf-small { font-size: .55em; color: #800080; margin-top: 0; text-align: center; }
.bf-count { font: .6em "Courier New", Courier, monospace; margin-top: .7em; text-align: center; }
.bf-count b { display: inline-block; background: #000; color: #0F0; padding: .1em .4em; letter-spacing: .15em; border: .15em inset #888; }
.bf-uc { margin-top: .7em; background: #FC0; color: #900; border: .15em dashed #000; font: 700 .62em Arial, Helvetica, sans-serif; text-align: center; padding: .3em; }
.bf-badges { display: flex; gap: .4em; margin-top: .7em; }
.bf-badges span { flex: 1; border: .15em outset #999; font: 700 .5em Arial, Helvetica, sans-serif; text-align: center; padding: .5em .2em; color: #FFF; }
.bf-badges span:nth-child(1) { background: #C00; } .bf-badges span:nth-child(2) { background: #00C; } .bf-badges span:nth-child(3) { background: #060; }
.bf-foot { flex: none; background: #000080; color: #9CF; font: .5em Arial, Helvetica, sans-serif; padding: .5em .8em; line-height: 1.3; }
@container (aspect-ratio < 1) { .bf { --e: min(100cqw / 22, 100cqh / 36); } .bf-nav { width: 6.6em; } }

/* Modern demo site: a different company's industrial site (charcoal steel, Barlow, safety amber). Interactive. */
.af { background: #0F141C; color: #FFF; font-family: "Barlow", "Arial Narrow", Arial, sans-serif; display: flex; flex-direction: column; }
.af-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.af-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(14px, 2.4cqw, 28px); height: 58px; flex: none; border-bottom: 1px solid #243042; }
.af-logo { font: 800 17px "Barlow Condensed", "Barlow", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.af-nav { display: flex; gap: 1.3em; font: 600 14px "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #B4BECB; }
.af-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.af-tabs::-webkit-scrollbar { display: none; }
.af-tabs button { flex: none; min-height: 36px; padding: 6px 14px; border: 0; border-radius: 6px; background: transparent; color: #B4BECB; font: 600 15px "Barlow", Arial, sans-serif; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.af-tabs button:hover { color: #FFF; background: rgba(255, 255, 255, .06); }
.af-tabs button[aria-selected="true"] { background: #F59E0B; color: #0F141C; }
.af-tabs button:focus-visible, .af-chip:focus-visible, .af-cta:focus-visible, .af-send:focus-visible { outline-color: #F59E0B; outline-offset: 2px; }
.af-panel { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; animation: af-in .28s var(--ease); }
@keyframes af-in { from { opacity: 0; transform: translateY(8px); } }
.af-overview { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.af-hero { position: relative; z-index: 1; flex: 1; min-height: 0; padding: clamp(18px, 5cqh, 48px) clamp(14px, 3.2cqw, 40px) 0; }
.af-eyebrow { font: 700 clamp(11px, 1.3cqw, 15px) "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .16em; color: #F59E0B; }
.af-h { font: 800 clamp(28px, 6.4cqw, 80px)/.95 "Barlow Condensed", "Barlow", Arial, sans-serif; text-transform: uppercase; margin-top: .25em; max-width: 9em; }
.af-p { font: 500 clamp(14px, 1.7cqw, 20px)/1.4 "Barlow", Arial, sans-serif; color: #AEB8C6; margin-top: .8em; max-width: 26em; }
.af-cta { display: inline-block; margin-top: clamp(14px, 3cqh, 28px); border: 0; cursor: pointer; background: #F59E0B; color: #0F141C; font: 800 clamp(13px, 1.4cqw, 16px) "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: .85em 1.5em; transition: background-color .15s; }
.af-cta:hover { background: #FBBF24; }
.af-hex { position: absolute; right: 5cqw; top: 12cqh; width: 22cqw; aspect-ratio: 9.6 / 11; }
.af-hex i { position: absolute; display: block; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.af-hex i:nth-child(1) { inset: 0; background: #2A3647; }
.af-hex i:nth-child(2) { inset: 6%; background: #172030; }
.af-hex i:nth-child(3) { inset: 29% 25%; background: #0F141C; }
.af-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); flex: none; border-top: 1px solid #243042; background: #151C27; }
.af-stats div { padding: clamp(10px, 2.2cqh, 18px) clamp(12px, 2.4cqw, 26px); font: 600 clamp(11px, 1.2cqw, 14px) "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #9AA6B6; }
.af-stats div + div { border-left: 1px solid #243042; }
.af-stats b { display: block; font: 800 clamp(20px, 3.4cqw, 40px)/1 "Barlow Condensed", "Barlow", Arial, sans-serif; color: #FFF; margin-bottom: .15em; letter-spacing: .01em; }

.af-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px clamp(14px, 3.2cqw, 40px) 10px; flex: none; }
.af-chip { min-height: 32px; padding: 4px 14px; border-radius: 999px; border: 1px solid #2E3B4F; background: transparent; color: #B4BECB; font: 600 14px "Barlow", Arial, sans-serif; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.af-chip:hover { border-color: #F59E0B; color: #FFF; }
.af-chip[aria-pressed="true"] { background: #FFF; border-color: #FFF; color: #0F141C; }
.af-table { width: calc(100% - 2 * clamp(14px, 3.2cqw, 40px)); margin: 0 auto; border-collapse: collapse; font: 500 clamp(14px, 1.6cqw, 18px) "Barlow", Arial, sans-serif; }
.af-table th { text-align: left; font-weight: 700; color: #9AA6B6; text-transform: uppercase; letter-spacing: .08em; font-size: .8em; padding: .75em 0; width: 34%; border-bottom: 1px solid #243042; }
.af-table td { padding: .75em 0; border-bottom: 1px solid #243042; }
.af-table tr { animation: af-in .25s var(--ease); }
.af-calls { padding: 0 clamp(14px, 3.2cqw, 40px); overflow-y: auto; overscroll-behavior: contain; }
.af-calls li { display: grid; grid-template-columns: 5.2em 6.5em minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #243042; font: 500 clamp(13px, 1.5cqw, 16px) "Barlow", Arial, sans-serif; animation: af-in .25s var(--ease); }
.af-calls time { font-family: var(--mono); font-size: .82em; color: #9AA6B6; font-variant-numeric: tabular-nums; }
.af-calls .who { font-weight: 700; }
.af-calls .what { color: #C5CDD8; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font: 700 11px "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 4px; }
.t-cb { background: rgba(245, 158, 11, .16); color: #FBBF24; }
.t-bk { background: rgba(34, 197, 94, .16); color: #4ADE80; }
.t-fl { background: rgba(148, 163, 184, .16); color: #CBD5E1; }
.af-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: clamp(16px, 4cqh, 36px) clamp(14px, 3.2cqw, 40px); align-content: start; }
.af-field { display: grid; gap: 6px; font: 600 13px "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #9AA6B6; }
.af-field:first-child { grid-column: 1 / -1; }
.af-field input, .af-field select { min-height: 44px; padding: 8px 12px; border: 1px solid #2E3B4F; border-radius: 4px; background: #151C27; color: #FFF; font: 500 16px "Barlow", Arial, sans-serif; text-transform: none; letter-spacing: 0; color-scheme: dark; }
.af-field input:focus-visible, .af-field select:focus-visible { outline: 2px solid #F59E0B; outline-offset: 1px; }
.af-send { grid-column: 1 / -1; justify-self: start; min-height: 46px; padding: 10px 24px; border: 0; background: #F59E0B; color: #0F141C; font: 800 15px "Barlow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; transition: background-color .15s, transform .15s; }
.af-send:hover { background: #FBBF24; }
.af-send:active { transform: scale(.98); }
.af-send.is-sent { background: #22C55E; }
.af-toast { position: absolute; left: 50%; bottom: 14px; z-index: 5; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; padding: 9px 16px; border-radius: 8px; background: #F4F4F5; color: #111; font: 600 14px/1.35 var(--sans); width: max-content; max-width: calc(100% - 24px); text-align: center; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: opacity .2s, transform .2s var(--ease); }
.af-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dashboard view: a Linear-style client workspace for the same business. */
.af-dash { flex-direction: row; background: #0B0C0E; font-family: var(--sans); }
.dash-side { width: 190px; flex: none; padding: 14px 10px; background: #0E0F12; border-right: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 2px; }
.dash-ws { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-size: 14px; font-weight: 700; }
.dash-ws-mark { width: 20px; height: 20px; border-radius: 5px; background: #F59E0B; color: #0F141C; display: grid; place-items: center; font-size: 12px; }
.dash-nav { display: flex; justify-content: space-between; align-items: center; min-height: 34px; padding: 4px 10px; border: 0; border-radius: 6px; background: transparent; color: #A1A1AA; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; transition: background-color .12s, color .12s; }
.dash-nav span { font-size: 12px; color: #71717A; font-variant-numeric: tabular-nums; }
.dash-nav:hover { background: rgba(255, 255, 255, .05); color: #FFF; }
.dash-nav.is-on { background: rgba(255, 255, 255, .08); color: #FFF; }
.dash-pane { flex: 1; min-width: 0; display: flex; }
.dash-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 0 18px; height: 48px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 14px; font-weight: 600; }
.dash-count { font-size: 12px; font-weight: 500; color: #71717A; }
.dash-list { overflow-y: auto; overscroll-behavior: contain; }
.dash-list li { display: grid; grid-template-columns: 16px 4.4em minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 52px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 14px; color: #E4E4E7; cursor: pointer; transition: background-color .12s; }
.dash-list li:hover { background: rgba(255, 255, 255, .03); }
.dash-list li[aria-selected="true"] { background: rgba(245, 158, 11, .1); box-shadow: inset 2px 0 0 #F59E0B; }
.dash-list li:focus-visible { outline: 2px solid #F59E0B; outline-offset: -2px; }
.dash-list .id { font-family: var(--mono); font-size: 12px; color: #71717A; }
.dash-list .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.dash-list .t small { display: block; font-size: 12px; color: #8B8B94; overflow: hidden; text-overflow: ellipsis; }
.dash-list .src { font-size: 12px; color: #A1A1AA; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); white-space: nowrap; }
.st { width: 14px; height: 14px; border-radius: 50%; display: block; }
.st-todo { box-shadow: inset 0 0 0 1.5px #71717A; }
.st-prog { box-shadow: inset 0 0 0 1.5px #F59E0B; background: conic-gradient(#F59E0B 0 50%, transparent 0); }
.st-done { background: #22C55E; }
.dash-detail { width: 250px; flex: none; padding: 18px; border-left: 1px solid rgba(255, 255, 255, .07); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dd-id { font-family: var(--mono); font-size: 12px; color: #71717A; }
.dd-t { font-size: 17px; font-weight: 700; line-height: 1.25; }
.dd-s { color: #A1A1AA; font-size: 13px; }
.dd-f { display: grid; gap: 6px; margin: 10px 0 2px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.dd-f div { display: grid; gap: 1px; font-size: 13px; }
.dd-f dt { font-size: 11px; }
.dd-f dt { color: #71717A; }
.dd-f dd { color: #E4E4E7; overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.dd-n { color: #D4D4D8; margin-top: 4px; line-height: 1.5; }
.dash-site .dash-main { overflow-y: auto; overscroll-behavior: contain; }
.site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 18px 0; }
.site-card { padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 4px; }
.sc-k { font-size: 12px; color: #8B8B94; }
.sc-v { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sc-v-sm { font-size: 17px; }
.sc-s { font-size: 12px; color: #A1A1AA; }
.site-pending { margin: 10px 18px 18px; padding: 14px 16px; border-radius: 10px; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sp-k { font-size: 12px; font-weight: 700; color: #FBBF24; }
.sp-t { font-size: 15px; font-weight: 700; margin: 2px 0; }
.sp-actions { display: flex; gap: 8px; }
.sp-btn { margin: 0; padding: 0 14px; }
.sp-approve { background: #F59E0B; border-color: #F59E0B; color: #0F141C; }
.sp-approve:hover { background: #FBBF24; }
.dd-btn { margin-top: auto; min-height: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .04); color: #FFF; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s; }
.dd-btn:hover { background: rgba(255, 255, 255, .1); }
.dd-btn.is-done { background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .5); color: #4ADE80; }

@container (max-width: 760px) {
  .dash-detail { display: none; }
  .dash-side { width: 150px; }
}
@container (max-width: 560px) {
  .af-head { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; height: auto; padding-block: 10px 8px; }
  .af-logo { font-size: 15px; }
  .af-tabs { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); padding-right: 24px; }
  .af-tabs button { min-height: 32px; padding: 4px 10px; font-size: 14px; }
  .af-nav { display: none; }
  .af-hex { width: 34cqw; top: auto; bottom: 22cqh; right: -6cqw; opacity: .6; }
  .af-stats { grid-template-columns: 1fr; }
  .af-stats div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px; }
  .af-stats div + div { border-left: 0; border-top: 1px solid #243042; }
  .af-stats b { font-size: 20px; margin: 0; }
  .af-calls li { grid-template-columns: 4.6em minmax(0, 1fr) auto; }
  .af-calls .what { display: none; }
  .af-form { grid-template-columns: 1fr; }
  .af-dash { flex-direction: column; }
  .dash-side { width: auto; flex-direction: row; gap: 4px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .dash-side::-webkit-scrollbar { display: none; }
  .dash-ws { display: none; }
  .dash-nav { flex: none; gap: 6px; min-height: 32px; font-size: 13px; }
  .dash-pane { min-height: 0; }
  .dash-top { height: 40px; }
  .dash-list li { grid-template-columns: 14px minmax(0, 1fr) auto; padding: 0 14px; }
  .dash-list .id { display: none; }
  .site-grid { padding: 12px 12px 0; gap: 8px; }
  .site-card { padding: 10px 12px; }
  .sc-v { font-size: 20px; }
  .site-pending { margin: 8px 12px 12px; }
  .chrome-new .url { display: none; }
}

/* Liquid glass: pre-blurred radial meshes moved by transform only. No backdrop-filter, no filter. */
.liquid { position: absolute; inset: 0; overflow: hidden; background: #140A05; opacity: var(--g); pointer-events: none; contain: strict; }
.mesh {
  position: absolute; left: 50%; top: 50%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; border-radius: 50%;
  will-change: transform; backface-visibility: hidden; transform: translate3d(var(--x), var(--y), 0);
  animation: mesh 24s ease-in-out infinite alternate; animation-play-state: paused;
}
.story.is-liquid .mesh { animation-play-state: running; }
/* Vermilion top-left, amber-gold top-right, espresso pooling bottom-right. */
.m1 { --x: -26vmax; --y: -20vmax; background: radial-gradient(closest-side, #FF3B00, rgba(255, 59, 0, .7) 50%, rgba(255, 59, 0, 0)); }
.m2 { --x: 30vmax; --y: -24vmax; width: 100vmax; height: 100vmax; margin: -50vmax 0 0 -50vmax; background: radial-gradient(closest-side, #FF9500, rgba(255, 149, 0, .6) 50%, rgba(255, 149, 0, 0)); animation-duration: 29s; animation-delay: -8s; }
.m3 { --x: 34vmax; --y: 30vmax; background: radial-gradient(closest-side, #140A05, rgba(20, 10, 5, .9) 55%, rgba(20, 10, 5, 0)); animation-duration: 21s; animation-delay: -4s; }
.m4 { --x: -14vmax; --y: 24vmax; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; background: radial-gradient(closest-side, #E62E00, rgba(230, 46, 0, .5) 50%, rgba(230, 46, 0, 0)); animation-duration: 33s; animation-delay: -14s; }
/* A soft dark pool behind the type keeps white text readable on the brightest frames. */
.liquid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 45% at 50% 52%, rgba(20, 10, 5, .32), rgba(20, 10, 5, 0)); }
.grain {
  position: absolute; inset: 0; opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.finale {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--hh) + 24px) var(--pad) 40px; color: #FFF;
  opacity: var(--f); transform: translate3d(0, calc((1 - var(--f)) * 28px), 0);
}
.finale[inert] { pointer-events: none; }
.finale-k { font-family: var(--mono); font-size: clamp(11px, 1vw, 13px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.finale-brand { margin-top: 22px; font-family: var(--serif); font-size: clamp(64px, 13vw, 200px); line-height: .88; letter-spacing: -0.04em; text-shadow: 0 2px 40px rgba(20, 10, 5, .25); }
.finale-sub { margin: 26px auto 0; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.45; max-width: 36ch; text-shadow: 0 1px 18px rgba(20, 10, 5, .35); }
.btn-sq {
  margin-top: 40px; display: inline-flex; align-items: stretch; min-height: 60px; border-radius: 0; text-decoration: none;
  background: #FFF; color: var(--carbon); box-shadow: 0 24px 50px -20px rgba(20, 10, 5, .55);
  transition: background-color .1s, color .1s;
}
.btn-sq span { display: flex; align-items: center; padding: 0 26px; font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.btn-sq i { width: 60px; flex: none; display: grid; place-items: center; background: var(--orange); color: var(--carbon); font-style: normal; font-size: 22px; transition: transform .15s var(--ease); }
.btn-sq:hover { background: var(--carbon); color: #FFF; }
.btn-sq:active { transform: translateY(1px); }
.btn-sq:focus-visible { outline: 3px solid #FFF; outline-offset: 4px; }
.finale-alt { margin-top: 18px; font-size: 15px; font-weight: 600; }
.finale-alt a { color: #FFF; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .55); }
.finale-alt a:hover { text-decoration-color: #FFF; }
.finale-alt span { margin: 0 8px; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 160px); }
.section[data-nav-theme="dark"] { background: var(--carbon); color: var(--stone); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { grid-column: 1 / 8; }
.sec-head .lead { grid-column: 9 / 13; }

.bento { display: grid; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r);
  background: var(--paper); color: var(--carbon); text-decoration: none; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.tile:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .35); }
.tile-copy { display: grid; gap: 10px; }
.tile-copy p, .tile > p { font-size: 17px; max-width: 46ch; }
.tile-more { margin-top: auto; font-weight: 700; font-size: 16px; display: inline-flex; gap: 6px; }
a.tile:hover .tile-more span { transform: translateX(3px); }
.tile-more span { transition: transform .2s var(--ease); }
a.tile-more { text-decoration: none; width: fit-content; }
a.tile-more:hover span { transform: translateX(3px); }
.tile-dark { background: var(--carbon-2); color: var(--stone); }
.tile-orange { background: var(--orange); color: var(--carbon); }
.tile-note { font-size: 14px; color: var(--muted-d); margin-top: auto; }

.bento-sec .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "web web host" "web web ai" "own own own"; }
.tile-web { grid-area: web; }
.tile-host { grid-area: host; }
.tile-ai { grid-area: ai; }
.tile-own { grid-area: own; background: var(--orange); flex-direction: row; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.tile-own h3 { font-size: clamp(32px, 3.6vw, 52px); }
.tile-own .tile-more { margin-top: 0; }


/* Benchmark widget: three measured Lighthouse scores, each in its own recessed card. It grows to fill its tile, so the
   cards stretch and their source lines sit on one baseline at the bottom. */
.bench { --ink: #141413; --rec: #F4F1EA; --rec-line: rgba(20, 20, 19, .08); container: bench / inline-size; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; flex: 1 1 auto; margin-top: 8px; }
.bench-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bench-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; border-radius: 12px; background: var(--rec); border: 1px solid var(--rec-line); color: var(--ink); }
.ring { --v: 0; position: relative; width: 64px; height: 64px; margin-bottom: 8px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-track { stroke: rgba(20, 20, 19, .12); }
.ring-val { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--v)); transition: stroke-dashoffset 1.2s var(--ease); }
.js .bench:not(.in) .ring-val { stroke-dashoffset: 100; }
.ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.bench-t { font-size: 16px; font-weight: 700; line-height: 1.25; }
.bench-p { font-size: 14px; line-height: 1.45; color: #3A3935; }
.bench-src { margin-top: auto; padding-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.bench-note { font-size: 13px; line-height: 1.4; color: var(--muted); }
/* Three cards: side by side when there is room, otherwise one stacked list with the ring beside the text. */
/* Side by side, a card is a tall spec sheet: a larger ring at the top, the copy anchored to the bottom. */
/* A subgrid keeps titles, copy and sources on shared lines across the three cards. */
@container bench (min-width: 641px) {
  .bench-grid { grid-template-rows: minmax(0, 1fr) auto auto auto; row-gap: 0; }
  .bench-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 6px; padding: 22px 20px 18px; }
  .bench-card .ring { width: 88px; height: 88px; margin-bottom: 24px; }
  .bench-card .ring-n { font-size: 22px; }
  .bench-card .bench-t { align-self: end; }
  .bench-card .bench-src { margin-top: 6px; padding-top: 0; }
}
@container bench (max-width: 640px) {
  .bench-grid { grid-template-columns: 1fr; }
  .bench-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; align-content: center; align-items: start; }
  .bench-card .ring { grid-row: 1 / 4; align-self: center; margin: 0; }
  .bench-card .bench-src { margin-top: 0; }
}
.deploy-mini { display: grid; gap: 8px; font-size: 15px; }
.deploy-mini li { display: flex; align-items: center; gap: 10px; }
.deploy-mini li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--stone-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; }
.deploy-mini li.live { font-weight: 700; }
.deploy-mini li.live::before { background: var(--green); box-shadow: 0 0 0 4px rgba(24, 169, 87, .18); }

.flow-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.flow-mini span { padding: 6px 12px; border-radius: 999px; background: var(--stone-2); }
.flow-mini span:last-child { background: var(--carbon); color: var(--stone); }
.flow-mini i { width: 14px; height: 2px; background: var(--orange); }

/* AI receptionist band */
.rx-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: center; }
.rx-copy { grid-column: 1 / 7; display: grid; gap: 24px; }
.rx-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rx-steps { grid-column: 8 / 13; display: grid; gap: 4px; counter-reset: rx; }
.rx-steps li { counter-increment: rx; position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line-d); font-size: 17px; color: var(--muted-d); }
.rx-steps li b { display: block; color: var(--stone); font-weight: 700; font-size: 19px; margin-bottom: 2px; }
.rx-steps li::before { content: counter(rx); position: absolute; left: 0; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--carbon); font-weight: 700; }

.cta-band { background: var(--stone-2); }
.cta-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: end; }
.cta-in h2 { grid-column: 1 / 8; }
.cta-side { grid-column: 8 / 13; display: grid; gap: 24px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); }
.page-hero-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: end; }
.page-hero h1 { grid-column: 1 / 8; }
.page-hero-side { grid-column: 8 / 13; display: grid; gap: 24px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { min-height: 40px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: 15px; font-weight: 600; transition: background-color .15s, color .15s; }
.jump a:hover { background: var(--carbon); color: var(--stone); box-shadow: none; }

/* Checklists */
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks-d li { color: var(--stone); }

/* ---------- Services ---------- */
.svc-alt { background: var(--stone-2); }
.svc-alt .tile-plain { background: var(--paper); }
.bento-web { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.web-left { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 16px; }
.web-pair { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bento-web .tile-bench { grid-column: 7 / 13; }
.tile-weight h3 { font-size: clamp(44px, 4.4vw, 64px); font-variant-numeric: tabular-nums; }
.tile-weight p, .tile-quote p { font-size: 16px; }
.tile-quote .btn { margin-top: auto; align-self: start; white-space: normal; text-align: center; }

.bento-host { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tile-deploy { grid-column: 1 / 8; }
.bento-host .tile-list { grid-column: 8 / 13; }
.bento-host .tile-list .btn { margin-top: auto; align-self: start; }
.deploy { display: grid; gap: 18px; }
.deploy-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.deploy-title { font-weight: 700; font-size: 18px; }
.deploy-next { min-height: 40px; padding: 6px 18px; border-radius: 999px; border: 0; background: var(--stone); color: var(--carbon); font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s; }
.deploy-next:hover { background: var(--orange); }
.deploy-steps { display: grid; gap: 6px; }
.deploy-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--muted-d); font-size: 16px; transition: background-color .3s, color .3s; }
.deploy-steps li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background-color .3s, box-shadow .3s; }
.deploy-steps li.done { color: var(--stone); }
.deploy-steps li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.deploy-steps li.now { background: rgba(255, 59, 0, .14); color: var(--stone); }
.deploy-steps li.now::before { box-shadow: inset 0 0 0 2px var(--orange); }
.deploy-log { margin: 0; padding: 14px 16px; border-radius: 10px; background: #0A0A0A; color: #A3E635; font: 13px/1.6 var(--mono); white-space: pre-wrap; min-height: 6.6em; }

.pipe { border-radius: var(--r); background: var(--carbon-2); padding: clamp(20px, 3vw, 36px); display: grid; gap: 28px; }
.pipe-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pipe-nodes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pn { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background-color .4s, box-shadow .4s, opacity .4s; }
.pn b { font-size: 17px; font-weight: 700; color: var(--stone); }
.pn span { font-size: 15px; color: var(--muted-d); }
.pn:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -16px; width: 16px; height: 2px; background: rgba(255, 255, 255, .2); }
.pipe.is-running .pn { opacity: .4; }
.pipe .pn.lit { opacity: 1; background: rgba(255, 59, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .6); }
.pipe .pn.lit:not(:last-child)::after { background: var(--orange); }
.pipe[data-source="call"] .src-form, .pipe[data-source="form"] .src-call { display: none; }
.pipe-out { transition: opacity .4s, transform .4s var(--ease); }
.pipe.is-running:not(.is-done) .pipe-out { opacity: .25; transform: translateY(6px); }
.mail { border-radius: 12px; background: var(--paper); color: var(--carbon); padding: 18px 20px; display: grid; gap: 10px; max-width: 620px; }
.mail-sub { font-weight: 700; font-size: 16px; }
.mail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.mail-fields dt { font-size: 13px; color: var(--muted); }
.mail-fields dd { font-size: 15px; font-weight: 600; }
.mail-note { font-size: 13px; color: var(--muted); }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: 56px; }
.ai-grid h3 { margin-bottom: 18px; }
.ai-call { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 28px; border-radius: var(--r); background: var(--orange); color: var(--carbon); }
.ai-call h3 { margin: 0; }
.ai-call .btn-primary { background: var(--carbon); border-color: var(--carbon); color: var(--stone); }
.ai-call .btn-primary:hover { background: var(--stone); border-color: var(--stone); color: var(--carbon); }
.ai-call .btn-ghost-d { border-color: var(--carbon); color: var(--carbon); }
.ai-call .btn-ghost-d:hover { background: var(--carbon); color: var(--stone); }

/* ---------- Work ---------- */
.work { display: grid; gap: 24px; }
.work-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.work-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tabs button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: var(--stone); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.work-tabs button:hover { border-color: var(--stone); }
.work-tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--carbon); }
.work-panel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: start; animation: af-in .3s var(--ease); }
.wframe { grid-column: 1 / 9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.wscreen { position: relative; aspect-ratio: 16 / 10; container: wscreen / size; background: #0F141C; }
.wscreen .pane { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.work[data-mode="after"] .w-before, .work[data-mode="before"] .w-after { opacity: 0; transform: scale(.985); pointer-events: none; }
.changes { grid-column: 9 / 13; display: grid; gap: 18px; }
.af-lite { display: flex; flex-direction: column; }
.af-lite .af-head { padding-inline: 4cqw; }

/* Home services, before */
.rf-before { --e: min(100cqw / 36, 100cqh / 24); font-size: var(--e); background: #000 repeating-linear-gradient(45deg, #222 0 .4em, #000 .4em .8em); display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; }
.rb-top { background: #C00; color: #FF0; text-align: center; font: 900 1.6em Impact, "Arial Black", sans-serif; padding: .3em; letter-spacing: .02em; }
.rb-free { text-align: center; font: 900 1.5em Impact, "Arial Black", sans-serif; color: #0F0; padding: .25em; }
.rb-free span { color: #FFF; background: #00F; padding: 0 .3em; }
.rb-body { flex: 1; display: flex; gap: 1em; padding: .6em 1em; background: #FFF; margin: 0 .8em; border: .2em ridge #888; min-height: 0; overflow: hidden; }
.rb-tree { width: 8em; flex: none; position: relative; }
.rb-tree i { position: absolute; left: .8em; top: .4em; width: 6.4em; height: 5.6em; border-radius: 50%; background: #00A000; border: .2em dotted #006000; }
.rb-tree b { position: absolute; left: 3.5em; top: 5.6em; width: 1em; height: 3em; background: #8B4513; }
.rb-copy p { font: .8em/1.3 "Comic Sans MS", "Comic Neue", sans-serif; color: #000; }
.rb-phone { margin-top: .6em; font: 700 .75em Arial, sans-serif; color: #C00; }
.rb-img { margin-top: .3em; display: inline-block; padding: .4em .8em; border: .1em dashed #999; color: #999; font: .65em "Courier New", monospace; }
.rb-coupon { margin-top: .6em; color: #00E !important; text-decoration: underline; font-weight: 700 !important; }
.rb-foot { color: #AAA; font-size: .55em; text-align: center; padding: .6em; }

/* Home services, after: a commercial landscaper (forest green, gold, Georgia). */
.rf-after { --e: min(100cqw / 36, 100cqh / 24); font-size: var(--e); background: #0f2f20; color: #FFF; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; display: flex; flex-direction: column; }
.ra-head { display: flex; align-items: center; gap: 1.4em; padding: 0 1.6em; height: 3em; flex: none; background: #0b2318; }
.ra-logo { display: inline-flex; align-items: center; gap: .45em; font: 700 1em Georgia, "Times New Roman", serif; white-space: nowrap; }
.ra-logo em { font-weight: 400; color: #cfe3d3; }
.ra-leaf { width: .9em; height: .9em; background: #f2c25a; border-radius: 0 60% 0 60%; }
.ra-nav { display: flex; gap: 1.2em; font-size: .66em; font-weight: 600; color: #e9f1ea; margin-left: auto; }
.ra-cta { font-size: .62em; font-weight: 700; color: #0f2f20; background: #f2c25a; padding: .55em 1em; border-radius: .5em; white-space: nowrap; }
.ra-hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4em; align-items: center; padding: 1em 1.6em; background: linear-gradient(160deg, #0b2318, #0f2f20 55%, #16402c); }
.ra-copy { display: grid; gap: .5em; align-content: center; }
.ra-k { font-size: .6em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f2c25a; }
.ra-h { font: 700 1.8em/1.08 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; }
.ra-p { font-size: .72em; line-height: 1.5; color: #dfeae1; max-width: 26em; }
.ra-ctas { display: flex; gap: .5em; margin-top: .3em; }
.ra-btn { background: #f2c25a; color: #0f2f20; font-weight: 700; font-size: .7em; padding: .75em 1.2em; border-radius: .55em; white-space: nowrap; }
.ra-btn2 { border: 1.5px solid rgba(255, 255, 255, .6); font-weight: 700; font-size: .7em; padding: .7em 1.2em; border-radius: .55em; white-space: nowrap; }
.ra-art { width: 100%; height: auto; max-height: 100%; border-radius: .9em; box-shadow: 0 1em 2em rgba(0, 0, 0, .35); }
.ra-trust { display: grid; grid-template-columns: repeat(4, 1fr); flex: none; background: #0f2f20; border-top: 1px solid rgba(255, 255, 255, .18); }
.ra-trust li { padding: .8em 1em; font-size: .6em; color: #dfeae1; border-left: 1px solid rgba(255, 255, 255, .18); }
.ra-trust li:first-child { border-left: 0; padding-left: 2.6em; }
.ra-trust b { display: block; font: 700 1.35em Georgia, "Times New Roman", serif; color: #FFF; }

/* Professional services, before */
.pf-before { --e: min(100cqw / 36, 100cqh / 24); font-size: var(--e); background: #C0C0C0; font-family: Verdana, Geneva, sans-serif; display: flex; flex-direction: column; color: #333; }
.pb-band { background: #336; color: #FFF; font: 700 .9em Georgia, serif; padding: .6em 1em; }
.pb-grid { display: flex; flex: 1; min-height: 0; margin: .6em; gap: .6em; }
.pb-side { width: 8em; flex: none; display: flex; flex-direction: column; gap: .2em; background: #E0E0E0; padding: .5em; border: 1px solid #999; }
.pb-side span { font-size: .55em; color: #039; text-decoration: underline; padding: .2em 0; }
.pb-main { flex: 1; background: #FFF; border: 1px solid #999; padding: .8em 1em; overflow: hidden; }
.pb-title { font: 700 1em Georgia, serif; color: #336; }
.pb-main p:not(.pb-title) { font-size: .5em; line-height: 1.5; margin-top: .8em; }
.pb-enter { text-align: center; color: #039; text-decoration: underline; font-weight: 700; }
.pb-news { color: #C00; }

/* Professional services, after (v1.9.0): an editorial, clinical-calm practice. Warm ivory, graphite ink and one muted
   claret accent; serif display with generous white space, a numbered services index, a consultation card and a trust line.
   Deliberately unlike the industrial pane (dark, amber, condensed caps) and the landscaping pane (forest green, gold). */
.pf-after { --e: min(100cqw / 36, 100cqh / 24); --pz-ink: #24262B; --pz-mute: #5A5D66; --pz-acc: #7B2D3B; --pz-line: rgba(36, 38, 43, .14); font-size: var(--e); background: #F4F1EA; color: var(--pz-ink); font-family: var(--sans); display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.pz-util { flex: none; display: flex; justify-content: space-between; gap: 1em; padding: .5em 2.2em; font-size: .5em; letter-spacing: .14em; text-transform: uppercase; color: var(--pz-mute); border-bottom: 1px solid var(--pz-line); }
.pz-head { flex: none; display: flex; align-items: center; height: 3em; padding: 0 2.2em; border-bottom: 1px solid var(--pz-line); }
.pz-logo { display: inline-flex; align-items: center; gap: .55em; font: 400 1.25em/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.pz-logo em { color: var(--pz-acc); }
.pz-mono { display: inline-grid; place-items: center; width: 2.3em; height: 2.3em; border: 1px solid var(--pz-ink); border-radius: 50%; font: 600 .4em/1 var(--sans); letter-spacing: .02em; }
.pz-nav { display: flex; gap: 1.6em; margin-left: auto; font-size: .62em; font-weight: 500; color: var(--pz-mute); }
.pz-nav span:last-child { color: var(--pz-ink); border-bottom: 1px solid var(--pz-acc); }
.pz-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.35fr .85fr; gap: 2.4em; align-items: center; padding: 1.4em 2.2em; }
.pz-copy { display: grid; gap: .7em; align-content: center; }
.pz-k { font-size: .52em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pz-acc); }
.pz-h { font: 400 2.45em/1 var(--serif); letter-spacing: -0.025em; }
.pz-h em { color: var(--pz-acc); }
.pz-p { font-size: .7em; line-height: 1.55; color: var(--pz-mute); max-width: 30em; }
.pz-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6em; margin-top: .3em; border-top: 1px solid var(--pz-line); }
.pz-index li { display: flex; gap: .7em; align-items: baseline; padding: .55em 0; border-bottom: 1px solid var(--pz-line); font: 400 .78em/1.2 var(--serif); }
.pz-index span { font: 500 .7em var(--mono); color: var(--pz-acc); }
.pz-book { display: grid; gap: .6em; padding: 1.2em 1.2em 1.3em; background: #FFFDF8; border: 1px solid var(--pz-line); border-top: 2px solid var(--pz-acc); }
.pz-book-k { font: 400 1.1em/1.1 var(--serif); }
.pz-book-t { font-size: .55em; color: var(--pz-mute); margin-top: -.3em; }
.pz-days, .pz-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.pz-days span { display: grid; justify-items: center; gap: .1em; padding: .45em 0; border: 1px solid var(--pz-line); font-size: .5em; text-transform: uppercase; letter-spacing: .1em; color: var(--pz-mute); }
.pz-days b { font: 400 2em/1 var(--serif); letter-spacing: 0; color: var(--pz-ink); }
.pz-slots span { text-align: center; padding: .5em 0; border: 1px solid var(--pz-line); font: 500 .55em var(--mono); }
.pz-days .on, .pz-slots .on { border-color: var(--pz-ink); background: var(--pz-ink); color: #F4F1EA; }
.pz-days .on b { color: #F4F1EA; }
.pz-btn { text-align: center; background: var(--pz-acc); color: #FFF; font-size: .58em; font-weight: 600; letter-spacing: .02em; padding: .9em 1em; }
.pz-trust { flex: none; display: flex; justify-content: space-between; gap: 1em; padding: .8em 2.2em; border-top: 1px solid var(--pz-line); font-size: .5em; color: var(--pz-mute); }
.pz-trust span { display: inline-flex; align-items: center; gap: .6em; white-space: nowrap; }
.pz-trust span::before { content: ""; width: .5em; height: .5em; border-radius: 50%; border: 1px solid var(--pz-acc); }

@container (aspect-ratio < 1) {
  .rf-before, .rf-after, .pf-before, .pf-after { --e: min(100cqw / 20, 100cqh / 30); }
  .ra-nav, .pz-nav { display: none; }
  .pb-side { display: none; }
  .pz-util span + span, .pz-p, .pz-slots { display: none; }
  .pz-util, .pz-head, .pz-body, .pz-trust { padding-inline: 1.4em; }
  .pz-body { grid-template-columns: 1fr; gap: 1.2em; align-content: center; padding-block: 1em; }
  .pz-h { font-size: 2.2em; }
  .pz-trust { display: grid; grid-template-columns: 1fr 1fr; gap: .5em 1em; }
  .rb-tree { display: none; }
  .ra-cta { display: none; }
  .ra-hero { grid-template-columns: 1fr; align-content: center; }
  .ra-art { display: none; }
  .ra-trust { grid-template-columns: 1fr 1fr; }
  .ra-trust li:nth-child(odd) { border-left: 0; padding-left: 1.6em; }
  .ra-trust li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
}

/* Voice demo */
.voice-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: start; }
.voice-copy { grid-column: 1 / 6; display: grid; gap: 24px; }
.replay { grid-column: 6 / 13; border-radius: var(--r); background: var(--paper); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 18px; }
.replay-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.replay-title { font-weight: 700; font-size: 18px; }
.replay-lines { display: grid; gap: 10px; }
.replay-lines li { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 16px; line-height: 1.45; transition: opacity .35s, transform .35s var(--ease); }
.replay-lines b { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.replay-lines .ai { background: var(--stone-2); border-bottom-left-radius: 4px; }
.replay-lines .caller { justify-self: end; background: var(--carbon); color: var(--stone); border-bottom-right-radius: 4px; }
.replay-lines .caller b { color: var(--muted-d); }
.replay.is-playing .replay-lines li:not(.shown), .replay.is-playing .replay-lead:not(.shown) { opacity: 0; transform: translateY(8px); }
.replay-lead { border-radius: 12px; padding: 16px 18px; background: rgba(24, 169, 87, .1); box-shadow: inset 0 0 0 1px rgba(24, 169, 87, .4); display: grid; gap: 10px; transition: opacity .35s, transform .35s var(--ease); }
.replay-k { font-weight: 700; color: #0E7A3D; }
.replay-note { font-size: 14px; color: var(--muted); }

.phone-card { display: grid; gap: 4px; padding: 24px 28px; border-radius: var(--r); background: var(--carbon); color: var(--stone); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.phone-card:hover { background: #000; transform: translateY(-2px); }
.phone-card-k { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted-d); }
.phone-card-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 169, 87, .25); }
.phone-card-n { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.phone-card-go { font-size: 15px; color: var(--muted-d); }

/* ---------- Work v1.9.0: custom software + app-bridge simulator ----------
   Same four site tokens (stone, paper, carbon, orange) plus the existing green and --err for state. Icons are one inline
   sprite of 1.5px-stroke monochrome symbols. Every figure is tabular. */
.ico-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }
.cs, .ig, .lan { font-variant-numeric: tabular-nums; }
.cs-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 24px; }
.tabs-l button { border-color: rgba(17, 17, 17, .2); color: var(--carbon); }
.tabs-l button:hover { border-color: var(--carbon); }
.demo-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.demo-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.demo-tag-d { color: var(--muted-d); }
.cs-panel { animation: af-in .3s var(--ease); }
.js-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Tab 1: job-stage portal */
.js-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.js-ctrl { display: grid; align-content: start; gap: 20px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r); background: var(--carbon-2); color: var(--stone); }
.js-ctrl .js-k { color: var(--muted-d); }
.js-meta { display: grid; gap: 6px; }
.js-meta div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-d); }
.js-meta dt { font-size: 14px; color: var(--muted-d); }
.js-meta dd { font-size: 15px; font-weight: 600; }
.js-stages { display: grid; gap: 6px; }
.js-stages li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--muted-d); font-size: 16px; transition: background-color .3s, color .3s, box-shadow .3s; }
.js-stages li span { font: 600 13px var(--mono); min-width: 2ch; }
.js-stages li.done { color: var(--stone); }
.js-stages li.done span { color: var(--green); }
.js-stages li.now { background: rgba(255, 59, 0, .14); color: var(--stone); box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .6); font-weight: 600; }
.js-stages li.now span { color: var(--orange); }
.js-ctrl .btn-primary:hover { background: var(--stone); border-color: var(--stone); color: var(--carbon); }
.js-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.js-now { font-size: 15px; color: var(--muted-d); }
.js-now b { color: var(--stone); }
.js-hint { font-size: 14px; color: var(--muted-d); }
.js-portal { display: grid; align-content: start; gap: 16px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.js-win { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.js-win-bar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--stone-2); border-bottom: 1px solid var(--line); font: 13px var(--mono); color: var(--muted); min-width: 0; }
.js-win-bar > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.js-dots { display: inline-flex; gap: 5px; flex: none; }
.js-dots i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--field); }
.js-tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 18px 14px 6px; }
.js-tl li { position: relative; display: grid; gap: 2px; padding: 22px 6px 0 0; font-size: 14px; line-height: 1.3; color: var(--muted); transition: color .3s; }
.js-tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--field); z-index: 1; transition: background-color .3s, box-shadow .3s; }
.js-tl li::after { content: ""; position: absolute; left: 12px; right: 0; top: 5px; height: 2px; background: var(--line); }
.js-tl li:last-child::after { display: none; }
.js-tl b { font-weight: 600; color: inherit; }
.js-tl time { font: 12.5px var(--mono); visibility: hidden; }
.js-tl li.done, .js-tl li.now { color: var(--carbon); }
.js-tl li.done time, .js-tl li.now time { visibility: visible; color: var(--muted); }
.js-tl li.done::before { background: var(--carbon); box-shadow: none; }
.js-tl li.done::after { background: var(--carbon); }
.js-tl li.now::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 59, 0, .2); }
.js-rows { display: grid; gap: 8px; padding: 12px 14px 14px; }
.js-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--stone); color: var(--muted); transition: background-color .3s, box-shadow .3s, color .3s; }
.js-row p { display: grid; gap: 1px; min-width: 0; flex: 1; }
.js-row b { font-size: 15px; color: var(--carbon); }
.js-row p span { font-size: 14px; }
.js-row .ico { color: var(--field); }
.js-row.on { background: rgba(24, 169, 87, .08); box-shadow: inset 0 0 0 1px rgba(24, 169, 87, .4); color: var(--carbon); }
.js-row.on .ico { color: #0E7A3D; }
.js-pay { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--carbon); color: var(--stone); font-size: 13px; font-weight: 700; visibility: hidden; }
.js-row.on .js-pay { visibility: visible; }
.js-alert { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--carbon); color: var(--stone); }
.js-alert-k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-d); }
.js-alert-k .ico { width: 16px; height: 16px; }
.js-alert-msg { font-size: 16px; line-height: 1.45; }
.js-why { font-size: 15px; color: var(--muted); }

/* Tab 2: quoting workbench */
.wb { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; align-items: start; }
.wb-in { display: grid; gap: 16px; padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.wb-f { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wb-f > span, .wb-f legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.wb-f > span { margin-bottom: 0; }
.wb-f select, .wb-f input[type="number"] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 10px; background: var(--stone); font-size: 16px; font-variant-numeric: tabular-nums; }
.wb-f select:hover, .wb-f input[type="number"]:hover { border-color: var(--carbon); }
.wb-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wb-seg label, .ig-pick label { position: relative; cursor: pointer; }
.wb-seg input, .ig-pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wb-seg span { display: grid; gap: 2px; height: 100%; padding: 10px 6px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); text-align: center; font-size: 14px; font-weight: 700; transition: background-color .15s, color .15s; }
.wb-seg small { font-size: 12px; font-weight: 500; color: var(--muted); }
.wb-seg label:hover span { box-shadow: inset 0 0 0 1px var(--carbon); }
.wb-seg input:checked + span { background: var(--carbon); color: var(--stone); box-shadow: none; }
.wb-seg input:checked + span small { color: var(--muted-d); }
.wb-seg input:focus-visible + span, .ig-pick input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.wb-rates { font-size: 13px; line-height: 1.5; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.wb-out { display: grid; gap: 16px; min-width: 0; }
.wb-checks { display: grid; gap: 8px; }
.wb-flag { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.45; }
.wb-flag .ico { margin-top: 1px; }
.wb-ok { background: rgba(24, 169, 87, .1); box-shadow: inset 0 0 0 1px rgba(24, 169, 87, .35); }
.wb-ok .ico { color: #0E7A3D; }
.wb-err { background: rgba(179, 32, 10, .07); box-shadow: inset 0 0 0 1px rgba(179, 32, 10, .4); }
.wb-err .ico { color: var(--err); }
.wb-warn { background: rgba(255, 59, 0, .08); box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .35); }
.wb-warn .ico { color: var(--orange-ink); }
.wb-info { background: var(--stone-2); }
.wb-cost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.wb-band { display: grid; align-content: start; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--carbon); color: var(--stone); }
.wb-band .js-k { color: var(--muted-d); }
.wb-band-n { font: 400 clamp(32px, 3.4vw, 44px)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wb-unit { font-size: 14px; color: var(--muted-d); }
.wb-tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.wb-tbl th, .wb-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.wb-tbl td:last-child { text-align: right; white-space: nowrap; }
.wb-tbl td:nth-child(2) { color: var(--muted); }
.wb-build th { font-weight: 600; }
.wb-total th, .wb-total td { font-weight: 700; border-bottom: 0; border-top: 1.5px solid var(--carbon); }
.wb-ticket { display: grid; gap: 14px; padding: clamp(18px, 2.4vw, 24px); border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px var(--line); border-top: 3px solid var(--carbon); }
.wb-ticket-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.wb-ticket-k { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wb-job { font: 700 20px var(--mono); }
.wb-status { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.wb-status.is-ready { background: rgba(24, 169, 87, .12); color: #0E7A3D; }
.wb-status.is-hold { background: rgba(179, 32, 10, .1); color: var(--err); }
.wb-ticket-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.wb-ticket-meta dt { font-size: 13px; color: var(--muted); }
.wb-ticket-meta dd { font-size: 15px; font-weight: 600; }
.wb-route th { font-size: 13px; font-weight: 700; color: var(--muted); }
.wb-route th:last-child { text-align: right; }
.wb-route td:nth-child(2) { color: var(--carbon); }
.wb-route td:first-child { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Tab 3: desktop and LAN software */
.lan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--gap); align-items: start; }
.lan-copy { display: grid; gap: 16px; }
.lan-copy p { max-width: 52ch; }
.lan-facts { display: grid; gap: 10px; }
.lan-facts li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.lan-apps { display: grid; gap: 10px; }
.lan-apps a { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: background-color .15s, color .15s, box-shadow .15s; }
.lan-apps a > span { display: grid; gap: 2px; font-size: 15px; color: var(--muted); min-width: 0; transition: color .15s; }
.lan-apps b { font-size: 18px; color: var(--carbon); transition: color .15s; }
.lan-apps .ico { width: 28px; height: 28px; }
.lan-apps .lan-go { width: 20px; height: 20px; margin-left: auto; transition: transform .2s var(--ease); }
.lan-apps a:hover { background: var(--carbon); color: var(--stone); box-shadow: none; }
.lan-apps a:hover > span { color: var(--muted-d); }
.lan-apps a:hover b { color: var(--stone); }
.lan-apps a:hover .lan-go { transform: translateX(3px); }

/* App-bridge simulator (dark section) */
.ig-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.ig-left { display: grid; gap: 22px; align-content: start; }
.ig-panel { display: grid; gap: 10px; }
.ig-panel p { font-size: 16px; color: var(--muted-d); }
.ig-panel p b, .ig-panel p .num { color: var(--stone); }
.ig-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.ig-pick legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--stone); }
.ig-pick span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; color: var(--stone); transition: background-color .15s, color .15s; }
.ig-pick span::before { content: ""; width: 12px; height: 12px; flex: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.ig-pick input[type="radio"] + span::before { border-radius: 50%; }
.ig-pick input[type="checkbox"] + span::before { border-radius: 3px; }
.ig-pick label:hover span { box-shadow: inset 0 0 0 1px var(--stone); }
.ig-pick input:checked + span { background: var(--stone); color: var(--carbon); }
.ig-pick input:checked + span::before { background: var(--orange); box-shadow: inset 0 0 0 1.5px var(--carbon); }
.ig-need { font-size: 14px; color: var(--muted-d); min-height: 1.4em; }
.ig-run { justify-self: start; }
.ig-run[disabled] { opacity: .5; cursor: not-allowed; }
.ig-ba { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.ig-ba-cap { font-size: 13px; color: var(--muted-d); }
.ig-ba-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ig-ba-c { display: grid; align-content: start; gap: 8px; padding: 16px; border-radius: 12px; }
.ig-before { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-d); }
.ig-after { background: rgba(255, 59, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .5); }
.ig-ba-k { font-size: 14px; font-weight: 700; }
.ig-ba ul { display: grid; gap: 6px; }
.ig-ba li { font-size: 15px; line-height: 1.4; color: var(--muted-d); padding-left: 14px; position: relative; }
.ig-ba li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1.5px; background: currentColor; }
.ig-ba li b { color: var(--stone); }
.ig-stage { display: grid; gap: 18px; padding: clamp(16px, 2.4vw, 28px); border-radius: var(--r); background: var(--carbon-2); min-width: 0; }
.ig-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.25fr); gap: 18px; }
.ig-node { position: relative; display: grid; align-content: start; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background-color .35s, box-shadow .35s; min-width: 0; }
.ig-flow > .ig-node:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -18px; width: 18px; height: 2px; background: rgba(255, 255, 255, .2); transition: background-color .35s; }
.ig-node.lit { background: rgba(255, 59, 0, .1); box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .55); }
.ig-flow > .ig-node.lit:not(:last-child)::after { background: var(--orange); }
.ig-node-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.ig-node-n { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--stone); min-width: 0; }
.ig-node-n span { min-width: 0; overflow-wrap: anywhere; }
.ig-rules { display: grid; }
.ig-rules li { display: grid; gap: 1px; padding: 7px 0; border-top: 1px solid var(--line-d); font-size: 13px; line-height: 1.4; color: var(--muted-d); }
.ig-rules b { font-size: 13px; color: var(--stone); transition: color .3s; }
.ig-rules li.lit b { color: var(--orange); }
.ig-st { justify-self: start; display: inline-flex; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; color: var(--muted-d); }
.ig-st.is-run, .ig-st.is-retry { background: rgba(255, 59, 0, .18); color: #FF8A5C; }
.ig-st.is-ok { background: rgba(24, 169, 87, .18); color: #4FD18B; }
.ig-dests { display: grid; gap: 8px; }
.ig-dest { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow .35s, background-color .35s; }
.ig-dest .ig-node-n { font-size: 14px; }
.ig-dest .ico { width: 18px; height: 18px; }
.ig-dest.retry { box-shadow: inset 0 0 0 1px rgba(255, 59, 0, .6); }
.ig-dest.lit { background: rgba(24, 169, 87, .08); box-shadow: inset 0 0 0 1px rgba(24, 169, 87, .5); }
.ig-empty { font-size: 14px; color: var(--muted-d); }
.ig-io { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.ig-pay, .ig-log { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ig-io-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.ig-json { margin: 0; padding: 12px 14px; border-radius: 10px; background: #0A0A0A; color: var(--stone); font: 12.5px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; }
.ig-log-wrap { max-height: 420px; overflow: auto; border-radius: 10px; background: #0A0A0A; }
.ig-log table { width: 100%; table-layout: fixed; border-collapse: collapse; font: 12.5px/1.45 var(--mono); font-variant-numeric: tabular-nums; }
.ig-log th { position: sticky; top: 0; background: #0A0A0A; padding: 8px 10px; text-align: left; font-weight: 700; color: var(--muted-d); border-bottom: 1px solid var(--line-d); }
.ig-log th:first-child { width: 106px; }
.ig-log th:nth-child(2) { width: 26%; }
.ig-log td { padding: 7px 10px; border-top: 1px solid var(--line-d); vertical-align: top; color: var(--stone); overflow-wrap: anywhere; }
.ig-log td:first-child { white-space: nowrap; color: var(--muted-d); }
.ig-log td .ico { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; color: #4FD18B; }
.ig-retry td:last-child, .ig-retry td .ico { color: #FF8A5C; }
.ig-log tbody tr { animation: af-in .3s var(--ease); }
.ig-total { font-size: 14px; color: var(--muted-d); }
.ig-pay pre:focus-visible, .ig-log-wrap:focus-visible { outline-offset: 2px; }

@media (max-width: 1100px) {
  .ig-io { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .js-split, .wb, .lan, .ig-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .js-tl { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 14px 4px; }
  .js-tl li { grid-template-columns: minmax(0, 1fr) auto; padding: 0 0 0 24px; }
  .js-tl li::after { left: 5px; right: auto; top: 12px; width: 2px; height: calc(100% + 10px); }
  .js-tl li::before { top: 2px; }
  .wb-cost { grid-template-columns: minmax(0, 1fr); }
  .wb-ticket-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-flow { grid-template-columns: minmax(0, 1fr); }
  .ig-flow > .ig-node:not(:last-child)::after { top: auto; bottom: -18px; right: auto; left: 28px; width: 2px; height: 18px; }
  .js-meta div { grid-template-columns: 76px minmax(0, 1fr); }
  .ig-log th:first-child { width: 92px; }
  .ig-log table { font-size: 12px; }
  .ig-log th, .ig-log td { padding-inline: 7px; }
}
@media (max-width: 420px) {
  .ig-ba-row { grid-template-columns: minmax(0, 1fr); }
  .wb-seg span { font-size: 13px; padding-inline: 4px; }
  .wb-tbl th, .wb-tbl td { padding: 8px 6px; }
  .js-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-panel, .ig-log tbody tr { animation: none; }
  .ig-node, .ig-dest, .js-stages li, .js-row, .js-tl li, .lan-apps a, .lan-apps .lan-go { transition: none; }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.steps li { counter-increment: st; display: flex; flex-direction: column; gap: 12px; padding: 28px 22px; border-radius: var(--r); background: var(--carbon-2); }
.steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--carbon); font-weight: 700; }
.steps li p { font-size: 16px; color: var(--stone); }
.step-you { margin-top: auto; padding-top: 12px; font-size: 15px !important; color: var(--muted-d) !important; }
.step-you b { color: var(--stone); }

.guar-sec h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.guar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guar-item { display: grid; align-content: start; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r); background: var(--paper); }
.guar-item h3 { font-size: clamp(32px, 3.4vw, 48px); }
.guar-own { background: var(--orange); }

.compare-sec { background: var(--stone-2); }
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--paper); }
.table-wrap:focus-visible { outline-offset: 4px; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 15px; font-weight: 700; }
.cmp tbody th { font-weight: 600; width: 22%; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .cmp-us { background: rgba(255, 59, 0, .08); font-weight: 600; }
.cmp thead .cmp-us { background: var(--orange); }

.faq-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: start; }
.faq-head { grid-column: 1 / 5; display: grid; gap: 20px; position: sticky; top: calc(var(--hh) + 32px); }
.faq { grid-column: 6 / 13; display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: var(--paper); transition: background-color .2s; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; min-height: 64px; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--stone-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq summary:hover::after { background-color: var(--orange); }
.faq details p { padding: 0 64px 22px 20px; max-width: 64ch; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-sec { padding: clamp(48px, 7vw, 96px) 0 clamp(88px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: start; }
.contact-copy { grid-column: 1 / 6; display: grid; gap: 24px; }
.contact-copy h1 { font-size: clamp(42px, 4.8vw, 72px); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { display: grid; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--paper); text-decoration: none; min-width: 0; }
a.mini-card { transition: background-color .15s; }
a.mini-card:hover { background: var(--stone-2); }
.mini-k { font-size: 14px; color: var(--muted); }
.mini-v { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.next { display: grid; gap: 10px; counter-reset: nx; }
.next li { counter-increment: nx; position: relative; padding-left: 40px; font-size: 16px; }
.next li::before { content: counter(nx); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--carbon); color: var(--stone); font-size: 13px; font-weight: 700; }
.form-card { grid-column: 7 / 13; background: var(--paper); border-radius: 20px; padding: clamp(20px, 3vw, 40px); box-shadow: 0 1px 0 var(--line); }
.pills-field { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.pills-field legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; display: inline-flex; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--stone); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; transition: background-color .15s, color .15s, box-shadow .15s; }
.pill-opt:hover span { box-shadow: inset 0 0 0 1px var(--carbon); }
.pill-opt input:checked + span { background: var(--carbon); color: var(--stone); box-shadow: none; }
.pill-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.pills-field[aria-invalid="true"] .pill-opt span { box-shadow: inset 0 0 0 2px var(--err); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 2px; min-width: 0; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--field); border-radius: 10px;
  font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--carbon); appearance: none; -webkit-appearance: none;
}
input::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; min-height: 120px; }
select {
  padding-right: 40px; background-color: var(--paper); color: var(--carbon);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23111111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input:hover, select:hover, textarea:hover { border-color: var(--carbon); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--carbon); }
.field [aria-invalid="true"] { border: 2px solid var(--err); padding: 11px 13px; }
select[aria-invalid="true"] { padding-right: 39px; }
/* Error lines keep their space while empty, so clearing one on blur can't shift the submit button mid-click. */
.error { color: var(--err); font-size: 14px; font-weight: 600; line-height: 1.4; min-height: 1.4em; margin-top: 4px; }
.error[hidden] { display: block !important; visibility: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 2px solid var(--err); border-radius: 10px; color: var(--err); background: var(--paper); padding: 12px 14px; font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.success { padding: 8px 0; display: grid; gap: 12px; justify-items: start; }
.success-ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--orange); stroke: var(--carbon); fill: none; stroke-width: 2.5; }
.success h2 { font-size: clamp(30px, 3vw, 40px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--carbon); color: var(--stone); padding: clamp(72px, 9vw, 120px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px var(--gap); padding-bottom: clamp(48px, 7vw, 96px); }
.footer-col { display: grid; align-content: start; gap: 10px; font-size: 16px; }
.footer-h { font-size: 14px; color: var(--muted-d); margin-bottom: 4px; }
.footer-big { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.015em; text-decoration: none; width: fit-content; font-variant-numeric: tabular-nums; }
.footer-big:hover { color: var(--orange); }
.footer-small { color: var(--muted-d); max-width: 44ch; font-size: 15px; }
.footer-nav a { text-decoration: none; width: fit-content; min-height: 32px; display: inline-flex; align-items: center; }
.footer-nav a:hover { color: var(--orange); }
.footer-word { display: flex; align-items: center; gap: .18em; font-family: var(--serif); font-size: clamp(56px, 13.4vw, 196px); line-height: .9; letter-spacing: -0.045em; text-decoration: none; white-space: nowrap; }
.footer-mark { width: .78em; height: .78em; flex: none; }
.copy { margin-top: 28px; font-size: 14px; color: var(--muted-d); }

/* ---------- BizatiCAD Studio: /software and the home banner ----------
   Cream ground #F7F5F0, charcoal ink #111111, vermilion #FF3B00 (orange-ink #D93200 for text on cream).
   Grids: hero 7fr/5fr, preview 8fr/4fr, verification 5fr/7fr, capability cards 7/5 then 5/7 then 6/6 of 12.
   Icons are 1.5px monochrome strokes in currentColor; numbers are tabular. */
.page-software { --stone: #F7F5F0; background: var(--stone); }
.num { font-variant-numeric: tabular-nums; }
.sw-ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.sw-ver { font-style: italic; color: var(--orange-ink); font-variant-numeric: tabular-nums; }

/* Suite masthead (/software, task #66): one h1 for both apps, then an index of the two. Grid 7fr / 5fr. */
.suite { padding: clamp(48px, 6vw, 96px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid rgba(17, 17, 17, .12); }
.suite-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px var(--gap); align-items: end; }
.suite-copy { display: grid; gap: 22px; }
.suite h1 { font-size: clamp(42px, 5.2vw + .4rem, 88px); max-width: 15ch; text-wrap: balance; }
.suite-index { display: grid; gap: 12px; }
.suite-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "n t a" "n d a"; gap: 4px 16px; align-items: center;
  padding: 18px 20px; border: 1px solid #111111; border-radius: 14px; background: var(--paper); text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.suite-card:hover { background: #111111; color: var(--stone); }
.suite-card:hover .sw-ver { color: #FF3B00; }
.suite-card:active { transform: translateY(1px); }
.suite-card-db { background: #111111; color: var(--stone); }
.suite-card-db .sw-ver { color: #FF3B00; }
.suite-card-db:hover { background: #FF3B00; color: #111111; border-color: #FF3B00; }
.suite-card-db:hover .sw-ver { color: #111111; }
.suite-card-key { background: #FF3B00; color: #111111; border-color: #FF3B00; }
.suite-card-key .sw-ver { color: #111111; }
.suite-card-key:hover { background: #111111; color: var(--stone); border-color: #111111; }
.suite-card-key:hover .sw-ver { color: #FF3B00; }
.suite-n { grid-area: n; align-self: start; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; opacity: .7; padding-top: 6px; }
.suite-t { grid-area: t; font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; }
.suite-d { grid-area: d; font-size: 15px; line-height: 1.4; opacity: .85; }
.suite-arr { grid-area: a; }
.sw-hero h2 { font-size: clamp(46px, 7vw + .5rem, 108px); }
.db-hero, .key-hero { border-top: 1px solid #111111; }
.sw-fine code { font-family: var(--mono); font-size: .9em; }
.db-lede { font-size: clamp(16px, 1.15vw, 18px); max-width: 52ch; color: var(--muted); }
.db-preview .sw-preview-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.sw-hash-note { font-size: 14px; color: var(--muted); }
.sw-hash-note a { text-underline-offset: 3px; }
.sw-hash-note a:hover { color: var(--orange-ink); }
.sw-card code { font-family: var(--mono); font-size: .86em; white-space: nowrap; }

.sw-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid rgba(17, 17, 17, .12); }
.sw-hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px var(--gap); align-items: end; }
.sw-hero-copy { display: grid; gap: 22px; }
.sw-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; width: fit-content; padding: 7px 14px 7px 12px; border: 1px solid rgba(17, 17, 17, .18); border-radius: 999px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); }
.sw-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.sw-hero h1 { font-size: clamp(46px, 7vw + .5rem, 108px); }
.sw-sub { font-size: clamp(18px, 1.2vw + .6rem, 24px); line-height: 1.35; max-width: 34ch; font-weight: 500; text-wrap: balance; }
.sw-hero-side { display: grid; gap: 12px; }
.sw-cta {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 18px 22px; border-radius: 14px;
  border: 1px solid transparent; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.25;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.sw-cta small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; opacity: .85; }
.sw-cta:active { transform: translateY(1px); }
.sw-cta-launch { background: #FF3B00; color: #111111; }
.sw-cta-launch:hover { background: #111111; color: var(--stone); }
.sw-cta-dl { background: #111111; color: var(--stone); }
.sw-cta-dl:hover { background: var(--stone); color: #111111; border-color: #111111; }
.sw-alt { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; padding: 4px 2px; font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sw-alt:hover { color: var(--orange-ink); text-decoration-thickness: 2px; }
.sw-fine { font-size: 14px; color: var(--muted); }
.sw-fine a:hover, .sw-how a:hover, .sw-hash-file:hover { color: var(--orange-ink); }

.sw-preview { padding: clamp(40px, 5vw, 72px) 0; }
.sw-preview-in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px var(--gap); align-items: start; }
.sw-frame { position: relative; border: 1px solid #111111; border-radius: 12px; overflow: hidden; background: #0D0F14; }
.sw-screen { position: relative; aspect-ratio: 16 / 10; }
.sw-shot { width: 100%; height: 100%; object-fit: cover; }
.sw-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0D0F14; opacity: 0; transition: opacity .3s; }
.sw-frame[data-state="live"] .sw-iframe { opacity: 1; }
.sw-frame-bar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; padding: 16px;
  background: linear-gradient(to top, rgba(13, 15, 20, .92), rgba(13, 15, 20, 0));
}
.sw-frame[data-state="live"] .sw-frame-bar { position: static; background: #111111; padding: 10px; }
.sw-load, .sw-open {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: left;
  transition: background-color .15s, color .15s, border-color .15s;
}
.sw-load { border: 1px solid #FF3B00; background: #FF3B00; color: #111111; }
.sw-load:hover { background: var(--stone); border-color: var(--stone); }
.sw-frame[data-state="loading"] .sw-load { cursor: progress; opacity: .85; }
.sw-ico-close, .sw-frame[data-state="live"] .sw-ico-play { display: none; }
.sw-frame[data-state="live"] .sw-ico-close { display: block; }
.sw-frame[data-state="live"] .sw-load { background: transparent; color: var(--stone); border-color: rgba(247, 245, 240, .45); }
.sw-frame[data-state="live"] .sw-load:hover { background: var(--stone); color: #111111; }
.sw-open { border: 1px solid rgba(247, 245, 240, .45); color: var(--stone); background: rgba(17, 17, 17, .55); }
.sw-open:hover { background: var(--stone); color: #111111; border-color: var(--stone); }
.sw-frame :focus-visible { outline-color: #FF3B00; outline-offset: 2px; }
.sw-cap { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 70ch; }
.sw-mobile-note { display: none; }
.sw-facts { display: grid; gap: 20px; padding-top: 4px; }
.sw-facts h2 { font-size: clamp(28px, 2.4vw, 38px); }
.sw-dl { display: grid; border-top: 1px solid rgba(17, 17, 17, .14); }
.sw-dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(17, 17, 17, .14); }
.sw-dl dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.sw-dl dd { margin: 0; font-size: 15px; line-height: 1.45; }
.sw-dl code, .sw-note code { font-family: var(--mono); font-size: .88em; }

.sw-verify { background: var(--stone-2); border-block: 1px solid rgba(17, 17, 17, .12); }
.sw-verify-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px var(--gap); align-items: start; }
.sw-verify-copy { display: grid; gap: 18px; }
.sw-how { font-size: 15px; color: var(--muted); }
.sw-pre { margin: 0; padding: 14px 16px; border-radius: 10px; background: #111111; color: var(--stone); font-family: var(--mono); font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.sw-hashes { display: grid; gap: 16px; }
.sw-hash { display: grid; gap: 16px; padding: clamp(20px, 2.4vw, 28px); background: var(--paper); border: 1px solid rgba(17, 17, 17, .14); border-radius: 14px; }
.sw-hash-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sw-hash-h h3 { font-size: clamp(24px, 2vw, 30px); }
.sw-hash-file { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.sw-hash-dl { display: grid; border-top: 1px solid rgba(17, 17, 17, .12); }
.sw-hash-dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(17, 17, 17, .12); }
.sw-hash-dl dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.sw-hash-dl dd { margin: 0; font-size: 15px; }
.sw-sum { display: block; font-family: var(--mono); font-size: 14px; line-height: 1.55; letter-spacing: .02em; overflow-wrap: anywhere; word-break: break-all; font-variant-numeric: tabular-nums; user-select: all; }
.sw-copy {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid #111111; background: transparent; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.sw-copy:hover { background: #111111; color: var(--stone); }
.sw-copy.is-done { background: #FF3B00; border-color: #FF3B00; color: #111111; }

.sw-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.sw-card { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.6vw, 36px); background: var(--paper); border: 1px solid rgba(17, 17, 17, .12); border-radius: var(--r); transition: border-color .2s, transform .2s var(--ease); }
.sw-card:hover { border-color: #111111; transform: translateY(-2px); }
.sw-card p:not(.sw-n) { font-size: 16.5px; max-width: 62ch; }
.sw-c1 { grid-column: span 7; } .sw-c2 { grid-column: span 5; }
.sw-c3 { grid-column: span 5; } .sw-c4 { grid-column: span 7; }
.sw-c5 { grid-column: span 6; } .sw-c6 { grid-column: span 6; }
.sw-c1, .sw-c4 { background: #111111; color: var(--stone); border-color: #111111; }
.sw-c1:hover, .sw-c4:hover { border-color: #FF3B00; }
.sw-glyph { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.sw-c1 .sw-glyph, .sw-c4 .sw-glyph { stroke: #FF3B00; }
.db-c1 { grid-column: span 5; } .db-c2 { grid-column: span 7; }
.db-c3 { grid-column: span 7; } .db-c4 { grid-column: span 5; }
.db-c5 { grid-column: span 6; } .db-c6 { grid-column: span 6; }
.db-c2, .db-c3 { background: #111111; color: var(--stone); border-color: #111111; }
.db-c2:hover, .db-c3:hover { border-color: #FF3B00; }
.db-c2 .sw-glyph, .db-c3 .sw-glyph { stroke: #FF3B00; }
/* BizatiKey (task #94): 8/4, 4/8, 6/6 of 12, charcoal on 02 and 05. */
.key-c1 { grid-column: span 8; } .key-c2 { grid-column: span 4; }
.key-c3 { grid-column: span 4; } .key-c4 { grid-column: span 8; }
.key-c5 { grid-column: span 6; } .key-c6 { grid-column: span 6; }
.key-c2, .key-c5 { background: #111111; color: var(--stone); border-color: #111111; }
.key-c2:hover, .key-c5:hover { border-color: #FF3B00; }
.key-c2 .sw-glyph, .key-c5 .sw-glyph { stroke: #FF3B00; }
.key-c6 h3 code { font-size: .62em; white-space: nowrap; }
.sw-n { position: absolute; top: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: .7; }
.sw-card h3 { max-width: 24ch; }
.sw-card code { font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere; }
/* BizatiCAD v1.6.0 (task #174): Verification & known limits drawer under the six pillars. */
.sw-limits { margin-top: 16px; border: 1px solid rgba(17, 17, 17, .12); border-radius: var(--r); background: var(--paper); transition: border-color .2s; }
.sw-limits:hover, .sw-limits[open] { border-color: #111111; }
.sw-limits summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px clamp(20px, 2.6vw, 36px); font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; border-radius: var(--r); }
.sw-limits summary::-webkit-details-marker { display: none; }
.sw-limits summary .sw-ico { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--stone-2); transition: transform .25s var(--ease), background-color .2s; }
.sw-limits[open] summary .sw-ico { transform: rotate(45deg); background: #FF3B00; }
.sw-limits summary:focus-visible { outline: 2px solid #FF3B00; outline-offset: 2px; }
.sw-limits-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gap); padding: 0 clamp(20px, 2.6vw, 36px) clamp(20px, 2.6vw, 36px); }
.sw-limits h3 { font-size: clamp(18px, 1.4vw, 21px); margin-bottom: 10px; }
.sw-limits ul { display: grid; gap: 10px; }
.sw-limits li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.sw-limits li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: #FF3B00; }
@media (max-width: 760px) { .sw-limits-in { grid-template-columns: minmax(0, 1fr); } }

.sw-notes .sec-head a { color: inherit; text-decoration-color: #FF3B00; text-underline-offset: 4px; }
.sw-notes .sec-head a:hover { color: #FF3B00; }
.sw-notes-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--line-d); }
.sw-note { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line-d); }
.sw-note-new { grid-column: 1 / -1; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); }
.sw-note h3 { font-size: clamp(22px, 1.8vw, 28px); color: #FF3B00; }
.sw-note ul { display: grid; gap: 10px; }
.sw-note li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: var(--muted-d); }
.sw-note li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: #FF3B00; }

/* Home: three product cards in the /software style (copy on top, the app itself underneath). */
.cad-band { padding: clamp(80px, 10vw, 152px) 0; background: var(--stone); }
.pxh-head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.pxh-head h2 { font-size: clamp(42px, 5.4vw, 84px); line-height: .95; letter-spacing: -0.03em; max-width: 14ch; text-wrap: balance; }
.pxh-sub { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--muted); max-width: 40ch; text-wrap: balance; }
.pxh-all { font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.pxh-all:hover, .pxh-all:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.pxh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); perspective: 1400px; }
.pxh-card {
  --rx: 0deg; --ry: 0deg; position: relative; overflow: hidden; border-radius: 26px;
  background: var(--paper); border: 1px solid rgba(17, 17, 17, .08);
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 18px 40px -24px rgba(17, 17, 17, .28);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.pxh-card.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }
.pxh-card:hover { box-shadow: 0 2px 4px rgba(17, 17, 17, .05), 0 30px 60px -28px rgba(17, 17, 17, .4); border-color: rgba(17, 17, 17, .16); }
.pxh-card.is-tilting .px-glare { opacity: 1; }
.cad-sheet { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.cad-copy { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 32px) 22px; }
.cad-k { font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--orange-ink); }
.cad-copy h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.cad-copy h3 .sw-ver { font-size: 13px; }
.pxh-tag { font-family: var(--serif); font-size: clamp(30px, 2.5vw, 40px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.cad-p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.cad-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.pxh-try { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--carbon); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.pxh-try .sw-ico { fill: currentColor; stroke: none; }
.pxh-try:hover { background: var(--orange-ink); transform: translateY(-1px); }
.pxh-try:focus-visible, .pxh-more:focus-visible, .pxh-all:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.pxh-more { font-weight: 700; font-size: 15px; color: var(--carbon); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pxh-more:hover { color: var(--orange-ink); }
.pxh-shot { margin: 0 clamp(22px, 2.2vw, 32px); border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: #0D0F14; box-shadow: 0 -1px 0 rgba(17, 17, 17, .06), 0 20px 40px -20px rgba(17, 17, 17, .5); }
.pxh-shot img { width: 100%; height: 100%; object-fit: cover; transform: translateY(6%) scale(1.04); transition: transform .9s var(--ease); }
.pxh-card:hover .pxh-shot img { transform: translateY(0) scale(1.04); }

@media (max-width: 960px) {
  .sw-hero-in, .sw-preview-in, .sw-verify-in, .suite-in, .db-preview .sw-preview-in { grid-template-columns: minmax(0, 1fr); }
  .pxh-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .sw-c1, .sw-c2, .sw-c3, .sw-c4, .sw-c5, .sw-c6, .db-c1, .db-c2, .db-c3, .db-c4, .db-c5, .db-c6, .key-c1, .key-c2, .key-c3, .key-c4, .key-c5, .key-c6 { grid-column: span 6; }
  .sw-c1, .sw-c4, .db-c2, .db-c3, .key-c1, .key-c4 { grid-column: 1 / -1; }
  .db-preview .sw-stage { order: -1; }
  .sw-note { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .sw-frame { border-radius: 10px; }
  .sw-frame-bar { position: static; background: #111111; padding: 10px; }
  .sw-load, .sw-open { width: 100%; }
  .sw-mobile-note { display: block; margin-top: 10px; padding: 12px 14px; border-left: 2px solid #FF3B00; background: var(--paper); font-size: 14px; line-height: 1.45; }
  .sw-cta { padding: 16px 18px; font-size: 16px; }
  .sw-grid { grid-template-columns: minmax(0, 1fr); }
  .sw-c1, .sw-c2, .sw-c3, .sw-c4, .sw-c5, .sw-c6, .db-c1, .db-c2, .db-c3, .db-c4, .db-c5, .db-c6, .key-c1, .key-c2, .key-c3, .key-c4, .key-c5, .key-c6 { grid-column: 1 / -1; }
  .key-c6 h3 code { white-space: normal; }
  .suite-card { padding: 16px; gap: 4px 12px; }
  .sw-card code { white-space: normal; }
  .sw-note { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sw-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sw-hash-dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-card, .sw-iframe, .suite-card, .pxh-card, .pxh-shot img, .pxh-try { transition: none; }
  .pxh-shot img, .pxh-card:hover .pxh-shot img { transform: scale(1.04); }
  .sw-card:hover { transform: none; }
}

/* ---------- Entrances ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:last-child { grid-column: 1 / -1; }
  .pipe-nodes { grid-template-columns: 1fr 1fr; }
  .pn:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-in { gap: 10px; }
  .nav-toggle { margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0;
    background: var(--nav-panel); border-bottom: 1px solid var(--nav-line); padding: 8px var(--pad) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 4px; min-height: 56px; border-radius: 0; border-bottom: 1px solid var(--nav-line); font-size: 18px; display: flex; align-items: center; justify-content: space-between; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { content: "\2192"; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; }
  .nav a[aria-current="page"] { color: var(--orange-ink); }
  .site-header[data-theme="dark"] .nav a[aria-current="page"] { color: var(--orange); }
  .mast-note { display: none; }
  .sec-head h2, .sec-head .lead, .cta-in h2, .cta-side, .page-hero h1, .page-hero-side, .rx-copy, .rx-steps,
  .voice-copy, .replay, .contact-copy, .form-card, .faq-head, .faq, .wframe, .changes { grid-column: 1 / -1; }
  .faq-head { position: static; }
  .hero-side { grid-template-columns: 1fr; }
  .bento-sec .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "web web" "host ai" "own own"; }
  .web-left, .bento-web .tile-bench { grid-column: 1 / -1; }
  .tile-deploy, .bento-host .tile-list { grid-column: 1 / -1; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .ai-call { grid-column: 1 / -1; }
  .guar { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 12px 12px 2px; }
  .proof dt { font-size: 13px; }
  .proof-of { font-size: 13px; }
  .callbar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px 10px 14px 18px; border-radius: 22px; gap: 4px 14px; }
  .callbar-text { grid-column: 2 / 3; font-size: 14px; }
  .callbar-dash { display: none; }
  .callbar-text strong { display: block; }
  .callbar-num { grid-column: 2 / 3; grid-row: 2; font-size: 20px; }
  .wave { grid-row: 1 / 3; }
  .callbar-go { grid-column: 3; grid-row: 1 / 3; }
  .gridlines { grid-template-columns: repeat(2, 1fr); }
  .gridlines i:nth-child(n+3) { display: none; }
  .gridlines i:nth-child(2) { border-right: 1px solid var(--line); }
  .story { height: 180vh; height: 180svh; }
  .story-bar { justify-content: center; text-align: center; }
  .story-bar h2 { width: 100%; font-size: 24px; }
  .pill { padding: 6px 12px; font-size: 14px; }
  .frame { aspect-ratio: 5 / 8; width: min(100%, calc((100svh - var(--hh) - 200px) * .625)); }
  .chrome-new { grid-template-columns: auto minmax(0, 1fr); }
  .chrome-new .url { display: none; }
  .frame-cap { font-size: 13px; }
  .wscreen { aspect-ratio: 4 / 5; }
  .bento-sec .bento { grid-template-columns: 1fr; grid-template-areas: "web" "host" "ai" "own"; }
  .web-pair { grid-template-columns: 1fr; }
  .pipe-nodes { grid-template-columns: 1fr; }
  .pn::after { display: none; }
  .mail-fields { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .faq details p { padding-right: 20px; }
  .replay-lines li { max-width: 94%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .proof { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { border-left: 0; padding: 10px 0 2px; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
  .proof-n { font-size: 40px; }
  .proof dt { max-width: 18ch; text-align: right; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .frame-cap { display: none; }
  .story-bar h2 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ring-val { transition: none; }
  .mesh, .wave i, .status-dot::after, .bf-marquee span { animation: none; }
  .bf-marquee span { padding-left: .6em; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .af-panel, .af-calls li, .af-table tr, .work-panel { animation: none; }
}

@media print {
  .site-header, .nav-toggle { position: static; }
  .story, .callbar { display: none; }
  main { padding-top: 0; }
}

/* ---------- /software v2: product pages (copy v2) ----------
   One chapter per app: a centred head (badge, name, a large serif tagline, two actions), the screenshot stage that
   settles into place as it scrolls in, four measured numbers, a swipeable gallery of the six capability cards, and one
   drawer that holds every download, hash and release note. Same tokens, fonts and buttons as the rest of the site. */
.page-software main { overflow-x: clip; }
.page-software [id] { scroll-margin-top: calc(var(--hh) + 72px); }
.px-hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 128px) 0 clamp(48px, 6vw, 88px); text-align: center; overflow: hidden; }
.px-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 46% at var(--gx, 50%) var(--gy, 18%), rgba(255, 59, 0, .13), rgba(255, 59, 0, 0) 70%);
  transition: background-position .4s var(--ease);
}
.px-hero-in { display: grid; justify-items: center; gap: clamp(18px, 2vw, 26px); }
.px-hero h1 { font-size: clamp(54px, 8.4vw + .2rem, 136px); line-height: .92; letter-spacing: -0.035em; max-width: 12ch; }
.px-hero-sub { font-size: clamp(18px, 1.3vw + .55rem, 24px); line-height: 1.45; max-width: 40ch; color: var(--muted); text-wrap: balance; }
.px-picks { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(24px, 4vw, 56px); perspective: 1200px; text-align: left; }
.px-pick {
  --rx: 0deg; --ry: 0deg; position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 22px;
  background: var(--paper); border: 1px solid rgba(17, 17, 17, .08); text-decoration: none; color: var(--carbon);
  box-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 18px 40px -24px rgba(17, 17, 17, .28);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.px-pick.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }
.px-pick:hover { box-shadow: 0 2px 4px rgba(17, 17, 17, .05), 0 30px 60px -28px rgba(17, 17, 17, .4); border-color: rgba(17, 17, 17, .16); }
.px-pick:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.px-pick-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0D0F14; }
.px-pick-shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s var(--ease); }
.px-pick:hover .px-pick-shot img { transform: scale(1.07); }
.px-pick-body { display: grid; gap: 6px; padding: 18px 22px 22px; }
.px-pick .suite-t { grid-area: auto; font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); line-height: 1.05; }
.px-pick-d { font-size: 15px; line-height: 1.4; color: var(--muted); }
.px-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; }
.px-pick.is-tilting .px-glare { opacity: 1; }

/* Sticky app switcher: one pill that follows the reader down the page. */
.px-switch { position: sticky; top: calc(var(--hh) + 10px); z-index: 40; display: flex; justify-content: center; align-items: flex-start; height: 0; pointer-events: none; }
.px-switch-in {
  position: relative; display: flex; gap: 2px; padding: 4px; margin-top: 10px; border-radius: 999px; pointer-events: auto;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(17, 17, 17, .1); box-shadow: 0 10px 30px -14px rgba(17, 17, 17, .35);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.px-switch.is-on .px-switch-in, html:not(.js) .px-switch-in { opacity: 1; transform: none; }
.px-switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--muted); transition: color .25s; }
.px-switch a:hover { color: var(--carbon); }
.px-switch a[aria-current="true"] { color: var(--stone); }
.px-switch a:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.px-switch-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--carbon); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .2s; }
.px-switch.has-active .px-switch-ind { opacity: 1; }

/* Chapters */
.px-ch { padding: clamp(96px, 11vw, 168px) 0 clamp(72px, 8vw, 120px); }
.px-dark { background: var(--carbon); color: var(--stone); }
.px-light { background: var(--paper); }
.px-head { display: grid; justify-items: center; gap: 18px; max-width: 980px; margin: 0 auto; text-align: center; }
.px-head h2 { font-family: var(--sans); font-size: clamp(19px, 1.4vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.px-head h2 .sw-ver { font-family: var(--serif); font-size: 1.12em; font-weight: 400; }
.px-tag { font-family: var(--serif); font-size: clamp(52px, 7.6vw + .2rem, 128px); line-height: .92; letter-spacing: -0.035em; text-wrap: balance; max-width: 13ch; }
.px-lede { font-size: clamp(18px, 1.2vw + .5rem, 22px); line-height: 1.5; max-width: 44ch; color: var(--muted); text-wrap: pretty; }
.px-dark .px-lede { color: var(--muted-d); }
.px-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.px-try .sw-ico { fill: currentColor; stroke: none; }
.px-head .px-specline { max-width: 62ch; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .07em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.px-dark .px-specline { color: var(--muted-d); }
.px-dark .sw-badge { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--stone); }
.px-dark .sw-ver { color: #FF3B00; }

/* Stage: the screenshot (and, on request, the live app) settles from 90% to full size as it scrolls in. */
.px-stage { --p: 1; max-width: 1120px; margin: clamp(48px, 6vw, 88px) auto 0; transform: scale(calc(.9 + .1 * var(--p))) translateY(calc((1 - var(--p)) * 40px)); transform-origin: 50% 0; opacity: calc(.35 + .65 * var(--p)); will-change: transform; }
.px-stage:has(.sw-frame[data-state="live"]), .px-stage:has(.sw-frame[data-state="loading"]) { transform: none; opacity: 1; }
.px-stage .sw-frame { border-radius: clamp(14px, 1.6vw, 22px); border-color: rgba(17, 17, 17, .14); box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .45); }
.px-dark .px-stage .sw-frame { border-color: rgba(255, 255, 255, .12); box-shadow: 0 50px 120px -50px rgba(255, 59, 0, .35); }
.px-stage .sw-frame-bar { justify-content: center; padding: 22px; }
.px-stage .sw-frame[data-state="live"] .sw-frame-bar { justify-content: flex-start; }
.px-stage .sw-cap { margin: 14px auto 0; text-align: center; }
.px-dark .sw-cap { color: var(--muted-d); }
.px-dark .sw-mobile-note { color: var(--carbon); }
.px-stage.is-ping .sw-frame { animation: pxPing 1.1s var(--ease); }
@keyframes pxPing { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 0, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 59, 0, 0); } }

/* Numbers */
.px-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); max-width: 1120px; margin: clamp(56px, 7vw, 104px) auto 0; }
.px-stats li { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(17, 17, 17, .14); }
.px-dark .px-stats li { border-top-color: var(--line-d); }
.px-stat-n { display: flex; align-items: baseline; gap: 4px; font-family: var(--serif); font-size: clamp(52px, 5.4vw, 88px); line-height: .9; letter-spacing: -0.03em; }
.px-pre { color: var(--muted); }
.px-dark .px-pre { color: var(--muted-d); }
.px-unit { font-family: var(--sans); font-size: clamp(16px, 1.3vw, 20px); font-weight: 600; letter-spacing: 0; color: var(--orange-ink); }
.px-dark .px-unit { color: #FF3B00; }
.px-stat-l { font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 24ch; }
.px-dark .px-stat-l { color: var(--muted-d); }

/* Gallery: the six capability cards in a row you can swipe, scroll or step through. */
.px-gal { max-width: 1120px; margin: clamp(72px, 9vw, 136px) auto 0; }
.px-gal-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.px-gal-t { font-size: clamp(34px, 3.8vw, 60px); line-height: 1; letter-spacing: -0.025em; }
.px-gal-nav { display: flex; gap: 8px; }
.px-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(17, 17, 17, .18); background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s, border-color .2s; }
.px-dark .px-arrow { border-color: rgba(255, 255, 255, .2); }
.px-arrow:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: var(--carbon); }
.px-arrow:disabled { opacity: .3; cursor: default; }
.sw-grid.px-gallery {
  display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); align-items: start; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none;
  /* Full bleed: the row runs to the screen edges while the first card lines up with the content column. */
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); scroll-padding-inline: max(var(--pad), calc((100vw - 1120px) / 2));
}
.px-gallery::-webkit-scrollbar { display: none; }
.px-gallery .sw-card {
  grid-column: auto; scroll-snap-align: start; min-height: 100%; gap: 12px; padding: 30px 28px 26px;
  background: var(--stone); color: var(--carbon); border: 1px solid rgba(17, 17, 17, .08); border-radius: 24px;
}
.px-gallery .sw-card:hover { transform: translateY(-4px); border-color: rgba(17, 17, 17, .2); }
.px-dark .px-gallery .sw-card { background: var(--carbon-2); color: var(--stone); border-color: var(--line-d); }
.px-dark .px-gallery .sw-card:hover { border-color: rgba(255, 59, 0, .55); }
.px-gallery .sw-glyph { width: 40px; height: 40px; stroke: #FF3B00; }
.px-gallery .sw-n { top: 30px; right: 28px; }
.px-gallery .sw-card h3 { font-size: clamp(23px, 1.8vw, 28px); line-height: 1.1; max-width: none; }
.px-gallery .sw-card p:not(.sw-n) { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.px-dark .px-gallery .sw-card p:not(.sw-n) { color: var(--muted-d); }
.js .px-gallery .sw-card:not(.is-open) p:not(.sw-n) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.js .px-gallery .sw-card:not(.is-open) p:not(.sw-n) ~ p:not(.sw-n) { display: none; }
.px-card-more { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 2px; padding: 6px 0; border: 0; background: none; color: inherit; font: 600 15px/1.2 var(--sans); cursor: pointer; }
.px-card-more .sw-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(17, 17, 17, .08); transition: transform .3s var(--ease), background-color .2s; }
.px-dark .px-card-more .sw-ico { background: rgba(255, 255, 255, .1); }
.px-card-more:hover .sw-ico, .sw-card.is-open .px-card-more .sw-ico { background: var(--orange); color: var(--carbon); }
.sw-card.is-open .px-card-more .sw-ico { transform: rotate(45deg); }
.px-card-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* The drawer: downloads, hashes, release notes and limits, all kept, out of the way until asked for. */
.px-more { max-width: 1120px; margin: clamp(56px, 7vw, 96px) auto 0; border-radius: 24px; background: var(--stone); color: var(--carbon); border: 1px solid rgba(17, 17, 17, .1); }
.px-dark .px-more { background: var(--paper); border-color: transparent; }
.px-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 40px); border-radius: 24px; }
.px-more > summary::-webkit-details-marker { display: none; }
.px-more > summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.px-more-txt { display: grid; gap: 4px; }
.px-more-t { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 36px); line-height: 1.05; letter-spacing: -0.015em; }
.px-more-s { font-size: 15px; color: var(--muted); }
.px-more > summary > .sw-ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--carbon); color: var(--stone); transition: transform .35s var(--ease), background-color .2s, color .2s; }
.px-more > summary:hover > .sw-ico { background: var(--orange); color: var(--carbon); }
.px-more[open] > summary > .sw-ico { transform: rotate(45deg); background: var(--orange); color: var(--carbon); }
.px-more-in { display: grid; gap: clamp(28px, 3vw, 44px); padding: 8px clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.px-more[open] .px-more-in { animation: pxOpen .5s var(--ease); }
@keyframes pxOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.px-get { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px var(--gap); align-items: start; }
.px-get .sw-facts h2 { font-size: clamp(24px, 2vw, 32px); }
.px-block { border-radius: 20px; padding: clamp(22px, 3vw, 40px); }
.px-block.sw-verify { background: var(--paper); border: 1px solid rgba(17, 17, 17, .1); }
.px-dark .px-block.sw-verify { background: var(--stone); }
.px-block .sw-verify-in > .sw-verify-copy h2, .px-block .sec-head h2 { font-size: clamp(28px, 2.6vw, 42px); }
.px-block.sw-notes { background: var(--carbon); color: var(--stone); }
.px-block.sw-notes .sec-head { margin-bottom: 24px; }
.px-block.sw-notes .lead { color: var(--muted-d); }
.px-more .sw-limits { margin-top: 0; }

/* Closing call to action */
.px-end { padding: clamp(96px, 11vw, 168px) 0; text-align: center; }
.px-end-in { display: grid; justify-items: center; gap: 20px; }
.px-end h2 { font-size: clamp(42px, 5.4vw, 88px); line-height: .95; letter-spacing: -0.03em; max-width: 14ch; }
.px-end .lead { color: var(--muted); }

/* Motion: a once-only rise for the hero, scroll entrances for the rest. */
.px-go .px-rise { animation: pxRise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.px-hero .sw-badge { --i: 0; } .px-hero h1 { --i: 1; } .px-hero-sub { --i: 2; }
.px-pick:nth-child(1) { --i: 3; } .px-pick:nth-child(2) { --i: 4; } .px-pick:nth-child(3) { --i: 5; }
@keyframes pxRise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
.px-go .px-pick.px-rise.is-risen { animation: none; }
.px-rv.px-hide { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.px-rv.px-hide:not(.in) { opacity: 0; transform: translate3d(0, 28px, 0); }

@media (max-width: 960px) {
  .px-get { grid-template-columns: minmax(0, 1fr); }
  .px-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
}
@media (max-width: 760px) {
  .px-picks { grid-template-columns: minmax(0, 1fr); gap: 12px; perspective: none; }
  .px-pick { grid-template-columns: 118px minmax(0, 1fr); grid-template-rows: none; align-items: center; border-radius: 18px; }
  .px-pick-shot { height: 100%; aspect-ratio: auto; min-height: 92px; }
  .px-pick-body { padding: 14px 16px; gap: 4px; }
  .px-pick .suite-t { font-size: 22px; }
  .px-pick-d { font-size: 14px; }
  .px-ch { padding: 88px 0 72px; }
  .px-actions { width: 100%; }
  .px-actions .btn { flex: 1 1 100%; }
  .px-head .px-specline { font-size: 11px; }
  .px-stage .sw-frame-bar { padding: 10px; }
  .px-gal-nav { display: none; }
  .sw-grid.px-gallery { grid-auto-columns: 84vw; }
  .px-gallery .sw-card { padding: 26px 22px 22px; }
  .px-gallery .sw-n { top: 26px; right: 22px; }
  .px-more > summary { padding: 18px 18px 18px 22px; }
  .px-more-in { padding: 4px 14px 16px; }
  .px-block { padding: 20px 16px; border-radius: 16px; }
  .px-switch a { padding: 6px 13px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-go .px-rise, .px-rv.px-hide:not(.in) { opacity: 1; transform: none; animation: none; transition: none; }
  .px-stage { transform: none; opacity: 1; }
  .px-pick, .px-pick-shot img, .px-gallery .sw-card, .px-switch-in, .px-switch-ind { transition: none; }
  .px-pick:hover .px-pick-shot img { transform: scale(1.02); }
  .px-more[open] .px-more-in, .px-stage.is-ping .sw-frame { animation: none; }
}

/* /work: centred heads and shorter intros, in the /software style. */
.page-work .page-hero { padding: clamp(72px, 10vw, 152px) 0 clamp(56px, 7vw, 104px); text-align: center; }
.page-work .page-hero-in { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; }
.page-work .page-hero h1 { grid-column: auto; max-width: 15ch; font-size: clamp(48px, 7vw + .2rem, 112px); line-height: .94; letter-spacing: -0.035em; text-wrap: balance; }
.page-work .page-hero-side { grid-column: auto; justify-items: center; gap: 28px; }
.page-work .page-hero .lead { max-width: 44ch; color: var(--muted); text-wrap: balance; }
.page-work .jump { justify-content: center; }
.page-work .sec-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; margin-bottom: clamp(44px, 6vw, 80px); }
.page-work .sec-head h2 { grid-column: auto; max-width: 16ch; font-size: clamp(42px, 5.4vw, 84px); line-height: .95; letter-spacing: -0.03em; text-wrap: balance; }
.page-work .sec-head .lead { grid-column: auto; max-width: 46ch; text-wrap: balance; opacity: .8; }
.page-work .voice-copy h2 { font-size: clamp(40px, 4.6vw, 72px); line-height: .95; letter-spacing: -0.03em; }
