/* ASYST Custom — asystbn.com. Black, white, orange. */
:root {
  --bg: #000; --raise: #0c0c0c; --card: #121212; --line: #262626;
  --text: #fff; --muted: #a8a8a8; --accent: #f28c28;
  --max: 1080px;
  --head: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--head); font-weight: 400; text-transform: uppercase; line-height: 1.02; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--muted); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.2rem; }
.center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand-tag { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border-left: 1px solid var(--line); padding-left: 12px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; padding: 13px 26px; background: var(--accent); color: #000; font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 999px; border: 2px solid var(--accent); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); background: #ffa04a; border-color: #ffa04a; }
.btn-ghost { background: transparent; color: var(--text); border-color: #555; }
.btn-ghost:hover { background: #1a1a1a; border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.nav .btn { padding: 8px 18px; font-size: .88rem; }
.nav-links a.btn, .nav-links a.btn:hover { color: #000; box-shadow: none; }

/* Sections */
section { padding: clamp(56px, 9vw, 104px) 0; }
.band { background: var(--raise); border-block: 1px solid var(--line); }
.hero { padding: clamp(64px, 11vw, 140px) 0 clamp(48px, 8vw, 96px); }
.hero.compact { padding-bottom: 24px; }
.tight { padding-top: 24px; }
.hero-visual { margin-top: clamp(40px, 7vw, 80px); }

/* Flow diagram */
.flow-svg { width: 100%; height: auto; display: block; }
.flow-svg .node { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.flow-svg .node.core { stroke: var(--accent); stroke-width: 2; }
.flow-svg .nt { fill: #fff; font-family: var(--head); font-size: 24px; letter-spacing: .03em; text-anchor: middle; }
.flow-svg .wire { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }

/* Tiles */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tiles.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.tile h3 { margin: 18px 0 .2em; }
.tile p { margin: 0; color: var(--muted); }
.tile.link:hover { border-color: var(--accent); transform: translateY(-3px); }
.tile.here { border-color: var(--accent); }
.ic { width: 44px; height: 44px; color: var(--accent); }

/* Process rail */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: s; position: relative; }
.rail li { counter-increment: s; text-align: center; position: relative; padding-top: 2px; }
.rail li::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--line); }
.rail li:first-child::before { left: 50%; }
.rail li:last-child::before { right: 50%; }
.rail span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.rail span::after { content: counter(s); font-size: .8rem; font-weight: 700; color: var(--accent); }
.rail b { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.1rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 12px 24px; font-weight: 500; }

/* CTA */
.cta { text-align: center; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; color: var(--muted); font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer img { height: 30px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.fine { margin: 28px 0 0; font-size: .75rem; color: #6d6d6d; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #000; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .brand-tag { display: none; }
  .rail { grid-template-columns: 1fr; gap: 14px; }
  .rail li { display: flex; align-items: center; gap: 16px; text-align: left; }
  .rail li::before { display: none; }
  .rail span { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .flow-svg .wire { animation: none; }
}

/* ---- Motion: reveals, pinned scroll-scrubbed scenes, carousels (scene styles apply only when html.js is set) ---- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

.js [data-r] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-r].in { opacity: 1; transform: none; }
.js .tiles { perspective: 1100px; }
.js .tile[data-r] { transform: rotateX(42deg) translate3d(0, 50px, -60px); transform-origin: 50% 100%; }
.js .tile[data-r].in { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.js .tile[data-r].in.tilting { transition: transform .12s ease-out, border-color .15s ease; }
.js .tile[data-r].in:not(.tilting) { transition: transform .5s ease, border-color .15s ease, opacity .8s ease; }
.js .tile.link:hover { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }

/* ---- Pinned scene ---- */
.pin { position: relative; padding: 0; background: #000; }
.pin-stick { position: relative; }
.pin-canvas { display: none; }
.pin-vig { display: none; }
.pin-foot { display: none; }
.chap { padding: clamp(56px, 9vw, 104px) 0; }
.chap h1, .chap h2 { font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1; margin: 0 0 .3em; }
.chap .lead { max-width: 26em; }
.chap .list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 1rem; }
.chap .list li { display: flex; align-items: center; gap: 12px; }
.chap .list li::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.chap.r .chap-in { margin-left: auto; text-align: right; }
.chap.r .list li { justify-content: flex-start; flex-direction: row-reverse; }
.chap.r .lead { margin-left: auto; }
.chap.r .btn-row { justify-content: flex-end; }

.js .pin-on { height: calc(var(--n, 4) * var(--per, 100vh) + 100vh); }
.js .pin-on .pin-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.js .pin-on .pin-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .pin-on .pin-vig { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,.75) 100%); }
.js .pin-on .pin-ui { position: absolute; inset: 0; z-index: 2; padding-top: 68px; }
.js .pin-on .chap { position: absolute; inset: 68px 0 0; padding: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; will-change: transform, opacity; }
.js .pin-on .chap:first-child { opacity: 1; }
.js .pin-on .chap-in { max-width: min(44rem, 100%); }
.js .pin-on .pin-foot { display: flex; position: absolute; left: 0; right: 0; bottom: clamp(18px, 4vh, 40px); z-index: 3; align-items: center; gap: 16px; }
.pin-foot .wrap { display: flex; align-items: center; gap: 16px; width: min(100% - 40px, var(--max)); }
.pin-foot .pc, .pin-foot .pt { font-size: .75rem; letter-spacing: .24em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pin-foot .pc { color: var(--text); }
.pin-foot .pbar { position: relative; flex: 0 1 180px; height: 1px; background: rgba(255,255,255,.22); overflow: hidden; }
.pin-foot .pbar b { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.pin-foot .hint { margin-left: auto; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }

/* ---- Carousel ---- */
.hscroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 8px max(20px, calc((100vw - var(--max)) / 2)) 28px; scroll-padding-left: max(20px, calc((100vw - var(--max)) / 2)); -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.drag { cursor: grabbing; scroll-snap-type: none; }
.card3 { flex: 0 0 min(78vw, 340px); min-height: 420px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px 28px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, #181818, #0b0b0b); user-select: none; }
.card3 .num { font-family: var(--head); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #666; }
.card3 h3 { font-size: 2rem; margin: 0 0 .2em; }
.card3 p { margin: 0; color: var(--muted); }
.card3 .ic { width: 44px; height: 44px; margin-bottom: 18px; }
.card3.on { border-color: var(--accent); background: linear-gradient(160deg, #2a1707, #0b0b0b); }
.sec-head { margin-bottom: 1.4rem; }
.sec-head h2 { margin: 0; }

/* ---- Curved light band ---- */
.curve { background: #f4f2ed; color: #000; margin: 0 12px 12px; border-radius: clamp(36px, 7vw, 96px); padding: clamp(64px, 10vw, 120px) 0; position: relative; z-index: 3; text-align: center; }
.curve .eyebrow { color: #b85f0d; }
.curve h2 { color: #000; font-size: clamp(2.6rem, 8vw, 6.5rem); }
.curve .tiles { margin: 2.2rem auto 0; max-width: 900px; text-align: left; }
.curve .tile { background: #fff; border-color: #e3e0d8; color: #000; }
.curve .tile p { color: #666; }
.curve .tile.here { border-color: var(--accent); }
.curve .ic { color: #d9760f; }
.curve .btn-row { justify-content: center; }
.curve .btn { background: #000; color: #fff; border-color: #000; }
.curve .btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.site-footer { background: #000; }

@media (max-width: 820px) {
  .js .pin-on .chap { justify-content: flex-end; padding-bottom: clamp(72px, 12vh, 110px); }
  .js .pin-on .chap-in, .chap.r .chap-in { text-align: left; margin-left: 0; max-width: 100%; }
  .chap.r .list li { justify-content: flex-start; flex-direction: row; }
  .chap.r .lead { margin-left: 0; }
  .chap.r .btn-row { justify-content: flex-start; }
  .chap h1, .chap h2 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .chap .list { margin-top: 1rem; gap: 6px; font-size: .9rem; }
  .pin-foot .pbar { flex-basis: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
}

/* ---- Typed hero word ---- */
.typed-wrap { display: inline-block; white-space: nowrap; }
.typed { display: inline-block; min-height: 1em; color: #fff; }
.caret { display: inline-block; width: .07em; height: .82em; margin-left: .05em; background: var(--accent); vertical-align: -.04em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---- Tools we work with ---- */
.tools .sec-head h2 { font-size: clamp(2.4rem, 7vw, 5.4rem); }
.logos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 2.2rem; }
.logo-card { background: #fff; border: 2px solid var(--accent); border-radius: 26px; height: clamp(120px, 15vw, 170px); display: grid; place-items: center; padding: 26px;
  box-shadow: 0 0 0 0 rgba(242,140,40,0); transition: transform .3s ease, box-shadow .3s ease; }
.logo-card img { max-width: 86%; max-height: 68px; width: auto; height: auto; object-fit: contain; }
.logo-card:hover { transform: translateY(-6px); box-shadow: 0 18px 50px -12px rgba(242,140,40,.6); }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* ---- Stage arrows: up = previous stage, down = next stage ---- */
.pin-nav { display: none; }
.js .pin-on .pin-nav { display: flex; position: absolute; left: 50%; bottom: clamp(14px, 3.5vh, 34px); transform: translateX(-50%); z-index: 4; gap: 2px; }
.pin-next, .pin-prev { display: grid; width: 56px; height: 56px; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; transition: opacity .25s; }
.pin-next svg, .pin-prev svg { width: 22px; height: 32px; fill: currentColor; filter: drop-shadow(0 0 8px rgba(0,0,0,.8)); transition: fill .2s; }
.pin-next svg { transform: rotate(90deg); animation: nudge 1.8s ease-in-out infinite; }
.pin-prev svg { transform: rotate(-90deg); animation: nudge-up 1.8s ease-in-out infinite; }
.pin-next:hover svg, .pin-prev:hover svg { fill: var(--accent); filter: drop-shadow(0 0 10px rgba(242,140,40,.7)); }
.pin-next:focus-visible, .pin-prev:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.pin-prev.off { opacity: .28; pointer-events: none; }
@keyframes nudge { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 5px; } }
@keyframes nudge-up { 0%, 100% { translate: 0 3px; } 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .pin-next svg, .pin-prev svg { animation: none; } }

/* Start the pinned scene under the sticky header so its bottom controls are on screen from the first frame */
.js .pin-on { margin-top: -69px; }
@media (max-width: 820px) {
  .js .pin-on .pin-nav { left: auto; right: 0; transform: none; bottom: clamp(8px, 2.4vh, 24px); }
  .pin-foot .hint { display: none; }
}

/* ---- Next-section arrow (pages without scroll stages) ---- */
.scroll-next { display: none; }
.js .scroll-next { display: grid; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; width: 56px; height: 56px; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; }
.hero.has-next { position: relative; padding-bottom: 110px; }
.scroll-next svg { width: 22px; height: 32px; fill: currentColor; transform: rotate(90deg); filter: drop-shadow(0 0 8px rgba(0,0,0,.8)); animation: nudge 1.8s ease-in-out infinite; transition: fill .2s; }
.scroll-next:hover svg { fill: var(--accent); filter: drop-shadow(0 0 10px rgba(242,140,40,.7)); }
.scroll-next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .scroll-next svg { animation: none; } }

/* ---- Solutions page: concept demos ---- */
.sol { padding: clamp(64px, 10vw, 120px) 0; scroll-margin-top: 70px; }
.sol-grid { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: 1fr 1.05fr; align-items: center; }
.sol.flip .sol-copy { order: 2; }
.sol-copy h2 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin: .35em 0 .3em; }
.sol-copy .lead { max-width: 24em; }
.tagc { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 12px; }
.steps3 { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; counter-reset: s3; color: var(--muted); font-size: .95rem; }
.steps3 li { counter-increment: s3; display: flex; align-items: center; gap: 10px; }
.steps3 li::before { content: counter(s3); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-size: .78rem; font-weight: 700; }
.connects { display: flex; align-items: center; gap: 10px; margin-top: 1.8rem; }
.connects > span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.8px solid var(--accent); border-radius: 12px; background: #0a0a0a; }
.ico img { width: 24px; height: 24px; }

.mock { background: linear-gradient(160deg, #161616, #0c0c0c); border: 1px solid #2c2c2c; border-radius: 26px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 30px 80px -30px rgba(242,140,40,.35); }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.mock-head b { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; }
.mock-head small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mock-note { min-height: 1.4em; margin: 10px 0 12px; font-size: .85rem; color: var(--accent); }
.mock .btn { width: 100%; justify-content: center; }
.mock .btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

.opt { font: inherit; font-size: .88rem; color: var(--text); background: #101010; border: 1px solid #333; border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover:not(:disabled) { border-color: #666; }
.opt.on { border-color: var(--accent); background: rgba(242,140,40,.14); }
.opt:disabled { opacity: .35; cursor: not-allowed; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.opt.day { display: grid; place-items: center; padding: 8px 4px; }
.opt.day small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.opt.day b { font-size: 1.15rem; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.opt.slot { padding: 9px 4px; text-align: center; }
.summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border: 1px dashed #3a3a3a; border-radius: 12px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; min-height: 48px; }
.summary b { color: var(--text); } .summary small { color: var(--muted); font-weight: 400; }

.timeline { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: tl; }
.timeline.five { grid-template-columns: repeat(5, 1fr); }
.timeline li { position: relative; padding-top: 22px; text-align: center; font-size: .7rem; color: #777; line-height: 1.25; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid #444; background: #0c0c0c; transition: all .3s; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: #333; transition: background .3s; }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px rgba(242,140,40,.8); }
.timeline li.done::after { background: var(--accent); }

.jobs { display: grid; gap: 8px; margin-bottom: 14px; }
.job { font: inherit; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--text); background: #101010; border: 1px solid #333; border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.job.on { border-color: var(--accent); background: rgba(242,140,40,.1); }
.job b { display: block; font-size: .92rem; } .job small { color: var(--muted); font-size: .78rem; }
.chip { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; border: 1px solid #444; color: var(--muted); white-space: nowrap; }
.chip.s1, .chip.s2 { border-color: var(--accent); color: var(--accent); }
.chip.s3, .chip.s4 { border-color: #fff; color: #fff; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.photos figure { margin: 0; }
.photos figcaption { margin-top: 6px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.ph { position: relative; aspect-ratio: 16 / 10; border: 1.5px dashed #3a3a3a; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #0f0f0f 0 10px, #131313 10px 20px); transition: border-color .3s; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.ph .wait { font-size: .75rem; color: #666; }
.ph .stamp { position: absolute; left: 8px; bottom: 8px; font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.65); border-radius: 6px; padding: 3px 7px; opacity: 0; transition: opacity .5s; }
.ph.filled { border-style: solid; border-color: var(--accent); }
.ph.filled img, .ph.filled .stamp { opacity: 1; }
.ph.filled .wait { display: none; }

.risk { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: rgba(242,140,40,.1); border: 1px solid rgba(242,140,40,.4); margin-bottom: 14px; font-size: .85rem; color: var(--muted); }
.risk b { font-family: var(--head); font-weight: 400; font-size: 1.8rem; color: var(--text); }
.renewals { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 10px; }
.ren { padding: 12px 14px; border: 1px solid #2f2f2f; border-radius: 14px; background: #0f0f0f; }
.ren-top { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; } .ren-top span { color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: #222; margin: 9px 0 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: #3fbf6a; transition: width .4s; }
.ren.amber .bar i { background: var(--accent); } .ren.red .bar i { background: #e8453c; }
.ren-bot { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .ren-bot small { color: var(--muted); font-size: .78rem; }
.mini { font: inherit; font-size: .75rem; color: var(--text); background: transparent; border: 1px solid #555; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.mini:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.mini:disabled { border-color: var(--accent); color: var(--accent); cursor: default; }

@media (max-width: 860px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol.flip .sol-copy { order: 0; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .timeline li { font-size: .62rem; }
}

/* ---- App icons with hover tooltips ---- */
.connects { flex-wrap: wrap; }
button.ico { position: relative; padding: 0; font: inherit; color: inherit; cursor: pointer; }
button.ico:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ico .tip { position: absolute; left: 0; bottom: calc(100% + 12px); width: 210px; padding: 10px 14px; border-radius: 12px; background: #fff; color: #000; border: 1.5px solid var(--accent); text-align: left;
  opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 6; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.ico .tip::after { content: ""; position: absolute; top: 100%; left: 14px; border: 6px solid transparent; border-top-color: var(--accent); }
.ico .tip b { display: block; font-size: .86rem; font-weight: 700; }
.ico .tip small { display: block; margin-top: 2px; font-size: .76rem; color: #555; line-height: 1.35; }
.ico:hover .tip, .ico:focus .tip { opacity: 1; transform: none; }
.ico:hover { border-color: #fff; }

/* ---- Home: "what we can build" teaser ---- */
.teaser .tiles { margin-top: 1.4rem; }

.ico .tip { width: 200px; }
button.ico:nth-of-type(2) .tip { left: 50%; translate: -50% 0; }
button.ico:nth-of-type(2) .tip::after { left: 50%; margin-left: -6px; }
button.ico:nth-of-type(3) .tip { left: auto; right: 0; }
button.ico:nth-of-type(3) .tip::after { left: auto; right: 14px; }
.sol { overflow-x: clip; }

/* ---- Solutions: a single screen; only the chosen example is shown ---- */
html.sol-one, html.sol-one body { height: 100%; overflow: hidden; }
html.sol-one body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
html.sol-one .site-header { flex: 0 0 auto; }
html.sol-one main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.solpage { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sol-top { flex: 0 0 auto; padding: clamp(8px, 2vh, 24px) 0 clamp(6px, 1.2vh, 14px); }
.sol-top .eyebrow { margin-bottom: .5rem; }
.sol-top h1 { font-size: min(4.6vw, 7.2vh, 3.8rem); margin: 0 0 .15em; }
.sol-top .lead { margin: 0 0 .6rem; font-size: clamp(.95rem, 1.7vh + .4vw, 1.2rem); }
.sol-top .btn-row { margin-top: .4rem; gap: 10px; }
.sol-top .btn { padding: 10px 22px; font-size: .9rem; }
.pick-row .btn-ghost.on { background: #fff; border-color: #fff; color: #000; }
.sol-stage { flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 0 0 8px; }
.sol-stage > .sol { width: 100%; }
.sol-empty { margin: 0; color: var(--muted); font-size: clamp(1rem, 2.2vh + .4vw, 1.35rem); line-height: 1.5; text-align: center; padding: 0 20px; }
.sol { padding: 0; }
.sol.band { background: none; border: 0; }
.sol:not([hidden]) { animation: solIn .35s ease; }
@keyframes solIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.sol-one .sol-grid { align-items: center; gap: clamp(20px, 3.5vw, 56px); }
html.sol-one .sol-copy h2 { font-size: min(5vw, 8.5vh, 3.6rem); margin: .25em 0 .2em; }
html.sol-one .sol-copy .lead { font-size: clamp(.92rem, 1.8vh + .3vw, 1.1rem); max-width: 26em; }
html.sol-one .steps3 { margin-top: .9rem; }
html.sol-one .connects { margin-top: 1rem; }
html.sol-one .site-footer { flex: 0 0 auto; padding: 8px 0; border-top: 1px solid var(--line); }
html.sol-one .site-footer .foot-row { display: none; }
html.sol-one .site-footer .fine { margin: 0; font-size: .68rem; }
@media (max-height: 820px) {
  html.sol-one .mock { padding: 16px 18px; border-radius: 20px; }
  html.sol-one .mock-head { margin-bottom: 10px; }
  html.sol-one .mock-note { margin: 6px 0 8px; }
  html.sol-one .opt { padding: 7px 12px; }
  html.sol-one .opts { margin-bottom: 9px; }
  html.sol-one .days, html.sol-one .slots { margin-bottom: 9px; }
  html.sol-one .opt.day { padding: 5px 4px; }
  html.sol-one .summary { padding: 8px 12px; margin-bottom: 9px; min-height: 38px; }
  html.sol-one .jobs { margin-bottom: 9px; gap: 6px; }
  html.sol-one .job { padding: 8px 12px; }
  html.sol-one .photos { margin-bottom: 10px; }
  html.sol-one .ph { aspect-ratio: 16 / 7; }
  html.sol-one .renewals { gap: 7px; }
  html.sol-one .ren { padding: 8px 12px; }
  html.sol-one .risk { padding: 8px 12px; margin-bottom: 9px; }
  html.sol-one .steps3 { display: none; }
  html.sol-one .mock .btn { padding: 10px 18px; }
}
@media (max-width: 860px) {
  .sol-stage { align-items: flex-start; padding: 6px 0 12px; }
  .sol-top h1 { font-size: min(11vw, 7vh, 2.8rem); }
  html.sol-one .sol-copy h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) { .sol:not([hidden]) { animation: none; } }

.sol-bar { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.sol-title .eyebrow { margin-bottom: .3rem; }
.sol-top .btn-row { margin-top: 0; padding-bottom: .5vh; }
@media (max-height: 820px) {
  html.sol-one .ren { padding: 6px 12px; }
  html.sol-one .bar { margin: 6px 0 5px; }
  html.sol-one .risk { padding: 6px 12px; }
  html.sol-one .risk b { font-size: 1.5rem; }
  html.sol-one .mock-head b { font-size: 1.15rem; }
  html.sol-one .site-footer { padding: 6px 0; }
}

/* ================= Two-view demos (Customer / Vendor) ================= */
.demo { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.vt { display: inline-flex; padding: 4px; border: 1px solid #333; border-radius: 999px; background: #0c0c0c; }
.vt button { position: relative; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: background .2s, color .2s; }
.vt button.on { background: #fff; color: #000; }
.vt button i { display: none; position: absolute; top: 3px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: ping 1.4s infinite; }
.vt button.new i { display: block; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242,140,40,.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(242,140,40,0); } }
.hintline { margin: 0; font-size: .84rem; color: var(--accent); text-align: center; min-height: 1.3em; }
.hintline .again { font: inherit; font-size: .76rem; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; margin-left: 8px; }
.panes { width: 100%; display: flex; justify-content: center; }
.pane { position: relative; background: #0b0b0b; border: 1px solid #2c2c2c; box-shadow: 0 30px 80px -30px rgba(242,140,40,.35); }
.pane[hidden] { display: none; }
.dev-phone { width: 272px; height: 440px; border-radius: 34px; border: 6px solid #222; overflow: hidden; }
.dev-phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 76px; height: 16px; background: #222; border-radius: 0 0 12px 12px; z-index: 7; }
.dev-phone .screen { height: 100%; padding: 26px 14px 14px; overflow: hidden; position: relative; }
.dev-desk { width: min(100%, 540px); height: 400px; border-radius: 14px; overflow: hidden; }
.dev-desk .chrome { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #1b1b1b; border-bottom: 1px solid #2c2c2c; }
.dev-desk .chrome span { width: 9px; height: 9px; border-radius: 50%; background: #444; }
.dev-desk .chrome b { margin-left: 10px; font-weight: 400; font-size: .68rem; color: var(--muted); }
.dev-desk .screen { height: calc(100% - 28px); padding: 12px 16px; overflow: hidden; position: relative; }
.screen { font-size: .8rem; display: flex; flex-direction: column; gap: 8px; }
.screen .btn { width: 100%; justify-content: center; padding: 10px 14px; font-size: .86rem; }
.screen .btn:disabled { opacity: .35; cursor: not-allowed; }
.screen .btn.ghost { background: none; color: #fff; border: 1.5px solid #555; }
.apphead { display: flex; align-items: center; gap: 10px; }
.apphead b { display: block; font-size: .92rem; } .apphead small { color: var(--muted); font-size: .7rem; }
.logo-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #000; font-weight: 800; }
.screen .chips { display: flex; flex-wrap: wrap; gap: 6px; } .screen .opt { padding: 6px 10px; font-size: .76rem; }
.screen .days { margin: 0; gap: 5px; } .screen .slots { margin: 0; gap: 5px; grid-template-columns: repeat(4, 1fr); }
.screen .opt.day { padding: 4px 2px; } .screen .opt.slot { padding: 6px 2px; font-size: .74rem; }
.sumline { padding: 8px 10px; border: 1px dashed #3a3a3a; border-radius: 10px; color: var(--muted); font-size: .76rem; }
.note { margin: 0; color: var(--muted); font-size: .76rem; } .note.ok { color: #fff; }
.badge { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid #444; color: var(--muted); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.badge.ok { border-color: var(--accent); color: var(--accent); } .badge.warn { border-color: #fff; color: #fff; }
.donecard { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 14px 8px; border: 1px solid #2c2c2c; border-radius: 16px; background: #101010; }
.donecard b { font-size: 1rem; } .donecard span { color: var(--muted); font-size: .76rem; }
.ck { width: 54px; height: 54px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ck circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: dash .6s ease forwards; }
.ck path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .4s .5s ease forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
/* pop-up notifications */
.toasts { position: absolute; left: 8px; right: 8px; top: 24px; z-index: 8; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.dev-desk .toasts { top: 36px; left: auto; width: 270px; right: 12px; }
.toast { background: #fff; color: #000; border-radius: 14px; padding: 9px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.6); border-left: 4px solid var(--accent); animation: tin .4s cubic-bezier(.2,1.2,.3,1), tout .4s 4.2s forwards; }
.toast b { display: block; font-size: .78rem; } .toast span { font-size: .72rem; color: #444; }
@keyframes tin { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tout { to { opacity: 0; transform: translateY(-60%); } }
.pane.buzz { animation: buzz .5s; }
@keyframes buzz { 0%, 100% { transform: none; } 15% { transform: translateX(-4px) rotate(-1deg); } 35% { transform: translateX(4px) rotate(1deg); } 55% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
/* QR payment */
.pay { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pay small { color: var(--muted); font-size: .72rem; } .pay-t { font-size: .92rem; }
.qrbox { position: relative; width: 142px; height: 142px; padding: 6px; background: #fff; border-radius: 10px; transition: box-shadow .3s; }
.qrbox svg { display: block; width: 100%; height: 100%; }
.qrbox .cb { position: absolute; width: 18px; height: 18px; border: 0 solid var(--accent); opacity: 0; transition: opacity .3s; }
.qrbox .tl { top: -5px; left: -5px; border-width: 3px 0 0 3px; } .qrbox .tr { top: -5px; right: -5px; border-width: 3px 3px 0 0; }
.qrbox .bl { bottom: -5px; left: -5px; border-width: 0 0 3px 3px; } .qrbox .br { bottom: -5px; right: -5px; border-width: 0 3px 3px 0; }
.qrbox.scanning .cb, .qrbox.locked .cb { opacity: 1; }
.qrbox .sline { display: none; position: absolute; left: 4px; right: 4px; height: 3px; background: var(--accent); box-shadow: 0 0 12px 3px rgba(242,140,40,.8); }
.qrbox.scanning .sline { display: block; animation: sweep 1.1s ease-in-out infinite alternate; }
@keyframes sweep { from { top: 6px; } to { top: calc(100% - 9px); } }
.qrbox.locked { box-shadow: 0 0 0 3px var(--accent), 0 0 24px rgba(242,140,40,.6); }
.detected { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); font-style: normal; font-size: .62rem; font-weight: 700; background: var(--accent); color: #000; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.amt { font-family: var(--head); font-size: 1.5rem; } .pay-s { margin: 0; color: var(--accent); font-size: .8rem; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 14px 16px; background: #fff; color: #000; border-radius: 22px 22px 0 0; animation: up .35s ease; text-align: center; }
.sheet p { margin: 0; font-size: .82rem; } .sheet small { color: #555; font-size: .72rem; }
.sheet .btn { background: #0a58ca; border-color: #0a58ca; color: #fff; }
.sheet .amt2 { font-size: 1.5rem; font-weight: 800; }
.sheet .ck { width: 48px; height: 48px; stroke: #16a34a; }
.bank { display: flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 700; font-size: .78rem; }
.bank i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #0a58ca; color: #fff; font-style: normal; font-size: .62rem; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #ccc; border-top-color: var(--accent); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } } @keyframes up { from { transform: translateY(100%); } }
/* vendor */
.vtop { display: flex; align-items: baseline; justify-content: space-between; } .vtop b { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 1.1rem; } .vtop small { color: var(--muted); font-size: .7rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .kpis.two { grid-template-columns: 1fr 1fr; }
.kpis div { border: 1px solid #2c2c2c; border-radius: 12px; padding: 7px 10px; background: #101010; } .kpis small { display: block; color: var(--muted); font-size: .64rem; } .kpis b { font-size: 1.15rem; } .kpis b.g { color: var(--accent); }
.rows { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; border: 1px solid #2c2c2c; border-radius: 10px; padding: 7px 10px; background: #101010; font-size: .76rem; }
.row > b { min-width: 42px; } .row > span { flex: 1 1 90px; }
.row.new { border-color: var(--accent); animation: glow 1.2s ease 2; } .row.empty { color: var(--muted); justify-content: center; border-style: dashed; }
@keyframes glow { 50% { background: rgba(242,140,40,.2); } }
.mini { font: inherit; font-size: .68rem; font-weight: 700; color: #000; background: #fff; border: 0; border-radius: 999px; padding: 4px 11px; cursor: pointer; } .mini:hover { background: var(--accent); }
.row.ren { display: block; } .rtop, .rbot { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .rtop span { color: var(--muted); }
.row.ren .bar { height: 5px; margin: 6px 0; border-radius: 4px; background: #222; overflow: hidden; } .row.ren .bar i { display: block; height: 100%; background: var(--accent); transition: width .6s; }
.row.ren.red .bar i { background: #fff; } .row.ren.green .bar i { background: #555; } .row.ren small { color: var(--muted); font-size: .68rem; }
.jgrid { display: grid; grid-template-columns: 150px 1fr; gap: 10px; min-height: 0; }
.jlist { display: flex; flex-direction: column; gap: 6px; }
.jlist .job { display: block; padding: 7px 9px; border-radius: 10px; font-size: .74rem; cursor: default; } .jlist .job .chip { display: inline-block; margin-top: 4px; font-size: .56rem; padding: 3px 7px; }
.jdetail { position: relative; display: flex; flex-direction: column; gap: 6px; } .jhead b { display: block; font-size: .92rem; } .jhead small { color: var(--muted); font-size: .7rem; }
.tchip { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .7rem; border: 1px solid var(--accent); border-radius: 999px; padding: 2px 9px 2px 3px; } .tchip i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #000; font-style: normal; font-size: .6rem; font-weight: 800; } .tchip.dim { border-color: #444; color: var(--muted); padding-left: 9px; }
.jdetail .photos { margin: 0; gap: 8px; } .jdetail .ph { aspect-ratio: 16 / 7; }
.flash.go { position: absolute; inset: 0; border-radius: 10px; background: #fff; pointer-events: none; animation: flash .5s forwards; } @keyframes flash { from { opacity: .7; } to { opacity: 0; } }
/* customer job tracking */
.trk { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 2px; font-size: .58rem; color: #777; } .trk li { flex: 1; text-align: center; padding-top: 14px; position: relative; }
.trk li::before { content: ""; position: absolute; top: 2px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; border: 2px solid #444; background: #0b0b0b; z-index: 1; }
.trk li::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #333; } .trk li:first-child::after { display: none; }
.trk li.done { color: #fff; } .trk li.done::before { background: var(--accent); border-color: var(--accent); } .trk li.done::after { background: var(--accent); }
.waitbox { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 8px; text-align: center; color: var(--muted); } .waitbox .spin { border-color: #333; border-top-color: var(--accent); }
.tech { display: flex; align-items: center; gap: 10px; } .tech b { display: block; font-size: .86rem; } .tech small { color: var(--muted); font-size: .72rem; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #000; font-weight: 800; }
.road { position: relative; height: 4px; border-radius: 3px; background: #222; margin: 14px 0; } .road i { position: absolute; top: -5px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: drive 2.6s ease-in-out infinite alternate; } @keyframes drive { to { left: calc(100% - 14px); } }
.screen .photos { margin: 0; gap: 8px; } .screen .photos.one { grid-template-columns: 1fr; } .screen .ph { aspect-ratio: 16 / 8; }
.inv { padding: 8px 10px; border: 1px solid #2c2c2c; border-radius: 10px; background: #101010; } .inv b { display: block; font-size: .8rem; } .inv small { color: var(--muted); font-size: .7rem; }
.contract { border: 1px solid #2c2c2c; border-radius: 14px; padding: 10px 12px; background: #101010; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; } .contract.due { border-color: var(--accent); } .ctop { display: flex; justify-content: space-between; width: 100%; font-size: .84rem; } .contract small { color: var(--muted); }
.mail { border: 1px solid #333; border-radius: 12px; padding: 9px 11px; background: #fff; color: #000; animation: up .4s ease; } .mail small { display: block; color: #666; font-size: .64rem; } .mail b { display: block; font-size: .8rem; } .mail span { font-size: .72rem; color: #444; }
/* live step tracker */
.steps3.live { display: flex !important; }
.steps3.live li { transition: color .3s; } .steps3.live li.done { color: #fff; } .steps3.live li.done::before { background: var(--accent); color: #000; }
@media (max-width: 860px) { .dev-desk { height: 380px; } .jgrid { grid-template-columns: 1fr; } .jlist { display: none; } }
@media (prefers-reduced-motion: reduce) { .toast, .pane.buzz, .qrbox .sline, .road i, .vt button i { animation: none !important; } }
/* while the bank sheet is up, give the scanned QR the room */
.screen:has(.sheet) .inv, .screen:has(.sheet) .trk, .screen:has(.sheet) .apphead, .screen:has(.sheet) .pay .amt { display: none; }
.screen:has(.sheet) .qrbox { width: 120px; height: 120px; }
.screen:has(.sheet) .pay { margin-top: 6px; }
.row.ren { padding: 6px 10px; } .row.ren .bar { margin: 4px 0; } .dev-desk .rows { gap: 5px; } .dev-desk .screen { gap: 7px; }
.dev-desk { height: 440px; } @media (max-width: 860px) { .dev-desk { height: 440px; } }
.dev-desk, .dev-phone { height: 470px; } @media (max-width: 860px) { .dev-desk, .dev-phone { height: 470px; } }
.screen:has(.pay) .trk { display: none; }

/* ---- full-page demo ---- */
.demo-launch { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: clamp(28px, 6vh, 56px) 24px; border: 1px solid #2c2c2c; border-radius: 26px; background: linear-gradient(160deg, #161616, #0c0c0c); box-shadow: 0 30px 80px -30px rgba(242,140,40,.35); }
.demo-launch b { font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 1.6rem; }
.demo-launch span { color: var(--muted); max-width: 20em; }
.demo.full .demo-launch, .demo:not(.full) .demo-in { display: none; }
.demo.full { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.985); align-items: center; justify-content: center; gap: 0; overflow: hidden; }
.demo.full .demo-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.demo-x { position: absolute; top: -4px; right: -2px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #444; background: #111; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; z-index: 20; }
.demo-x:hover { background: #fff; color: #000; }
.topbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0 40px; }
.skipday { font: inherit; font-size: .8rem; font-weight: 700; color: #000; background: var(--accent); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.skipday:disabled { opacity: .3; cursor: not-allowed; }
html.demo-open, html.demo-open body { overflow: hidden; }

/* ---- guide bubble ---- */
.pane, .demo-in { position: relative; }
.guide { position: absolute; z-index: 7; width: max-content; max-width: 210px; padding: 8px 12px; border-radius: 12px; background: #fff; color: #000; border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.55); pointer-events: none; animation: gin .35s ease; }
.guide small { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b25e00; }
.guide b { display: block; font-size: .78rem; line-height: 1.3; }
.guide .gar { position: absolute; left: var(--ax, 50%); width: 12px; height: 12px; margin-left: -6px; background: #fff; border: 2px solid var(--accent); transform: rotate(45deg); }
.guide.above .gar { bottom: -8px; border-top: 0; border-left: 0; }
.guide.below .gar { top: -8px; border-bottom: 0; border-right: 0; }
.guide.above { animation: gin .35s ease, bob-up 1.4s ease-in-out .4s infinite; } .guide.below { animation: gin .35s ease, bob-dn 1.4s ease-in-out .4s infinite; }
@keyframes gin { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes bob-up { 50% { translate: 0 -4px; } } @keyframes bob-dn { 50% { translate: 0 4px; } }
.guide-target { animation: gring 1.4s ease-out infinite; }
@keyframes gring { 0% { box-shadow: 0 0 0 0 rgba(242,140,40,.85); } 80%, 100% { box-shadow: 0 0 0 10px rgba(242,140,40,0); } }
@media (prefers-reduced-motion: reduce) { .guide, .guide-target { animation: none !important; } }

/* ---- snapshot launch card ---- */
.demo-launch { gap: 14px; padding: 0; border: 0; background: none; box-shadow: none; }
.snap { position: relative; display: flex; align-items: flex-start; justify-content: center; zoom: .6; cursor: pointer; border-radius: 20px; transition: filter .2s; }
.snap:hover { filter: brightness(1.15); }
.snap * { pointer-events: none; }
.snap .dev-desk { flex: none; width: 540px; height: 470px; }
.snap .dev-phone { flex: none; margin-left: -120px; margin-top: 50px; box-shadow: 0 20px 50px rgba(0,0,0,.7), 0 30px 80px -30px rgba(242,140,40,.4); }
.launch-note { color: var(--muted); font-size: .8rem; letter-spacing: .06em; }
/* ---- guide beside the device ---- */
.guide.side-l .gar, .guide.side-r .gar { top: var(--ay, 50%); bottom: auto; margin: -6px 0 0; }
.guide.side-l .gar { left: auto; right: -8px; border-left: 0; border-bottom: 0; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.guide.side-r .gar { left: -8px; border-top: 0; border-right: 0; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.guide.side-l { animation: gin .35s ease, bob-l 1.4s ease-in-out .4s infinite; } .guide.side-r { animation: gin .35s ease, bob-r 1.4s ease-in-out .4s infinite; }
@keyframes bob-l { 50% { translate: 5px 0; } } @keyframes bob-r { 50% { translate: -5px 0; } }
.gslot { display: none; }
.demo.narrow .gslot { display: flex; justify-content: center; min-height: 58px; width: 100%; align-items: center; padding: 0 12px; }
.guide.strip { position: static; width: auto; max-width: 100%; animation: gin .35s ease; }
.guide.strip .gar { display: none; }
