/* ==========================================================================
   RAVEN — site v2 · design system
   Claro, premium, azul RAVEN. Geist + Geist Mono.
   ========================================================================== */

:root {
  --blue: #2894e1;
  --blue-600: #1a7fca;
  --blue-700: #1366a6;
  --blue-50: #eef6fd;
  --blue-100: #dcecfb;
  --navy: #0b2a45;
  --navy-900: #06182a;
  --violet: #7c6cf2;
  --ink: #0b0f16;
  --ink-2: #2b3240;
  --muted: #5d6676;
  --faint: #8b93a1;
  --line: #e6e9ef;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #f1f6fc;
  --ok: #1fb57a;
  --warn: #f2a33a;
  --high: #f06a3a;
  --crit: #e23b4e;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 22, .05), 0 1px 1px rgba(11, 15, 22, .03);
  --shadow: 0 1px 2px rgba(11, 15, 22, .04), 0 8px 24px -8px rgba(11, 15, 22, .10);
  --shadow-lg: 0 2px 4px rgba(11, 15, 22, .04), 0 24px 60px -20px rgba(11, 42, 69, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1600px;
  --gutter: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (max-width: 1024px) { :root { --gutter: 32px; } }
@media (max-width: 640px) { :root { --gutter: 20px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.eyebrow--plain::before { display: none; }
.h-display { font-size: clamp(44px, 8vw, 104px); letter-spacing: -0.045em; line-height: .98; font-weight: 600; }
.h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, #4fb0f0 40%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blue { color: var(--blue); }
.mono { font-family: var(--mono); }

.section { padding-block: clamp(72px, 8vw, 120px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(32px, 6vw, 120px); }
.section-head--split .lead { justify-self: end; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s;
  overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(11, 15, 22, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--blue { --bg-btn: var(--blue); }
.btn--blue:hover { box-shadow: 0 12px 30px -10px rgba(40, 148, 225, .7); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink-2), 0 8px 20px -12px rgba(11,15,22,.3); }
.btn--white { --bg-btn: #fff; --fg-btn: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; background: var(--blue-50); color: var(--blue-700);
}
.chip svg { width: 14px; height: 14px; }
.chip--soon { background: #f3f0ff; color: #5b4bd6; }
.chip--dark { background: rgba(255,255,255,.08); color: #cfe6fb; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }

/* ---------- Promo ticker ---------- */
.promo {
  position: relative; z-index: 60; height: 38px; overflow: hidden;
  background: linear-gradient(90deg, var(--navy-900), var(--navy) 50%, var(--navy-900));
  color: #cfe6fb; font-size: 13px;
}
.promo__track { display: flex; width: max-content; animation: marquee 38s linear infinite; height: 100%; align-items: center; }
.promo__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap; }
.promo__item b { color: #fff; font-weight: 500; }
.promo__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.promo:hover .promo__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter);
  transition: padding .4s var(--ease-out);
}
.nav__bar {
  max-width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: 60px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(11, 15, 22, .06), 0 8px 30px -18px rgba(11, 42, 69, .35);
  transition: background .4s, box-shadow .4s, height .4s var(--ease-out);
}
.nav.is-scrolled { padding-top: 10px; }
.nav.is-scrolled .nav__bar { background: rgba(255, 255, 255, .86); height: 56px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  position: relative; padding: 8px 13px; white-space: nowrap; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(11, 15, 22, .05); }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue);
}
.nav__brand img { height: 30px; width: auto; transition: transform .5s var(--ease-out); }
.nav__brand:hover img { transform: scale(1.06) rotate(-2deg); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav__login { font-size: 14.5px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); }
.nav__login:hover { background: rgba(11, 15, 22, .05); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

.nav__sheet {
  position: fixed; inset: 0; z-index: -1; background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility .4s;
}
.nav__sheet a { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; padding: 6px 0; transform: translateY(14px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
.nav__sheet .nav__sheet-cta { display: flex; gap: 10px; margin-top: 28px; }
.nav__sheet .nav__sheet-cta a { font-size: 15px; font-weight: 500; letter-spacing: 0; padding: 0 22px; }
.nav.is-open .nav__sheet { opacity: 1; visibility: visible; }
.nav.is-open .nav__sheet a { transform: none; opacity: 1; }
.nav.is-open .nav__sheet a:nth-child(2) { transition-delay: .04s; }
.nav.is-open .nav__sheet a:nth-child(3) { transition-delay: .08s; }
.nav.is-open .nav__sheet a:nth-child(4) { transition-delay: .12s; }
.nav.is-open .nav__sheet a:nth-child(5) { transition-delay: .16s; }
.nav.is-open .nav__sheet a:nth-child(6) { transition-delay: .2s; }

@media (max-width: 1140px) {
  .nav__bar { grid-template-columns: auto 1fr; padding: 0 6px 0 18px; }
  .nav__links { display: none; }
  .nav__brand { order: -1; }
  .nav__login, .nav__right .btn { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0) * 1ms); }
.is-in .split-word > span, .split-word.is-in > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: -88px; padding-top: 88px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 520px; height: 520px; left: -160px; top: 80px; background: radial-gradient(circle, #bfe0fb, transparent 70%); animation: drift 18s ease-in-out infinite; }
.hero__glow--b { width: 600px; height: 600px; right: -200px; top: 120px; background: radial-gradient(circle, #d4dcff, transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.hero__glow--c { width: 420px; height: 420px; left: 40%; bottom: -160px; background: radial-gradient(circle, #cfe8fb, transparent 70%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(40px, -30px) scale(1.08); } }

.hero__inner { min-height: min(88vh, 900px); display: grid; place-items: center; text-align: center; padding: 80px 0 40px; }
.hero__content { display: grid; justify-items: center; gap: 26px; }
.hero__brand { font-family: var(--mono); font-size: 13px; letter-spacing: .5em; padding-left: .5em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 14px; }
.hero__brand i { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--ink-2)); }
.hero__brand i:last-child { transform: scaleX(-1); }
.hero__title { color: var(--ink); }
.hero__title .l1 { display: block; color: #8b93a1; font-weight: 500; }
.hero__title .l2 { display: block; }
.hero__sub { max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__meta { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--blue); }

/* Morse STAY easter egg */
.morse { position: absolute; top: 50%; transform: translateY(-50%); display: flex; gap: 16px; align-items: center; opacity: .55; }
.morse--l { left: clamp(10px, 4vw, 70px); }
.morse--r { right: clamp(10px, 4vw, 70px); }
.morse__ch { display: flex; gap: 6px; }
.morse__u { height: 6px; border-radius: 3px; background: var(--blue); opacity: .18; animation: morse 6s infinite; animation-delay: calc(var(--i) * .35s); }
.morse__u--dot { width: 6px; }
.morse__u--dash { width: 22px; }
@keyframes morse { 0%, 8% { opacity: .18; } 10%, 18% { opacity: 1; box-shadow: 0 0 12px var(--blue); } 22%, 100% { opacity: .18; box-shadow: none; } }
@media (max-width: 760px) { .morse { display: none; } }

.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--faint); text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--faint), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Device showcase (scroll tilt) */
.showcase { perspective: 1400px; margin-top: -40px; padding-bottom: 40px; }
.showcase__frame {
  --rx: 22deg; --s: .9; --ty: 0px;
  width: min(1100px, 100%); margin-inline: auto; transform-origin: 50% 0;
  transform: rotateX(var(--rx)) scale(var(--s)) translateY(var(--ty));
  border-radius: 22px; background: #0b0f16; padding: 10px;
  box-shadow: 0 0 0 1px rgba(11,15,22,.08), 0 50px 120px -30px rgba(11, 42, 69, .45), 0 30px 60px -30px rgba(40,148,225,.35);
  will-change: transform;
}
.showcase__screen { border-radius: 14px; overflow: hidden; background: #fff; }

/* ---------- Mini app UI (shared by hero showcase & software tour) ---------- */
.app { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; font-size: 13px; color: var(--ink-2); background: #f7f9fc; text-align: left; }
.app__side { background: #fff; border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.app__logo { height: 22px; width: auto; margin: 2px 8px 16px; }
.app__user { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 10px; border-radius: 10px; background: var(--bg-soft); }
.app__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); flex: none; }
.app__user b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 600; line-height: 1.2; }
.app__user small { font-size: 11px; color: var(--faint); }
.app__nav-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 10px 10px 4px; }
.app__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; text-align: left; width: 100%; font-size: 13px; }
.app__nav svg { width: 15px; height: 15px; flex: none; }
.app__nav:hover { background: var(--bg-soft); color: var(--ink); }
.app__nav.is-active { background: var(--blue-50); color: var(--blue-700); font-weight: 500; }
.app__main { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app__crumb { font-size: 11.5px; color: var(--faint); }
.app__title { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.app__search { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--faint); font-size: 12px; min-width: 180px; }
.app__search svg { width: 13px; height: 13px; }
.app__grid { display: grid; gap: 12px; }
.app__grid--4 { grid-template-columns: repeat(4, 1fr); }
.app__grid--2 { grid-template-columns: 1.4fr 1fr; }
.card-ui { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.card-ui h5 { margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.kpi { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.kpi small { display: block; font-size: 11px; font-weight: 400; color: var(--faint); margin-top: 8px; letter-spacing: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th { text-align: left; font-weight: 500; color: var(--faint); padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: var(--bg-soft); }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.pill--crit { background: #fde8eb; color: #b8243a; }
.pill--high { background: #feeee6; color: #c2481a; }
.pill--mid { background: #fff4e1; color: #a76a10; }
.pill--low { background: #e3f6ee; color: #11845a; }
.pill--blue { background: var(--blue-50); color: var(--blue-700); }
.pill--gray { background: #eef0f4; color: var(--muted); }
.bar { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; min-width: 70px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--blue); width: 0; transition: width 1.4s var(--ease-out); }
.is-in .bar i, .bar.is-in i { width: var(--w); }

@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .app__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .app__grid--2 { grid-template-columns: 1fr; }
  .app__search { display: none; }
  .app__main { padding: 16px; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 28px 0 10px; }
.trust__label { text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.trust__item { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.trust__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.trust__ico svg { width: 18px; height: 18px; }
.trust__item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.trust__item small { font-size: 12.5px; color: var(--muted); }

/* ---------- Problem: versions chaos ---------- */
.versions { position: relative; display: grid; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.versions__file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; color: var(--ink-2); transform: translateX(-12px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s, color .4s; transition-delay: calc(var(--i) * 260ms); }
.versions__file svg { width: 22px; height: 22px; flex: none; }
.versions__file em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--faint); font-family: var(--font); }
.versions__file s { text-decoration-thickness: 1.5px; text-decoration-color: transparent; transition: text-decoration-color .4s; transition-delay: calc(var(--i) * 260ms + 900ms); }
.is-in .versions__file { transform: none; opacity: 1; }
.is-in .versions__file:nth-child(-n+3) s { text-decoration-color: var(--crit); color: var(--faint); }
.versions__q { margin-top: 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.versions__q span { color: var(--crit); }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin-top: 56px; }
.pain { background: #fff; padding: 30px 30px 32px; display: grid; gap: 10px; align-content: start; transition: background .3s; }
.pain:hover { background: var(--bg-tint); }
.pain__n { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.pain h4 { font-size: 18px; letter-spacing: -0.015em; }
.pain p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 12px;
  padding: 30px; border-radius: var(--radius-lg); background: #fff; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.tile:hover { box-shadow: inset 0 0 0 1px #d8e6f4, var(--shadow-lg); }
.tile--3 { grid-column: span 3; }
.tile--4 { grid-column: span 4; }
.tile--6 { grid-column: span 6; }
.tile__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.tile__ico svg { width: 20px; height: 20px; }
.tile h3 { font-size: 20px; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-size: 15px; }
.tile__visual { margin-top: auto; padding-top: 18px; }
.tile::before { /* spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(40,148,225,.09), transparent 60%);
}
.tile:hover::before { opacity: 1; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile--3, .tile--4 { grid-column: span 2; } .tile--half-md { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile, .tile--3, .tile--4, .tile--6, .tile--half-md { grid-column: span 1; } }

/* Chart (36 → 8) */
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-svg .line { fill: none; stroke: url(#lg-line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease-out); }
.chart-svg .area { opacity: 0; transition: opacity 1.4s 1s; }
.chart-svg .pt { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease-out), opacity .3s; }
.is-in .chart-svg .line { stroke-dashoffset: 0; }
.is-in .chart-svg .area { opacity: 1; }
.is-in .chart-svg .pt { opacity: 1; transform: none; }
.chart-svg .grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.chart-svg text { font: 500 11px var(--mono); fill: var(--faint); }
.bignum { font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; display: flex; align-items: center; gap: 14px; }
.bignum .from { color: var(--crit); }
.bignum .to { color: var(--ok); }
.bignum svg { width: 30px; height: 30px; color: var(--faint); }
.note { font-size: 12px; color: var(--faint); }

/* Risk matrix */
.matrix-wrap { display: grid; gap: 14px; }
.matrix { display: grid; grid-template-columns: 22px repeat(5, 1fr); grid-template-rows: repeat(5, 1fr) 22px; gap: 5px; aspect-ratio: 1.2; max-width: 360px; }
.matrix__axis { font: 500 10px var(--mono); color: var(--faint); display: grid; place-items: center; }
.matrix__axis--y { writing-mode: vertical-rl; transform: rotate(180deg); grid-row: 1 / 6; }
.matrix__axis--x { grid-column: 2 / 7; }
.matrix__cell {
  border-radius: 7px; background: var(--c); position: relative; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s, background .5s; display: grid; place-items: center;
  font: 600 11px var(--mono); color: rgba(255,255,255,.95);
}
.matrix__cell:hover, .matrix__cell.is-hot { transform: scale(1.12); z-index: 2; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
.matrix__cell::after { content: attr(data-p); position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; opacity: 0; }
.matrix[data-mode="pattern"] .matrix__cell::after { opacity: .9; }
.matrix[data-mode="pattern"] .matrix__cell { color: transparent; }
.matrix-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.matrix-legend span { display: inline-flex; align-items: center; gap: 6px; }
.matrix-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); transition: background .5s; }
.seg { display: inline-flex; justify-self: start; width: fit-content; max-width: 100%; padding: 4px; gap: 2px; border-radius: 999px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .3s; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: var(--ink); }
.seg__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow); transition: left .5s var(--ease-out), width .5s var(--ease-out); }
.seg--lg button { height: 42px; padding: 0 22px; font-size: 14.5px; }
.seg--dark { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.seg--dark button { color: #9fb3c8; }
.seg--dark button[aria-pressed="true"], .seg--dark button[aria-selected="true"] { color: var(--ink); }

/* PDCA ring */
.pdca { position: relative; width: 200px; aspect-ratio: 1; margin: 0 auto; }
.pdca svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.pdca__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.pdca__center b { font-size: 22px; letter-spacing: -0.02em; display: block; }
.pdca__center small { color: var(--faint); font-size: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mini bow-tie */
.bowtie-mini { width: 100%; height: auto; }
.bowtie-mini path.flow { stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.modules__list { display: grid; gap: 8px; position: sticky; top: 110px; }
.mod-btn {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; text-align: left; align-items: center;
  padding: 18px 20px; border-radius: 18px; background: transparent; transition: background .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.mod-btn:hover { background: var(--bg-soft); }
.mod-btn.is-active { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.mod-btn__n { font-family: var(--mono); font-size: 12px; color: var(--faint); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); transition: background .3s, color .3s; }
.mod-btn.is-active .mod-btn__n { background: var(--blue); color: #fff; }
.mod-btn b { font-size: 17px; letter-spacing: -0.015em; }
.mod-btn small { font-size: 13px; color: var(--muted); }
.mod-btn__prog { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--blue); width: 0; }
.mod-btn.is-active .mod-btn__prog { animation: prog var(--dur, 7s) linear forwards; }
.modules.is-paused .mod-btn__prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.mod-btn--soon { opacity: .75; }

.mod-panel { display: none; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.mod-panel.is-active { display: grid; animation: panelIn .7s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.mod-panel__head { padding: 32px 32px 0; display: grid; gap: 12px; }
.mod-panel__body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 26px 32px 32px; }
.mod-panel__vis { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 24px; }
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--blue); margin-top: 1px; }
.checks--sm li { font-size: 14px; }
.label-sm { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
@media (max-width: 960px) {
  .modules { grid-template-columns: 1fr; }
  .modules__list { position: static; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .mod-panel__body { grid-template-columns: 1fr; }
}

/* ---------- Steps (scroll progress) ---------- */
.steps { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.steps__sticky { position: sticky; top: 120px; align-self: start; display: grid; gap: 22px; }
.steps__list { position: relative; display: grid; gap: 22px; padding-left: 44px; }
.steps__rail { position: absolute; left: 15px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.steps__rail i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(var(--blue), var(--violet)); border-radius: 2px; }
.step { position: relative; padding: 26px 28px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s, transform .5s var(--ease-out); }
.step::before { content: attr(data-n); position: absolute; left: -44px; top: 26px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font: 600 12px var(--mono); color: var(--faint); transition: all .4s var(--ease-out); }
.step.is-on { box-shadow: inset 0 0 0 1px #cfe3f6, var(--shadow-lg); }
.step.is-on::before { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--blue-100); }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps__sticky { position: static; } }

/* ---------- Audience switch ---------- */
.aud { border-radius: 32px; background: linear-gradient(180deg, var(--bg-tint), #fff); box-shadow: inset 0 0 0 1px #e1ebf5; padding: clamp(20px, 3vw, 36px); }
.aud__panel { display: none; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.aud__panel.is-active { display: grid; animation: panelIn .7s var(--ease-out); }
.aud__img { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.aud__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.aud__panel.is-active .aud__img img { transform: scale(1); }
.aud__float { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; }
.aud__float b { display: block; font-size: 14px; }
.aud__float .trust__ico { width: 32px; height: 32px; }
.aud__text { display: grid; gap: 16px; padding: 10px 6px; }
.aud__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 10px; }
.aud__list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.aud__list svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
@media (max-width: 900px) { .aud__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .aud__list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .5s var(--ease-out), box-shadow .5s; }
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #d6e4f2, var(--shadow-lg); }
.plan--featured { background: radial-gradient(120% 80% at 50% 0%, #17324d 0%, #0b0f16 60%); color: #fff; box-shadow: 0 30px 80px -30px rgba(11,42,69,.6); }
.plan--featured:hover { box-shadow: 0 40px 90px -30px rgba(40,148,225,.55); }
.plan--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(40,148,225,.8), rgba(124,108,242,.3) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan__name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.plan__desc { font-size: 14.5px; color: var(--muted); min-height: 44px; }
.plan--featured .plan__desc, .plan--featured .plan__per { color: #a8bcd0; }
.plan__price { font-size: 44px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.plan--featured .plan__price small { color: #a8bcd0; }
.plan__per { font-size: 13px; color: var(--muted); margin-top: -8px; }
.plan__save { color: var(--ok); font-weight: 500; }
.plan .btn { width: 100%; }
.plan__feat { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.plan--featured .plan__feat { border-color: rgba(255,255,255,.1); }
.plan__feat li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan__feat svg { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.plan__feat li.is-off { color: var(--faint); }
.plan__feat li.is-off svg { color: var(--line); }
.plan--featured .plan__feat li.is-off { color: #5a6b7d; }
.badge-hot { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.pricing-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }
.save-tag { display: inline-flex; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 11px; background: #e3f6ee; color: #11845a; font-weight: 500; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Security ---------- */
.dark { overflow-x: clip; background: radial-gradient(90% 60% at 50% 0%, #10304d 0%, var(--navy-900) 55%, #040b14 100%); color: #e6eef7; overflow: hidden; position: relative; isolation: isolate; }
.dark .muted, .dark .lead { color: #93a7bc; }
.dark .eyebrow { color: #6fbaf0; }
.dark__stars { position: absolute; inset: 0; z-index: -1; opacity: 1; }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-card { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: 10px; align-content: start; transition: background .4s, box-shadow .4s; }
.sec-card:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(111,186,240,.35); }
.sec-card .tile__ico { background: rgba(40,148,225,.14); color: #6fbaf0; }
.sec-card h4 { font-size: 18px; color: #fff; }
.sec-card p { font-size: 14.5px; color: #93a7bc; }
.sec-card--wide { grid-column: span 2; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } .sec-card--wide { grid-column: span 1; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }
.faq__aside { display: grid; gap: 18px; align-content: start; position: sticky; top: 120px; }
.faq__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__cats button { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: all .25s; }
.faq__cats button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.acc { border-bottom: 1px solid var(--line); }
.acc[hidden] { display: none; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 17.5px; font-weight: 500; letter-spacing: -0.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); flex: none; transition: background .3s, transform .4s var(--ease-out); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.acc summary i::after { transform: rotate(90deg); }
.acc[open] summary i { background: var(--ink); transform: rotate(180deg); }
.acc[open] summary i::before, .acc[open] summary i::after { background: #fff; }
.acc[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__aside { position: static; } }

/* ---------- CTA band ---------- */
.cta { position: relative; border-radius: 36px; overflow: hidden; isolation: isolate; padding: clamp(48px, 8vw, 100px) clamp(24px, 5vw, 72px); color: #fff; text-align: center; background: var(--navy-900); }
.cta canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 110%, rgba(40,148,225,.55), transparent 70%); }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { color: #a8bcd0; margin: 18px auto 32px; max-width: 52ch; font-size: 18px; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn--ghost { --fg-btn: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #b9c7d6; padding-top: 72px; margin-top: clamp(80px, 10vw, 140px); font-size: 14.5px; }
.footer__sub { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__sub h3 { color: #fff; font-size: 28px; }
.footer__sub p { margin-top: 8px; color: #8aa0b6; }
.sub-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .3s; }
.sub-form:focus-within { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(40,148,225,.18); }
.sub-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 18px; color: #fff; font-size: 15px; }
.sub-form input::placeholder { color: #6f849a; }
.sub-form.is-done { box-shadow: inset 0 0 0 1px var(--ok); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 56px 0; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; filter: brightness(1.15); }
.footer__brand p { max-width: 30ch; color: #8aa0b6; }
.footer h5 { margin: 0 0 16px; color: #fff; font-size: 14px; font-weight: 600; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: #9fb2c6; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #6f849a; }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom a:hover { color: #fff; }
.footer__big { font-size: clamp(80px, 21vw, 300px); font-weight: 700; letter-spacing: -0.07em; line-height: .78; text-align: center; color: transparent; background: linear-gradient(180deg, rgba(40,148,225,.22), rgba(40,148,225,0) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; margin-top: 10px; overflow: hidden; }
@media (max-width: 900px) { .footer__sub { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: span 2; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; margin-top: -88px; padding: calc(88px + clamp(60px, 9vw, 120px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; text-align: center; }
.phero__inner { display: grid; justify-items: center; gap: 22px; }
.phero .lead { margin-inline: auto; }
.phero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%); }

/* ---------- Software tour ---------- */
.tour { display: grid; gap: 22px; }
.tour__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; scrollbar-width: none; justify-content: safe center; }
.tour__tabs::-webkit-scrollbar { display: none; }
.tour__tab { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .3s var(--ease-out); }
.tour__tab:hover { color: var(--ink); }
.tour__tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tour__stage { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.browser__url { flex: 1; max-width: 380px; margin-inline: auto; height: 24px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 12px var(--mono); color: var(--faint); display: flex; align-items: center; justify-content: center; gap: 6px; }
.browser__url svg { width: 11px; height: 11px; color: var(--ok); }
.screen { display: none; }
.screen.is-active { display: block; animation: panelIn .6s var(--ease-out); }
.tour__info { display: grid; gap: 16px; position: sticky; top: 110px; }
.tour__info .h3 { font-size: 26px; }
.tour__count { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.tour__nav { display: flex; gap: 8px; margin-top: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: all .3s; }
.icon-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 1000px) { .tour__stage { grid-template-columns: 1fr; } .tour__info { position: static; } }

/* HAZOP nodes / kanban / generic UI bits */
.nodes { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 6px 2px 10px; }
.node { flex: none; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12px; }
.node b { display: block; font-size: 12.5px; color: var(--ink); }
.node.is-sel { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.node-link { flex: none; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kanban__col { background: var(--bg-soft); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; min-height: 220px; }
.kanban__col h6 { margin: 0 0 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); display: flex; justify-content: space-between; }
.kcard { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; font-size: 11.5px; display: grid; gap: 6px; cursor: grab; transition: transform .2s, box-shadow .2s; }
.kcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kcard b { font-size: 12px; color: var(--ink); font-weight: 500; }
.kcard__meta { display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: 11px; }
@media (max-width: 700px) { .kanban { grid-template-columns: 1fr 1fr; } }
.toggle { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line); transition: background .3s; flex: none; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out); }
.toggle[aria-checked="true"] { background: var(--blue); }
.toggle[aria-checked="true"]::after { transform: translateX(16px); }
.swatches { display: flex; gap: 8px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); transition: transform .2s; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.swatch:hover { transform: scale(1.1); }

/* App dark preview theme */
.app[data-theme="dark"] { background: #0e141c; color: #b6c2d0; }
.app[data-theme="dark"] .app__side, .app[data-theme="dark"] .card-ui { background: #141c26; border-color: #222d3a; }
.app[data-theme="dark"] .app__title, .app[data-theme="dark"] .kpi, .app[data-theme="dark"] .card-ui b { color: #f1f5f9; }
.app[data-theme="dark"] .app__user { background: #1a2430; }
.app[data-theme="dark"] .app__user b { color: #fff; }
.app[data-theme="dark"] .app__nav:hover { background: #1a2430; }
.app[data-theme="dark"] .app__nav.is-active { background: color-mix(in srgb, var(--accent, var(--blue)) 20%, transparent); color: #fff; }
.app[data-theme="dark"] .tbl td { color: #c7d2de; border-color: #222d3a; }
.app[data-theme="dark"] .tbl th { border-color: #222d3a; }
.app { --accent: var(--blue); }
.app .app__nav.is-active { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.app .bar i { background: var(--accent); }

/* ---------- Feature grid (also included) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; transition: box-shadow .4s, transform .4s var(--ease-out); }
.feat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d6e4f2, var(--shadow-lg); }
.feat h4 { font-size: 17px; }
.feat p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Methodology page ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); max-width: 760px; margin: 40px auto 0; }
.stat { background: #fff; padding: 24px; text-align: center; }
.stat b { display: block; font-size: 44px; letter-spacing: -0.045em; line-height: 1; }
.stat span { font-size: 13.5px; color: var(--muted); }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.method:nth-of-type(even) .method__vis { order: -1; }
.method__text { display: grid; gap: 18px; }
.method__n { font: 500 13px var(--mono); color: var(--blue); }
.method__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 6px; }
.method__vis { border-radius: var(--radius-lg); background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(14px, 2.4vw, 28px); display: grid; place-items: center; }
@media (max-width: 900px) { .method, .method__cols { grid-template-columns: 1fr; } .method:nth-of-type(even) .method__vis { order: 0; } }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.road { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.road b { font-size: 28px; letter-spacing: -0.03em; }
.road p { font-size: 14px; color: var(--muted); }
.road::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(124,108,242,.18), transparent 70%); }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } }

/* ---------- About (dark portal) ---------- */
.portal-hero { position: relative; margin-top: -88px; padding: calc(88px + clamp(80px, 12vw, 160px)) 0 clamp(80px, 10vw, 140px); text-align: center; background: radial-gradient(70% 70% at 50% 0%, #15385a 0%, #081a2c 50%, #040b14 100%); color: #fff; overflow: hidden; isolation: isolate; }
.portal-hero canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.portal-hero .lead { color: #a8bcd0; margin-inline: auto; }
.body-dark { background: #040b14; }
.body-dark .nav__bar { background: rgba(10, 20, 32, .6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.body-dark .nav.is-scrolled .nav__bar { background: rgba(10, 20, 32, .85); }
.body-dark .nav__links a, .body-dark .nav__login { color: #b9c7d6; }
.body-dark .nav__links a:hover, .body-dark .nav__links a[aria-current="page"], .body-dark .nav__login:hover { color: #fff; background: rgba(255,255,255,.06); }
.body-dark .nav__toggle span { background: #fff; }
.body-dark .nav__sheet { background: rgba(4, 11, 20, .96); color: #fff; }
.body-dark .btn--ghost { --fg-btn: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.body-dark main { color: #e6eef7; }
.body-dark .footer { margin-top: 0; }
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); transform-style: preserve-3d; transition: transform .2s; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,11,20,.85)); }
.portrait__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.portrait__cap b { font-size: 20px; display: block; color: #fff; }
.portrait__cap span { font-size: 13.5px; color: #9fb2c6; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 380px; } }
.glass { border-radius: var(--radius-lg); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: clamp(24px, 3vw, 36px); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: 12px; }
.value b { font-size: 20px; color: #fff; letter-spacing: -0.02em; }
.value p { color: #93a7bc; font-size: 14.5px; }
.value__n { font: 500 12px var(--mono); color: #6fbaf0; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, rgba(111,186,240,.6), rgba(124,108,242,.4), rgba(255,255,255,.05)); }
.tl { position: relative; padding-top: 40px; display: grid; gap: 8px; }
.tl::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: #040b14; box-shadow: inset 0 0 0 2px #6fbaf0, 0 0 0 5px rgba(111,186,240,.12); }
.tl:last-child::before { background: #6fbaf0; box-shadow: 0 0 0 5px rgba(111,186,240,.2), 0 0 24px #6fbaf0; }
.tl small { font: 500 12px var(--mono); color: #6fbaf0; letter-spacing: .06em; }
.tl b { color: #fff; font-size: 17px; }
.tl p { color: #93a7bc; font-size: 14px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; gap: 0; } .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .tl { padding: 0 0 28px 36px; } .tl::before { top: 4px; } }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease-out); }
.member:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.member__av { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); font-size: 17px; }
.member b { display: block; color: #fff; font-size: 16px; }
.member span { font-size: 13.5px; color: #93a7bc; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.dark .step { background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dark .step h4 { color: #fff; }
.dark .step p { color: #93a7bc; }
.dark .step::before { background: #081a2c; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.dark .step.is-on { box-shadow: inset 0 0 0 1px rgba(111,186,240,.4), 0 30px 60px -30px rgba(40,148,225,.4); }
.dark .steps__rail { background: rgba(255,255,255,.08); }

/* ---------- Warp transition ---------- */
.warp { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .35s; }
.warp.is-on { opacity: 1; pointer-events: all; }
.warp canvas { width: 100%; height: 100%; display: block; }
.page-enter { position: fixed; inset: 0; z-index: 300; background: #040b14; pointer-events: none; animation: pageEnter 1s var(--ease-out) forwards; }
@keyframes pageEnter { to { opacity: 0; } }

/* ---------- Blog ---------- */
.blog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); min-width: min(320px, 100%); transition: box-shadow .3s; }
.search:focus-within { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px var(--blue-100); }
.search svg { width: 16px; height: 16px; color: var(--faint); }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 15px; min-width: 0; }
.featured-post { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); margin-bottom: 40px; transition: box-shadow .5s; }
.featured-post:hover { box-shadow: inset 0 0 0 1px #d6e4f2, var(--shadow-lg); }
.featured-post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.featured-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.featured-post:hover img { transform: scale(1.04); }
.featured-post__body { padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; align-content: center; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: grid; gap: 14px; align-content: start; }
.post__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post:hover .post__img img { transform: scale(1.05); }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--faint); }
.post h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; transition: color .2s; }
.post:hover h3 { color: var(--blue); }
.post p { font-size: 14.5px; color: var(--muted); }
.posts-empty { text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .featured-post { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.cinfo { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease-out); }
.cinfo:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px #cfe3f6, var(--shadow); }
.cinfo small { display: block; font-size: 12.5px; color: var(--faint); }
.cinfo b { font-size: 15.5px; font-weight: 500; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: grid; }
.field input, .field textarea, .field select { width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 0; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); outline: 0; font-size: 15px; transition: box-shadow .25s, background .25s; resize: vertical; }
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 16px; top: 16px; font-size: 15px; color: var(--faint); pointer-events: none; transition: all .25s var(--ease-out); }
.field input:focus, .field textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px var(--blue-100); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; color: var(--blue); }
.field.is-err input, .field.is-err textarea { box-shadow: inset 0 0 0 1.5px var(--crit); }
.field__err { font-size: 12.5px; color: var(--crit); margin-top: 6px; display: none; }
.field.is-err .field__err { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); transition: all .25s; }
.choice:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.choice[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: none; }
.form__ok { display: none; text-align: center; padding: 40px 10px; gap: 14px; justify-items: center; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: grid; animation: panelIn .7s var(--ease-out); }
.check-anim { width: 72px; height: 72px; }
.check-anim circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease-out) forwards; }
.check-anim path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .6s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-dot { position: fixed; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(40,148,225,.07), transparent 65%); transition: opacity .4s; }
@media (hover: none) { .cursor-dot { display: none; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 140%); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-out); }
.toast.is-on { transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-word > span { opacity: 1 !important; transform: none !important; }
  .showcase__frame { transform: none !important; }
}

/* ---------- Mobile overflow guards ---------- */
.footer__sub > *, .modules > *, .problem > *, .steps > *, .about > *, .contact > *, .aud__panel > *, .tour__stage > *, .method > *, .section-head--split > * { min-width: 0; }
.card-ui, .mod-panel__vis { overflow-x: auto; scrollbar-width: thin; }
@media (max-width: 520px) {
  .seg--lg button { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .save-tag { display: none; }
  .sub-form input { padding: 0 12px; }
  .hero__meta { gap: 10px 16px; }
  .versions { padding: 18px; }
  .versions__file { font-size: 12.5px; }
  .versions__file em { display: none; }
  .plan { padding: 24px; }
  .cta { border-radius: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}
[data-blog-filter] { overflow-x: auto; scrollbar-width: none; }
[data-blog-filter]::-webkit-scrollbar { display: none; }
.blog-tools > * { min-width: 0; }
@media (max-width: 560px) { .search { width: 100%; } }
.badge-hot svg { width: 13px; height: 13px; }

/* ---------- Real screenshots (tour) ---------- */
.browser__body { position: relative; background: #f7f9fc; }
.screen[data-shots] { position: relative; }
.shot { display: none; width: 100%; aspect-ratio: 1600 / 783; padding: 0; cursor: zoom-in; overflow: hidden; background: #fff; }
.shot.is-active { display: block; animation: panelIn .6s var(--ease-out); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease-out); }
.shot:hover img { transform: scale(1.015); }
.shot-seg { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.shot-zoomhint { position: absolute; right: 14px; bottom: 14px; z-index: 2; pointer-events: none; }
.screen .app { min-height: 0; }
@media (max-width: 640px) { .shot-seg { position: static; margin: 10px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: clamp(10px, 3vw, 40px); background: rgba(6, 12, 20, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s var(--ease-out); cursor: zoom-out; }
.lightbox.is-on { opacity: 1; }
.lightbox__inner { max-width: min(1600px, 100%); max-height: 100%; overflow: auto; border-radius: 14px; box-shadow: 0 40px 120px -20px rgba(0,0,0,.7); transform: scale(.96); transition: transform .45s var(--ease-out); background: #fff; }
.lightbox.is-on .lightbox__inner { transform: none; }
.lightbox img { display: block; width: 100%; height: auto; }
.lightbox__close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); font-size: 20px; line-height: 1; }
@media (max-width: 760px) { .lightbox__inner { overflow-x: auto; } .lightbox img { width: 1100px; max-width: none; } }

/* Screenshot frames (home) */
.shot-frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); cursor: zoom-in; padding: 0; display: block; width: 100%; }
.shot-frame img { width: 100%; height: auto; display: block; }
.showcase__screen img { width: 100%; height: auto; display: block; }
.aud__img--shot { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.aud__img--shot img { object-fit: cover; object-position: left top; }
.mod-panel__vis .shot-frame { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.aud__list { grid-template-columns: 1fr 1fr; }
.tour__text { display: grid; gap: 14px; } .tour__text[hidden] { display: none; }

/* =================== v2.1 additions =================== */
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow:has(svg)::before { display: none; }
/* icons in pains / steps / plans / faq */
.pain__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pain__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fdeef0; color: var(--crit); transition: transform .4s var(--ease-out), background .3s, color .3s; }
.pain__ico svg { width: 20px; height: 20px; }
.pain:hover .pain__ico { transform: rotate(-8deg) scale(1.08); background: var(--blue-50); color: var(--blue); }
.step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
.step > :not(.step__ico) { grid-column: 2; }
.step__ico { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background .4s, color .4s; }
.step__ico svg { width: 20px; height: 20px; }
.step.is-on .step__ico { background: var(--blue); color: #fff; }
.mod-btn__n svg { width: 17px; height: 17px; }
.plan__name { display: inline-flex; align-items: center; gap: 10px; }
.plan__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.plan__ico svg { width: 17px; height: 17px; }
.plan--featured .plan__ico { background: rgba(40,148,225,.18); color: #6fbaf0; }
.faq__cats button { display: inline-flex; align-items: center; gap: 6px; }
.faq__cats svg { width: 14px; height: 14px; }
.pricing-note svg { width: 15px; height: 15px; display: inline; vertical-align: -3px; color: var(--blue); }
.pricing-note { line-height: 1.8; }

/* Hub (centralização) */
.hub { position: relative; aspect-ratio: 1; width: 100%; max-width: 300px; margin: 0 auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__lines line { stroke: var(--blue); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .35; transition: opacity .3s, stroke-width .3s; animation: flow 2.4s linear infinite; }
.hub__lines line.is-on { opacity: 1; stroke-width: .7; }
.hub__ring { fill: none; stroke: var(--line); stroke-width: .4; }
.hub__core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--blue-50), var(--shadow); animation: corePulse 3s ease-in-out infinite; }
.hub__core img { width: 72%; height: auto; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 12px rgba(40,148,225,.08), var(--shadow); } }
.hub__node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 3px; cursor: default; }
.hub__node svg { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .35s var(--ease-out), background .3s, color .3s; box-sizing: border-box; }
.hub__node b { font-size: 10.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.hub__node:hover svg, .hub__node.is-on svg { transform: scale(1.15); background: var(--blue); color: #fff; }

/* Padronização rows */
.std { display: grid; gap: 8px; }
.std__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; font-weight: 500; transition: transform .3s var(--ease-out); }
.std__row:hover { transform: translateX(4px); }
.std__ico svg { width: 16px; height: 16px; color: var(--blue); }

/* PDCA demo */
.pdca-demo { display: grid; gap: 8px; }
.pdca-demo__row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; cursor: pointer; transition: background .25s, box-shadow .25s; }
.pdca-demo__row:hover { background: var(--bg-tint); }
.pdca-demo__row input { position: absolute; opacity: 0; pointer-events: none; }
.pdca-demo__box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #c5ccd6; display: grid; place-items: center; transition: all .25s var(--ease-out); }
.pdca-demo__box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: all .3s var(--ease-out); color: #fff; }
.pdca-demo__box svg circle { display: none; }
.pdca-demo__row input:checked + .pdca-demo__box { background: var(--blue); box-shadow: none; }
.pdca-demo__row input:checked + .pdca-demo__box svg { opacity: 1; transform: none; }
.pdca-demo__row input:focus-visible + .pdca-demo__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.pdca-demo__out { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.pdca-demo__out small { display: block; color: var(--muted); font-size: 12.5px; }
.pdca-demo__ring { position: relative; width: 48px; height: 48px; flex: none; }
.pdca-demo__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pdca-demo__ring circle { fill: none; stroke-width: 3.4; }
.pdca-demo__ring .bg { stroke: var(--line); }
.pdca-demo__ring .fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 67; transition: stroke-dashoffset .7s var(--ease-out); }
.pdca-demo__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; }
.pdca-demo__ring.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.15); } }

/* i18n demo */
.i18n-card { padding: 14px; border-radius: 14px; background: var(--bg-soft); display: grid; gap: 10px; }
.i18n-card__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 13px; }
.i18n-card__btn { font-size: 11.5px; padding: 4px 9px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.i18n-card__risks { display: flex; gap: 6px; flex-wrap: wrap; }
.i18n-card__pdf { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--blue-700); }
.i18n-card__pdf svg { width: 14px; height: 14px; }
[data-t] { transition: opacity .25s, filter .25s; }
.is-swapping [data-t] { opacity: 0; filter: blur(3px); }

/* Risk map */
.riskmap { border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 22px; }
.riskmap__bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.riskmap__kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.rk { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--bg-soft); }
.rk__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.rk__ico svg { width: 17px; height: 17px; }
.rk b { display: block; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rk small { font-size: 12px; color: var(--muted); }
.rk--crit .rk__ico { color: var(--crit); }
.riskmap__filters { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.rm-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.riskmap__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 3vw, 40px); align-items: stretch; }
.riskmap__map { position: relative; border-radius: 22px; background: radial-gradient(80% 70% at 55% 45%, var(--bg-tint), #fff 75%); padding: clamp(10px, 2vw, 24px); display: grid; place-items: center; min-width: 0; }
.riskmap__svg { width: 100%; max-width: 620px; height: auto; overflow: visible; }
.riskmap__shape { fill: rgba(40,148,225,.04); stroke: none; }
.riskmap__dots circle { fill: #b9d6ee; transition: fill .4s; }
.riskmap__dots circle.is-near { fill: #6fb4e8; }
.pin { cursor: pointer; outline: none; }
.pin__halo { fill: var(--c); opacity: .14; transition: opacity .3s, r .4s var(--ease-out); }
.pin__pulse { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin--crit .pin__pulse { animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.pin__core { fill: var(--c); stroke: #fff; stroke-width: 2.5; transition: transform .35s var(--ease-out); transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 3px 6px rgba(11,15,22,.25)); }
.pin:hover .pin__core, .pin:focus-visible .pin__core, .pin.is-sel .pin__core { transform: scale(1.35); }
.pin.is-sel .pin__halo { opacity: .3; }
.pin__label { font: 600 10.5px var(--font); fill: var(--ink-2); paint-order: stroke; stroke: #fff; stroke-width: 3px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.pin:hover .pin__label, .pin.is-sel .pin__label, .pin:focus-visible .pin__label { opacity: 1; }
.pin.is-dim { opacity: .18; pointer-events: none; }
.pin { transition: opacity .4s; }
.riskmap__tip { position: absolute; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 14px)); transition: opacity .2s; z-index: 2; }
.riskmap__tip.is-on { opacity: 1; }
.riskmap__tip small { color: #a8bcd0; }
.riskmap__legend { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.riskmap__legend span { display: inline-flex; align-items: center; gap: 6px; }
.riskmap__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.riskmap__panel { border-radius: 22px; background: var(--bg-soft); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.riskmap__panel > * { animation: panelIn .5s var(--ease-out) both; }
.riskmap__panel > *:nth-child(2) { animation-delay: .04s; } .riskmap__panel > *:nth-child(3) { animation-delay: .08s; } .riskmap__panel > *:nth-child(4) { animation-delay: .12s; } .riskmap__panel > *:nth-child(5) { animation-delay: .16s; }
.rp__head { display: flex; gap: 14px; align-items: center; }
.rp__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); flex: none; }
.rp__ico svg { width: 22px; height: 22px; }
.rp__head h3 { font-size: 21px; letter-spacing: -0.02em; }
.rp__head small { color: var(--muted); font-size: 13px; }
.rp__stack { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--line-2); }
.rp__stack i { display: block; height: 100%; width: 0; transition: width .9s var(--ease-out); }
.rp__counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rp__counts div { padding: 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.rp__counts b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.rp__counts small { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.rp__counts small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.rp__label { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.rp__list { display: grid; gap: 8px; }
.rp__item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; text-align: left; width: 100%; transition: transform .25s var(--ease-out), box-shadow .25s; }
button.rp__item:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px #cfe3f6, var(--shadow); }
.rp__item svg { width: 16px; height: 16px; color: var(--blue); }
.rp__item small { color: var(--faint); font-size: 12px; display: block; }
.rp__studies { display: flex; gap: 8px; flex-wrap: wrap; }
.rp__progress { display: grid; gap: 8px; }
.rp__progress .bar { height: 8px; }
.rp__back { align-self: flex-start; font-size: 13.5px; color: var(--blue); display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.rp__back svg { width: 14px; height: 14px; }
.riskmap__note { display: flex; gap: 8px; align-items: center; }
.riskmap__note svg { width: 15px; height: 15px; }
@media (max-width: 1000px) { .riskmap__body { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .riskmap { border-radius: 24px; }
  .riskmap__kpis { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .riskmap__filters .seg { overflow-x: auto; scrollbar-width: none; }
  .riskmap__legend { position: static; margin-top: 8px; }
  .rp__counts { grid-template-columns: 1fr 1fr; }
}
.riskmap__shape, .riskmap__dots { pointer-events: none; }
.riskmap__map { padding-bottom: 52px; }
.riskmap > *, .riskmap__bar > *, .riskmap__body > * { min-width: 0; }
.riskmap__filters { max-width: 100%; }
.riskmap__filters .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 640px) { .rk { padding: 8px 10px 8px 8px; } .rk b { font-size: 17px; } .rk small { font-size: 11px; } }

/* Apoio */
.apoio { display: grid; justify-items: center; gap: 18px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.apoio__label { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.apoio__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 64px); }
.apoio__logos img { height: var(--h, 42px); width: auto; transition: transform .4s var(--ease-out), filter .4s; filter: saturate(.9); }
.apoio__logos li:hover img { transform: translateY(-3px) scale(1.04); filter: none; }
@media (max-width: 640px) { .apoio__logos { gap: 20px 28px; } .apoio__logos img { height: calc(var(--h, 42px) * .75); } }

/* Accident timeline */
.tl2 { --tlpad: max(var(--gutter), calc((var(--vw, 100vw) - var(--container)) / 2)); position: relative; margin-inline: calc(50% - var(--vw, 100vw) / 2); }
.tl2__track { position: relative; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tlpad); padding: 34px var(--tlpad) 10px; scrollbar-width: none; cursor: grab; outline: none; }
.tl2__track::-webkit-scrollbar { display: none; }
.tl2__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tl2__line { position: absolute; left: var(--tlpad); top: 40px; height: 2px; width: var(--lw, 100%); background: rgba(255,255,255,.08); pointer-events: none; }
.tl2__line i { position: absolute; inset: 0; width: var(--p, 0%); background: linear-gradient(90deg, #6fbaf0, #ff9f7a); }
.tl2__item { position: relative; flex: 0 0 clamp(220px, 22vw, 280px); scroll-snap-align: start; padding: 30px 22px 22px; border-radius: 20px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: 6px; align-content: start; transition: background .3s, box-shadow .3s, opacity .4s, transform .5s var(--ease-out); user-select: none; }
.tl2__item::before { content: ""; position: absolute; left: 22px; top: -20px; width: 12px; height: 12px; border-radius: 50%; background: #081a2c; box-shadow: inset 0 0 0 2px #6fbaf0; }
.tl2__item.is-br::before { box-shadow: inset 0 0 0 2px #ff9f7a; }
.tl2__item:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(111,186,240,.35); transform: translateY(-4px); }
.tl2__year { font: 500 12.5px var(--mono); color: #6fbaf0; letter-spacing: .04em; }
.tl2__item.is-br .tl2__year { color: #ff9f7a; }
.tl2__item b { color: #fff; font-size: 17px; letter-spacing: -0.01em; }
.tl2__item p { color: #93a7bc; font-size: 14px; }
.tl2__item--now { background: linear-gradient(135deg, rgba(40,148,225,.25), rgba(124,108,242,.15)); box-shadow: inset 0 0 0 1px rgba(111,186,240,.4); }
.tl2__item--now::before { background: #6fbaf0; box-shadow: 0 0 0 5px rgba(111,186,240,.2), 0 0 20px #6fbaf0; }
.tl2.is-br .tl2__item:not(.is-br):not(.tl2__item--now) { display: none; }
.tl2__ctrl { display: flex; align-items: center; gap: 14px; padding: 14px var(--tlpad) 0; }
.tl2__bar { flex: 1; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; position: relative; overflow: hidden; }
.tl2__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: #6fbaf0; border-radius: 2px; transition: left .2s, width .2s; }
.dark .icon-btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.dark .icon-btn:hover { background: #fff; color: var(--ink); }
.conseq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,.1); }
.conseq__item { padding: 26px 26px 6px 0; display: grid; gap: 8px; align-content: start; }
.conseq__item + .conseq__item { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.06); }
.conseq__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,159,122,.12); color: #ff9f7a; margin-bottom: 6px; }
.conseq__ico svg { width: 20px; height: 20px; }
.conseq__item b { color: #fff; font-size: 18px; }
.conseq__item p { color: #93a7bc; font-size: 14.5px; }
.brandval { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 22px 28px; border-radius: 20px; background: linear-gradient(90deg, rgba(255,159,122,.08), rgba(40,148,225,.06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brandval p { color: #c7d4e2; font-size: 17px; }
.brandval b { color: #fff; font-weight: 500; }
@media (max-width: 900px) { .conseq { grid-template-columns: 1fr 1fr; } .conseq__item:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .conseq { grid-template-columns: 1fr; } .conseq__item + .conseq__item { padding-left: 0; border-left: 0; } .brandval { grid-template-columns: 1fr; gap: 8px; } }

/* Benefits strip */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.benefit:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #d6e4f2, var(--shadow-lg); }
.benefit b { display: block; font-size: 16.5px; margin-bottom: 4px; letter-spacing: -0.01em; }
.benefit p { font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Roadmap AI */
.roadmap { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.road--ai { background: linear-gradient(135deg, var(--blue-50), #f3f0ff); box-shadow: inset 0 0 0 1px #d9e4f7; }
.road .chip svg { width: 13px; height: 13px; }
.section-head--center .seg { justify-self: center; }
.trust { padding-bottom: clamp(40px, 5vw, 64px); }

/* =================== v2.2 · revisão de 06/11/2026 =================== */

/* Accident ticker (substitui a linha do tempo) */
.ticker { --tlpad: max(var(--gutter), calc((var(--vw, 100vw) - var(--container)) / 2)); margin-inline: calc(50% - var(--vw, 100vw) / 2); }
.ticker__bar { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 0 var(--tlpad) 14px; }
.ticker__hint { font-size: 13px; color: #6f8399; }
.ticker__pause { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 13px; color: #cfe0f1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .25s; }
.ticker__pause:hover { background: rgba(255,255,255,.06); }
.ticker__pause svg { width: 14px; height: 14px; }
.ticker__viewport { overflow: hidden; padding-block: 6px; outline: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__viewport:focus-visible { box-shadow: inset 0 0 0 2px #6fbaf0; }
.ticker__track { display: flex; gap: 16px; width: max-content; animation: tick var(--dur, 60s) linear infinite; }
.ticker__viewport:hover .ticker__track, .ticker__viewport:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(calc(-50% - 8px)); } }
.acc-card { flex: 0 0 264px; display: grid; gap: 2px; align-content: start; padding: 22px 22px 18px; border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .3s, box-shadow .3s; }
.acc-card:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(111,186,240,.35); }
.acc-card__year { font-size: 44px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: #6fbaf0; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.acc-card.is-br .acc-card__year { color: #ff9f7a; }
.acc-card b { color: #fff; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.acc-card__where { color: #8299b0; font-size: 14px; margin-bottom: 12px; }
.acc-card__fig { color: #d6e2ee; font-size: 14.5px; padding-block: 7px; border-top: 1px solid rgba(255,255,255,.07); }
.ticker.is-static .ticker__track { animation: none; }
.ticker.is-static .ticker__viewport { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; padding-inline: var(--tlpad); }
.ticker.is-static .ticker__bar { display: none; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__viewport { overflow-x: auto; } }
@media (max-width: 640px) { .acc-card { flex-basis: 230px; padding: 18px; } .acc-card__year { font-size: 36px; } .ticker__hint { display: none; } }

.conseq__title { margin-top: clamp(56px, 7vw, 88px); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.03em; color: #fff; max-width: 24ch; }
.conseq__title + .conseq { margin-top: 26px; }

/* Pains as well-defined blocks */
.pains-head { display: flex; justify-content: space-between; align-items: end; gap: 8px 24px; flex-wrap: wrap; margin: clamp(56px, 6vw, 80px) 0 20px; }
.pains-head__title { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.025em; }
.pains-head .muted { font-size: 15px; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.pain { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-content: start; padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: box-shadow .3s; }
.pain:hover { background: #fff; box-shadow: inset 0 0 0 1px #f3c6cd, var(--shadow); }
.pain .pain__ico { grid-row: span 2; }
.pain h4 { font-size: 17px; align-self: center; }
.pain p { grid-column: 2; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } .pain { padding: 20px; } }

/* Central de benefícios */
.bc { margin-top: 20px; display: grid; grid-template-columns: minmax(280px, 380px) 1fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.bc > * { min-width: 0; }
.bc__side { padding: clamp(24px, 3vw, 36px); background: radial-gradient(120% 70% at 0% 0%, #12385a 0%, var(--navy-900) 60%); color: #cfe0f1; }
.bc__title { color: #fff; font-size: 26px; letter-spacing: -0.03em; }
.bc__intro { color: #8fa6bd; font-size: 14.5px; margin: 10px 0 22px; max-width: 34ch; }
.bc__tabs { display: grid; gap: 4px; }
.bc__tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; color: #b5c8db; text-align: left; font-size: 15px; transition: background .25s, color .25s, box-shadow .25s; }
.bc__tab:hover { background: rgba(255,255,255,.05); color: #fff; }
.bc__tab[aria-selected="true"] { background: rgba(40,148,225,.2); color: #fff; box-shadow: inset 3px 0 0 #6fbaf0; }
.bc__tab:focus-visible { outline-color: #6fbaf0; }
.bc__tab-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.06); color: #6fbaf0; }
.bc__tab-ico svg { width: 16px; height: 16px; }
.bc__main { padding: clamp(26px, 4.5vw, 64px); display: grid; align-content: center; }
.bc__panel { display: grid; gap: 14px; max-width: 60ch; }
.bc__panel:not([hidden]) { animation: panelIn .5s var(--ease-out); }
.bc__from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13.5px; margin-bottom: 4px; }
.bc__was { padding: 4px 10px; border-radius: 999px; background: #fdeef0; color: #a92033; text-decoration: line-through; text-decoration-color: rgba(169,32,51,.45); }
.bc__to { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-weight: 500; }
.bc__to svg { width: 14px; height: 14px; }
.bc__lead { font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -0.032em; line-height: 1.12; }
.bc__body { color: var(--muted); font-size: 16.5px; margin-bottom: 8px; }
.bc .label-sm { margin: 6px 0 0; }
@media (max-width: 900px) {
  .bc { grid-template-columns: 1fr; }
  .bc__tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; margin-inline: -4px; padding: 2px 4px; }
  .bc__tabs::-webkit-scrollbar { display: none; }
  .bc__tab { flex: none; width: auto; white-space: nowrap; padding: 8px 12px 8px 8px; }
  .bc__tab[aria-selected="true"] { box-shadow: inset 0 0 0 1px rgba(111,186,240,.5); }
}

/* Flags (idiomas) */
.flag { width: 16px; height: 16px; border-radius: 50%; overflow: hidden; display: inline-block; flex: none; box-shadow: 0 0 0 1px rgba(11,15,22,.08); }
.flag svg { width: 100%; height: 100%; }
.seg--flags button { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px 0 9px; }
@media (max-width: 1240px) and (min-width: 901px) { .seg--flags button { font-size: 0; gap: 0; padding: 0 10px; } .seg--flags button::after { content: attr(data-lang); font-size: 12.5px; text-transform: uppercase; margin-left: 6px; } }

/* Para quem: mapa dentro da aba Indústrias */
.aud__kicker { font-size: 14px; font-weight: 500; color: var(--blue-700); }
.aud__panel--map.is-active { grid-template-columns: 1fr; align-items: stretch; gap: clamp(20px, 3vw, 32px); }
.aud__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: end; padding: 6px; }
.aud__intro > * { min-width: 0; }
.aud__intro .aud__text { padding: 0; }
.aud__side { display: grid; gap: 14px; }
.aud__side .aud__list { margin: 0; }
.aud .riskmap { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
@media (max-width: 900px) { .aud__intro { grid-template-columns: 1fr; } }

/* Pricing: indústria x consultoria */
.price-ctrl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 6px; }
.seg--aud button { display: inline-flex; align-items: center; gap: 8px; }
.seg--aud svg { width: 16px; height: 16px; }
.seg button[hidden] { display: none; }
.plan__price[data-consult] { font-size: 38px; }

/* Focused screenshots (módulos e metodologias) */
.fshot { position: relative; display: block; width: 100%; aspect-ratio: var(--ar, 1.6); overflow: hidden; padding: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); cursor: zoom-in; isolation: isolate; }
.fshot img { position: absolute; left: 0; top: 0; z-index: -1; width: calc(100% * 100 / var(--zw)); max-width: none; height: auto; transform: translate(calc(var(--zx) * -1%), calc(var(--zy) * -1%)); transform-origin: 0 0; transition: transform 1.2s var(--ease-out); }
.fshot:hover img { transform: translate(calc(var(--zx) * -1%), calc(var(--zy) * -1%)) scale(1.02); }
.fshot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(11,15,22,.06); pointer-events: none; }
.fshot__tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 8px 12px 8px 10px; border-radius: 12px; background: rgba(11,15,22,.86); color: #fff; font-size: 13px; line-height: 1.3; text-align: left; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -10px rgba(11,15,22,.5); }
.fshot__tag svg { width: 15px; height: 15px; flex: none; color: #6fbaf0; }
.fshot__tag--tl { left: 14px; top: 14px; } .fshot__tag--tr { right: 14px; top: 14px; } .fshot__tag--bl { left: 14px; bottom: 14px; } .fshot__tag--br { right: 14px; bottom: 14px; }
.mod-panel__vis .fshot { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
@media (max-width: 640px) { .fshot__tag { font-size: 12px; padding: 6px 10px 6px 8px; } }

/* Contact modal */
dialog.cmodal { width: min(680px, 100% - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; overflow: visible; color: var(--ink); }
dialog.cmodal::backdrop { background: rgba(6, 12, 20, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmodal__box { display: grid; gap: 18px; max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: clamp(22px, 3.2vw, 36px); border-radius: 28px; background: #fff; box-shadow: 0 40px 120px -30px rgba(0,0,0,.55); }
dialog.cmodal[open] .cmodal__box { animation: cmIn .45s var(--ease-out); }
@keyframes cmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.cmodal__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cmodal__title { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; }
.cmodal__sub { margin-top: 8px; max-width: 52ch; color: var(--muted); font-size: 15px; }
.cmodal__close { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s; }
.cmodal__close:hover { background: var(--bg-soft); }
.cmodal__close svg { width: 20px; height: 20px; }
.cmodal .form { padding: 0; border-radius: 0; box-shadow: none; }
.cmodal__alt { padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.cmodal__alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-700); font-weight: 500; }
.cmodal__alt svg { width: 16px; height: 16px; }
.cmodal .form.is-sent ~ .cmodal__alt { display: none; }
html.has-modal { overflow: hidden; }
@media (max-width: 560px) {
  dialog.cmodal { width: 100%; max-height: 100dvh; margin: auto 0 0; }
  .cmodal__box { max-height: 92dvh; border-radius: 24px 24px 0 0; }
}
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__group legend { padding: 0; margin-bottom: 10px; }
.bc__panel[hidden] { display: none; }

/* Tour guiado (software) */
.gt { display: grid; gap: 22px; scroll-margin-top: 100px; }
.gt__rail { display: grid; grid-template-columns: 4fr 4fr 3fr minmax(170px, 1.7fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gt__chap { display: grid; gap: 10px; min-width: 0; padding: 14px 16px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s; }
.gt__chap.is-on { background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue); }
.gt__chap-name { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt__chap-name b { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12.5px; font-weight: 600; background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.gt__chap.is-on .gt__chap-name, .gt__chap.is-done .gt__chap-name { color: var(--ink); }
.gt__chap.is-on .gt__chap-name b { background: var(--blue); color: #fff; box-shadow: none; }
.gt__chap.is-done .gt__chap-name b { background: var(--ink); color: #fff; box-shadow: none; }
.gt__dots { display: flex; gap: 6px; }
.gt__dot { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.gt__dot::before { content: ""; position: absolute; inset: -10px 0; }
.gt__dot.is-done { background: var(--ink-2); }
.gt__dot.is-on { background: var(--blue); }
.gt__dot:hover:not(.is-on) { background: #b9c6d6; }
.gt__dot span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); padding: 5px 9px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 3; }
.gt__dot:hover span, .gt__dot:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.gt .tour__stage { grid-template-columns: 1fr 360px; }
.gt__where { display: grid; gap: 2px; font-size: 13px; color: var(--faint); }
.gt__where span { color: var(--blue-700); font-weight: 500; font-size: 14px; }
.gt .tour__text h2 { outline: none; }
.gt__keys { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.gt__keys li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 12px; font-size: 14.5px; color: var(--ink-2); transition: background .2s; cursor: default; }
.gt__keys li.is-hot { background: var(--blue-50); }
.gt__key { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gt__keys li.is-hot .gt__key { background: var(--blue); }
.gt__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gt__nav .btn[disabled] { opacity: .4; pointer-events: none; }
.gt__nav [hidden] { display: none; }
.gt .screen { position: relative; }
.hs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.screen.is-alt .hs { display: none; }
.hs__pt { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 0 0 3px #fff, 0 6px 16px -4px rgba(11,15,22,.5); pointer-events: auto; cursor: default; transition: transform .3s var(--ease-out), background .2s; }
.hs__pt::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(40,148,225,.55); }
.hs.is-in .hs__pt { animation: hsIn .6s var(--ease-out) both; animation-delay: calc(250ms + var(--k) * 180ms); }
.hs.is-in .hs__pt::after { animation: hsRing 1.4s ease-out 1 both; animation-delay: calc(450ms + var(--k) * 180ms); }
@keyframes hsIn { from { opacity: 0; transform: scale(.4); } }
@keyframes hsRing { from { box-shadow: 0 0 0 0 rgba(40,148,225,.55); } to { box-shadow: 0 0 0 16px rgba(40,148,225,0); } }
.hs__pt.is-hot { background: var(--blue); transform: scale(1.18); }
@media (max-width: 1000px) {
  .gt__rail { grid-template-columns: repeat(4, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .gt__rail::-webkit-scrollbar { display: none; }
  .gt .tour__stage { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gt__rail { grid-template-columns: repeat(4, minmax(132px, 1fr)); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .gt__chap { padding: 12px; }
  .gt__chap-name { font-size: 13px; }
  .hs__pt { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 11px; box-shadow: 0 0 0 2px #fff; }
  .gt__nav { position: sticky; bottom: 10px; z-index: 5; padding: 8px; margin-inline: -8px; border-radius: 999px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
  .gt__nav .btn { height: 44px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 640px) {
  .gt__chap-name { white-space: normal; line-height: 1.2; }
  .gt__rail { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
  .gt .tour__info > .note { display: none; }
}
.method__vis { background: radial-gradient(120% 90% at 0% 0%, var(--blue-100), var(--bg-soft) 62%); padding: clamp(16px, 2.6vw, 32px); }
.method__vis .fshot { box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.bc--after-pains { margin-top: clamp(40px, 5vw, 64px); }
.gt__next { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.gt__next b { color: var(--ink); font-weight: 500; }
.gt__next[hidden] { display: none; }

/* Dores e benefícios por público */
[data-aud-panel][hidden] { display: none !important; }
.pains-head { align-items: center; }
.pains-head__text { display: grid; gap: 6px; }
.pains[data-aud-panel]:not([hidden]), .bc[data-aud-panel]:not([hidden]) { animation: panelIn .5s var(--ease-out); }
@media (max-width: 640px) { .pains-head .seg--aud { width: 100%; } .pains-head .seg--aud button { flex: 1; justify-content: center; padding: 0 10px; } }

/* Software: consultoria x indústria */
[data-sw-panel][hidden] { display: none !important; }
.gt__body { display: grid; gap: 22px; }
.gt__aud { display: flex; justify-content: center; }
.soon-tag { display: inline-flex; margin-left: 4px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 500; background: #f3f0ff; color: #5b4bd6; }
.gt__soon { display: grid; justify-items: center; gap: 14px; max-width: 720px; margin: 8px auto 0; padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px); border-radius: 28px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, var(--blue-50), #fff 70%); box-shadow: inset 0 0 0 1px var(--line); }
.gt__soon .muted { max-width: 58ch; }
.gt__soon-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.gt__soon-ico svg { width: 24px; height: 24px; }
.gt__soon-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
@media (max-width: 520px) { .gt__aud .seg { width: 100%; } .gt__aud .seg button { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; } .soon-tag { display: none; } }
