/* Theme "open" for the Salesforce site.
   Look inspired by Cruip Open (https://cruip.com/, MIT): near-black navy, Inter, indigo accents,
   floating pill header, soft radial glows, 1px translucent card borders, gradient dividers.
   Markup is the generator default (see www/_src/themes/THEMES.md). */

:root {
  --bg: #030712;
  --bg-2: #0b1120;
  --bg-3: #111827;
  --bg-4: #1f2937;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e5e7eb;
  --white: #ffffff;
  --soft: #b6bcc9;
  --muted: #9ca3af;
  --indigo: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-300: #a5b4fc;
  --indigo-200: #c7d2fe;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --wrap: 1120px;
  --gutter: 16px;
  --grad-text: linear-gradient(90deg, #e5e7eb 0%, #c7d2fe 45%, #f9fafb 100%);
  --grad-accent: linear-gradient(90deg, #6366f1 0%, #c7d2fe 100%);
  --grad-rule: linear-gradient(90deg, transparent, rgba(148, 163, 184, .28), transparent);
  --grad-btn: linear-gradient(0deg, #4f46e5 0%, #6366f1 100%);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .6);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--indigo-300); text-decoration: none; }
a:hover { color: var(--indigo-200); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--white); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1em; }
strong { color: var(--white); font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.measure { max-width: 42rem; }
.measure-wide { max-width: 52rem; }
.small, .meta { font-size: .875rem; color: var(--muted); }
:focus-visible { outline: 2px solid var(--indigo-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(99, 102, 241, .45); color: #fff; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 600;
}
.skip:focus { top: 16px; text-decoration: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 11px 20px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--grad-btn); color: #fff; font-weight: 500; font-size: .95rem; line-height: 1.2; font-family: inherit;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 10px 30px -10px rgba(99, 102, 241, .7);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 34px -10px rgba(99, 102, 241, .9); }
.btn:active { transform: translateY(0); }
.btn::after { content: "\2192"; font-weight: 400; opacity: .8; }
.btn.ghost, .btn.small {
  background: linear-gradient(180deg, rgba(31, 41, 55, .9), rgba(17, 24, 39, .95));
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
}
.btn.ghost:hover { color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset; }
.btn.ghost::after { content: none; }
.btn.small { padding: 8px 14px; font-size: .875rem; background: var(--grad-btn); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 8px 24px -10px rgba(99, 102, 241, .8); }
.btn.small::after { content: none; }

/* ------------------------------------------------------------ header (floating pill) */
.top2 {
  position: sticky; top: 12px; z-index: 40;
  padding: 0 var(--gutter);
}
.top2 > .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px; padding: 0 10px 0 14px;
  border-radius: 16px;
  background: rgba(17, 24, 39, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 30px -10px rgba(0, 0, 0, .7);
  transition: box-shadow .2s ease;
}
.top2.scrolled > .wrap { box-shadow: 0 0 0 1px rgba(255, 255, 255, .11) inset, 0 20px 40px -14px rgba(0, 0, 0, .9); }
.brand2 { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand2:hover { color: #fff; text-decoration: none; }
.brand2::before {
  content: ""; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg, #818cf8, #4f46e5, #a5b4fc, #6366f1, #818cf8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 6px 16px -6px rgba(99, 102, 241, .9);
}
.brand2 .b-name { font-weight: 600; font-size: .95rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand2 .b-tag { display: none; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-btn {
  display: none; margin-left: auto; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 0; background: rgba(31, 41, 55, .9); color: var(--text); font-weight: 500; font-size: .875rem; line-height: 1.2; font-family: inherit;
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.menu-btn[aria-expanded="true"] { background: var(--indigo-600); color: #fff; }
.nav2 { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.nav2 ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav2 li { position: relative; }
.nav2 li > a, .nav2 li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 11px; border-radius: 9px; border: 0; background: transparent; cursor: pointer;
  color: var(--soft); font-family: inherit; font-weight: 500; font-size: .9rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.nav2 li > a:hover, .nav2 li > button:hover, .nav2 li.open > button { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.nav2 li > a[aria-current="page"], .nav2 li.cur > button { color: #fff; }
.nav2 li > a[aria-current="page"]::after, .nav2 li.cur > button::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-accent);
}
.nav2 li.has-sub > button::after { content: none; }
.nav2 li.has-sub > button::before {
  content: ""; width: 7px; height: 7px; order: 2; margin-left: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
  opacity: .7; transition: transform .15s ease;
}
.nav2 li.has-sub.open > button::before { transform: translateY(1px) rotate(225deg); }
.nav2 li.cur > button { box-shadow: 0 2px 0 -0px transparent; }
.nav2 li.cur > button > span { position: relative; }
.nav2 .sub {
  position: absolute; left: -8px; top: calc(100% + 10px); z-index: 50;
  display: none; flex-direction: column; gap: 2px; min-width: 330px; padding: 8px;
  border-radius: 14px; background: rgba(11, 17, 32, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(99, 102, 241, .35);
}
.nav2 .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav2 li.has-sub.open > .sub { display: flex; }
.nav2 .sub li { width: 100%; }
.nav2 .sub a {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; padding: 9px 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; white-space: normal; text-align: left;
}
.nav2 .sub a:hover, .nav2 .sub a[aria-current="page"] { background: rgba(99, 102, 241, .14); color: #fff; }
.nav2 .sub a strong { color: #fff; font-weight: 600; font-size: .9rem; }
.nav2 .sub a span { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.nav-extra { display: flex; align-items: center; gap: 8px; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line); }
.nav-extra .lang {
  padding: 8px 12px; border-radius: 9px; color: var(--soft); font-size: .875rem; font-weight: 500; text-decoration: none;
  background: rgba(31, 41, 55, .9); box-shadow: 0 0 0 1px var(--line-2) inset;
}
.nav-extra .lang:hover { color: #fff; }

/* ------------------------------------------------------------ breadcrumbs */
.crumbs { position: relative; z-index: 1; padding-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .25); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--soft); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -120px -10% auto -10%; height: 640px; pointer-events: none;
  background:
    radial-gradient(520px 320px at 50% 0%, rgba(99, 102, 241, .32), transparent 70%),
    radial-gradient(900px 420px at 60% 10%, rgba(79, 70, 229, .14), transparent 70%),
    radial-gradient(400px 260px at 12% 30%, rgba(129, 140, 248, .10), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 1000px; height: 560px; pointer-events: none;
  transform: translateX(-50%) rotate(-12deg);
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, .07) 45%, rgba(165, 180, 252, .09) 50%, rgba(99, 102, 241, .07) 55%, transparent 100%);
  filter: blur(24px);
}
.hero2 > .wrap { padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.hero2 > .wrap > div:first-child { max-width: 54rem; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-size: .9rem; font-weight: 500; letter-spacing: 0;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker::before, .kicker::after { content: ""; width: 44px; height: 1px; background: var(--grad-rule); opacity: .9; flex: 0 0 auto; }
.hero h1 {
  margin-bottom: 20px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--soft); margin: 0 auto 28px; max-width: 46rem; }
.hero .meta { margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.proof { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .875rem; color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 10px rgba(99, 102, 241, .9); }

/* hero data panel */
.panel {
  position: relative; width: 100%; max-width: 760px; margin: 0; padding: 26px 28px 20px 30px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 41, 55, .65), rgba(11, 17, 32, .92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 100px -30px rgba(99, 102, 241, .45), 0 30px 60px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #a5b4fc, #6366f1 50%, rgba(99, 102, 241, .2)); }
.panel::after {
  content: ""; position: absolute; inset: -40% auto auto -20%; width: 70%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent); filter: blur(10px);
}
.panel h2 { position: relative; font-size: .95rem; font-weight: 600; margin: 0 0 14px; color: #fff; display: flex; align-items: center; gap: 10px; }
.panel h2::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo-300); box-shadow: 0 0 12px rgba(165, 180, 252, .9); }
.panel .row {
  position: relative; display: grid; grid-template-columns: 1fr auto 10px; align-items: center; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem;
  animation: row-in .5s ease both; animation-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.panel .row .k { color: var(--muted); }
.panel .row .v { color: #fff; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.panel .row .s { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.panel .row .s.ok { background: var(--ok); box-shadow: 0 0 10px rgba(52, 211, 153, .8); }
.panel .row .s.warn { background: var(--warn); box-shadow: 0 0 10px rgba(251, 191, 36, .8); }
.panel .row.time .k { font-variant-numeric: tabular-nums; color: var(--indigo-300); }
.panel .cap { position: relative; margin: 14px 0 0; font-size: .78rem; color: var(--muted); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* sub-page hero */
.hero.sub > .wrap { padding-top: 36px; padding-bottom: 36px; }
.hero.sub .measure-wide { margin: 0 auto; text-align: center; max-width: 56rem; }
.hero.sub .meta { font-size: .875rem; color: var(--indigo-300); }
.hero.sub h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }

/* ------------------------------------------------------------ sections */
.sec { position: relative; }
.sec > .wrap { padding-top: 72px; padding-bottom: 72px; }
.hero + .sec > .wrap, .sec + .sec > .wrap, .band + .sec > .wrap {
  border-top: 1px solid transparent;
  border-image: var(--grad-rule) 1;
}
.sec.tint { background: radial-gradient(60% 320px at 50% 0%, rgba(99, 102, 241, .09), transparent 70%); }
.sec > .wrap > h2 { text-align: center; max-width: 44rem; margin: 0 auto 16px; }
.sec > .wrap > h2::before {
  content: ""; display: block; width: 140px; height: 1px; margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--indigo-300), transparent);
}
.sec > .wrap > .intro { text-align: center; max-width: 44rem; margin: -4px auto 44px; font-size: 1.1rem; line-height: 1.6; color: var(--soft); }
.sec > .wrap > h2 + :not(.intro) { margin-top: 40px; }
.measure.after { margin: 36px auto 0; text-align: center; color: var(--muted); }
.measure.after p { margin: 0; }
p.after { text-align: center; margin: 40px 0 0; }

/* cards (shared) */
.items > li, .cases > li, .articles > li, .stories > li, .check-groups > div, .timeline > li > div:last-child, .related {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 41, 55, .55), rgba(17, 24, 39, .75));
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-card);
}

/* who */
.who { list-style: none; margin: 0 auto; padding: 0; max-width: 60rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.who li {
  position: relative; padding: 14px 16px 14px 48px; border-radius: 12px; color: var(--soft);
  background: rgba(17, 24, 39, .55); box-shadow: 0 0 0 1px var(--line) inset;
}
.who li::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(99, 102, 241, .18); box-shadow: 0 0 0 1px rgba(129, 140, 248, .5) inset;
}
.who li::after {
  content: ""; position: absolute; left: 23px; top: 20px; width: 5px; height: 9px;
  border-right: 2px solid var(--indigo-200); border-bottom: 2px solid var(--indigo-200); transform: rotate(45deg);
}

/* grid items */
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.items.wide { grid-template-columns: repeat(2, 1fr); }
.items > li { position: relative; padding: 24px 24px 22px; display: flex; flex-direction: column; }
.items > li::before {
  content: ""; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .35), rgba(99, 102, 241, .08));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, .35) inset, 0 0 24px -6px rgba(99, 102, 241, .8);
  position: relative;
}
.items > li::after {
  content: ""; position: absolute; left: 36px; top: 36px; width: 10px; height: 10px; border-radius: 3px;
  background: var(--indigo-200); box-shadow: 0 0 10px rgba(199, 210, 254, .9);
}
.items > li h3 { font-size: 1.05rem; margin-bottom: 8px; }
.items > li h3 a { color: #fff; }
.items > li h3 a:hover { color: var(--indigo-200); text-decoration: none; }
.items > li p { color: var(--muted); font-size: .95rem; margin: 0 0 .6em; }
.items > li p:last-child { margin-bottom: 0; }
.items > li ul, .items > li ol { color: var(--muted); font-size: .95rem; padding-left: 1.2em; }
.items > li .more { margin-top: auto; padding-top: 10px; font-size: .9rem; }
.items > li .more a { font-weight: 500; }
.items > li .more a::after { content: " \2192"; }
.items.linked > li { transition: transform .2s ease, box-shadow .2s ease; }
.items.linked > li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(129, 140, 248, .35) inset, 0 24px 60px -24px rgba(99, 102, 241, .5); }
.items.cards > li::before { background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 10px 24px -8px rgba(99, 102, 241, .9); }
.items.cards > li::after { background: #fff; box-shadow: none; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps > li { position: relative; counter-increment: step; padding-top: 58px; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
  font-size: .85rem; font-weight: 600; color: var(--indigo-200);
  background: rgba(99, 102, 241, .14); box-shadow: 0 0 0 1px rgba(129, 140, 248, .45) inset, 0 0 24px -6px rgba(99, 102, 241, .8);
}
.steps > li::after { content: ""; position: absolute; left: 54px; right: -24px; top: 21px; height: 1px; background: var(--grad-rule); }
.steps > li:last-child::after { content: none; }
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* prose */
.sec > .wrap > .measure:not(.after), .sec > .wrap > .cols { margin-left: auto; margin-right: auto; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 60rem; }
.cols .measure { max-width: none; }
.cols h3 { font-size: 1.05rem; margin: 0 0 10px; }
.sec .measure p, .sec .measure li { color: var(--soft); }
.sec .measure ul, .sec .measure ol { padding-left: 1.3em; }
.sec .measure li { margin-bottom: .4em; }
.sec .measure li::marker { color: var(--indigo-300); }
.callout {
  position: relative; max-width: 50rem; margin: 0 auto 36px; padding: 22px 26px 22px 30px; border-radius: 14px;
  font-size: 1.1rem; line-height: 1.55; color: #fff; font-weight: 500;
  background: linear-gradient(90deg, rgba(99, 102, 241, .16), rgba(99, 102, 241, .05));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, .3) inset, 0 20px 60px -30px rgba(99, 102, 241, .6);
}
.callout::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad-accent); }

/* numbers */
.numbers { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 0; }
.numbers li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 16px; border-left: 1px solid var(--line); }
.numbers li:first-child { border-left: 0; }
.numbers .n {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em;
}
.numbers .l { font-size: .875rem; color: var(--muted); margin-top: 4px; max-width: 14rem; }

/* compare table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line) inset; background: rgba(11, 17, 32, .6); }
.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.45; }
.compare thead th { border-top: 0; font-size: .8rem; font-weight: 600; color: var(--soft); background: rgba(31, 41, 55, .5); }
.compare tbody th { color: #fff; font-weight: 600; width: 18%; }
.compare th.me, .compare td.me { background: rgba(99, 102, 241, .12); color: #fff; box-shadow: 1px 0 0 rgba(129, 140, 248, .35) inset, -1px 0 0 rgba(129, 140, 248, .35) inset; }
.compare thead th.me { color: var(--indigo-200); box-shadow: 1px 0 0 rgba(129, 140, 248, .35) inset, -1px 0 0 rgba(129, 140, 248, .35) inset, 0 -2px 0 var(--indigo) inset; }
.compare tr:hover td { background: rgba(255, 255, 255, .02); }
.compare tr:hover td.me { background: rgba(99, 102, 241, .16); }

/* cases */
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cases > li { padding: 24px; display: flex; flex-direction: column; }
.cases h3 { font-size: 1.05rem; margin-bottom: 14px; }
.facts { list-style: none; margin: 0 0 16px; padding: 0; font-size: .875rem; }
.facts li { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts span:first-child { color: var(--indigo-300); font-weight: 500; }
.facts span:last-child { color: var(--soft); }
.cases > li > p { color: var(--muted); font-size: .95rem; margin: 0; }
.note { text-align: center; margin: 24px 0 0; }

/* articles */
.articles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.articles > li { padding: 24px; display: flex; flex-direction: column; }
.articles .meta { font-size: .78rem; color: var(--indigo-300); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.articles .meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 10px rgba(99, 102, 241, .9); }
.articles .meta:empty { display: none; }
.articles h3 { font-size: 1.05rem; margin-bottom: 10px; }
.articles h3 a { color: #fff; }
.articles h3 a:hover { color: var(--indigo-200); text-decoration: none; }
.articles h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.articles > li { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.articles > li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(129, 140, 248, .35) inset, 0 24px 60px -24px rgba(99, 102, 241, .5); }
.articles > li > p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* chips */
.chip-group { max-width: 60rem; margin: 0 auto 26px; }
.chip-group:last-child { margin-bottom: 0; }
.chip-group h3 { font-size: .875rem; font-weight: 500; color: var(--muted); margin: 0 0 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--indigo-200);
  background: linear-gradient(180deg, rgba(99, 102, 241, .16), rgba(99, 102, 241, .06));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, .3) inset;
}

/* audit */
.stories { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stories > li { position: relative; padding: 26px 24px 22px; color: var(--soft); font-size: .95rem; line-height: 1.55; }
.stories > li::before {
  content: "\201C"; position: absolute; left: 20px; top: 6px; font-size: 3.2rem; line-height: 1; font-weight: 600;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .8;
}
.stories > li { padding-top: 48px; }
.sub-h { text-align: center; font-size: 1.35rem; margin: 48px 0 24px; }
.check-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.check-groups > div { padding: 22px 22px 16px; }
.check-groups h3 { font-size: 1rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--indigo-200); }
.check-groups ol { list-style: none; margin: 0; padding: 0; }
.check-groups li { position: relative; display: list-item; padding: 8px 0 8px 38px; font-size: .92rem; color: var(--soft); line-height: 1.5; }
.check-groups li::before {
  content: counter(list-item); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 6px 14px -6px rgba(99, 102, 241, .9);
}
.cols.after { margin-top: 44px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; max-width: none; }
.cols.after .measure { padding: 22px 22px 8px; border-radius: var(--radius); background: rgba(17, 24, 39, .5); box-shadow: 0 0 0 1px var(--line) inset; }
.cols.after h3 { color: #fff; }

/* timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 56rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 139px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, transparent, rgba(129, 140, 248, .5), transparent); }
.timeline > li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 0 0 20px; }
.timeline > li::before {
  content: ""; position: absolute; left: 134px; top: 22px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--indigo); box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(99, 102, 241, .9);
}
.timeline .when { padding-top: 18px; text-align: right; font-size: .875rem; font-weight: 500; color: var(--indigo-300); font-variant-numeric: tabular-nums; }
.timeline > li > div:last-child { padding: 18px 22px; }
.timeline h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: .95rem; margin: 0; }

/* faq */
.faq { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 44px 18px 0;
  font-weight: 600; color: #fff; font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--indigo-300); transform: translateY(-50%); transition: transform .2s ease;
}
.faq summary::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(0); }
.faq summary:hover { color: var(--indigo-200); }
.faq .a { padding: 0 44px 20px 0; color: var(--soft); }
.faq .a p { margin: 0; }
.faq .a p + p { margin-top: .6em; }

/* band (CTA) */
.band { position: relative; padding: 40px 0; }
.band > .wrap > div, .band > .wrap { }
.band > .wrap {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 44px 48px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 41, 55, .55), rgba(11, 17, 32, .85));
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 40px 100px -40px rgba(99, 102, 241, .5);
}
.band > .wrap::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -60%; width: 70%; height: 160%; pointer-events: none;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, .28), transparent); filter: blur(20px);
}
.band p { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band .band-sub { margin-top: 8px; font-size: 1rem; font-weight: 400; letter-spacing: 0; background: none; color: var(--soft); }
.band .btn { flex: 0 0 auto; }

/* form */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: start; }
.form-wrap .aside h2 { text-align: left; margin: 0 0 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-wrap .aside > p { color: var(--soft); }
.contact { list-style: none; margin: 20px 0 0; padding: 0; font-size: .95rem; color: var(--soft); }
.contact li { padding: 10px 0; border-top: 1px solid var(--line); }
.contact li:last-child { border-bottom: 1px solid var(--line); }
.form {
  padding: 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(31, 41, 55, .5), rgba(11, 17, 32, .85));
  box-shadow: 0 0 0 1px var(--line) inset, var(--shadow-card);
}
.form .f { margin-bottom: 16px; }
.form label, .form .lbl { display: block; font-size: .875rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input:not([type]), .form select, .form textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(3, 7, 18, .6); color: #fff; font-weight: 400; font-size: .95rem; line-height: 1.4; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.form select option { background: #0b1120; color: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6b7280; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99, 102, 241, .3); }
.form .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.form .checks label, .form .consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--soft); font-size: .9rem; margin: 0; cursor: pointer; }
.form input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--indigo); }
.form .consent { margin: 18px 0; font-size: .85rem; }
.form .consent a { text-decoration: underline; text-underline-offset: 2px; }
.form .btn { width: 100%; }
.form .status { margin: 12px 0 0; font-size: .9rem; color: var(--soft); min-height: 1.2em; }
.form .status:empty { display: none; }
.form .status.ok { color: var(--ok); }
.form .status.err { color: #fca5a5; }
.form .alt { margin: 14px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------ article */
.sec.article > .wrap { padding-top: 24px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; max-width: 70rem; margin: 0 auto; }
.body { max-width: 44rem; font-size: 1.05rem; }
.body p, .body li { color: var(--soft); }
.body h2 { font-size: 1.55rem; margin: 2em 0 .6em; padding-top: 1.2em; border-top: 1px solid transparent; border-image: var(--grad-rule) 1; }
.body h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.body ul, .body ol { padding-left: 1.4em; }
.body li { margin-bottom: .45em; }
.body li::marker { color: var(--indigo-300); font-weight: 600; }
.body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(165, 180, 252, .5); }
.body a:hover { text-decoration-color: currentColor; }
.body blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-radius: 14px; font-size: 1.05rem;
  background: linear-gradient(90deg, rgba(99, 102, 241, .14), rgba(99, 102, 241, .04));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, .3) inset; position: relative;
}
.body blockquote::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad-accent); }
.body blockquote p { margin: 0; color: #fff; }
.body blockquote p + p { margin-top: .6em; }
.body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
.body th, .body td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--soft); }
.body thead th { border-top: 0; color: #fff; font-weight: 600; background: rgba(31, 41, 55, .5); }
.body tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; padding: .1em .4em; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--indigo-200); }
.body hr { border: 0; height: 1px; margin: 2em 0; background: var(--grad-rule); }
.related { position: sticky; top: 92px; padding: 20px 22px; }
.related h2 { font-size: .8rem; font-weight: 600; color: var(--indigo-300); margin: 0 0 12px; text-align: left; }
.related h2::before { content: none; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--line); }
.related li a { display: block; padding: 10px 0; font-size: .92rem; color: var(--soft); }
.related li a:hover { color: #fff; text-decoration: none; }
.related li a::after { content: " \2192"; color: var(--indigo-300); }

/* ------------------------------------------------------------ footer */
.foot2 { position: relative; margin-top: 40px; overflow: hidden; }
.foot2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad-rule); }
.foot2::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 420px; pointer-events: none;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(99, 102, 241, .22), transparent); filter: blur(30px);
}
.foot2 > .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 28px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.foot-brand .b-name { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.foot-brand .b-name::before {
  content: ""; width: 22px; height: 22px; border-radius: 7px;
  background: conic-gradient(from 210deg, #818cf8, #4f46e5, #a5b4fc, #6366f1, #818cf8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset;
}
.foot-brand p { color: var(--muted); font-size: .9rem; max-width: 30rem; }
.foot-brand .contact { margin-top: 8px; font-size: .9rem; color: var(--soft); }
.foot-brand .contact li { padding: 6px 0; border: 0; }
.foot2 h3 { font-size: .875rem; font-weight: 600; color: #fff; margin: 0 0 14px; }
.foot2 ul { list-style: none; margin: 0; padding: 0; }
.foot2 ul li { margin-bottom: 8px; }
.foot2 ul a { color: var(--muted); font-size: .9rem; }
.foot2 ul a:hover { color: var(--indigo-200); text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------ responsive */
@media (min-width: 640px) { :root { --gutter: 24px; } }
/* podpis przy logo ukryty: w pasku menu nie ma na niego miejsca (nachodził na "Usługi") */

@media (max-width: 1100px) {
  .top2 { top: 8px; }
  .top2 > .wrap { flex-wrap: wrap; height: auto; min-height: 54px; padding: 0 8px 0 14px; }
  .brand2 { height: 54px; }
  .menu-btn { display: inline-flex; }
  .nav2 {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 90px); overflow: auto;
    padding: 10px; border-radius: 16px; background: rgba(11, 17, 32, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 30px 60px -20px rgba(0, 0, 0, .9);
  }
  .nav2.open { display: flex; }
  .nav2 ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav2 li > a, .nav2 li > button { width: 100%; justify-content: space-between; padding: 12px 12px; font-size: 1rem; }
  .nav2 li > a[aria-current="page"]::after, .nav2 li.cur > button::after { content: none; }
  .nav2 li > a[aria-current="page"], .nav2 li.cur > button { background: rgba(99, 102, 241, .14); }
  .nav2 .sub { position: static; min-width: 0; padding: 4px 0 8px 12px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav2 .sub::before { content: none; }
  .nav-extra { margin: 8px 0 0; padding: 12px 4px 4px; border-left: 0; border-top: 1px solid var(--line); justify-content: space-between; }
  .nav-extra .btn.small { flex: 1 1 auto; }
  .hero2 > .wrap { padding-top: 72px; }
}

@media (max-width: 900px) {
  .items, .items.wide, .cases, .articles, .stories, .check-groups, .cols.after { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .related { position: static; }
  .band > .wrap { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
  .sec > .wrap { padding-top: 56px; padding-bottom: 56px; }
  .timeline::before { left: 5px; }
  .timeline > li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .timeline > li::before { left: 0; top: 6px; }
  .timeline .when { text-align: left; padding-top: 0; }
}

@media (max-width: 640px) {
  .items, .items.wide, .cases, .articles, .stories, .check-groups, .cols.after, .cols, .who, .form .checks { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .numbers li { border-left: 0; }
  .numbers li:nth-child(even) { border-left: 1px solid var(--line); }
  .steps { gap: 20px; }
  .steps > li { padding-top: 0; padding-left: 58px; }
  .steps > li::after { left: 21px; right: auto; top: 50px; bottom: -22px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(129, 140, 248, .5), transparent); }
  .hero2 > .wrap { padding-top: 60px; padding-bottom: 40px; gap: 40px; }
  .hero .lead { font-size: 1.02rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .kicker { gap: 10px; font-size: .82rem; }
  .kicker::before, .kicker::after { width: 22px; }
  .panel { padding: 20px 18px 16px 20px; }
  .panel .row { grid-template-columns: 1fr 10px; gap: 4px 12px; }
  .panel .row .v { grid-column: 1; text-align: left; }
  .panel .row .s { grid-column: 2; grid-row: 1; }
  .callout { font-size: 1rem; padding: 18px 20px 18px 24px; }
  .band > .wrap { padding: 28px 22px; border-radius: 18px; }
  .band .btn { width: 100%; }
  .form { padding: 20px 16px; }
  .sec > .wrap > h2 { margin-bottom: 12px; }
  .sec > .wrap > .intro { font-size: 1rem; margin-bottom: 32px; }
  .facts li { grid-template-columns: 76px 1fr; }
  .body { font-size: 1rem; }
  .crumbs ol { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .top2 > .wrap { padding-left: 12px; }
  .brand2 .b-name { font-size: .88rem; }
  .btn { padding: 11px 16px; }
}

/* ------------------------------------------------------------ motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; color: #000; }
  .top2, .skip, .band, .foot2::after, .hero::before, .hero::after { display: none; }
}
