/* MazzLabs site styles — shared by the homepage, services and product pages. */
:root{
  --bg:#080c14; --surface:#0e141d; --surface-2:#131b27; --band:#0b1019;
  --text:#e8eef7; --text-2:#9aa9bf; --text-3:#6b7a92;
  --line:#1a2436; --line-2:#26324a;
  --brand:#00d4ff; --brand-ink:#04121a; --brand-hover:#33ddff;
  --ss:#f472b6; --pv:#34d399; --dv:#fbbf24; --rf:#a78bfa; --ok:#22c55e; --warn:#f59e0b;
  --display:'Syne',sans-serif; --body:'IBM Plex Sans',system-ui,sans-serif; --mono:'IBM Plex Mono',ui-monospace,monospace;
}
*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ background:var(--bg); color:var(--text); font-family:var(--body); font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:3px; }
section[id]{ scroll-margin-top:80px; }
.wrap{ max-width:1180px; margin:0 auto; padding-left:32px; padding-right:32px; }

/* ── The motif: the logo's square with its offset corner bracket ──
   .frame draws the offset top-left bracket (as on the M) and a quiet
   bottom-right corner, so frames, nodes and markers all share it. */
.frame{ position:relative; }
.frame::before, .frame::after{ content:""; position:absolute; pointer-events:none; }
.frame::before{ top:-6px; left:-6px; width:22px; height:22px; border-top:2px solid var(--brand); border-left:2px solid var(--brand); }
.frame::after{ bottom:-6px; right:-6px; width:14px; height:14px; border-bottom:1px solid var(--line-2); border-right:1px solid var(--line-2); }
.marker{ display:inline-flex; align-items:center; gap:10px; font-size:14px; font-weight:500; color:var(--text-2); margin-bottom:18px; }
.marker i{ width:12px; height:12px; position:relative; border:1.5px solid var(--line-2); }
.marker i::before{ content:""; position:absolute; top:-4px; left:-4px; width:8px; height:8px; border-top:1.5px solid var(--brand); border-left:1.5px solid var(--brand); }

/* ── Header ── */
.header{ position:sticky; top:0; z-index:50; background:rgba(8,12,20,.9); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
.header .wrap{ height:74px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo{ display:flex; align-items:center; gap:12px; }
.logo-mark{ width:38px; height:38px; position:relative; display:grid; place-items:center; flex-shrink:0; }
.logo-mark .o{ position:absolute; inset:0; border:2px solid; border-image:linear-gradient(135deg,#00d4ff,#7b5ea7) 1; }
.logo-mark .i{ position:absolute; top:-4px; left:-4px; width:27px; height:27px; border-top:2px solid var(--brand); border-left:2px solid var(--brand); opacity:.5; }
.logo-mark span{ font-family:var(--display); font-weight:800; font-size:16px; color:var(--brand); position:relative; }
.logo-text{ font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:3.5px; text-transform:uppercase; background:linear-gradient(135deg,#00d4ff,#7b5ea7); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.nav{ display:flex; align-items:center; gap:30px; }
.nav a{ font-size:15px; color:var(--text-2); transition:color .15s; }
.nav a:hover{ color:var(--text); }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--body); font-weight:600; font-size:15px; border-radius:8px; padding:13px 24px; border:1px solid transparent; cursor:pointer; transition:background .15s, border-color .15s; }
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--brand); color:var(--brand-ink); }
.btn-primary:hover{ background:var(--brand-hover); }
.btn-secondary{ border-color:var(--line-2); color:var(--text); }
.btn-secondary:hover{ border-color:var(--text-3); }
.nav .btn{ padding:9px 18px; font-size:14px; color:var(--brand-ink); }

/* ── Hero: editorial split, copy left / real deployment diagram right ── */
.hero{ position:relative; padding:104px 0 96px; overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:72px 72px; background-position:-1px -1px; opacity:.45;
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%);
          mask-image:radial-gradient(ellipse 70% 80% at 72% 45%, #000 20%, transparent 75%); }
.hero .wrap{ position:relative; display:grid; grid-template-columns:1fr 1.02fr; gap:64px; align-items:center; }
.hero h1{ font-family:var(--display); font-weight:700; font-size:clamp(38px,4.4vw,56px); line-height:1.08; letter-spacing:-.025em; margin-bottom:24px; text-wrap:balance; }
.hero h1 u{ text-decoration:underline; text-decoration-color:var(--brand); text-decoration-thickness:3px; text-underline-offset:9px; }
.hero p{ font-size:18.5px; color:var(--text-2); max-width:46ch; margin-bottom:34px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.diagram-wrap .caption{ margin-top:18px; font-size:13.5px; color:var(--text-3); }
.diagram{ width:100%; height:auto; display:block; }

/* ── Evidence ── */
.evidence{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--band); }
.evidence .wrap{ display:grid; grid-template-columns:repeat(4,1fr); }
.evidence .wrap > div{ padding:28px 24px 26px; position:relative; }
.evidence .wrap > div + div{ border-left:1px solid var(--line); }
.evidence .wrap > div::before{ content:""; position:absolute; top:-1px; left:24px; width:24px; height:2px; background:var(--brand); }
.evidence b{ display:block; font-family:var(--display); font-weight:700; font-size:21px; letter-spacing:-.02em; line-height:1.2; }
.evidence span{ display:block; font-size:14px; color:var(--text-3); margin-top:4px; }

/* ── Generic section ── */
.section{ padding:110px 0; }
.section + .section{ border-top:1px solid var(--line); }
#contact.section{ padding-top:96px; }
h2{ font-family:var(--display); font-weight:700; font-size:clamp(28px,3.2vw,38px); letter-spacing:-.02em; line-height:1.15; text-wrap:balance; }
.intro{ font-size:17px; color:var(--text-2); margin-top:14px; max-width:48ch; }

/* ── Services ── */
.services{ display:grid; grid-template-columns:.8fr 1.2fr; gap:72px; align-items:start; }
.services-intro{ position:sticky; top:110px; }
.services-intro .btn{ margin-top:28px; }
.recent{ margin-top:44px; padding:22px 22px 20px; background:var(--surface); border:1px solid var(--line-2); border-radius:8px; }
.recent h3{ font-size:14px; font-weight:600; color:var(--text); margin-bottom:12px; }
.recent ul{ list-style:none; display:grid; gap:12px; }
.recent li{ font-size:15px; color:var(--text-2); line-height:1.5; padding-left:16px; position:relative; }
.recent li::before{ content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-top:1.5px solid var(--brand); border-left:1.5px solid var(--brand); }
.recent li b{ display:block; color:var(--text); font-weight:500; }
.recent li em{ display:block; font-style:normal; color:var(--text); font-size:14.5px; margin-top:3px; }
.service{ padding:28px 0; border-top:1px solid var(--line); }
.service:last-child{ border-bottom:1px solid var(--line); }
.service h3{ font-family:var(--display); font-weight:600; font-size:21px; letter-spacing:-.01em; margin-bottom:8px; }
.service p{ color:var(--text-2); }
.service .for{ margin-top:10px; font-size:15px; color:var(--text-3); }
.service .for b{ color:var(--text-2); font-weight:500; }

/* ── Case study: full-width, asymmetric, narrow technical sidebar ── */
.case{ background:var(--band); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.case .wrap{ display:grid; grid-template-columns:290px 1fr; gap:0; padding-top:0; padding-bottom:0; }
.case aside{ padding:96px 36px 96px 0; border-right:1px solid var(--line); }
.case aside dl{ display:grid; gap:20px; margin-top:6px; }
.case dt{ font-size:13.5px; font-weight:500; color:var(--text-2); }
.case dd{ font-family:var(--mono); font-size:15px; color:var(--text); margin-top:4px; line-height:1.55; }
.case .main{ padding:96px 0 96px 56px; }
.case .main > p{ font-size:17px; color:var(--text-2); max-width:60ch; margin-top:16px; }
.digest{ margin-top:32px; max-width:780px; background:var(--surface); border:1px solid var(--line-2); border-radius:10px; overflow:hidden; }
.digest-head{ padding:16px 20px; border-bottom:1px solid var(--line); display:grid; gap:3px; }
.digest-head .from{ font-size:13px; color:var(--text-3); }
.digest-head .subj{ font-weight:600; font-size:15.5px; }
.digest-head .subj b{ color:var(--ok); font-weight:600; }
.digest table{ width:100%; border-collapse:collapse; font-size:14px; }
.digest th{ text-align:left; font-weight:500; font-size:12.5px; color:var(--text-3); padding:11px 20px; border-bottom:1px solid var(--line); }
.digest th.n, .digest td.n{ text-align:right; width:90px; }
.digest td{ padding:12px 22px; border-bottom:1px solid var(--line); color:var(--text-2); }
.digest tr:last-child td{ border-bottom:none; }
.digest td.img{ font-family:var(--mono); font-size:13px; color:var(--text); }
.digest td.zero{ color:var(--ok); }
.digest td.warn{ color:var(--warn); }
.digest td.fix{ font-size:13px; color:var(--text-3); }
.case .caption{ margin-top:14px; font-size:13.5px; color:var(--text-3); }

/* ── Process: the one lighter section, each step shows what you actually get ── */
.section.process{ background:#131d2d; border-top:1px solid #22304a; border-bottom:1px solid #22304a; }
.section.process + .section{ border-top:none; }
.process{ --p-surface:#0d1522; --p-line:#26364f; }
.process-head{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:end; margin-bottom:56px; }
.process-head .intro{ margin-top:0; }
.steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto auto auto; column-gap:24px; row-gap:0; }
.step{ display:grid; grid-row:span 3; grid-template-rows:subgrid; }
.step-top{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.step-n{ width:36px; height:36px; position:relative; border:1.5px solid var(--p-line); display:grid; place-items:center; font-family:var(--display); font-weight:700; font-size:15px; color:var(--brand); flex-shrink:0; }
.step-n::before{ content:""; position:absolute; top:-5px; left:-5px; width:13px; height:13px; border-top:2px solid var(--brand); border-left:2px solid var(--brand); }
.step h3{ font-family:var(--display); font-weight:600; font-size:21px; }
.step > p{ color:#b2bfd2; font-size:16px; margin-bottom:22px; }
.artifact{ align-self:start; background:var(--p-surface); border:1px solid var(--p-line); border-radius:8px; overflow:hidden; font-size:13.5px; }
.artifact-h{ display:flex; justify-content:space-between; gap:10px; padding:10px 14px; border-bottom:1px solid var(--p-line); font-size:12.5px; color:var(--text-3); }
.artifact-h b{ color:var(--text); font-weight:500; font-family:var(--mono); font-size:12.5px; }
.artifact-b{ padding:12px 14px; display:grid; gap:8px; }
.artifact .ln{ display:flex; justify-content:space-between; gap:12px; color:var(--text-2); }
.artifact .ln span:last-child{ color:var(--text); font-family:var(--mono); font-size:12.5px; white-space:nowrap; }
.artifact .ok{ color:var(--ok) !important; }
.artifact .muted{ color:var(--text-3) !important; }

.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-error{ color:#f87171; font-size:14px; min-height:0; margin:0 0 10px; }
.form-error:empty{ display:none; }

/* ── Client portal ── */
.portal{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.portal ul{ list-style:none; margin-top:26px; display:grid; gap:6px; }
.portal li{ display:flex; gap:12px; color:var(--text-2); }
.portal li svg{ width:20px; height:20px; color:var(--brand); flex-shrink:0; margin-top:3px; }
.portal li b{ color:var(--text); font-weight:600; }
.screen{ background:var(--surface); border:1px solid var(--line-2); border-radius:10px; overflow:hidden; font-size:14px; }
.screen-bar{ display:flex; align-items:center; justify-content:space-between; padding:13px 18px; border-bottom:1px solid var(--line); }
.screen-bar span{ font-size:13px; color:var(--text-3); }
.tabs{ display:flex; gap:4px; position:relative; }
.tabs button{ position:relative; z-index:1; font:inherit; font-size:12.5px; padding:6px 12px; border:0; border-radius:6px; background:none; color:var(--text-3); cursor:pointer; transition:color .2s; }
.tabs button:hover{ color:var(--text-2); }
.tabs button.on{ color:var(--text); }
.tabs button:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
.tab-ind{ position:absolute; z-index:0; top:0; bottom:0; left:0; width:0; border-radius:6px; background:var(--surface-2); box-shadow:inset 0 -2px 0 var(--brand); transition:transform .35s cubic-bezier(.2,.7,.2,1), width .35s cubic-bezier(.2,.7,.2,1); }
.panels{ display:grid; }
.panels > .panel{ grid-area:1 / 1; }
.panel[hidden]{ display:grid !important; visibility:hidden; opacity:0; transform:translateY(8px); pointer-events:none; }
.panel{ transition:opacity .3s ease, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s; }
.panel .row{ transition:transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.panel[hidden] .row{ opacity:0; transform:translateY(6px); }
.panel.on .row:nth-of-type(2){ transition-delay:.04s; } .panel.on .row:nth-of-type(3){ transition-delay:.08s; } .panel.on .row:nth-of-type(4){ transition-delay:.12s; }
.panel-note{ font-size:13px; color:var(--text-3); margin:0 0 2px; }
.badge.urgent{ color:#f87171; background:rgba(248,113,113,.12); }
.badge.done{ color:var(--ok); background:rgba(34,197,94,.1); }
.feats{ list-style:none; }
.feat{ display:flex; gap:12px; width:100%; text-align:left; font:inherit; color:var(--text-2); background:none; border:0; border-left:2px solid transparent; padding:6px 0 6px 12px; margin-left:-14px; cursor:pointer; transition:color .2s, border-color .2s; }
.feat:hover{ color:var(--text); }
.feat.on{ color:var(--text); border-left-color:var(--brand); }
.feat:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; border-radius:4px; }
.portal .feat svg{ width:20px; height:20px; color:var(--brand); flex-shrink:0; margin-top:3px; }
.portal .feat b{ color:var(--text); font-weight:600; }
@media (max-width:560px){ .screen-bar .bar-label{ display:none; } .tabs button{ padding:6px 9px; } }
@media (prefers-reduced-motion: reduce){ .tab-ind, .panel, .panel .row{ transition:none !important; } }
.screen-body{ padding:18px; display:grid; gap:10px; }
.row{ display:flex; align-items:center; gap:14px; padding:14px 16px; background:var(--surface-2); border:1px solid var(--line); border-radius:8px; }
.row .main{ flex:1; min-width:0; }
.row .t{ color:var(--text); font-weight:600; }
.row .s{ color:var(--text-3); font-size:13px; margin-top:2px; }
.badge{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:20px; white-space:nowrap; }
.badge.active{ color:var(--brand); background:rgba(0,212,255,.1); }
.badge.plan{ color:var(--warn); background:rgba(245,158,11,.1); }
.badge.open{ color:var(--text-2); background:rgba(154,169,191,.1); }
.row .pay{ font-size:12.5px; font-weight:600; padding:6px 13px; border-radius:6px; background:var(--brand); color:var(--brand-ink); }
.row .amt{ font-weight:600; color:var(--text); font-variant-numeric:tabular-nums; }
.portal .caption{ font-size:13.5px; color:var(--text-3); margin-top:16px; }

/* ── Products: bento, each with its own preview ── */
.products-head{ max-width:640px; margin-bottom:48px; }
.bento{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); grid-template-rows:auto auto; gap:20px; }
.product{ min-width:0; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:28px; transition:border-color .2s, background .2s; }
.product:hover{ background:var(--surface-2); }
.product.ss{ grid-row:span 2; }
.product.ss:hover{ border-color:rgba(244,114,182,.45); }
.product.pv:hover{ border-color:rgba(52,211,153,.45); }
.product.dv:hover{ border-color:rgba(251,191,36,.45); }
.product.rf{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:28px; align-items:stretch; }
.product.rf:hover{ border-color:rgba(167,139,250,.45); }
.rf-copy{ display:flex; flex-direction:column; min-width:0; }
.rf-copy > p{ color:var(--text-2); font-size:16px; margin-bottom:18px; }
.rf-ch{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.rf-ch span{ font-family:var(--mono); font-size:12px; color:var(--text-2); border:1px solid var(--line-2); border-radius:999px; padding:3px 10px; }
.mini.chat{ margin-bottom:0; align-content:start; }
.mini.chat .msg{ max-width:85%; padding:8px 12px; border-radius:10px; line-height:1.4; }
.mini.chat .in{ justify-self:end; background:var(--surface-2); border:1px solid var(--line); color:var(--text); border-bottom-right-radius:3px; }
.mini.chat .out{ justify-self:start; background:rgba(167,139,250,.1); border:1px solid rgba(167,139,250,.25); color:var(--text); border-bottom-left-radius:3px; }
.mini.chat .handoff{ display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--text-3); padding:4px 2px 0; }
.tag.rfh{ color:var(--rf); background:rgba(167,139,250,.12); }
.p-head{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.p-mark{ width:38px; height:38px; position:relative; border:1.5px solid currentColor; display:grid; place-items:center; flex-shrink:0; }
.p-mark::before{ content:""; position:absolute; top:-5px; left:-5px; width:15px; height:15px; border-top:2px solid currentColor; border-left:2px solid currentColor; opacity:.55; }
.p-mark svg{ width:18px; height:18px; }
.ss .p-mark, .ss h3, .ss .go b{ color:var(--ss); }
.pv .p-mark, .pv h3, .pv .go b{ color:var(--pv); }
.dv .p-mark, .dv h3, .dv .go b{ color:var(--dv); }
.rf .p-mark, .rf h3, .rf .go b{ color:var(--rf); }
.product h3{ font-family:var(--display); font-weight:700; font-size:21px; line-height:1.1; }
.product .kind{ font-size:13.5px; color:var(--text-3); }
.product > p{ color:var(--text-2); font-size:16px; margin-bottom:20px; }
.mini{ background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:12px; font-size:13px; display:grid; gap:7px; margin-bottom:22px; }
.ss .mini{ flex:1; align-content:start; }
.mini .r{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 11px; background:var(--surface); border:1px solid var(--line); border-radius:6px; }
.mini .r span:first-child{ color:var(--text); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mini .r small{ display:block; color:var(--text-3); font-size:12px; }
.mini .tag{ font-family:var(--mono); font-size:11.5px; padding:2px 8px; border-radius:4px; white-space:nowrap; }
.tag.del{ color:var(--ok); background:rgba(34,197,94,.1); }
.tag.opn{ color:#a78bfa; background:rgba(167,139,250,.12); }
.tag.que{ color:var(--text-3); background:rgba(107,122,146,.14); }
.tag.pass{ color:var(--pv); background:rgba(52,211,153,.1); }
.tag.snap{ color:var(--dv); background:rgba(251,191,36,.1); }
.mini .live{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--text-3); padding:0 2px 2px; }
.mini .live b{ color:var(--ok); font-weight:500; }
.product .go{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.product .go b{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px; white-space:nowrap; }
.product .go svg{ width:15px; height:15px; transition:transform .2s; }
.product:hover .go svg{ transform:translateX(4px); }
.infra-head{ margin:56px 0 18px; display:flex; align-items:baseline; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.infra-head h3{ font-family:var(--display); font-weight:700; font-size:22px; letter-spacing:-.015em; }
.infra-head p{ color:var(--text-3); font-size:15px; }
.enterprise.forge{ margin-top:28px; }
.enterprise.cloud .copy .kind{ color:#60a5fa; }
.enterprise.cloud{ border-color:rgba(96,165,250,.35); }
.enterprise .acts{ display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.enterprise .acts .btn{ margin-top:0; }
.enterprise.forge .copy .kind{ color:#fb923c; }
.enterprise .copy .addon{ margin:6px 0 4px; padding:14px 16px; border:1px dashed var(--line-2); border-radius:8px; background:rgba(255,255,255,.015); }
.enterprise .copy .addon p{ margin:6px 0 0; font-size:14.5px; }
.addon-tag{ font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--dv); }
.enterprise .copy .proof{ font-size:14px; color:var(--text-2); border-left:2px solid #fb923c; padding-left:12px; margin-top:4px; }
.enterprise{ margin-top:20px; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); background:var(--surface); border:1px solid var(--line-2); border-radius:12px; overflow:hidden; }
.enterprise .copy{ padding:34px 34px 32px; }
.enterprise .copy .kind{ font-size:13.5px; color:var(--dv); margin-bottom:10px; display:block; }
.enterprise h3{ font-family:var(--display); font-weight:700; font-size:25px; line-height:1.2; letter-spacing:-.015em; margin-bottom:12px; }
.enterprise .copy p{ color:var(--text-2); font-size:16px; margin-bottom:12px; }
.enterprise .copy .btn{ margin-top:10px; }
.enterprise dl{ margin:0; padding:34px 30px; background:var(--band); border-left:1px solid var(--line); display:grid; gap:16px; align-content:start; }
.enterprise dt{ font-size:13px; color:var(--text-3); }
.enterprise dd{ font-family:var(--mono); font-size:14px; color:var(--text); margin-top:2px; }
.product .go span{ font-family:var(--mono); font-size:12.5px; color:#8494ad; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── Contact ── */
.contact{ display:grid; grid-template-columns:1fr 1.05fr; gap:72px; align-items:start; }
.takes{ margin-top:30px; display:grid; gap:22px; }
.takes h3{ font-size:14px; font-weight:600; color:var(--text); margin-bottom:6px; }
.takes p{ color:var(--text-2); font-size:16px; }
.next{ list-style:none; counter-reset:n; display:grid; gap:10px; }
.next li{ counter-increment:n; display:flex; gap:12px; color:var(--text-2); font-size:16px; }
.next li::before{ content:counter(n); font-family:var(--mono); font-size:12.5px; color:var(--brand); width:22px; height:22px; border:1px solid var(--line-2); display:grid; place-items:center; flex-shrink:0; margin-top:2px; }
.form{ background:var(--surface); border:1px solid var(--line-2); border-radius:10px; padding:32px; }
.form-lede{ font-size:15px; color:var(--text-3); margin-bottom:22px; }
.form-lede a{ color:var(--brand); font-weight:500; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:14px; font-weight:500; color:var(--text-2); margin-bottom:7px; }
.field input, .field select, .field textarea{ width:100%; padding:12px 14px; border-radius:7px; border:1px solid var(--line-2); background:var(--bg); color:var(--text); font-family:var(--body); font-size:16px; outline:none; transition:border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); box-shadow:0 0 0 3px rgba(0,212,255,.1); }
.field input::placeholder, .field textarea::placeholder{ color:#56667f; }
.field textarea{ min-height:120px; resize:vertical; }
.field select{ appearance:none; -webkit-appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7a92' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; }
.field select option{ background:var(--surface); }
.form .btn{ width:100%; }
.form .btn:disabled{ opacity:.6; cursor:default; }
.success{ display:none; padding:36px 8px; }
.success.show{ display:block; }
.success h3{ font-family:var(--display); font-size:21px; margin-bottom:8px; }
.success p{ color:var(--text-2); }

/* ── Footer ── */
.footer{ border-top:1px solid var(--line); background:var(--band); }
.footer .wrap{ padding-top:36px; padding-bottom:36px; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; font-size:14.5px; color:var(--text-3); }
.footer nav{ display:flex; gap:24px; flex-wrap:wrap; }
.footer nav a{ color:var(--text-2); }
.footer nav a:hover{ color:var(--text); }

/* ── Responsive ── */
@media(max-width:1000px){
  .nav a:not(.btn){ display:none; }
  .hero .wrap, .services, .portal, .contact{ grid-template-columns:1fr; gap:48px; }
  .diagram-wrap{ max-width:560px; }
  .services-intro{ position:static; }
  .evidence .wrap{ grid-template-columns:1fr 1fr; }
  .evidence .wrap > div:nth-child(3){ border-left:none; }
  .evidence .wrap > div:nth-child(n+3){ border-top:1px solid var(--line); }
  .case .wrap{ grid-template-columns:1fr; }
  .case aside{ border-right:none; border-bottom:1px solid var(--line); padding:72px 0 36px; }
  .case aside dl{ grid-template-columns:1fr 1fr; }
  .case .main{ padding:48px 0 80px; }
  .steps{ grid-template-columns:minmax(0,1fr); grid-template-rows:none; row-gap:40px; }
  .step{ grid-row:auto; grid-template-rows:none; }
  .process-head{ grid-template-columns:1fr; gap:14px; }
  .bento{ grid-template-columns:minmax(0,1fr); }
  .enterprise{ grid-template-columns:minmax(0,1fr); }
  .enterprise dl{ border-left:none; border-top:1px solid var(--line); }
  .hero .wrap, .services, .portal, .contact{ grid-template-columns:minmax(0,1fr); }
  .product.ss{ grid-row:auto; }
  .product.rf{ display:flex; flex-direction:column; gap:0; }
  .rf-copy{ display:contents; }
  .product.rf .mini.chat{ order:1; margin-bottom:22px; }
  .product.rf .go{ order:2; }
}
@media(max-width:420px){ .product.rf .go span{ display:none; } }
@media(max-width:600px){
  .wrap{ padding-left:20px; padding-right:20px; }
  .hero{ padding:72px 0 72px; }
  .section{ padding:80px 0; }
  .evidence .wrap{ grid-template-columns:1fr; }
  .evidence .wrap > div + div{ border-left:none; border-top:1px solid var(--line); }
  .case aside dl{ grid-template-columns:1fr; }
  .digest th.fixh, .digest td.fix{ display:none; }
  .form-row{ grid-template-columns:1fr; }
  .form{ padding:24px 20px; }
  .row{ flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } *{ transition:none !important; } }

/* ════════════ Multi-page additions (Oct 2026) ════════════ */

/* ── Nav: products dropdown + mobile menu ── */
.nav a[aria-current="page"]{ color:var(--text); }
.dd{ position:relative; }
.dd-btn{ display:inline-flex; align-items:center; gap:6px; font:inherit; font-size:15px; color:var(--text-2); background:none; border:0; padding:0; cursor:pointer; transition:color .15s; }
.dd-btn:hover, .dd.open .dd-btn, .dd-btn.current{ color:var(--text); }
.dd-btn svg{ width:12px; height:12px; transition:transform .2s; }
.dd.open .dd-btn svg{ transform:rotate(180deg); }
.dd-menu{ position:absolute; top:calc(100% + 18px); left:50%; width:320px; margin-left:-160px; padding:8px; background:var(--surface); border:1px solid var(--line-2); border-radius:10px; box-shadow:0 18px 40px rgba(0,0,0,.45); display:grid; gap:2px;
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .18s, transform .18s, visibility 0s .18s; }
.dd-menu::before{ content:""; position:absolute; top:-19px; left:0; right:0; height:19px; } /* hover bridge */
.dd.open .dd-menu{ opacity:1; visibility:visible; transform:none; transition:opacity .18s, transform .18s; }
@media (hover:hover){ .dd:hover .dd-menu{ opacity:1; visibility:visible; transform:none; transition:opacity .18s, transform .18s; } .dd:hover .dd-btn svg{ transform:rotate(180deg); } }
.dd-menu a{ display:block; padding:10px 12px; border-radius:7px; }
.dd-menu a:hover, .dd-menu a:focus-visible{ background:var(--surface-2); }
.dd-menu b{ display:flex; align-items:center; gap:6px; font-size:14.5px; font-weight:600; color:var(--text); }
.dd-menu span{ display:block; font-size:13px; color:var(--text-3); margin-top:1px; }
.soon{ display:inline-block; margin-left:6px; padding:1px 6px; border:1px solid var(--line-2, rgba(255,255,255,.18)); border-radius:999px; font-family:var(--mono); font-size:10px; letter-spacing:.04em; text-transform:uppercase; color:var(--text-3); font-weight:500; vertical-align:1px; }
.dd-menu .ext{ font-family:var(--mono); font-size:11px; color:var(--text-3); font-weight:400; }
.dd-label{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); padding:8px 12px 4px; }
.dd-sep{ height:1px; background:var(--line); margin:6px 4px; }
.menu-btn{ display:none; align-items:center; justify-content:center; width:42px; height:42px; border:1px solid var(--line-2); border-radius:8px; background:none; color:var(--text); cursor:pointer; }
.menu-btn svg{ width:20px; height:20px; }
.mnav{ display:none; border-top:1px solid var(--line); background:var(--bg); }
.mnav .wrap{ padding-top:10px; padding-bottom:18px; display:grid; }
.mnav a{ padding:12px 0; color:var(--text-2); border-bottom:1px solid var(--line); font-size:16px; }
.mnav a:last-child{ border-bottom:0; }
.mnav a.sub{ padding-left:16px; font-size:15px; }
.mnav .mlabel{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); padding:16px 0 4px; }
@media(max-width:1000px){
  .nav .dd{ display:none; }
  .menu-btn{ display:inline-flex; }
  .header.menu-open .mnav{ display:block; }
}

/* ── Breadcrumbs ── */
.crumbs{ display:flex; flex-wrap:wrap; gap:8px; font-family:var(--mono); font-size:12.5px; color:var(--text-3); margin-bottom:26px; }
.crumbs a{ color:var(--text-2); }
.crumbs a:hover{ color:var(--text); }
.crumbs span[aria-hidden]{ color:var(--line-2); }

/* ── Page hero (services + product pages) ── */
.page-hero{ position:relative; padding:72px 0 88px; overflow:hidden; border-bottom:1px solid var(--line); }
.page-hero::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:72px 72px; background-position:-1px -1px; opacity:.4;
  -webkit-mask-image:radial-gradient(ellipse 60% 80% at 78% 40%, #000 15%, transparent 72%);
          mask-image:radial-gradient(ellipse 60% 80% at 78% 40%, #000 15%, transparent 72%); }
.page-hero .wrap{ position:relative; }
.page-hero .split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; align-items:center; }
.page-hero .kind{ display:block; font-size:14px; font-weight:500; margin-bottom:14px; }
.page-hero h1{ font-family:var(--display); font-weight:700; font-size:clamp(32px,3.6vw,46px); line-height:1.1; letter-spacing:-.025em; text-wrap:balance; margin-bottom:20px; }
.page-hero .lede{ font-size:18px; color:var(--text-2); max-width:52ch; margin-bottom:30px; }
.page-hero .note{ margin-top:18px; font-size:14px; color:var(--text-3); }
.page-hero .note a{ color:var(--brand); }
.page-hero .caption{ margin-top:16px; font-size:13.5px; color:var(--text-3); }
.kind.dvk{ color:var(--dv); } .kind.cfk{ color:#fb923c; } .kind.svk{ color:var(--brand); }

/* ── Section heads ── */
.sec-head{ max-width:680px; margin-bottom:48px; }
.sec-head.split{ max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:end; }
.sec-head.split .intro{ margin-top:0; }

/* ── Flow: numbered how-it-works steps ── */
.flow{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; counter-reset:f; }
.flow > div{ counter-increment:f; position:relative; padding:24px 22px 22px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.flow > div::before{ content:counter(f); width:34px; height:34px; display:grid; place-items:center; margin-bottom:16px; border:1.5px solid var(--line-2); font-family:var(--display); font-weight:700; font-size:15px; color:var(--brand);
  background:linear-gradient(var(--brand),var(--brand)) top left/12px 2px no-repeat, linear-gradient(var(--brand),var(--brand)) top left/2px 12px no-repeat; }
.flow h3{ font-family:var(--display); font-weight:600; font-size:19px; margin-bottom:6px; }
.flow p{ font-size:15.5px; color:var(--text-2); }
.flow code{ font-family:var(--mono); font-size:13px; color:var(--text); }

/* ── Feature cards ── */
.cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.card{ padding:28px; background:var(--surface); border:1px solid var(--line); border-radius:12px; }
.card .tag-l{ font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); }
.card h3{ font-family:var(--display); font-weight:600; font-size:20px; margin:6px 0 8px; }
.card p{ color:var(--text-2); font-size:16px; }
.card ul{ list-style:none; margin-top:14px; display:grid; gap:7px; }
.card li{ position:relative; padding-left:16px; font-size:15px; color:var(--text-2); }
.card li::before{ content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-top:1.5px solid var(--brand); border-left:1.5px solid var(--brand); }

/* ── Spec sheet ── */
.spec{ display:grid; grid-template-columns:240px 1fr; margin:0; border-top:1px solid var(--line); }
.spec dt, .spec dd{ padding:16px 0; border-bottom:1px solid var(--line); }
.spec dt{ font-size:14.5px; color:var(--text-2); font-weight:500; padding-right:24px; }
.spec dd{ font-family:var(--mono); font-size:14.5px; color:var(--text); }

/* ── Add-on callout ── */
.addon-band{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px; padding:36px; background:var(--surface); border:1px dashed var(--line-2); border-radius:12px; align-items:start; }
.addon-band h3{ font-family:var(--display); font-weight:700; font-size:24px; letter-spacing:-.015em; margin:8px 0 12px; }
.addon-band p{ color:var(--text-2); }
.addon-band ol{ list-style:none; counter-reset:a; display:grid; gap:12px; }
.addon-band li{ counter-increment:a; display:flex; gap:12px; font-size:15.5px; color:var(--text-2); }
.addon-band li::before{ content:counter(a); font-family:var(--mono); font-size:12px; color:var(--dv); width:22px; height:22px; border:1px solid var(--line-2); display:grid; place-items:center; flex-shrink:0; margin-top:2px; }
.addon-band li b{ color:var(--text); font-weight:600; }

/* ── Editions table ── */
.editions{ width:100%; border-collapse:separate; border-spacing:0; background:var(--surface); border:1px solid var(--line-2); border-radius:12px; overflow:hidden; font-size:15.5px; }
.editions th, .editions td{ padding:15px 20px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.editions thead th{ font-family:var(--display); font-weight:700; font-size:18px; color:var(--text); background:var(--band); }
.editions thead th small{ display:block; font-family:var(--body); font-weight:400; font-size:13.5px; color:var(--text-3); margin-top:2px; }
.editions tbody th{ font-weight:500; color:var(--text); width:46%; }
.editions tbody th small{ display:block; font-weight:400; font-size:13.5px; color:var(--text-3); margin-top:2px; }
.editions td{ width:27%; color:var(--text-2); }
.editions tr:last-child th, .editions tr:last-child td{ border-bottom:none; }
.editions .y{ color:var(--ok); font-weight:600; }
.editions .n{ color:var(--text-3); }
.editions .grp th{ font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--text-3); background:var(--band); padding:10px 20px; font-weight:400; }

/* ── CTA band ── */
.cta-band{ border-top:1px solid var(--line); background:var(--band); }
.cta-band .wrap{ padding-top:80px; padding-bottom:80px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:center; }
.cta-band p{ color:var(--text-2); margin-top:12px; max-width:58ch; }
.cta-band .acts{ display:flex; gap:12px; flex-wrap:wrap; }

/* ── Homepage: compact service list + enterprise product cards ── */
.service .more{ display:inline-flex; align-items:center; gap:6px; margin-top:10px; font-size:15px; font-weight:500; color:var(--brand); }
.service .more svg{ width:14px; height:14px; transition:transform .2s; }
.service .more:hover svg{ transform:translateX(3px); }
.ent-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ent-card{ display:flex; flex-direction:column; padding:30px; background:var(--surface); border:1px solid var(--line-2); border-radius:12px; transition:border-color .2s; }
.ent-card.dv:hover{ border-color:rgba(251,191,36,.45); }
.ent-card.cf:hover{ border-color:rgba(251,146,60,.45); }
.ent-card .kind{ font-size:13.5px; margin-bottom:10px; }
.ent-card.dv .kind{ color:var(--dv); } .ent-card.cf .kind{ color:#fb923c; }
.ent-card h3{ font-family:var(--display); font-weight:700; font-size:22px; line-height:1.22; letter-spacing:-.015em; margin-bottom:10px; }
.ent-card > p{ color:var(--text-2); font-size:16px; margin-bottom:20px; }
.ent-card dl{ margin:0 0 24px; display:grid; gap:12px; padding:16px 18px; background:var(--band); border:1px solid var(--line); border-radius:8px; }
.ent-card dt{ font-size:12.5px; color:var(--text-3); }
.ent-card dd{ font-family:var(--mono); font-size:13.5px; color:var(--text); margin-top:1px; }
.ent-card .acts{ margin-top:auto; display:flex; gap:10px; flex-wrap:wrap; }
.ent-card .acts .btn{ padding:11px 18px; font-size:14.5px; }

/* ── Services page ── */
.toc{ background:var(--surface); border:1px solid var(--line-2); border-radius:10px; padding:10px; }
.toc a{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 16px; border-radius:7px; }
.toc a + a{ border-top:1px solid var(--line); }
.toc a:hover{ background:var(--surface-2); }
.toc b{ display:block; font-family:var(--display); font-weight:600; font-size:18px; }
.toc span{ display:block; font-size:14px; color:var(--text-3); margin-top:2px; }
.toc svg{ width:16px; height:16px; color:var(--text-3); flex-shrink:0; }
.svc{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:72px; align-items:start; }
.svc > div:first-child > p{ color:var(--text-2); margin-top:16px; max-width:54ch; }
.svc .fit{ margin-top:22px; padding-left:14px; border-left:2px solid var(--brand); font-size:15.5px; color:var(--text-2); }
.svc .fit b{ color:var(--text); font-weight:600; }
.svc .related{ margin-top:22px; font-size:15px; color:var(--text-3); }
.svc .related a{ color:var(--brand); }
.incl{ background:var(--surface); border:1px solid var(--line-2); border-radius:10px; padding:26px; }
.incl h3{ font-size:14px; font-weight:600; color:var(--text); margin-bottom:12px; }
.incl ul{ list-style:none; display:grid; gap:9px; margin-bottom:22px; }
.incl li{ position:relative; padding-left:18px; color:var(--text-2); font-size:15.5px; }
.incl li::before{ content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-top:1.5px solid var(--brand); border-left:1.5px solid var(--brand); }
.incl .eng{ padding-top:18px; border-top:1px solid var(--line); font-size:15px; color:var(--text-2); margin-bottom:20px; }
.incl .eng b{ display:block; font-size:14px; color:var(--text); margin-bottom:4px; }
.work{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.work > div{ padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.work b{ display:block; font-weight:600; margin-bottom:6px; }
.work p{ font-size:15px; color:var(--text-2); }
.work em{ display:block; font-style:normal; font-size:14.5px; color:var(--text); margin-top:10px; }

@media(max-width:1000px){
  .page-hero .split, .svc, .addon-band, .sec-head.split, .cta-band .wrap{ grid-template-columns:minmax(0,1fr); gap:40px; }
  .flow{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cards, .ent-grid, .work{ grid-template-columns:minmax(0,1fr); }
  .spec{ grid-template-columns:180px 1fr; }
}
@media(max-width:600px){
  .page-hero{ padding:48px 0 64px; }
  .flow{ grid-template-columns:minmax(0,1fr); }
  .spec{ grid-template-columns:minmax(0,1fr); }
  .spec dt{ border-bottom:0; padding-bottom:2px; }
  .spec dd{ padding-top:0; }
  .editions th, .editions td{ padding:12px 12px; font-size:14px; }
  .editions thead th{ font-size:15px; }
  .addon-band, .card, .ent-card, .incl{ padding:22px; }
}
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.menu-btn{ flex-shrink:0; }
@media(max-width:1000px){ .nav{ gap:14px; } }
@media(max-width:600px){
  .header .wrap{ gap:12px; }
  .nav{ gap:10px; }
  .nav .btn{ padding:8px 13px; font-size:13.5px; }
  .logo{ gap:10px; }
  .logo-text{ font-size:17px; letter-spacing:2.5px; }
}
@media(max-width:360px){ .logo-text{ display:none; } }
.nav .btn{ white-space:nowrap; }
.toc a > span > b{ color:var(--text); }
.toc a > span > span{ color:var(--text-3); }
.toc a > span{ color:inherit; margin:0; }
.dd-menu{ width:344px; margin-left:-172px; max-height:calc(100vh - 96px); overflow-y:auto; overscroll-behavior:contain; }
@media(max-width:420px){ .logo-text{ font-size:15px; letter-spacing:1.8px; } .logo-mark{ width:34px; height:34px; } }
.header .mnav .wrap{ height:auto; display:grid; justify-content:stretch; align-items:stretch; gap:0; }
.header.menu-open .mnav{ max-height:calc(100vh - 74px); overflow-y:auto; }
