/* ESG Platform website - one stylesheet, no framework.
   Brand (ESG demo palette): primary #2E7D6F, hover #3AA88F, active #1E5A50, accent #63C3AA, navy #22313F. */
:root {
  --primary: #2E7D6F;
  --primary-2: #3AA88F;
  --primary-d: #1E5A50;
  --accent: #63C3AA;
  --mint: #e8f5f1;
  --navy: #22313F;
  --navy-d: #17222d;
  --ink: #1d2733;
  --text: #333;
  --muted: #5d6b78;
  --line: #dfe7ea;
  --bg: #f3f6f6;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 18px 40px rgba(16, 24, 40, .14);
  --font: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; }
body { margin: 0; overflow-x: clip; font-family: var(--font); color: var(--text); background: var(--navy-d); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3000; top: 8px; left: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; }
.muted { opacity: .7; font-weight: 400; }
.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.35em; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(46, 125, 111, .35); }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-ghost.light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost.light:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { padding: .62em 1.05em; font-size: .92rem; box-shadow: none; }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.1rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.play-dot { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--primary); color: #fff; margin: -.3em 0; }
.play-dot svg { width: .9em; height: .9em; margin-left: .1em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.4em; }
.btns.center { justify-content: center; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .42em .9em; border-radius: 999px; background: #fff; color: var(--primary-d); font-weight: 600; font-size: .9rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .05); }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--primary); margin-bottom: 1.1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 42em; }
.lead.narrow { max-width: 50em; }
.callout { margin-top: 2em; padding: 1em 1.3em; border-left: 4px solid var(--accent); background: var(--mint); border-radius: 0 12px 12px 0; font-weight: 600; color: var(--primary-d); max-width: 52em; }
.callout.light { background: rgba(255, 255, 255, .1); color: #fff; }
.ticks { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: .7em; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .ic { color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; margin-top: .05em; }

/* ---------- veil ("Please wait"): blurred, light, brand spinner ---------- */
.veil { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .45s ease, visibility .45s; }
.js .veil { display: grid; }
.ready .veil { opacity: 0; visibility: hidden; }
.veil-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 26px 21px 22px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); font-weight: 500; color: var(--ink); overflow: hidden; min-width: 220px; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(0, 0, 0, .08); border-top-color: var(--primary); animation: spin .8s linear infinite; flex: none; }
.dots::after { content: ""; display: inline-block; width: 1.2em; animation: dots 1.2s steps(4, end) infinite; }
.veil-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .05); overflow: hidden; }
.veil-bar::before, .topbar span { content: ""; position: absolute; top: 0; bottom: 0; }
.veil-bar::before { width: 40%; border-radius: 3px; background: var(--primary); animation: slide 1.3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide { from { left: -40%; } to { left: 100%; } }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* scroll progress (thin brand bar, like the app's top bar) */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1500; pointer-events: none; }
.topbar span { left: 0; width: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- header (frosted pill) ---------- */
.hdr { position: fixed; z-index: 1000; top: 10px; left: 50%; transform: translateX(-50%); width: min(1240px, 100% - 20px); height: var(--hdr); display: flex; align-items: center; gap: 18px; padding: 0 10px 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--ink); font-size: 1.12rem; letter-spacing: -.01em; margin-right: auto; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5em .75em; border-radius: 10px; }
.hdr-nav a:hover, .hdr-nav a.on { background: rgba(46, 125, 111, .1); color: var(--primary-d); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .06); text-decoration: none; font-weight: 700; font-size: .82rem; }
.lang span { padding: .35em .7em; border-radius: 999px; color: var(--muted); }
.lang span.on { background: #fff; color: var(--primary-d); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* ---------- side dots ---------- */
.dots { position: fixed; z-index: 900; right: 18px; top: 50%; transform: translateY(-50%); }
.dots ol { list-style: none; margin: 0; padding: 8px 6px; display: grid; gap: 4px; border-radius: 999px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.dots a { position: relative; display: grid; place-items: center; width: 18px; height: 18px; }
.dots a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(34, 49, 63, .3); transition: all .3s var(--ease); }
.dots a.on::before { background: var(--primary); height: 18px; border-radius: 4px; }
.dots a::after { content: attr(data-label); position: absolute; right: 28px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 500; padding: .35em .7em; border-radius: 8px; opacity: 0; pointer-events: none; transition: .2s; }
.dots a:hover::after, .dots a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

/* ---------- slides (stacked "deck") ---------- */
#deck { position: relative; }
/* the browser's own scroll snapping: one wheel notch / swipe / arrow key = one slide,
   a fast fling cannot skip slides (scroll-snap-stop: always) */
html { scroll-snap-type: y mandatory; }
.slide { position: relative; min-height: 100vh; min-height: 100svh; display: flex; background: var(--bg); scroll-snap-align: start; scroll-snap-stop: always; }
.slide-in { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 46px) 0 64px; }
.slide + .slide { border-radius: 26px 26px 0 0; margin-top: -26px; box-shadow: 0 -14px 30px rgba(0, 0, 0, .12); overflow: clip; }
.snap-step { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-snap-stop: always; pointer-events: none; }

.s-white { background: #fff; }
.s-light { background: var(--bg); }
.s-mint { background: radial-gradient(1200px 600px at 80% 20%, #f7fcfa, var(--mint)); }
.s-dark { background: radial-gradient(1000px 700px at 70% 30%, #2a3b4c, var(--navy-d)); color: #c9d3dc; }
.s-green { background: radial-gradient(1100px 700px at 75% 25%, #379383, var(--primary-d)); color: #e2f3ee; }
.s-dark h2, .s-dark h3, .s-green h2, .s-green h3 { color: #fff; }
.s-dark .lead, .s-green .lead { color: inherit; opacity: .9; }
.s-dark .kicker, .s-green .kicker { color: var(--accent); }
.s-green .kicker { color: #bff0e2; }

/* reveal: fade + rise + un-blur (the "veil" lifting), staggered */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
@media (hover: hover) and (pointer: fine) and (min-width: 981px) {
  .js .rv { filter: blur(6px); transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
}
.js .seen .rv { opacity: 1; transform: none; filter: none; }

/* ---------- browser frame for screenshots ---------- */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .06); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef2f4; border-bottom: 1px solid #e2e8eb; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f26b5b; }
.frame-bar i:nth-child(2) { background: #f5bd4f; }
.frame-bar i:nth-child(3) { background: #61c454; }
.frame-bar span { margin-left: 12px; padding: 2px 12px; border-radius: 6px; background: #fff; font-size: .72rem; color: var(--muted); }
.frame-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.ill { border-radius: 16px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 1 hero ---------- */
.s-hero { background: radial-gradient(900px 600px at 85% 15%, #dff3ec, transparent 60%), radial-gradient(900px 700px at 0% 100%, #e6f1f6, transparent 55%), #f7faf9; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-text h1 { margin-bottom: .35em; }
.hero-media { perspective: 1200px; }
.hero-media .frame { transform: rotateY(-7deg) rotateX(3deg); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.hero-media:hover .frame { transform: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: .78rem; text-decoration: none; letter-spacing: .12em; text-transform: uppercase; }
.scroll-hint span { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; opacity: .7; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- 2 why ---------- */
.why-grid { list-style: none; padding: 0; margin: 2em 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(16, 24, 40, .06); }
.why-card .num { display: block; font-weight: 800; color: var(--accent); font-size: 1.6rem; margin-bottom: .4em; }
.why-card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- pinned step slides (problem, CMS) ---------- */
.pin-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head media" "steps media"; column-gap: 56px; align-items: start; }
.pin-head { grid-area: head; }
.pin-head h2 { font-size: clamp(1.6rem, 2.9vw, 2.6rem); }
.steps { grid-area: steps; list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 6px; }
.step { display: flex; gap: 14px; padding: 12px 14px; border-radius: 14px; transition: background .35s, opacity .35s; opacity: .55; cursor: pointer; }
.step.on { opacity: 1; background: rgba(255, 255, 255, .08); }
.step h3 { margin: .1em 0 .2em; font-size: 1.1rem; }
.step p { margin: 0; font-size: .97rem; display: grid; }
.js .step p, .js .step .formula { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.js .step.on p { max-height: 12em; opacity: .92; }
.js .step.on .formula { max-height: 4em; opacity: 1; margin-top: .7em; }
.step-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; font-weight: 700; font-size: .9rem; }
.step.on .step-n { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.formula { display: inline-block; font: 600 .86rem/1.4 ui-monospace, Consolas, monospace; background: rgba(0, 0, 0, .22); color: #d6fff3; padding: .5em .8em; border-radius: 8px; white-space: nowrap; overflow-x: auto; max-width: 100%; }
.formula::after { content: ""; display: inline-block; width: 2px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.step-media { grid-area: media; display: grid; align-self: center; }
.step-img { grid-area: 1 / 1; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js .step-img { opacity: 0; transform: translateY(24px) scale(.97); }
.js .step-img.on { opacity: 1; transform: none; }
.step-img .ill { transition: transform 1.2s var(--ease); }
.step-img.on .zoom-q { transform: scale(1.55); transform-origin: 50% 59%; }
.step-img:has(.zoom-q) { border-radius: 16px; overflow: hidden; }
.step-dots { display: none; }
/* without JS (or reduced motion) step slides are plain stacked lists */
.js .s-pin > .slide-in { padding: 0; display: block; }
.js .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 34px) 0 40px; }
html:not(.js) .step-img + .step-img { display: none; }

/* ---------- 4 solution ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6em; }
.ba-col { border-radius: var(--radius); padding: 20px; }
.ba-col h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65em; }
.ba-col li { display: flex; gap: .6em; align-items: flex-start; font-size: .97rem; }
.ba-col .ic { margin-top: .2em; }
.before { background: rgba(255, 255, 255, .6); color: var(--muted); }
.before h3 { color: #b0495a; }
.before .ic { color: #d0606f; }
.before li { text-decoration: line-through; text-decoration-color: rgba(176, 73, 90, .45); }
.after { background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.after h3 { color: var(--primary); }
.after .ic { color: var(--primary); }

/* ---------- 6 nocode + languages ---------- */
.s-nocode .wrap { text-align: center; }
.big-title { font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: .55em; }
.big-title span { display: inline-block; }
.big-title .accent { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.stat { padding: 22px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); color: #fff; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .95rem; }
.langs { max-width: 1000px; margin: 22px auto 0; padding: 22px; border-radius: var(--radius); background: rgba(99, 195, 170, .1); box-shadow: inset 0 0 0 1px rgba(99, 195, 170, .25); text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; }
.langs-text { display: flex; gap: 14px; }
.langs-text > .ic { width: 34px; height: 34px; color: var(--accent); flex: none; }
.langs h3 { margin-bottom: .25em; }
.langs p { margin: 0; font-size: .95rem; }
.lang-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 46px); gap: 6px; }
.lang-chips li { display: grid; place-items: center; height: 34px; border-radius: 8px; font-weight: 700; font-size: .82rem; color: var(--accent); box-shadow: inset 0 0 0 1.5px rgba(99, 195, 170, .5); transition: transform .5s var(--ease), opacity .5s; transition-delay: calc(.5s + var(--i) * 45ms); }
.js .s-nocode:not(.seen) .lang-chips li { opacity: 0; transform: scale(.6); }
.lang-chips li.built { background: var(--accent); color: var(--navy); box-shadow: none; }
.lang-chips li.more { box-shadow: none; }
.lang-legend { grid-column: 1 / -1; display: flex; gap: 16px; justify-content: flex-end; margin: 0; font-size: .8rem; }
.lang-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; box-shadow: inset 0 0 0 1.5px var(--accent); vertical-align: -1px; }
.lang-legend .built::before { background: var(--accent); }

/* ---------- 7 compare ---------- */
.table-wrap { margin-top: 1.4em; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: .98rem; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: #f8fafb; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { color: var(--ink); font-weight: 700; width: 24%; }
.cmp td { color: var(--muted); }
.cmp .us { background: var(--mint); color: var(--primary-d); font-weight: 700; }
.cmp thead .us { background: var(--primary); color: #fff; }
.cmp td.us .ic { color: var(--primary); margin-right: .45em; vertical-align: -3px; }
.foot { margin-top: 1em; font-size: .85rem; color: var(--muted); }

/* ---------- 8 data ---------- */
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 1.4em; }
.data-card .frame { margin-bottom: 18px; transition: transform .5s var(--ease); }
.data-card:hover .frame { transform: translateY(-4px); }
.data-card p { color: var(--muted); margin: 0; }

/* ---------- 9 group roll-up ---------- */
.group-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.rollup { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(40px, .55fr) minmax(0, 1fr); align-items: center; }
.rollup-subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.rollup-subs li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(16, 24, 40, .08); font-size: .93rem; transition: transform .7s var(--ease), opacity .7s; transition-delay: calc(.2s + var(--i) * 90ms); }
.js .s-group:not(.seen) .rollup-subs li { opacity: 0; transform: translateX(-24px); }
.rollup-subs .b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--mint); color: var(--primary); flex: none; }
.rollup-subs .b svg { width: 18px; height: 18px; }
.rollup-subs .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.rollup-subs b { color: var(--primary); }
.rollup-lines { width: 100%; height: 100%; align-self: stretch; overflow: visible; }
.rollup-lines path { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(.6s + var(--i) * 90ms); }
.seen .rollup-lines path { stroke-dashoffset: 0; }
.rollup-total { padding: 26px 20px; border-radius: 18px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--primary), var(--primary-d)); box-shadow: 0 20px 44px rgba(30, 90, 80, .35); transition: transform .8s var(--ease), opacity .8s; transition-delay: 1.1s; }
.js .s-group:not(.seen) .rollup-total { opacity: 0; transform: scale(.9); }
.rollup-total span { display: block; font-weight: 600; font-size: .95rem; }
.rollup-total b { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: .1em 0; font-variant-numeric: tabular-nums; }
.rollup-total small { opacity: .85; }
.rollup .note { grid-column: 1 / -1; margin: 14px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- 10 evidence ---------- */
.ev-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hl { position: absolute; left: 68.4%; top: 50.6%; width: 24.1%; height: 32.8%; border-radius: 12px; box-shadow: 0 0 0 3px var(--accent); opacity: 0; transition: opacity .6s .9s; }
.seen .hl { opacity: 1; animation: pulse 2.4s ease-in-out 1.5s 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(99, 195, 170, .55); } }

/* ---------- 11 report ---------- */
.rep-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.rep-media { position: relative; padding-bottom: 34px; }
.docx { position: absolute; left: -24px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); transition: transform .8s var(--ease) .8s, opacity .8s .8s; }
.js .s-report:not(.seen) .docx { opacity: 0; transform: translateY(20px) rotate(-3deg); }
.docx .w { display: grid; place-items: center; width: 42px; height: 50px; border-radius: 6px; background: #2b579a; color: #fff; font-weight: 800; font-size: 1.3rem; }
.docx b { display: block; color: var(--ink); font-size: .95rem; }
.docx small { color: var(--muted); }

/* ---------- 12 services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 1.8em; }
.svc { position: relative; padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.svc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--primary); margin-bottom: 16px; }
.svc-ic svg { width: 26px; height: 26px; }
.svc-n { position: absolute; top: 18px; right: 22px; font-size: 3rem; font-weight: 800; color: rgba(255, 255, 255, .12); line-height: 1; }
.svc p { margin: 0; opacity: .92; }

/* ---------- 13 videos ---------- */
.vid-grid { display: grid; grid-template-columns: 1.8fr 1fr; grid-template-rows: auto 1fr; gap: 18px; margin-top: 1.2em; }
.vcard { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow); text-align: left; font: inherit; }
.vcard.main { grid-row: 1 / 3; }
.vcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.vcard:hover img { transform: scale(1.03); opacity: .9; }
.vplay { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(46, 125, 111, .92); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .35); transition: transform .3s var(--ease); }
.vcard:not(.main) .vplay { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); }
.vplay svg { width: 44%; margin-left: 8%; }
.vcard:hover .vplay { transform: scale(1.08); }
.vmeta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(10, 20, 28, .75)); color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.vmeta small { opacity: .85; white-space: nowrap; }
.downloads { background: var(--bg); border-radius: var(--radius); padding: 18px 20px; }
.downloads h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: .4em 0 .6em; }
.downloads ul { list-style: none; margin: 0 0 .8em; padding: 0; display: grid; gap: 4px; }
.downloads a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.downloads a:hover { background: #fff; }
.downloads a .ic { color: var(--primary); }
.downloads a span { flex: 1; }
.downloads small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.transcript { margin-top: 18px; max-width: 60em; }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--primary-d); }
.transcript p { color: var(--muted); font-size: .95rem; margin: .8em 0 0; }

/* ---------- 14 planned ---------- */
.tag { display: inline-block; padding: .3em .75em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #8a5a00; background: #fff1d6; box-shadow: inset 0 0 0 1.5px #f2c879; }
.planned-note { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 1.2em; }
.plan { padding: 22px; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #fff, #fff 12px, #fbfcfc 12px, #fbfcfc 24px); border: 2px dashed #cfd9dd; }
.plan h3 { margin: .7em 0 .5em; }
.plan ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; display: grid; gap: .35em; }

/* ---------- 15 FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--primary); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 46em; }

/* ---------- 16 CTA ---------- */
.s-cta .slide-in { padding-bottom: 0; }
.cta-wrap { text-align: center; padding-bottom: 40px; margin-block: auto; }
.cta-logo .logo-mark { width: 64px; height: 64px; margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(99, 195, 170, .35)); }
.s-cta .lead { margin-inline: auto; }
.contact { margin: 18px auto 0; display: inline-block; text-align: left; padding: 18px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.contact h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact a { color: #fff; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; width: min(1220px, 100% - 48px); margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; opacity: .75; }
.foot-bar a { color: var(--accent); }

/* ---------- video modal (blurred veil) ---------- */
.modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 24px; background: rgba(12, 20, 28, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .25s ease-out; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1180px, 100%); aspect-ratio: 16 / 9; max-height: calc(100vh - 48px); border-radius: 16px; overflow: hidden; background: #000 center / cover no-repeat; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.modal video { width: 100%; height: 100%; display: block; background: transparent; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .85); color: var(--ink); }
.modal-x .ic { width: 22px; height: 22px; }
.modal-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none; transition: opacity .3s; }
.modal.playing .modal-wait { opacity: 0; }
@keyframes fade { from { opacity: 0; } }

/* ---------- about page ---------- */
.about-main { background: var(--bg); }
.about-hero { padding: calc(var(--hdr) + 70px) 0 40px; background: radial-gradient(900px 600px at 85% 15%, #dff3ec, transparent 60%), #f7faf9; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 30px 0 70px; }
.person { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.avatar { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: linear-gradient(150deg, var(--accent), var(--primary-d)); margin-bottom: 18px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role { color: var(--primary); font-weight: 600; margin-top: -.3em; }
.person ul { padding-left: 1.1em; color: var(--muted); display: grid; gap: .35em; }
.draft-note { margin: 0 0 1em; padding: .8em 1em; border-radius: 12px; background: #fff1d6; color: #7a5200; font-weight: 600; }
.about-foot { background: var(--navy-d); color: #c9d3dc; }
.about-foot .foot-bar { border: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .hdr-nav { display: none; }
}
@media (max-width: 980px) {
  body { font-size: 16px; }
  .hdr { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  :root { --hdr: 56px; }
  .wrap { width: min(100% - 32px, 720px); }
  .hero-grid, .sol-grid, .group-grid, .ev-grid, .rep-grid, .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .ev-grid .ev-media { order: 2; }
  .hero-media .frame { transform: none; }
  .slide-in { padding: calc(var(--hdr) + 36px) 0 48px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card:last-child { grid-column: 1 / -1; }
  .data-grid, .svc-grid, .plan-grid { grid-template-columns: 1fr; }
  .vid-grid { grid-template-columns: 1fr; }
  .vcard.main { grid-row: auto; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stat { text-align: left; padding: 14px 18px; }
  .stat b { font-size: 1.7rem; }
  .langs { grid-template-columns: 1fr; }
  .lang-chips { grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); }
  .lang-legend { justify-content: flex-start; }
  .people { grid-template-columns: 1fr; }
  .dots { display: none; }
  .docx { left: 8px; }
  /* pinned steps on small screens: head, image, active step */
  .pin-grid { grid-template-columns: 1fr; grid-template-areas: "head" "media" "steps"; }
  .js .pin { padding: calc(var(--hdr) + 22px) 0 18px; align-items: flex-start; }
  .js .pin-head .lead { display: none; }
  .pin-head .kicker { margin-bottom: .5em; }
  .pin-head h2 { font-size: clamp(1.35rem, 5.4vw, 2rem); margin-bottom: .6em; }
  .js .steps { margin-top: 14px; }
  .js .step:not(.on) { display: none; }
  .js .step-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; grid-area: steps; align-self: end; }
  .step-dots i { width: 6px; height: 6px; border-radius: 3px; background: currentColor; opacity: .35; transition: .3s; }
  .step-dots i.on { width: 20px; opacity: 1; }
  .pin-grid { grid-template-rows: auto auto 1fr; }
}
@media (max-width: 640px) {
  .brand span { display: none; }
  .hdr { gap: 10px; }
  .hdr .btn-sm { padding: .6em .9em; }
  .why-grid { grid-template-columns: 1fr; }
  .big-title { font-size: clamp(1.7rem, 7.6vw, 3rem); }
  .why-card { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .why-card .num { grid-row: 1 / 3; font-size: 1.3rem; }
  .why-card h3 { margin-bottom: .2em; }
  .ba { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  /* comparison table → one card per row */
  .table-wrap { background: transparent; box-shadow: none; overflow: visible; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(16, 24, 40, .08); margin-bottom: 10px; overflow: hidden; }
  .cmp tbody th { width: auto; padding: 12px 14px 6px; border: 0; }
  .cmp td { padding: 6px 14px; border: 0; font-size: .93rem; }
  .cmp td::before { content: attr(data-h); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
  .cmp td.us { padding: 10px 14px 12px; margin-top: 4px; }
  .rollup { grid-template-columns: minmax(0, 1fr) 34px minmax(0, .8fr); }
  .rollup-subs li { padding: 9px 10px; font-size: .82rem; gap: 8px; }
  .rollup-subs .b { display: none; }
  .rollup-total { padding: 16px 10px; }
  .rollup-total span { font-size: .78rem; }
  .vmeta { padding: 24px 12px 10px; font-size: .9rem; }
  .vplay { width: 58px; height: 58px; }
  .foot-bar { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-media .frame { transform: none; }
}

/* ---------- demo request + contact form ---------- */
.demo-ask { font-size: .92rem; color: var(--muted); margin: -.4em 0 1.2em; max-width: 36em; }
.demo-ask a { color: var(--primary-d); font-weight: 600; white-space: nowrap; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-block: auto; padding-bottom: 40px; }
.s-cta .cta-logo .logo-mark { margin: 0 0 18px; }
.s-cta .big-title { font-size: clamp(2.2rem, 4.2vw, 3.9rem); }
.s-cta .lead { margin-inline: 0; }
.cform { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 26px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.s-dark .cform h3 { color: var(--ink); grid-column: 1 / -1; font-size: 1.3rem; margin: 0 0 .2em; }
.cform label { display: grid; gap: 5px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.f-full { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea { width: 100%; font: 400 1rem/1.35 var(--font); color: var(--ink); padding: .68em .8em; border: 1.5px solid var(--line); border-radius: 10px; background: #f8fafb; transition: border-color .2s, box-shadow .2s, background .2s; }
.cform textarea { resize: vertical; min-height: 6.5em; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(46, 125, 111, .14); }
.cform.tried :invalid { border-color: #d0606f; }
.req { color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.f-foot small { color: var(--muted); max-width: 22em; }
.f-msg { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.f-msg:empty { display: none; }
.f-msg.ok { color: var(--primary-d); background: var(--mint); padding: .8em 1em; border-radius: 10px; }
.f-msg.err { color: #9b2c2c; background: #fdeaea; padding: .8em 1em; border-radius: 10px; }
.f-wait { position: absolute; inset: 0; display: none; place-items: center; border-radius: inherit; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cform.busy .f-wait { display: grid; }
@media (max-width: 980px) {
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .cform { grid-template-columns: 1fr; padding: 18px; }
}
.person h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: .35em; }

/* ---------- menu button + section list (shown when the top menu does not fit) ---------- */
.menu-btn { display: none; flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .06); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: fixed; z-index: 999; top: calc(var(--hdr) + 18px); right: 10px; width: min(360px, 100% - 20px); max-height: calc(100vh - var(--hdr) - 30px); max-height: calc(100svh - var(--hdr) - 30px); overflow: auto; overscroll-behavior: contain; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(16, 24, 40, .25); animation: fade .2s ease-out; }
.mnav[hidden] { display: none; }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.mnav li { counter-increment: s; }
.mnav a { display: flex; align-items: center; gap: 12px; padding: .62em .75em; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; }
.mnav ol a::before { content: counter(s, decimal-leading-zero); font-size: .75rem; font-weight: 700; color: var(--accent); min-width: 1.6em; }
.mnav a:hover, .mnav a.on { background: var(--mint); color: var(--primary-d); }
.mnav .mnav-extra { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 6px; }
.mnav .mnav-extra a { flex: 1 1 auto; }
@media (max-width: 640px) { .mnav a { padding: .5em .7em; } }
.mnav .mnav-extra a { font-weight: 600; color: var(--primary-d); }
@media (max-width: 1180px) { .menu-btn { display: grid; } }
@media (max-width: 640px) { .hdr .lang span { padding: .35em .55em; } }
html.wheel-nav { scroll-snap-type: none; }
