/* e-Field Office — site styles.
   Identity: each product is a colour-coded ledger divider tab. */

:root {
  --paper: #F2F5F2;
  --card: #FFFFFF;
  --ink: #0E1C19;
  --ink-2: #4A5C56;
  --ink-3: #62736C;
  --line: #D3DBD6;
  --line-2: #B5C1BA;
  --band: #0E1C19;
  --band-text: #EAF0EC;
  --band-muted: #A3B3AC;
  --on-p: #FFFFFF;
  --ok: #0B6B4F;

  --acc: #0B6B4F;  --acc-t: #DCEFE7;  --acc-i: #07503A;
  --pay: #8F5F08;  --pay-t: #F6E8C8;  --pay-i: #6F4A05;
  --fmas: #B8472A; --fmas-t: #F7DDD4; --fmas-i: #7C2D16;
  --aud: #2B4C8C;  --aud-t: #DDE6F6;  --aud-i: #1B3568;

  --shadow: 0 1px 2px rgba(14, 28, 25, .06), 0 18px 40px -22px rgba(14, 28, 25, .28);
  --f-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B1311;
    --card: #131D1A;
    --ink: #EAF0EC;
    --ink-2: #A3B3AC;
    --ink-3: #8A9B94;
    --line: #24332E;
    --line-2: #36483F;
    --band: #060B0A;
    --on-p: #0B1311;
    --ok: #5FD3A6;

    --acc: #3FBF93;  --acc-t: rgba(63, 191, 147, .14);  --acc-i: #8FE0C0;
    --pay: #E0AE46;  --pay-t: rgba(224, 174, 70, .14);  --pay-i: #F0CB7C;
    --fmas: #E57A5A; --fmas-t: rgba(229, 122, 90, .14); --fmas-i: #F2A58C;
    --aud: #7FA1E8;  --aud-t: rgba(127, 161, 232, .14); --aud-i: #AFC6F2;

    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 40px -22px rgba(0, 0, 0, .8);
  }
}

[data-p="acc"]  { --p: var(--acc);  --p-t: var(--acc-t);  --p-i: var(--acc-i); }
[data-p="pay"]  { --p: var(--pay);  --p-t: var(--pay-t);  --p-i: var(--pay-i); }
[data-p="fmas"] { --p: var(--fmas); --p-t: var(--fmas-t); --p-i: var(--fmas-i); }
[data-p="aud"]  { --p: var(--aud);  --p-t: var(--aud-t);  --p-i: var(--aud-i); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--p, var(--acc)); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 800; margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 54ch; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 15px/1 var(--f-body);
  padding: 14px 22px; border-radius: 8px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-light { background: var(--band-text); color: var(--band); }
.btn-light:hover { background: #fff; }
.btn-outline-light { background: transparent; color: var(--band-text); border-color: rgba(234, 240, 236, .35); }
.btn-outline-light:hover { border-color: var(--band-text); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip--live { color: var(--ok); border-color: var(--ok); }
.chip--live::before { background: currentColor; }
.chip--dev { border-style: dashed; }
.chip--plan { border-style: dotted; color: var(--ink-3); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font: 800 20px/1 var(--f-display); letter-spacing: -.03em; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font: 500 15px/1 var(--f-body); color: var(--ink-2); text-decoration: none;
  background: none; border: 0; padding: 10px 12px; cursor: pointer; border-radius: 6px;
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--ink); border-radius: 2px; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chev { width: 14px; height: 14px; transition: transform .2s ease; }
.is-open > [data-dd-btn] .chev { transform: rotate(180deg); }

.dd { position: relative; }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dd.is-open > .dd-panel { visibility: visible; opacity: 1; transform: none; }
.dd-right .dd-panel { left: auto; right: 0; }
.dd-mega { width: 560px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: grid; gap: 2px; padding: 14px 14px 14px 18px; border-radius: 10px; text-decoration: none; position: relative; }
.mega-item::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--p); }
.mega-item:hover { background: var(--p-t); }
.mega-item strong { font: 700 15px/1.3 var(--f-display); }
.mega-item span { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.dd-list { width: 320px; padding: 8px; }
.dd-label { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 6px; }
.dd-item { display: grid; gap: 1px; padding: 10px 12px 10px 16px; border-radius: 8px; text-decoration: none; position: relative; }
.dd-item::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--p); }
.dd-item:hover { background: var(--p-t); }
.dd-item strong { font-size: 14.5px; font-weight: 600; }
.dd-item span { font-size: 13px; color: var(--ink-2); }

.hdr-cta { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.mnav { border-top: 1px solid var(--line); background: var(--paper); padding: 8px 28px 24px; max-height: calc(100vh - 68px); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 8px; }
.mnav a { display: block; padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav a small { display: block; color: var(--ink-2); font-weight: 400; font-size: 13.5px; }
.mnav .btn { margin-top: 18px; width: 100%; justify-content: center; border-bottom: 0; }

/* ---------- Home: transparent header over a cinematic hero ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 999px;
  font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  background: #fff; color: #0E1C19; border: 1px solid #fff; transition: transform .15s ease, gap .15s ease, background .15s ease;
}
.btn-pill:hover { gap: 16px; background: #E8EEEA; }
.btn-pill--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-pill--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-pill svg { width: 16px; height: 16px; }

.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; transition: background .25s ease, border-color .25s ease; }
.home .site-header.is-solid, .home .site-header.menu-open { background: var(--paper); border-bottom-color: var(--line); }
.home .site-header:not(.is-solid):not(.menu-open) .brand-word { color: #fff; }
.home .site-header:not(.is-solid):not(.menu-open) .nav-link { color: rgba(255, 255, 255, .82); }
.home .site-header:not(.is-solid):not(.menu-open) .nav-link:hover,
.home .site-header:not(.is-solid):not(.menu-open) .nav-link[aria-current="page"] { color: #fff; }
.home .site-header:not(.is-solid):not(.menu-open) .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.home .site-header:not(.is-solid):not(.menu-open) .btn-ghost:hover { border-color: #fff; }
.home .site-header:not(.is-solid):not(.menu-open) .btn-ink,
.home .site-header:not(.is-solid):not(.menu-open) .hdr-cta { background: #fff; color: #0E1C19; }
.home .site-header:not(.is-solid):not(.menu-open) .menu-btn { color: #fff; border-color: rgba(255, 255, 255, .4); }

@property --glow { syntax: "<color>"; inherits: true; initial-value: #3FBF93; }
.hx {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #060B0A;
  min-height: clamp(620px, 88vh, 800px); display: flex; align-items: center; padding: 128px 0 132px;
  --glow: #3FBF93; transition: --glow .9s ease;
}
.hx[data-a="acc"] { --glow: #3FBF93; }
.hx[data-a="pay"] { --glow: #E0AE46; }
.hx[data-a="fmas"] { --glow: #E57A5A; }
.hx[data-a="aud"] { --glow: #7FA1E8; }
.hx canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hx::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(62% 92% at 84% 36%, color-mix(in srgb, var(--glow) 36%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(6, 11, 10, .9) 0%, rgba(6, 11, 10, .5) 55%, rgba(6, 11, 10, .12) 100%);
}
.hx .wrap { width: 100%; }
.hx-slides { display: grid; }
.hx-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.hx-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hx-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--glow); }
.hx h1, .hx h2 { font: 500 clamp(38px, 5.8vw, 76px)/1.03 var(--f-display); letter-spacing: -.04em; max-width: 15ch; margin: 22px 0 0; color: #fff; text-wrap: balance; }
.hx .sub { font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .8); max-width: 50ch; margin: 24px 0 34px; }
.hx .btn-row { gap: 14px; }
.hx-ctl { position: absolute; left: 0; right: 0; bottom: 34px; }
.hx-ctl .wrap { display: flex; align-items: center; gap: 18px; }
.hx-segs { display: flex; gap: 10px; flex: 1; max-width: 460px; }
.hx-seg { flex: 1; height: 28px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.hx-seg::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .26); }
.hx-seg i { position: absolute; left: 0; top: 12px; height: 3px; width: 0; border-radius: 2px; background: #fff; }
.hx-seg.is-done i, .hx-seg.is-active i { width: 100%; }
.hx.is-playing .hx-seg.is-active i { animation: hx-fill 7s linear both; }
.hx.is-paused .hx-seg.is-active i { animation-play-state: paused; }
@keyframes hx-fill { from { width: 0; } to { width: 100%; } }
.hx-btns { display: flex; gap: 8px; margin-left: auto; }
.hx-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(6, 11, 10, .35); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.hx-btn:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hx-btn svg { width: 18px; height: 18px; }
.hx .ico-play { display: none; }
.hx:not(.is-playing) .ico-play { display: block; }
.hx:not(.is-playing) .ico-pause { display: none; }
.hx :focus-visible { outline-color: #fff; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.stats h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; margin: 10px 0 16px; }
.stats p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.stat { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(44px, 5.4vw, 68px)/1 var(--f-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat b.txt { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.2; letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 28px 26px 24px; border-radius: 14px; text-decoration: none; color: #fff; background: #0E1C19; overflow: hidden; isolation: isolate; transition: transform .25s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, rgba(63, 191, 147, .28), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px); transition: transform .5s ease; }
.tile:hover { transform: translateY(-4px); }
.tile:hover::before { transform: scale(1.06); }
.tile small { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.tile h3 { font: 800 25px/1.1 var(--f-display); letter-spacing: -.02em; margin: 14px 0 12px; color: #fff; }
.tile p { color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.tile .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.tile .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tile:hover .more svg { transform: translateX(5px); }
.tile:nth-child(2)::before { background: radial-gradient(120% 90% at 100% 0%, rgba(224, 174, 70, .26), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px); }
.tile:nth-child(3)::before { background: radial-gradient(120% 90% at 100% 0%, rgba(229, 122, 90, .26), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px); }
.tile:nth-child(4)::before { background: radial-gradient(120% 90% at 100% 0%, rgba(127, 161, 232, .28), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 28px); }

/* ---------- Who we serve ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector { display: flex; flex-direction: column; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, transform .2s ease; }
.sector:hover { border-color: var(--ink); transform: translateY(-3px); }
.sector svg { width: 38px; height: 38px; margin-bottom: 20px; }
.sector h3 { font: 800 22px/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 10px; }
.sector p { color: var(--ink-2); font-size: 16px; }

/* ---------- Product updates ---------- */
.upd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.upd-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.upd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.upd-art { position: relative; height: 140px; display: flex; align-items: flex-end; padding: 16px 18px; color: var(--on-p); font: 500 12px/1 var(--f-mono); letter-spacing: .14em; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 22px), linear-gradient(135deg, var(--p), color-mix(in srgb, var(--p) 52%, #000)); }
.upd-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.upd-body small { font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.upd-body h3 { font: 800 19px/1.25 var(--f-display); letter-spacing: -.015em; }
.upd-body .go { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--p-i); }

/* ---------- Built on ---------- */
.built { background: var(--card); border-block: 1px solid var(--line); padding: 44px 0; }
.built .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.built p { font: 500 12px/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); max-width: 24ch; }
.built ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 38px; }
.built li { font: 700 clamp(20px, 2.4vw, 28px)/1 var(--f-display); letter-spacing: -.02em; color: var(--ink-2); }

/* ---------- Contact form ---------- */
.contact-x { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-x h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: 10px 0 18px; }
.contact-x .lede { margin-bottom: 26px; }
.contact-lines { list-style: none; display: grid; gap: 4px; border-top: 1px solid var(--line); }
.contact-lines li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.contact-lines b { flex: none; width: 96px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-lines a { font-weight: 600; display: inline-block; padding: 10px 0; margin: -10px 0; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 13px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-3); font-size: 13.5px; flex: 1 1 220px; }

.folio { display: grid; grid-template-columns: 224px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.folio-tabs { display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); }
.tab {
  position: relative; display: grid; gap: 3px; text-align: left; cursor: pointer;
  padding: 20px 18px 20px 24px; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  font: inherit; color: var(--ink-2); flex: 1;
  transition: background .2s ease;
}
.tab:last-child { border-bottom: 0; }
.tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--p); opacity: .4; transition: opacity .2s ease, width .2s ease; }
.tab:hover { background: var(--p-t); }
.tab[aria-selected="true"] { background: var(--card); margin-right: -1px; color: var(--ink); }
.tab[aria-selected="true"]::before { opacity: 1; width: 8px; }
.tab .t-code { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-3); }
.tab .t-name { font: 700 16px/1.25 var(--f-display); color: var(--ink); }
.tab .t-state { font: 500 11.5px/1 var(--f-mono); color: var(--ink-3); margin-top: 4px; }
.folio-panels { min-width: 0; }
.tabpanel { display: block; }
.js .tabpanel:not(.is-active) { display: none; }
.tabpanel.is-active { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid var(--line); }
.panel-foot p { color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.panel-foot a { font-weight: 600; text-decoration: none; color: var(--p-i); white-space: nowrap; }
.panel-foot a:hover { text-decoration: underline; }

/* ---------- Illustrative product screens ---------- */
.scr { background: var(--card); font-size: 13.5px; }
.folio .scr { min-height: 380px; }
.scr-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 18px; background: var(--p-t); color: var(--p-i); font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.scr-body { padding: 20px 22px 22px; }
.scr-title { font: 700 19px/1.2 var(--f-display); }
.scr-sub { color: var(--ink-3); font-size: 12.5px; margin-top: 3px; }
.scr-note { font: 400 11px/1.4 var(--f-mono); color: var(--ink-3); margin-top: 14px; }
.stepper { display: flex; margin: 18px 0 20px; list-style: none; }
.stepper li { flex: 1; position: relative; padding-top: 22px; font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.stepper li::before { content: ""; position: absolute; top: 4px; left: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 9px; left: 12px; right: 0; height: 2px; background: var(--line-2); }
.stepper li:last-child::after { display: none; }
.stepper li.done { color: var(--ink-2); }
.stepper li.done::before { background: var(--p); border-color: var(--p); }
.stepper li.done::after { background: var(--p); }
.stepper li.now { color: var(--p-i); font-weight: 600; }
.stepper li.now::before { border-color: var(--p); background: var(--p-t); box-shadow: 0 0 0 4px var(--p-t); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
.tbl td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .num, .tbl th.num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .code { font-family: var(--f-mono); color: var(--ink-3); font-size: 12px; white-space: nowrap; padding-right: 12px; }
.tbl tfoot td { font-weight: 700; border-bottom: 0; border-top: 1px solid var(--line-2); }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.sign div { border: 1px dashed var(--line-2); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; color: var(--ink-2); }
.sign b { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.net { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--p-t); color: var(--p-i); }
.net strong { font: 800 24px/1 var(--f-display); letter-spacing: -.02em; }
.log { list-style: none; }
.log li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }
.log time { font: 500 12px/1 var(--f-mono); color: var(--ink-3); }
.log strong { display: block; font-weight: 600; }
.log small { font: 400 11.5px/1.3 var(--f-mono); color: var(--ink-3); }
.verdict { font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--p-t); color: var(--p-i); white-space: nowrap; }
.verdict--wait { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.plan-flow { display: grid; gap: 0; margin-top: 10px; }
.plan-flow li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-left: 2px dashed var(--line-2); margin-left: 8px; padding-left: 22px; position: relative; }
.plan-flow li::before { content: ""; position: absolute; left: -7px; top: 17px; width: 12px; height: 12px; border-radius: 50%; border: 2px dashed var(--p); background: var(--card); }
.plan-flow strong { grid-column: 1 / -1; font: 700 15px/1.2 var(--f-display); }
.plan-flow span { grid-column: 1 / -1; color: var(--ink-2); font-size: 13.5px; margin-top: -8px; }

/* ---------- Product cards (divider tabs) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 24px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--p); border-radius: 4px 12px 12px 12px; padding: 28px 22px 22px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-tab { position: absolute; top: -29px; left: -1px; background: var(--p); color: var(--on-p); font: 500 11px/1 var(--f-mono); letter-spacing: .1em; padding: 8px 14px 7px; border-radius: 8px 8px 0 0; }
.pcard h3 { font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.pcard > p { color: var(--ink-2); font-size: 15.5px; }
.pcard ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 9px; font-size: 14.5px; }
.pcard li { position: relative; padding-left: 20px; }
.pcard li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; background: var(--p); }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.pcard-foot .go { color: var(--p-i); white-space: nowrap; }

/* ---------- Spec sheet ---------- */
.spec { border-top: 2px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font: 700 17px/1.3 var(--f-display); }
.spec-row dd { margin: 0; color: var(--ink-2); max-width: 66ch; }
.spec-row dd code, .inline-code { font-family: var(--f-mono); font-size: .9em; background: var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* ---------- Services teaser / lists ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.svc { padding: 26px 24px 8px 0; }
.svc + .svc { padding-left: 24px; border-left: 1px solid var(--line); }
.svc h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.svc p { color: var(--ink-2); font-size: 15.5px; }
.arrow-link { display: inline-flex; gap: 6px; margin-top: 28px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.arrow-link:hover { gap: 10px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.panel p { color: var(--ink-2); }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--p, var(--acc)); border-bottom: 2.5px solid var(--p, var(--acc)); transform: rotate(-45deg); }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.case h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; margin: 10px 0 16px; }
.case p { color: var(--ink-2); font-size: 18px; }
.case-list { list-style: none; border-top: 2px solid var(--ink); }
.case-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); position: relative; padding-left: 20px; }
.case-list li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 5px; border-radius: 2px; background: var(--p); }
.case-list strong { font: 700 18px/1.2 var(--f-display); }
.case-list div span { font-size: 14px; color: var(--ink-2); display: block; font-weight: 400; margin-top: 2px; }

/* ---------- CTA band + footer ---------- */
.cta { background: var(--band); color: var(--band-text); padding: 84px 0; }
.cta h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }
.cta p { color: var(--band-muted); font-size: 18px; max-width: 52ch; margin: 16px 0 28px; }
.footer { background: var(--band); color: var(--band-text); border-top: 1px solid rgba(234, 240, 236, .14); padding: 56px 0 36px; }
.cta + .footer { border-top: 1px solid rgba(234, 240, 236, .14); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-muted); margin-bottom: 14px; }
.footer a { display: block; color: var(--band-text); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer a:hover { text-decoration: underline; }
.footer p { color: var(--band-muted); font-size: 14.5px; max-width: 34ch; margin-top: 14px; }
.footer .brand-word { color: var(--band-text); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(234, 240, 236, .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 12px/1.5 var(--f-mono); color: var(--band-muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; max-width: 20ch; margin: 14px 0 20px; }
.crumb { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.phero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--p-t), transparent 70%); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-top: 22px; }
.phero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 18px; }
.ptab { display: inline-block; background: var(--p); color: var(--on-p); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; padding: 9px 16px 8px; border-radius: 8px 8px 0 0; }
.phero-meta { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; flex-wrap: wrap; }
.screen-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--card); }

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.cap { padding: 24px 0 26px; border-top: 1px solid var(--line-2); }
.cap h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cap h3::before { content: ""; width: 12px; height: 12px; background: var(--p); border-radius: 3px; flex: none; }
.cap p { color: var(--ink-2); font-size: 16px; padding-left: 24px; }

.flow { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; list-style: none; }
.flow li { counter-increment: s; border-top: 4px solid var(--p); padding-top: 16px; }
.flow li::before { content: counter(s, decimal-leading-zero); font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--p-i); }
.flow strong { display: block; font: 800 19px/1.2 var(--f-display); margin: 8px 0 6px; }
.flow span { color: var(--ink-2); font-size: 15px; }

.glance { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.glance th { text-align: left; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.glance td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; color: var(--ink-2); }
.glance tr:last-child td { border-bottom: 0; }
.glance td:first-child { color: var(--ink); font: 800 17px/1.2 var(--f-display); border-left: 5px solid var(--p); white-space: nowrap; }
.scroll-x { overflow-x: auto; border-radius: 12px; }

.svc-block { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 44px 0; border-top: 1px solid var(--line-2); }
.svc-block h2 { font-size: 30px; font-weight: 800; line-height: 1.1; }
.svc-block .lede { font-size: 18px; margin-bottom: 8px; }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.road { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.road h3 { font-size: 18px; font-weight: 800; margin: 12px 0 14px; }
.road ul { list-style: none; display: grid; gap: 10px; }
.road li { padding-left: 16px; position: relative; color: var(--ink-2); }
.road li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--ink-3); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.contact-card h3 { font-size: 21px; font-weight: 800; }
.contact-card p { color: var(--ink-2); flex: 1; }
.contact-card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .hdr-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .phero-grid, .split, .case, .svc-block, .stats, .contact-x { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .upd { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: thin; }
  .upd-card { scroll-snap-align: start; }
  .hx { padding: 112px 0 120px; }
  .folio { grid-template-columns: minmax(0, 1fr); }
  .folio .scr { min-height: 0; }
  .folio-tabs { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .tab { min-width: 0; padding: 16px 14px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
  .tab:nth-child(2n) { border-right: 0; }
  .tab:nth-last-child(-n+2) { border-bottom: 0; }
  .tab::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 5px; }
  .tab[aria-selected="true"] { margin: 0; }
  .tab[aria-selected="true"]::before { width: auto; height: 7px; }
  .hdr { gap: 12px; }
  .hdr-cta { display: inline-flex; margin-left: auto; min-height: 44px; padding: 0 16px; }
  .menu-btn { margin-left: 0; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .roadmap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .pgrid, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(n) { margin-top: 0; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .svc:first-child { border-top: 0; padding-top: 8px; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer a { padding: 9px 0; }
  .section { padding: 56px 0; }
  .hx { min-height: 600px; padding: 100px 0 118px; }
  .hx h1, .hx h2 { max-width: none; }
  .hx .sub { font-size: 17px; margin: 18px 0 26px; }
  .hx-ctl { bottom: 22px; }
  .hx-ctl .wrap { gap: 12px; }
  .hx-segs { gap: 6px; }
  .hx-btns .hx-prev, .hx-btns .hx-next { display: none; }
  .btn-pill { width: 100%; justify-content: center; padding: 18px 24px; }
  .stat { padding: 20px 14px 20px 0; }
  .stat:nth-child(2n) { padding-left: 16px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; }
  .form { padding: 22px 18px; }
  .form-foot .btn { width: 100%; justify-content: center; padding: 17px 20px; font-size: 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-lines li { flex-direction: column; gap: 4px; }
  .built .wrap { flex-direction: column; align-items: flex-start; }
  .page-hero, .phero { padding-top: 44px; padding-bottom: 48px; }
  .cta { padding: 60px 0; }
  .cta h2 { max-width: none; }

  /* Buttons: full width, thumb-sized */
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { justify-content: center; padding: 16px 20px; font-size: 16px; }
  .phero-meta { flex-direction: column; align-items: flex-start; }
  .phero-meta .btn-row { align-self: stretch; }
  .contact-card .btn { align-self: stretch; justify-content: center; padding: 16px 20px; }

  /* Larger invisible tap areas on small links */
  .brand, .arrow-link, .panel-foot a, .crumb a { position: relative; }
  .brand::before, .arrow-link::before, .panel-foot a::before, .crumb a::before { content: ""; position: absolute; inset: -16px -8px; }
  .direct a { display: inline-block; padding: 8px 0; }
  .panel-foot { flex-direction: column; align-items: flex-start; }
  .crumb { line-height: 1.8; }

  /* Product screens */
  .scr-body { padding: 18px 16px 20px; }
  .scr-bar { font-size: 11px; padding: 10px 16px; }
  .stepper li { font-size: 11px; letter-spacing: 0; text-transform: none; }
  .tbl { font-size: 13px; }
  .tbl th { font-size: 11px; }
  .tbl .num { padding-left: 14px; }
  .tbl .code, .tbl th.code { display: none; }
  .sign { grid-template-columns: minmax(0, 1fr); }
  .sign b { font-size: 11px; }
  .log li { grid-template-columns: 46px minmax(0, 1fr); gap: 4px 10px; align-items: start; }
  .log .verdict { grid-column: 2; justify-self: start; margin: 2px 0 4px; font-size: 11px; }
  .net { flex-direction: column; align-items: flex-start; gap: 6px; }
  .scr-note { font-size: 11px; }
  .plan-flow span { font-size: 14px; }
}
@media (max-width: 400px) {
  .brand-word { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .hdr-cta { padding: 0 14px; }
}
a, button { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
