/* ==========================================================================
   Fanya Labs — v3 "black" styles
   Black canvas, SolarWinds-style orange for the highlight / main action,
   cyan for integration accents (lines, icons, live states, links).
   Single family: Geist. Earlier cobalt design: /fanya/design-v1-cobalt.
   ========================================================================== */

:root {
  --bg: #000000;
  --surface: #0e0f11;
  --surface-2: #16181b;
  --line: #24272b;
  --line-strong: #383c42;
  --text: #f3f4f5;
  --muted: #9aa2a9;
  --orange: #f7941d;
  --orange-hi: #ffa83f;
  --orange-rgb: 247, 148, 29;
  --on-orange: #000;
  --orange-soft: rgba(var(--orange-rgb), 0.13);
  --cyan: #22d3ee;
  --cyan-rgb: 34, 211, 238;
  --on-cyan: #000;
  --cyan-soft: rgba(var(--cyan-rgb), 0.12);
  --mint: #22c55e;
  --mint-soft: rgba(34, 197, 94, 0.14);
  --wa: #25d366;

  --f: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: var(--on-orange); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; background: var(--orange); color: var(--on-orange); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.hero-title, .section-title, .cta-title, .page-title { font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.ch { display: inline-block; }
.word { display: inline-block; white-space: nowrap; }

/* ---- Buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.1; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .35s var(--ease); }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-sm { padding: .65em 1em; font-size: .9rem; }
.btn-sun, .btn-cobalt { background: var(--orange); color: var(--on-orange); }
.btn-sun:hover, .btn-cobalt:hover { background: var(--orange-hi); }
.btn-line, .btn-line-ink { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-line:hover, .btn-line-ink:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { background: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---- Curtain ----------------------------------------------------------- */
.curtain { display: none; }
.js .curtain { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); pointer-events: none; animation: curtain-out .5s var(--ease-io) .05s both; }
.curtain-word { font-size: 2rem; font-weight: 700; letter-spacing: -0.05em; display: flex; align-items: flex-end; gap: 3px; }
.curtain-word i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-bottom: 7px; }
.js .curtain.is-leaving { animation: curtain-in .3s var(--ease-io) both; }
@keyframes curtain-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes curtain-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- Navigation -------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 70; transition: background-color .3s, box-shadow .3s, transform .45s var(--ease); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: 2rem; }
.nav.is-solid { background: rgba(0,0,0,.78); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-solid .nav-inner { padding-top: 12px; padding-bottom: 12px; }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: flex-end; gap: 3px; text-decoration: none; margin-right: auto; }
.logo-word { font-size: 1.45rem; line-height: 1; font-weight: 700; letter-spacing: -0.05em; }
.logo-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-bottom: 4px; }
.logo-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3); opacity: 0; } }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { position: relative; text-decoration: none; font-size: .95rem; color: var(--muted); padding: 4px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); }
.nav-cta { padding: .65em 1.1em; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; }
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }
.menu-open .nav-toggle .ic-open { display: none; }
.menu-open .nav-toggle .ic-close { display: block; }
.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
.menu { position: fixed; inset: 0; z-index: 65; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 100px var(--gutter) 40px; overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease); }
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu:not(.is-open) { pointer-events: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(1.35rem, 5vw, 1.85rem); font-weight: 550; letter-spacing: -0.03em; line-height: 1.2; padding: .45rem 0; border-bottom: 1px solid var(--line); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease), color .2s; }
.menu nav a:hover { color: var(--orange); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.menu-foot { display: grid; gap: .8rem; margin-top: 2rem; color: var(--muted); }
.menu-foot a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.menu-open { overflow: hidden; }

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(8rem, 17vh, 10.5rem) 0 clamp(4.5rem, 9vh, 6.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(var(--cyan-rgb),.55) 1px, transparent 1.3px); background-size: 28px 28px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 82% 45%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 50% 70% at 82% 45%, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--orange-rgb),.16), transparent 65%); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero-title { font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1; margin-bottom: 1.6rem; }
.hero-title .line { display: block; }
.hero-title .line:last-child { color: var(--orange); }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.55; max-width: 38ch; color: var(--muted); margin-bottom: 2rem; }

/* Live-run panel */
.relay { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.15rem .9rem; box-shadow: 0 40px 90px -40px rgba(var(--cyan-rgb),.18); }
.relay-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .7rem; }
.relay-live { display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; font-size: .88rem; }
.relay-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.relay-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: ping 1.8s var(--ease) infinite; }
.relay-tabs { display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.relay-tabs button { border: 0; background: none; padding: .32rem .72rem; border-radius: 6px; font-size: .84rem; font-weight: 550; color: var(--muted); transition: background-color .2s, color .2s; }
.relay-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.relay-feed { position: relative; height: 372px; overflow: hidden; }
.relay-feed::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.ev { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: .85rem; align-items: center; padding: .55rem 0; }
.ev.is-new { animation: ev-in .5s var(--ease) both; }
@keyframes ev-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ev-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); box-shadow: 0 0 0 1px var(--line), 0 0 0 5px var(--surface); }
.ev-ic .ic { width: 16px; height: 16px; }
.ev-whatsapp .ev-ic { color: var(--wa); }
.ev-agent .ev-ic { background: var(--cyan); color: var(--on-cyan); box-shadow: 0 0 0 5px var(--surface); }
.ev-mpesa .ev-ic { color: var(--mint); }
.ev-paid .ev-ic { background: var(--mint); color: #000; box-shadow: 0 0 0 5px var(--surface); }
.ev-system .ev-ic { color: var(--text); }
.ev-sms .ev-ic { color: var(--orange); }
.ev-portal .ev-ic { color: var(--cyan); }
.ev-txt { display: grid; min-width: 0; }
.ev-txt strong { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.ev-txt span { font-size: .84rem; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; }
.relay-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .75rem; margin-top: .3rem; font-size: .86rem; color: var(--muted); }
.relay-foot strong { font-size: 1.4rem; font-weight: 650; letter-spacing: -0.03em; color: var(--text); transition: color .3s; font-variant-numeric: tabular-nums; }
.relay-foot strong.is-bump { color: var(--orange); }
.relay-note { text-align: right; font-size: .78rem; color: var(--muted); margin-top: .1rem; }

/* ---- Content blocks ---------------------------------------------------- */
.block { padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); }
.block-alt { background: var(--surface); }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.2rem, 4vw, 3rem); }
.block-head p { color: var(--muted); max-width: 42ch; }
.block-more { margin-top: 2.2rem; text-align: center; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-col { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.5rem 1.5rem; transition: border-color .3s, transform .5s var(--ease); }
.svc-col:hover { border-color: var(--cyan); transform: translateY(-3px); }
.svc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--cyan); margin-bottom: 1.2rem; }
.svc-ic .ic { width: 22px; height: 22px; }
.svc-col h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 1rem; }
.svc-col ul { display: grid; gap: .45rem; margin-bottom: 1.4rem; }
.svc-col li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.svc-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.svc-from { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.svc-from strong { color: var(--orange); font-size: 1.15rem; font-weight: 650; }
.svc-more { margin-top: .6rem; font-size: .9rem; color: var(--cyan); text-underline-offset: 3px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.price { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.4rem 1.4rem; transition: border-color .3s; }
.price:hover { border-color: var(--line-strong); }
.price.is-featured { border-color: var(--orange); box-shadow: 0 30px 70px -40px rgba(var(--orange-rgb),.45); }
.price-tag { position: absolute; top: -11px; left: 1.4rem; background: var(--orange); color: var(--on-orange); font-size: .75rem; font-weight: 650; padding: 3px 10px; border-radius: 6px; }
.price h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: .6rem; }
.price-amt { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 1.1rem; font-variant-numeric: tabular-nums; }
.price-amt small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-amt span { display: block; font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: .2rem; }
.price ul { display: grid; gap: .45rem; margin-bottom: 1.4rem; font-size: .93rem; color: var(--muted); }
.price li { display: flex; gap: .55rem; align-items: flex-start; }
.price li .ic { color: var(--cyan); width: 1.05em; height: 1.05em; margin-top: .2em; }
.price .btn { margin-top: auto; align-self: flex-start; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.how li { border-top: 2px solid var(--line-strong); padding-top: 1.2rem; }
.how span { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--orange); color: var(--on-orange); font-weight: 700; margin-bottom: 1rem; }
.how h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: .35rem; }
.how p { color: var(--muted); max-width: 34ch; }

/* ---- Portfolio cards --------------------------------------------------- */
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.demo-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.demo-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.demo-feed { background: var(--bg); border-bottom: 1px solid var(--line); padding: .9rem 1rem 1rem; }
.feed-bar { display: flex; align-items: center; gap: .5rem; font-size: .8rem; margin-bottom: .5rem; color: var(--muted); }
.feed-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.feed-bar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-bar em { font-style: normal; font-size: .72rem; font-weight: 600; background: var(--cyan-soft); color: var(--cyan); padding: 2px 8px; border-radius: 6px; }
.is-soon .feed-bar i { background: var(--orange); }
.is-soon .feed-bar em { background: var(--orange-soft); color: var(--orange); }
.demo-feed ul { height: 90px; overflow: hidden; position: relative; }
.demo-feed li { display: flex; justify-content: space-between; gap: 1rem; height: 30px; align-items: center; border-bottom: 1px solid var(--line); font-size: .85rem; transform: translateY(var(--shift, 0px)); transition: transform .6s var(--ease); }
.demo-feed ul.no-tr li { transition: none; }
.demo-feed li span { color: var(--muted); }
.demo-feed li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-feed li:first-child b { color: var(--orange); }
.demo-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.demo-kind { font-size: .84rem; color: var(--cyan); font-weight: 550; }
.demo-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.demo-desc { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.demo-for { font-size: .9rem; color: var(--muted); }
.demo-for strong { color: var(--text); font-weight: 600; }
.demo-feat { display: grid; gap: .3rem; margin: .3rem 0 .2rem; font-size: .92rem; }
.demo-feat li { display: flex; gap: .5rem; align-items: center; }
.demo-feat .ic { color: var(--cyan); width: 1.05em; height: 1.05em; }
.demo-login { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; background: var(--bg); padding: .5rem .6rem; border-radius: 9px; }
.demo-login span { color: var(--muted); margin-right: .2rem; }
.demo-login button { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: .2rem .5rem; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; }
.demo-login button.is-copied { border-color: var(--mint); color: var(--mint); }
.demo-login .ic { width: .95em; height: .95em; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: auto; padding-top: .8rem; }
.demo-soon { font-weight: 550; font-size: .88rem; background: var(--orange-soft); color: var(--orange); border-radius: 7px; padding: .4rem .8rem; }
.demo-ask { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 550; text-underline-offset: 3px; text-decoration-color: var(--cyan); }
.demo-ask .ic { width: 1em; height: 1em; }

/* ---- CTA --------------------------------------------------------------- */
.cta { padding: clamp(4.5rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 560px; height: 560px; left: -180px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--orange-rgb),.18), transparent 65%); pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem 4rem; align-items: end; }
.cta-title { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 14ch; }
.cta-side p { font-size: 1.05rem; color: var(--muted); margin-bottom: 1.4rem; max-width: 36ch; }

/* ---- Footer ------------------------------------------------------------ */
.foot { background: var(--bg); color: var(--muted); padding: clamp(4rem, 8vw, 5.5rem) 0 1.6rem; font-size: .93rem; overflow: hidden; border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 2.4rem 2rem; }
.foot-lead { color: var(--text); font-size: 1.05rem; line-height: 1.5; max-width: 30ch; }
.foot-means { margin-top: .9rem; font-size: .86rem; max-width: 34ch; }
.foot-h { color: var(--text); font-size: .95rem; font-weight: 600; margin-bottom: .8rem; }
.foot ul { display: grid; gap: .45rem; }
.foot-contact li, .foot-contact a { display: inline-flex; align-items: center; gap: .5rem; overflow-wrap: anywhere; }
.foot-contact .ic { color: var(--cyan); }
.foot-word { font-size: clamp(5rem, 21vw, 17rem); font-weight: 700; letter-spacing: -0.07em; line-height: .8; margin: clamp(3rem, 6vw, 5rem) 0 1.4rem -0.04em; white-space: nowrap; user-select: none;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-base span:last-child { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---- Inner pages ------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(8.5rem, 17vh, 11rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(var(--cyan-rgb),.55) 1px, transparent 1.3px); background-size: 28px 28px; opacity: .3;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 60%); mask-image: linear-gradient(to left, #000, transparent 60%); }
.page-hero .wrap { position: relative; }
.page-title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.2rem; max-width: 15ch; }
.page-lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); max-width: 48ch; color: var(--muted); }
.page-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.page-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 9px; border: 1px solid var(--line-strong); text-decoration: none; font-size: .93rem; transition: border-color .2s, color .2s; }
.page-jump a .ic { color: var(--cyan); }
.page-jump a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Services page */
.svc-block { padding: clamp(4.5rem, 9vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.svc-block:nth-of-type(even) { background: var(--surface); }
.svc-block-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 4vw, 3rem); }
.svc-block-head p { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-cards li { padding: 1.4rem 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .3s; }
.svc-cards li:hover { border-color: var(--cyan); }
.svc-cards h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: .45rem; }
.svc-cards p { color: var(--muted); font-size: .95rem; }
.faq { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 5rem; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 550; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--orange); transition: transform .35s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 0 1.4rem; max-width: 60ch; }

/* Work page */
.demos-page { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(5rem, 9vw, 7rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips button { border: 1px solid var(--line-strong); background: transparent; border-radius: 9px; padding: .5rem .95rem; font-weight: 550; font-size: .92rem; transition: background-color .2s, color .2s, border-color .2s; }
.chips button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.chips button span { opacity: .6; margin-left: .35rem; font-weight: 500; }
.demo-card.is-hidden { display: none; }
.demos-note { margin-top: 2.5rem; color: var(--muted); font-size: .93rem; max-width: 70ch; }

/* Contact page */
.contact { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-info { display: grid; gap: .8rem; }
.contact-way { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
a.contact-way:hover { border-color: var(--cyan); transform: translateX(3px); }
.contact-way .ic { width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.contact-way strong { display: block; font-weight: 600; }
.contact-way span { color: var(--muted); font-size: .93rem; overflow-wrap: anywhere; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.form h2 { font-weight: 600; letter-spacing: -0.04em; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; margin-bottom: .5rem; }
.form > p { color: var(--muted); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.field label, .field legend { font-weight: 550; font-size: .93rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 10px; padding: .78rem .9rem; transition: border-color .2s, box-shadow .2s; }
.field select option { background: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; }
.field textarea::placeholder, .field input::placeholder { color: #6b737a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.field.has-error input, .field.has-error textarea { border-color: #f05260; }
.field-err { color: #ff7a85; font-size: .86rem; font-weight: 550; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.need-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.need-chips label { position: relative; font-weight: 500; font-size: .91rem; }
.need-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need-chips span { display: inline-block; padding: .5rem .9rem; border-radius: 9px; border: 1px solid var(--line-strong); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.need-chips input:checked + span { background: var(--cyan-soft); color: var(--cyan); border-color: var(--cyan); }
.need-chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: 10px; padding: .95rem 1.05rem; margin-bottom: 1.4rem; font-size: .95rem; }
.form-alert.is-error { background: rgba(240,82,96,.14); color: #ffb3ba; }
.form-alert a { color: var(--cyan); }
.form-done { text-align: center; padding: 2rem 0 1rem; }
.ok-ring { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: #000; display: grid; place-items: center; margin: 0 auto 1.2rem; animation: pop .6s var(--ease) both; }
.ok-ring .ic { width: 38px; height: 38px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.3); } 60% { transform: scale(1.1); } to { transform: none; } }
.form-submit { width: 100%; margin-top: .4rem; font-size: 1.02rem; }
.form-small { margin-top: .9rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter) 4rem; }
.lost-code { font-size: clamp(6rem, 24vw, 14rem); font-weight: 300; letter-spacing: -0.07em; line-height: .85; color: var(--orange); }
.lost h1 { font-weight: 600; letter-spacing: -0.04em; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 1.4rem 0 .8rem; }
.lost p { color: var(--muted); margin-bottom: 2rem; }
.lost .btn-row { justify-content: center; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .svc-cards, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-grid, .svc-block-head, .faq-grid, .contact-grid, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .relay { max-width: 520px; }
  .svc-grid, .how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .svc-cards, .price-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-title { font-size: clamp(2.4rem, 11.5vw, 3.4rem); }
  .relay-feed { height: 400px; }
  .relay-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .curtain { display: none; }
}

/* ==========================================================================
   Service pages (AI, Websites, Systems)
   ========================================================================== */
.hero-page { padding-bottom: clamp(4rem, 8vh, 5.5rem); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 550; color: var(--cyan); margin-bottom: 1.2rem; }
.kicker .ic { width: 1.05em; height: 1.05em; }
figure.revamp, figure.dash { margin: 0; }

/* Home: AI card stands out */
.svc-col { position: relative; }
.svc-col.is-ai { border-color: var(--orange); background: linear-gradient(180deg, rgba(var(--orange-rgb),.08), var(--surface) 45%); }
.svc-col.is-ai .svc-ic { background: var(--orange-soft); color: var(--orange); }
.svc-col .price-tag { left: 1.5rem; }

/* Agent loop */
.loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin-bottom: 2.5rem; counter-reset: loop; }
.loop li { position: relative; padding: 1.1rem 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .4s, background-color .4s; }
.loop li::after { content: ""; position: absolute; right: -.6rem; top: 50%; width: .6rem; height: 1px; background: var(--line-strong); }
.loop li:last-child::after { display: none; }
.loop b { display: block; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: .3rem; }
.loop span { color: var(--muted); font-size: .9rem; line-height: 1.45; display: block; }
.loop li.is-on { border-color: var(--orange); background: rgba(var(--orange-rgb),.07); }
.loop li.is-on b { color: var(--orange); }

.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.compare-col { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.compare-col h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 1rem; color: var(--muted); }
.compare-col ul { display: grid; gap: .6rem; }
.compare-col li { color: var(--muted); padding-left: 1.1rem; position: relative; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--muted); }
.compare-col.is-agent { border-color: var(--cyan); background: var(--cyan-soft); }
.compare-col.is-agent h3 { color: var(--text); }
.compare-col.is-agent li { color: var(--text); padding-left: 0; display: flex; gap: .55rem; align-items: flex-start; }
.compare-col.is-agent li::before { display: none; }
.compare-col.is-agent .ic { color: var(--cyan); margin-top: .2em; }

/* Agent catalogue */
.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.agent { display: flex; flex-direction: column; gap: .6rem; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.35rem; transition: border-color .3s, transform .5s var(--ease); }
.agent:hover { border-color: var(--cyan); transform: translateY(-3px); }
.agent h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.agent > p { color: var(--muted); font-size: .94rem; }
.agent-tools { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.agent-tools li { font-size: .76rem; color: var(--cyan); background: var(--cyan-soft); padding: 3px 8px; border-radius: 6px; }
.agent-takes { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text); }
.agent-takes span { color: var(--orange); }

/* Savings */
.save-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.save { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.35rem; }
.save-area { font-size: .84rem; font-weight: 550; color: var(--cyan); margin-bottom: .3rem; }
.save h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
.save dl { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.save dt { font-size: .78rem; font-weight: 600; margin-bottom: .15rem; }
.save dd { font-size: .92rem; color: var(--muted); }
.save-before dt { color: var(--muted); }
.save-after dt { color: var(--cyan); }
.save-after { padding-left: .8rem; border-left: 2px solid var(--cyan); }
.save-total { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 650; letter-spacing: -0.03em; color: var(--orange); }
.save-total small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.calc-intro { color: var(--muted); margin: 1rem 0 1.8rem; max-width: 44ch; }
.calc-row { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.calc-row label { font-size: .93rem; font-weight: 550; }
.calc-row output { color: var(--orange); font-weight: 650; }
.calc-row input[type="number"] { width: 100%; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 10px; padding: .75rem .9rem; font-variant-numeric: tabular-nums; }
.calc-row input[type="number"]:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.calc-row input[type="range"] { width: 100%; accent-color: var(--orange); }
.calc-out { position: sticky; top: 100px; background: var(--bg); border: 1px solid var(--orange); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 40px 80px -45px rgba(var(--orange-rgb),.45); }
.calc-big small, .calc-cells small { display: block; font-size: .82rem; color: var(--muted); }
.calc-big strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 650; letter-spacing: -0.05em; color: var(--orange); line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.4rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.calc-cells strong { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-note { font-size: .84rem; color: var(--muted); margin-bottom: 1.2rem; }

/* Guardrails / includes */
.guard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.guard li { border-top: 2px solid var(--cyan); padding-top: 1.1rem; }
.guard .ic { width: 24px; height: 24px; color: var(--cyan); margin-bottom: .9rem; }
.guard h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: .35rem; }
.guard p { color: var(--muted); font-size: .94rem; }
.how-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Revamp slider (dark) */
.revamp { --pos: 55%; }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(var(--cyan-rgb),.18); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-bar span { margin-left: 10px; flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; font-size: .75rem; color: var(--muted); }
.revamp-stage { position: relative; height: clamp(320px, 30vw, 380px); overflow: hidden; }
.site-old, .site-new { position: absolute; inset: 0; overflow: hidden; }
.site-old { background: #efe9d9; font-family: "Times New Roman", Times, serif; color: #222; font-size: 13px; padding: 10px; }
.old-banner { background: #003399; color: #ffff00; font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: 20px; text-align: center; padding: 10px 6px; border: 3px ridge #999; }
.old-nav { width: 100%; border-collapse: collapse; margin: 8px 0; background: #c0c0c0; }
.old-nav td { border: 2px outset #eee; text-align: center; padding: 3px; color: #00e; text-decoration: underline; font-size: 12px; }
.old-body { display: flex; gap: 10px; }
.old-img { flex: none; width: 110px; height: 90px; display: grid; place-items: center; background: #999; color: #ddd; font-size: 11px; border: 1px solid #666; }
.old-body p { text-align: justify; font-size: 11.5px; line-height: 1.35; color: #444; }
.old-count { margin-top: 12px; font-size: 11px; text-align: center; color: #777; }
.old-under { margin-top: 6px; text-align: center; color: #c00; font-weight: bold; font-size: 12px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.site-new { background: var(--bg); clip-path: inset(0 0 0 var(--pos)); padding: 16px 20px; font-size: 13px; color: var(--text); }
.new-nav { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.new-nav b { font-size: 17px; color: var(--text); margin-right: auto; letter-spacing: -0.04em; }
.new-nav b span { color: var(--orange); }
.new-pill { background: var(--orange); color: var(--on-orange); border-radius: 7px; padding: 5px 10px; }
.new-hero { margin-top: 24px; padding: 20px 2px 18px; border-bottom: 1px solid var(--line); }
.new-hero h4 { font-weight: 600; font-size: clamp(19px, 2vw, 25px); line-height: 1.08; letter-spacing: -0.04em; max-width: 17ch; }
.new-hero p { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.new-btns { display: flex; gap: 8px; margin-top: 14px; }
.nb { border-radius: 7px; padding: 6px 11px; font-size: 11.5px; font-weight: 600; }
.nb-a { background: var(--orange); color: var(--on-orange); }
.nb-b { border: 1px solid var(--line-strong); }
.new-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.new-cards span { border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; font-size: 11.5px; color: var(--muted); }
.new-cards b { display: block; color: var(--text); font-size: 13px; margin-top: 2px; }
.revamp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; z-index: 2; }
.revamp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--cyan); }
.revamp-handle span { position: absolute; top: 50%; left: -20px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.revamp-handle span::before, .revamp-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.revamp-handle span::before { left: 6px; border-right-color: var(--cyan); }
.revamp-handle span::after { right: 6px; border-left-color: var(--cyan); }
.revamp-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.revamp-stage:has(.revamp-range:focus-visible) { outline: 2px solid var(--cyan); outline-offset: -2px; }
.revamp-labels { display: flex; justify-content: space-between; margin-top: .7rem; font-size: .84rem; color: var(--muted); }
.revamp-labels span:first-child, .revamp-labels span:last-child { font-weight: 600; color: var(--text); }

/* Dashboard (dark) */
.dash { display: grid; grid-template-columns: 52px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(var(--cyan-rgb),.18); }
.dash-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.dash-side b { color: var(--orange); font-size: 1.3rem; line-height: 1; margin-bottom: 8px; }
.dash-side i { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); }
.dash-side i.on { background: var(--cyan-soft); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.dash-main { padding: 1.1rem 1.2rem 1.2rem; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .9rem; }
.dash-top span { color: var(--muted); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.dash-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; min-width: 0; background: var(--bg); }
.dash-kpis small { display: block; font-size: .75rem; color: var(--muted); }
.dash-kpis b { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 650; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin: 1.1rem 0 .4rem; padding-bottom: 20px; }
.dash-chart span { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.dash-chart i { display: block; width: 100%; height: var(--h); background: rgba(var(--cyan-rgb),.22); border-radius: 5px 5px 2px 2px; transform-origin: bottom; }
.dash-chart span:nth-child(6) i { background: var(--orange); }
.dash-chart em { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: .72rem; color: var(--muted); }
.dash-tx li { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.dash-tx li span:nth-child(2) { color: var(--muted); }

@media (max-width: 1080px) {
  .agent-grid, .save-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guard, .how-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop li::after { display: none; }
}
@media (max-width: 960px) {
  .calc-grid, .compare { grid-template-columns: minmax(0, 1fr); }
  .calc-out { position: static; }
}
@media (max-width: 640px) {
  .agent-grid, .save-grid, .guard, .how-4 { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .calc-cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-kpis div:last-child { grid-column: 1 / -1; }
  .new-cards { grid-template-columns: 1fr 1fr; }
  .new-cards span:last-child { display: none; }
  .new-nav span:not(.new-pill) { display: none; }
  .old-img { width: 70px; height: 60px; }
}

/* ==========================================================================
   Theme picker (trial only). Each theme swaps the base, main and second colours.
   Turn the picker off with THEME_PICKER = false in inc/config.php.
   ========================================================================== */
html[data-theme="midnight"] { --bg: #0a0f1e; --surface: #10172b; --surface-2: #172039; --line: #212b47; --line-strong: #33406a; --text: #eef2ff; --muted: #9aa6c4;
  --orange: #3b82f6; --orange-hi: #60a5fa; --orange-rgb: 59, 130, 246; --on-orange: #fff; --cyan: #34d399; --cyan-rgb: 52, 211, 153; --mint: #34d399; }
html[data-theme="mpesa"] { --bg: #06110c; --surface: #0b1912; --surface-2: #11231a; --line: #1c3326; --line-strong: #2c4a38; --text: #effaf3; --muted: #93ab9c;
  --orange: #22c55e; --orange-hi: #4ade80; --orange-rgb: 34, 197, 94; --on-orange: #04140b; --cyan: #facc15; --cyan-rgb: 250, 204, 21; --mint: #2dd4bf; }
html[data-theme="violet"] { --bg: #111113; --surface: #18181b; --surface-2: #202024; --line: #2a2a30; --line-strong: #3d3d45; --text: #f4f4f5; --muted: #a1a1aa;
  --orange: #8b5cf6; --orange-hi: #a78bfa; --orange-rgb: 139, 92, 246; --on-orange: #fff; --cyan: #22d3ee; --cyan-rgb: 34, 211, 238; }
html[data-theme="savannah"] { --bg: #120d0a; --surface: #1a1410; --surface-2: #231b15; --line: #33281f; --line-strong: #4a3a2d; --text: #f8f1e9; --muted: #b3a493;
  --orange: #fb923c; --orange-hi: #fdba74; --orange-rgb: 251, 146, 60; --on-orange: #1a0d04; --cyan: #e7c69b; --cyan-rgb: 231, 198, 155; --mint: #a3e635; }
html[data-theme] { --orange-soft: rgba(var(--orange-rgb), 0.13); --cyan-soft: rgba(var(--cyan-rgb), 0.12); }

.tpick { position: fixed; left: 16px; bottom: 16px; z-index: 90; font-size: .85rem; }
.tpick-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem .85rem .5rem .55rem; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.tpick-btn:hover { border-color: var(--orange); }
.tpick-dots { display: inline-flex; }
.tpick-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); margin-left: -4px; }
.tpick-dots i:first-child { margin-left: 0; }
.tpick-panel { position: absolute; left: 0; bottom: calc(100% + 10px); width: 270px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: .5rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.tpick-panel[hidden] { display: none; }
.tpick-panel p { margin: .3rem .5rem .5rem; color: var(--muted); font-size: .78rem; }
.tpick-opt { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; background: none; border: 1px solid transparent; color: var(--text); border-radius: 10px; padding: .55rem .6rem; cursor: pointer; font: inherit; }
.tpick-opt:hover { background: var(--surface-2); }
.tpick-opt[aria-checked="true"] { border-color: var(--orange); background: var(--orange-soft); }
.tpick-opt small { display: block; color: var(--muted); font-size: .74rem; }
.tpick-sw { flex: none; width: 38px; height: 26px; border-radius: 7px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); }
.tpick-sw::before, .tpick-sw::after { content: ""; position: absolute; bottom: 4px; width: 10px; height: 10px; border-radius: 50%; }
.tpick-sw::before { left: 6px; background: var(--a); }
.tpick-sw::after { left: 19px; background: var(--b); }
@media print { .tpick { display: none; } }
/* ==========================================================================
   AI layer: neural hero canvas, typed section notes, Fanya AI guide, form hints
   ========================================================================== */
.neural { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.25) 0%, #000 55%); mask-image: linear-gradient(to right, rgba(0,0,0,.25) 0%, #000 55%); }
.has-neural::before { opacity: .12 !important; }
.page-hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 960px) { .neural { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.2), #000 70%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.2), #000 70%); opacity: .7; } }

.ai-note { flex-basis: 100%; display: flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--cyan); min-height: 1.4em; margin-bottom: -.4rem; }
.ai-note i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--cyan-soft); flex: none; font-size: 12px; }
.ai-note span::after { content: ""; display: inline-block; width: 7px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--cyan); animation: aiCaret 1s steps(2) infinite; }
.ai-note.is-done span::after { display: none; }
.ai-scan { position: relative; }
.ai-scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; pointer-events: none; }
.ai-scan.is-scanning::after { animation: aiScan 1.1s var(--ease) forwards; }
@keyframes aiScan { 0% { opacity: .9; transform: translateY(0); } 100% { opacity: 0; transform: translateY(220px); } }
@keyframes aiCaret { 50% { opacity: 0; } }

/* Guide */
.fai { position: fixed; right: 16px; bottom: 16px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; font-size: .93rem; }
.fai-orb { position: relative; display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); border-radius: 999px; padding: .45rem 1rem .45rem .45rem; cursor: pointer; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); font: inherit; font-weight: 550; }
.fai-orb:hover { border-color: var(--orange); }
.fai-core { position: relative; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--orange-hi), var(--orange) 45%, rgba(var(--orange-rgb), .2) 75%); box-shadow: 0 0 0 0 rgba(var(--orange-rgb), .5); animation: faiPulse 2.6s infinite; flex: none; }
.fai-core::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--cyan); border-right-color: var(--cyan); animation: faiSpin 2.4s linear infinite; }
.fai.is-thinking .fai-core::after { animation-duration: .7s; }
@keyframes faiPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--orange-rgb), .45); } 70% { box-shadow: 0 0 0 14px rgba(var(--orange-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0); } }
@keyframes faiSpin { to { transform: rotate(360deg); } }
.fai-dot { position: absolute; top: 4px; left: 32px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--surface); }
.fai-nudge { max-width: 290px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px 16px 4px 16px; padding: .8rem .95rem; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); cursor: pointer; animation: faiIn .35s var(--ease); position: relative; }
.fai-nudge b { display: block; font-size: .78rem; color: var(--cyan); margin-bottom: .2rem; font-weight: 600; }
.fai-nudge button { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1; }
@keyframes faiIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.fai-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); animation: faiIn .3s var(--ease); }
.fai-panel[hidden], .fai-nudge[hidden] { display: none; }
.fai-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.fai-head .fai-core { width: 28px; height: 28px; }
.fai-head b { display: block; font-size: .95rem; }
.fai-head small { color: var(--mint); font-size: .76rem; }
.fai-head button { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
.fai-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem; overscroll-behavior: contain; }
.fai-m { max-width: 88%; padding: .6rem .8rem; border-radius: 14px; line-height: 1.5; white-space: pre-line; }
.fai-m.bot { background: var(--surface-2); border-top-left-radius: 4px; align-self: flex-start; }
.fai-m.me { background: var(--orange); color: var(--on-orange); border-top-right-radius: 4px; align-self: flex-end; }
.fai-acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.fai-acts a, .fai-acts button { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); border-radius: 999px; padding: .3rem .7rem; font: inherit; font-size: .82rem; text-decoration: none; cursor: pointer; }
.fai-acts a:hover, .fai-acts button:hover { border-color: var(--orange); color: var(--orange); }
.fai-think { display: inline-flex; gap: 4px; padding: .7rem .85rem; background: var(--surface-2); border-radius: 14px; align-self: flex-start; }
.fai-think i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: faiBounce 1s infinite; }
.fai-think i:nth-child(2) { animation-delay: .15s; } .fai-think i:nth-child(3) { animation-delay: .3s; }
@keyframes faiBounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.fai-quick { display: flex; gap: .4rem; flex-wrap: wrap; padding: 0 1rem .6rem; }
.fai-quick button { border: 1px solid var(--line-strong); background: transparent; color: var(--muted); border-radius: 999px; padding: .3rem .7rem; font: inherit; font-size: .8rem; cursor: pointer; }
.fai-quick button:hover { color: var(--text); border-color: var(--cyan); }
.fai-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.fai-form input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); border-radius: 999px; padding: .6rem .9rem; font: inherit; font-size: .9rem; }
.fai-form input:focus { outline: none; border-color: var(--cyan); }
.fai-form button { border: 0; background: var(--orange); color: var(--on-orange); border-radius: 999px; width: 40px; cursor: pointer; font-size: 16px; }
.fai-note { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 1rem .6rem; }
@media (max-width: 640px) {
  .fai-orb span.fai-label { display: none; }
  .fai-orb { padding: .4rem; }
  .fai-nudge { max-width: 240px; font-size: .88rem; }
}

/* Contact form: AI reads the brief */
.ai-read { margin-top: .8rem; border: 1px solid var(--line-strong); border-radius: 12px; padding: .8rem .95rem; background: var(--surface-2); font-size: .9rem; display: grid; gap: .45rem; }
.ai-read[hidden] { display: none; }
.ai-read b { color: var(--cyan); font-weight: 600; font-size: .8rem; display: flex; align-items: center; gap: .45rem; }
.ai-read ul { margin: 0; padding-left: 1.1rem; color: var(--text); }
.ai-read a { color: var(--orange); }
.need-chips label.ai-picked span { box-shadow: 0 0 0 2px var(--cyan); }
.fai-orb[hidden] { display: none; }

/* ==========================================================================
   Ambient background motion: drifting light, a slow data grid and falling
   data streams behind every page. Colours follow the active theme.
   ========================================================================== */
html { background: var(--bg); }
body { background: transparent; }
.block-alt { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.am-orb { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .16; will-change: transform; }
.am-orb.a1 { background: radial-gradient(circle, rgba(var(--orange-rgb), 1), transparent 62%); top: -25vmax; left: -15vmax; animation: amDrift1 38s ease-in-out infinite alternate; }
.am-orb.a2 { background: radial-gradient(circle, rgba(var(--cyan-rgb), 1), transparent 62%); bottom: -30vmax; right: -20vmax; animation: amDrift2 46s ease-in-out infinite alternate; opacity: .12; }
.am-orb.a3 { background: radial-gradient(circle, rgba(var(--orange-rgb), .9), rgba(var(--cyan-rgb), .5) 40%, transparent 65%); width: 40vmax; height: 40vmax; top: 35%; left: 40%; animation: amDrift3 54s ease-in-out infinite alternate; opacity: .08; }
.am-grid { position: absolute; inset: -60px; background-image: radial-gradient(rgba(var(--cyan-rgb), .5) 1px, transparent 1.4px); background-size: 34px 34px; opacity: .1; animation: amGrid 40s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); }
.am-stream { position: absolute; top: -160px; width: 1px; height: 140px; background: linear-gradient(to bottom, transparent, rgba(var(--cyan-rgb), .55), transparent); opacity: 0; animation: amFall linear infinite; }
.am-stream:nth-of-type(odd) { background: linear-gradient(to bottom, transparent, rgba(var(--orange-rgb), .5), transparent); }
.am-stream.s1 { left: 8%;  animation-duration: 9s;  animation-delay: 0s; }
.am-stream.s2 { left: 23%; animation-duration: 12s; animation-delay: 3s; }
.am-stream.s3 { left: 41%; animation-duration: 8s;  animation-delay: 6s; }
.am-stream.s4 { left: 58%; animation-duration: 11s; animation-delay: 1.5s; }
.am-stream.s5 { left: 74%; animation-duration: 10s; animation-delay: 4.5s; }
.am-stream.s6 { left: 91%; animation-duration: 13s; animation-delay: 7s; }
@keyframes amDrift1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18vw, 14vh) scale(1.15); } 100% { transform: translate(6vw, 30vh) scale(.95); } }
@keyframes amDrift2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-22vw, -12vh) scale(1.1); } 100% { transform: translate(-8vw, -28vh) scale(1.2); } }
@keyframes amDrift3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-30vw, 20vh); } }
@keyframes amGrid { to { transform: translate(34px, 34px); } }
@keyframes amFall { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: .8; } 100% { transform: translateY(calc(100vh + 320px)); opacity: 0; } }
@media (max-width: 640px) { .am-stream.s2, .am-stream.s4, .am-stream.s6 { display: none; } .am-orb { filter: blur(50px); } }
@media (prefers-reduced-motion: reduce) { .ambient * { animation: none !important; } }
@media print { .ambient { display: none; } }

/* ==========================================================================
   AI demo builder (/build/)
   ========================================================================== */
.build { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.build-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.build-form .field textarea { min-height: 170px; }
.build-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(var(--cyan-rgb), .6); animation: bdot 2s infinite; }
@keyframes bdot { 70% { box-shadow: 0 0 0 10px rgba(var(--cyan-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--cyan-rgb), 0); } }
.build-examples { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .86rem; color: var(--muted); }
.build-examples button { border: 1px solid var(--line-strong); background: transparent; color: var(--text); border-radius: 99px; padding: .3rem .75rem; font-size: .84rem; cursor: pointer; transition: border-color .2s, color .2s; }
.build-examples button:hover { border-color: var(--cyan); color: var(--cyan); }
.build-go .ic { width: 1.1em; height: 1.1em; }
.form-alert[hidden], .bc-result[hidden] { display: none; }

.build-console { position: sticky; top: 96px; background: color-mix(in srgb, var(--surface) 85%, #000); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; font-size: .93rem; }
.build-console.is-busy { border-color: rgba(var(--cyan-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--cyan-rgb), .25), 0 30px 80px -30px rgba(var(--cyan-rgb), .35); }
.bc-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--muted); }
.bc-dots { display: inline-flex; gap: 5px; }
.bc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.bc-state { margin-left: auto; color: var(--cyan); }
.bc-steps { list-style: none; margin: 0; padding: 1.1rem 1.2rem .6rem; display: grid; gap: .25rem; counter-reset: bc; }
.bc-steps li { position: relative; padding: .55rem 0 .55rem 2.3rem; color: var(--muted); transition: color .3s; counter-increment: bc; }
.bc-steps li::before { content: counter(bc); position: absolute; left: 0; top: .5rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: .75rem; font-weight: 600; transition: all .3s; }
.bc-steps li b { display: block; font-weight: 600; color: inherit; }
.bc-steps li small { font-size: .82rem; opacity: .8; }
.bc-steps li.is-on { color: var(--text); }
.bc-steps li.is-on::before { border-color: var(--cyan); color: var(--cyan); animation: bspin 1s linear infinite; border-top-color: transparent; content: ""; }
.bc-steps li.is-done { color: var(--text); }
.bc-steps li.is-done::before { content: "✓"; background: var(--cyan); border-color: var(--cyan); color: var(--on-cyan); }
@keyframes bspin { to { transform: rotate(360deg); } }
.bc-result { margin: 0 1.2rem 1.2rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(var(--orange-rgb), .45); background: var(--orange-soft); border-radius: 14px; animation: bin .5s var(--ease, ease) both; }
@keyframes bin { from { opacity: 0; transform: translateY(10px); } }
.bc-result h3 { font-size: 1.35rem; letter-spacing: -.03em; margin: .15rem 0 .35rem; }
.bc-result p { color: var(--muted); margin: 0 0 .8rem; }
.bc-kicker { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--orange) !important; margin: 0 !important; }
.bc-mods { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.bc-mods span { font-size: .82rem; border: 1px solid var(--line-strong); border-radius: 99px; padding: .2rem .6rem; background: var(--bg); }
.bc-roles { font-size: .86rem; }
.build-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.build-how > div { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; background: var(--bg); }
.build-how span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange); color: var(--on-orange); font-weight: 700; margin-bottom: .8rem; }
.build-how h3 { font-size: 1.15rem; margin-bottom: .4rem; letter-spacing: -.02em; }
.build-how p { color: var(--muted); font-size: .95rem; }
.build-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border: 1px solid rgba(var(--cyan-rgb), .4); background: linear-gradient(120deg, rgba(var(--cyan-rgb), .1), rgba(var(--orange-rgb), .08)); border-radius: 18px; padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.build-cta h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -.03em; margin-bottom: .2rem; }
.build-cta p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .build-grid, .build-how { grid-template-columns: 1fr; }
  .build-console { position: static; order: 2; }
}
@media (prefers-reduced-motion: reduce) { .build-dot, .bc-steps li.is-on::before { animation: none; } }

/* ---- Integrations (Systems) and automation flows (AI) ---- */
.integ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.integ { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.integ h3 { font-size: 1rem; font-weight: 600; margin-bottom: .8rem; color: var(--orange); letter-spacing: -0.01em; }
.integ ul { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.integ li { font-size: .85rem; padding: .3rem .65rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }
.flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.flows > li { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); transition: border-color .3s; }
.flows > li:hover { border-color: var(--cyan); }
.flows h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .8rem; letter-spacing: -0.02em; }
.flows ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0 0 .8rem; padding: 0; }
.flows ol li { font-size: .82rem; padding: .3rem .6rem; border-radius: 8px; background: rgba(var(--cyan-rgb), .08); border: 1px solid rgba(var(--cyan-rgb), .25); }
.flows ol li + li::before { content: "→"; margin: 0 .45rem 0 -.1rem; color: var(--orange); font-weight: 700; }
.flows p { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
.flows p svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
@media (max-width: 900px) { .integ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flows { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .integ-grid { grid-template-columns: 1fr; } }
