/* =========================================================
   VATCHECK — Home
   ========================================================= */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --navy-900: #0A1F44;
  --navy-800: #0E2A5C;
  --primary: #0E3A8A;
  --primary-hover: #0B2F72;
  --blue-600: #1D4ED8;
  --blue-500: #2F63D6;
  --blue-100: #E8EFFC;
  --blue-50: #F2F6FD;
  --text: #1F2A44;
  --muted: #56617A;
  --line: #E1E8F3;
  --line-strong: #CBD6E8;
  --green: #1FA35B;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 92, .06);
  --shadow: 0 6px 20px -8px rgba(14, 42, 92, .18), 0 1px 3px rgba(14, 42, 92, .06);
  --shadow-lg: 0 18px 40px -16px rgba(14, 42, 92, .28);
  --container: 1200px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
sup { font-size: .45em; vertical-align: super; line-height: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.section { padding-top: 56px; padding-bottom: 8px; }
.section-sm { padding-top: 40px; }

/* ---------- Icons ---------- */
.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ico--xs { width: 14px; height: 14px; stroke-width: 2.2; }
.ico--sm { width: 16px; height: 16px; stroke-width: 2.2; }
.ico--md { width: 20px; height: 20px; }
.ico--lg { width: 22px; height: 22px; }
.ico--xl { width: 32px; height: 32px; stroke-width: 1.6; }
.ico--fill { fill: currentColor; }
.flag { width: 21px; height: 14px; flex: none; border-radius: 2px; }
.flag--lg { width: 30px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px -4px rgba(14, 58, 138, .5); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--blue-50); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--xs { height: 34px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(2px); }
.btn--xs:hover .ico { transform: none; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #062457; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { font-weight: 900; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.logo__accent { color: #0145AB; }
.logo__accent sup { font-size: .5em; font-weight: 700; margin-left: 1px; }
.logo--lg .logo__mark { width: 40px; height: 40px; }
.logo--lg .logo__text { font-size: 25px; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 40px; }
.nav { display: flex; align-items: center; flex: 1; justify-content: space-between; }
.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14.5px; font-weight: 500; color: var(--navy-900);
  height: var(--header-h);
  transition: color .2s;
}
.nav__link:hover { color: var(--blue-600); }
.drop {
  position: absolute; top: calc(100% - 8px); left: -16px;
  min-width: 250px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.drop a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy-900);
}
.drop a .ico { color: var(--blue-600); }
.drop a:hover { background: var(--blue-50); }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav__link .ico, .has-drop.is-open .nav__link .ico { transform: rotate(180deg); }
.nav__link .ico { transition: transform .2s; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: var(--navy-900); padding: 6px 8px; margin-right: 8px; }
.lang--sm { font-size: 12.5px; padding: 0; margin: 0; gap: 3px; color: var(--muted); }
.burger { display: none; color: var(--navy-900); padding: 8px; margin-left: auto; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 110px;
  background: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 48% 62% at 50% 34%, rgba(10, 37, 88, .55) 0%, rgba(10, 37, 88, .25) 55%, rgba(10, 37, 88, 0) 100%),
    linear-gradient(180deg, rgba(10, 37, 88, .35) 0%, rgba(10, 37, 88, .08) 60%),
    url("../img/hero-eu-quarter.webp") 50% 55% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,.75) 86%, rgba(0,0,0,.35) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,.75) 86%, rgba(0,0,0,.35) 93%, transparent 100%);
}
.hero__inner { position: relative; }
.hero__copy { max-width: 760px; margin: 0 auto; text-align: center; text-shadow: 0 2px 18px rgba(10, 31, 68, .35); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #fff;
}
.eyebrow .flag { outline: 1px solid rgba(255, 255, 255, .55); }
.hero h1 {
  margin-top: 12px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
}
.hero__lead { margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, .86); line-height: 1.5; }

.search {
  display: flex; align-items: center; gap: 10px;
  max-width: 900px; margin: 28px auto 0;
  padding: 7px 7px 7px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.search__field { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; color: var(--navy-900); }
.search__field input {
  flex: 1; min-width: 0; height: 42px;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 15px; color: var(--navy-900); text-align: center;
}
.search__field input::placeholder { color: #6B7590; }
.search__btn { height: 44px; padding: 0 26px; min-width: 240px; }
.search__result {
  display: flex; align-items: center; gap: 8px;
  max-width: 900px; margin: 10px auto 0; padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  border-radius: 8px; background: #fff; border: 1px solid var(--line);
}
.search__result[hidden] { display: none; }
.search__result.is-ok { color: #11663A; border-color: #BFE6CF; background: #F1FBF5; }
.search__result.is-err { color: #9B1C1C; border-color: #F3C9C9; background: #FFF5F5; }
.result--hero { max-width: 900px; margin-left: auto; margin-right: auto; position: relative; }

.trust {
  display: flex; justify-content: center; align-items: center;
  max-width: 900px; margin: 22px auto 0;
  padding: 10px 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
}
.trust li {
  display: flex; align-items: center; gap: 10px;
  flex: 1; justify-content: center;
  font-size: 13.5px; font-weight: 600; color: var(--navy-900);
}
.trust li + li { border-left: 1px solid var(--line-strong); }
.trust .ico { color: var(--primary); }

/* =========================================================
   EUROPE STRIP
   ========================================================= */
.europe {
  position: relative;
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 24px;
  margin-top: 6px;
  padding: 14px 28px 14px 16px;
  background: linear-gradient(90deg, #EAF1FC 0%, #F3F7FD 60%, #F7F9FE 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.europe__map { width: 110px; height: auto; opacity: .9; }
.europe__text { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.europe h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }
.europe p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.europe__codes { display: grid; grid-template-columns: repeat(15, 30px); row-gap: 8px; }
.europe__codes li { position: relative; font-size: 11.5px; font-weight: 600; color: var(--navy-900); text-align: center; }
.europe__codes li:not([aria-hidden]) { isolation: isolate; cursor: default; transition: color .15s ease; }
.europe__codes li:not([aria-hidden])::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 28px; height: 28px; border: 1.5px solid var(--blue-600); border-radius: 4px; background: var(--blue-50, #EEF4FF); opacity: 0; transform: translate(-50%, -50%) scale(.7); transition: opacity .15s ease, transform .15s ease; }
.europe__codes li:not([aria-hidden]):hover { color: var(--blue-600); }
.europe__codes li:not([aria-hidden]):hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* =========================================================
   SHARED TITLES
   ========================================================= */
.title-lined {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); text-align: center;
}
.title-lined::before, .title-lined::after {
  content: ""; flex: 0 1 140px; height: 1px;
}
.title-lined::before { background: linear-gradient(90deg, transparent, var(--line-strong)); }
.title-lined::after { background: linear-gradient(90deg, var(--line-strong), transparent); }

.section-head { text-align: center; }
.section-head h2 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.section-head p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* =========================================================
   AUDIENCES
   ========================================================= */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.audiences li { display: flex; align-items: flex-start; gap: 14px; padding: 4px 26px; }
.audiences li + li { border-left: 1px solid var(--line); }
.audiences .ico { color: var(--primary); margin-top: 2px; }
.audiences h3 { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.audiences p { margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* =========================================================
   SOLUTIONS
   ========================================================= */
.solutions {
  margin-top: 30px; padding: 30px 0 0;
  background: linear-gradient(180deg, #F1F6FD 0%, #F6F9FE 55%, #fff 100%);
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; }
.card {
  position: relative; display: block;
  padding: 22px 22px 24px;
  background: linear-gradient(160deg, #fff 55%, #F4F8FE 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue-100); color: var(--blue-600);
}
.card__arrow {
  position: absolute; top: 20px; right: 20px;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600);
  transition: background .2s, color .2s;
}
.card:hover .card__arrow { background: var(--blue-600); color: #fff; }
.card h3 { margin-top: 16px; font-size: 18px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }
.card p { margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* Stats banner */
.stats {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 30px; padding: 24px 12px;
  background: linear-gradient(90deg, #0A2B66 0%, #0F3A88 55%, #1747A0 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.stats__map { position: absolute; right: -30px; top: 50%; width: 240px; transform: translateY(-50%); opacity: .22; pointer-events: none; }
.stat { position: relative; display: flex; align-items: center; gap: 16px; padding: 4px 24px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat .ico { color: #fff; }
.stat__stars, .pillars__stars { fill: #FFCC00; stroke: none !important; }
.stat strong { display: block; font-size: 16px; font-weight: 700; }
.stat span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: rgba(255, 255, 255, .8); }

/* =========================================================
   USE CASES
   ========================================================= */
.usecases { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; margin-top: 24px; }
.mock { position: relative; border-radius: var(--radius); overflow: hidden; }
.mock img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Stage = native photo size (1280×720), scaled to the rendered width by main.js */
.mock__stage {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  transform-origin: 0 0; transform: scale(var(--mock-scale, .5));
  pointer-events: none;
}
/* Screen corners in the photo: (373,190) (851,200) (896,507) (407,531) */
.mock__screen {
  position: absolute; left: 373px; top: 190px; width: 523px; height: 341px;
  transform-origin: 0 0;
  transform: matrix3d(1.01286, 0.0211895, 0, 0.000206907, 0.096471, 0.967547, 0, -0.0000951703, 0, 0, 1, 0, 0, 0, 0, 1);
  background: #fff;
  display: flex; flex-direction: column; overflow: hidden;
  font-size: 21px; color: var(--navy-900);
}
.mock__bar {
  display: flex; align-items: center; gap: .4em;
  padding: .55em .9em; border-bottom: 1px solid var(--line);
  font-weight: 800; font-size: .95em;
}
.mock__logo { width: 1.2em; height: 1.2em; }
.mock__body { flex: 1; padding: 1.1em 1.8em; background: linear-gradient(180deg, #fff, #F6F9FE); }
.mock__head { display: flex; align-items: center; gap: .6em; font-size: 1.05em; }
.mock__ok { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--green); flex: none; }
.mock__ok svg { width: 1.1em; height: 1.1em; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mock__num {
  display: flex; align-items: center; justify-content: space-between;
  margin: .8em 0 0 2.5em; padding: .45em .7em;
  border: 1px solid var(--line-strong); border-radius: .35em; background: #fff;
  font-weight: 600; font-size: .95em; letter-spacing: .03em;
}
.mock__num .flag { width: 1.9em; height: 1.25em; }
.mock__list { margin-top: .9em; display: grid; gap: .45em; font-size: .8em; font-weight: 500; }
.mock__list li { display: flex; align-items: center; gap: .5em; }
.mock__list svg { width: 1.2em; height: 1.2em; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.uc-list { display: grid; gap: 12px; }
.uc-list a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.uc-list a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateX(2px); }
.uc-list__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); flex: none; }
.uc-list__txt { flex: 1; min-width: 0; }
.uc-list__txt strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.uc-list__txt span { display: block; margin-top: 1px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.uc-list__chev { color: var(--navy-900); }

/* =========================================================
   PILLARS
   ========================================================= */
.pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 20px; padding: 20px 8px;
  background: linear-gradient(90deg, #EEF4FD, #F5F8FE);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.pillars li { display: flex; align-items: flex-start; gap: 14px; padding: 4px 20px; }
.pillars li + li { border-left: 1px solid var(--line-strong); }
.pillars .ico { color: var(--primary); margin-top: 2px; }
.pillars__stars { fill: var(--blue-500); }
.pillars strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-900); line-height: 1.25; }
.pillars span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

/* =========================================================
   PRICING
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 24px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border: 1.5px solid var(--blue-500);
  background: linear-gradient(180deg, #F4F8FF 0%, #fff 60%);
  box-shadow: var(--shadow-lg);
}
.plan__badge {
  position: absolute; top: -1px; right: 18px;
  padding: 4px 12px; border-radius: 0 0 8px 8px;
  background: var(--blue-600); color: #fff;
  font-size: 11.5px; font-weight: 600;
}
.plan h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.plan__desc { margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; min-height: 36px; }
.plan__price { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--navy-900); }
.plan__price strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-right: 4px; }
.plan__features { display: grid; align-content: start; gap: 6px; margin: 14px 0 20px; flex: 1; }
.plan__features li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text); }
.plan__features .ico { color: var(--blue-600); margin-top: 2px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__title { text-align: center; font-size: clamp(22px, 2.3vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.faq { max-width: 870px; margin: 16px auto 0; display: grid; gap: 8px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px;
  font-size: 14px; font-weight: 600; color: var(--navy-900);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px;
  margin-top: 26px; padding-right: 30px;
  background: linear-gradient(90deg, #E6EFFC 0%, #F1F6FE 60%, #F6F9FE 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 110px;
}
.cta__img {
  align-self: stretch; width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
  mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.cta__text { padding: 22px 0 22px 26px; border-left: 1px solid var(--line-strong); }
.cta h2 { font-size: clamp(20px, 1.7vw, 22px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.cta p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cta__actions { display: flex; gap: 14px; }
.cta__actions .btn { height: 42px; padding: 0 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); background: #fff; }
.footer__top { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.footer__brand p { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.footer__eu { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; color: var(--muted); line-height: 1.3; }
.footer__cols { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 20px; }
.footer h4 { font-size: 13px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.footer__cols a:not(.btn) { display: block; font-size: 12.5px; color: var(--muted); padding: 2.5px 0; transition: color .2s; }
.footer__cols a:not(.btn):hover { color: var(--blue-600); }
.footer__cols .btn { margin-top: 10px; }

.footer__badges {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0;
  margin-top: 26px; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.badges-group { padding: 0 24px; }
.badges-group:first-child { padding-left: 0; }
.badges-group:last-child { padding-right: 0; }
.badges-group + .badges-group { border-left: 1px solid var(--line); }
.logos { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px 16px; }
.lg { display: inline-flex; align-items: center; gap: 4px; line-height: 1; white-space: nowrap; }
.lg-visa { font-size: 21px; font-weight: 800; font-style: italic; color: #1A1F71; letter-spacing: .01em; }
.lg-mc i { display: block; width: 22px; height: 22px; border-radius: 50%; background: #EB001B; }
.lg-mc i + i { margin-left: -12px; background: #F79E1B; mix-blend-mode: multiply; }
.lg-amex { padding: 5px 6px; background: #2E77BC; color: #fff; font-size: 7px; font-weight: 800; letter-spacing: .04em; text-align: center; border-radius: 3px; line-height: 1.15; }
.lg-apay { font-size: 19px; font-weight: 600; color: #000; }
.lg-apay svg { width: 15px; height: 18px; fill: #000; margin-top: -3px; }
.lg-gpay { font-size: 19px; font-weight: 500; color: #5F6368; }
.lg-gpay b {
  font-weight: 700;
  background: conic-gradient(from -40deg, #EA4335 0 90deg, #FBBC05 90deg 160deg, #34A853 160deg 250deg, #4285F4 250deg 360deg);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-shopify { font-size: 16px; font-weight: 700; color: #1C1C1C; letter-spacing: -.01em; }
.lg-shopify svg { width: 17px; height: 19px; }
.lg-stripe { font-size: 19px; font-weight: 800; color: #635BFF; letter-spacing: -.03em; }
.lg-paypal { font-size: 18px; font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.lg-paypal b { color: #003087; }
.lg-paypal i { color: #009CDE; }
.lg-odoo { font-size: 20px; font-weight: 700; color: #714B67; letter-spacing: -.02em; }
.lg-sap {
  height: 22px; padding: 0 16px 0 5px;
  background: linear-gradient(180deg, #00B9F2, #0F5CC1);
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: -.02em;
  clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
}
.lg-ms { gap: 6px; font-size: 16px; font-weight: 600; color: #737373; }
.ms-grid { display: grid; grid-template-columns: 7px 7px; gap: 1px; }
.ms-grid i { width: 7px; height: 7px; background: #F25022; }
.ms-grid i:nth-child(2) { background: #7FBA00; }
.ms-grid i:nth-child(3) { background: #00A4EF; }
.ms-grid i:nth-child(4) { background: #FFB900; }

.sec { display: flex; gap: 8px; }
.sec span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 500; color: var(--muted); text-align: center; line-height: 1.15; min-width: 44px; }
.sec .ico { width: 22px; height: 22px; color: var(--navy-900); stroke-width: 1.5; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0 22px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.footer__bottom ul { display: flex; align-items: center; flex-wrap: wrap; }
.footer__bottom li { padding: 0 16px; }
.footer__bottom li + li { border-left: 1px solid var(--line-strong); }
.footer__bottom li:last-child { padding-right: 0; }
.footer__bottom a:hover { color: var(--blue-600); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list { gap: 20px; }
  .header__inner { gap: 24px; }
  .nav__actions { gap: 10px; }
  .nav__actions .btn--sm { padding: 0 14px; }
  .lang { margin-right: 0; padding: 6px 4px; }
  .europe { grid-template-columns: 100px 1fr; }
  .europe__codes { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(4) { border-left: 0; }
  .pillars { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .pillars li:nth-child(4) { border-left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { max-width: 420px; }
  .footer__badges { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .badges-group:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

@media (max-width: 1100px) {
  :root { --header-h: 60px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 12px 24px 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: 52px; width: 100%; justify-content: space-between; font-size: 16px; }
  .drop { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; min-width: 0; }
  .has-drop.is-open .drop { display: block; }
  .has-drop:hover .drop { display: none; }
  .has-drop.is-open:hover .drop { display: block; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav__actions .btn { height: 46px; font-size: 15px; padding: 0 20px; }
  .lang { align-self: flex-start; margin: 0; }
}

@media (max-width: 980px) {
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(10, 37, 88, .72) 0%, rgba(10, 37, 88, .55) 45%, rgba(10, 37, 88, .15) 75%),
      url("../img/hero-eu-quarter.webp") 60% 40% / cover no-repeat;
  }
  .hero__copy { padding-left: 0; }
  .audiences { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .audiences li:nth-child(3) { border-left: 0; }
  .usecases { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan__desc { min-height: 0; }
  .cta { grid-template-columns: 160px 1fr; padding-right: 0; }
  .cta__actions { grid-column: 1 / -1; padding: 0 24px 22px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .logos { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .hero { padding: 40px 0 72px; }
  .br-d { display: none; }
  .hero__lead { font-size: 15px; }
  .search { flex-direction: column; align-items: stretch; padding: 8px; }
  .search__field { padding: 0 8px 0 12px; }
  .search__btn { min-width: 0; width: 100%; height: 48px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .trust li { justify-content: flex-start; }
  .trust li + li { border-left: 0; }
  .europe { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 16px; }
  .europe__map { width: 64px; }
  .europe__text { padding-left: 14px; }
  .europe h2 { font-size: 17px; }
  .europe__codes { grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); }
  .title-lined { gap: 12px; }
  .title-lined::before, .title-lined::after { flex-basis: 24px; }
  .audiences { grid-template-columns: 1fr; row-gap: 16px; }
  .audiences li { padding: 0; }
  .audiences li + li { border-left: 0; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr; row-gap: 16px; padding: 22px 6px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 16px; }
  .pillars { grid-template-columns: 1fr; row-gap: 0; padding: 8px 16px; }
  .pillars li { padding: 14px 0; }
  .pillars li + li { border-left: 0; border-top: 1px solid var(--line); }
  .uc-list a { padding: 12px 14px; gap: 12px; }
  .cta { grid-template-columns: 1fr; gap: 0; }
  .cta__img { height: 120px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .cta__text { border-left: 0; padding: 14px 20px 16px; }
  .cta__actions { flex-direction: column; padding: 0 20px 20px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__badges { grid-template-columns: 1fr; }
  .badges-group, .badges-group + .badges-group { padding: 0; border-left: 0; }
  .sec { flex-wrap: wrap; gap: 14px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom li { padding: 0 10px; }
  .footer__bottom li:first-child { padding-left: 0; }
}

/* =========================================================
   PAGES — shared components
   ========================================================= */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 600; }
.skip-link:focus { top: 10px; }
.nav__link[aria-current="page"] { color: var(--blue-600); box-shadow: inset 0 -2px 0 var(--blue-600); }
.todo { padding: 1px 6px; border-radius: 4px; background: #FFF3C4; border: 1px dashed #D9A400; color: #6B4E00; font-weight: 600; font-size: .92em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

.btn--white { background: #fff; color: var(--primary); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45); }
.btn--white:hover { background: var(--blue-50); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--light { background: var(--blue-50); color: var(--primary); }
.btn--light:hover { background: var(--blue-100); }
.btn--danger { background: #fff; color: #B42318; border: 1.5px solid #F3C9C9; }
.btn--danger:hover { background: #FFF5F5; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--blue-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ico { transition: transform .2s; }
.link:hover .ico { transform: translateX(2px); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 40px 0 60px;
  background:
    radial-gradient(ellipse 60% 120% at 85% 10%, rgba(47, 99, 214, .45) 0%, rgba(47, 99, 214, 0) 60%),
    linear-gradient(135deg, #0A1F44 0%, #0E3A8A 62%, #1747A0 100%);
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: 50%; width: 420px; aspect-ratio: 300 / 296;
  background: url("../img/europe-dots-white.png") center / contain no-repeat;
  opacity: .13; transform: translateY(-50%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .ico { width: 12px; height: 12px; opacity: .7; }
.page-hero .eyebrow { margin-top: 26px; }
.page-hero h1 { margin-top: 10px; max-width: 820px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.page-hero__lead { margin-top: 14px; max-width: 720px; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .ico { color: #FFCC00; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.page-hero--center .crumbs, .page-hero--center .page-hero__actions, .page-hero--center .page-hero__meta { justify-content: center; }
.page-hero--sm { padding-bottom: 44px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero .search { margin: 26px 0 0; max-width: none; }
.page-hero .search__result { margin-left: 0; max-width: none; }

/* ---------- Bands & headings ---------- */
.band { padding: 64px 0; }
.band--alt { background: linear-gradient(180deg, #F2F6FD 0%, #F7F9FE 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--tight { padding: 44px 0; }
.band + .band:not(.band--alt) { padding-top: 0; }
.band--alt + .band:not(.band--alt) { padding-top: 64px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.head { max-width: 760px; margin-bottom: 30px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin-top: 6px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.head p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.h2 { margin-top: 6px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.text { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.text + .text { margin-top: 10px; }

/* ---------- Grids & tiles ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.tile {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
a.tile { transition: transform .2s, box-shadow .2s, border-color .2s; }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.tile__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); flex: none; }
.tile__icon .ico { width: 22px; height: 22px; }
.tile h3 { margin-top: 16px; font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; color: var(--navy-900); }
.tile p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tile .checklist { margin-top: 14px; }
.tile__foot { margin-top: auto; padding-top: 16px; }
.tile--flat { box-shadow: none; background: var(--blue-50); border-color: transparent; }
.tile--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.tile--row h3 { margin-top: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.2fr .8fr; }
.split > * { min-width: 0; }

/* ---------- Lists ---------- */
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist strong { color: var(--navy-900); }
.checklist--light li::before { background-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps--row { grid-template-columns: repeat(var(--cols, 4), 1fr); }
.steps li { position: relative; counter-increment: step; padding-left: 58px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 0 0 6px var(--blue-100);
}
.steps--row li { padding: 58px 0 0; }
.steps h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); line-height: 1.3; padding-top: 8px; }
.steps--row h3 { padding-top: 0; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 22px; }
.kpis li { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.kpis strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--primary); line-height: 1.1; }
.kpis span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.deflist { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 14.5px; }
.deflist dt { font-weight: 600; color: var(--navy-900); }
.deflist dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }

/* ---------- Pills, callouts ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--blue-100); color: var(--primary); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--plain::before { display: none; }
.pill--ok { background: #E7F7EE; color: #11663A; }
.pill--warn { background: #FFF4DB; color: #8A5A00; }
.pill--err { background: #FDECEC; color: #B42318; }
.pill--muted { background: #EEF1F6; color: var(--muted); }

.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 10px; background: var(--blue-50); border: 1px solid #D4E1F7; font-size: 14.5px; line-height: 1.55; }
.callout > .ico { color: var(--blue-600); margin-top: 2px; }
.callout strong { color: var(--navy-900); }
.callout--warn { background: #FFF9EB; border-color: #F5DFA6; }
.callout--warn > .ico { color: #B7791F; }
.callout--ok { background: #F1FBF5; border-color: #BFE6CF; }
.callout--ok > .ico { color: var(--green); }

/* ---------- Prose (legal, articles) ---------- */
.prose { max-width: 780px; font-size: 15.5px; line-height: 1.72; color: var(--text); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; font-size: 23px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--navy-900); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin-top: 28px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--navy-900); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--blue-600); }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--navy-900); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue-600); color: var(--navy-900); font-weight: 500; }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--blue-50); border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; color: var(--primary); overflow-wrap: anywhere; }
.prose .table-wrap, .prose .callout, .prose .code { margin-top: 20px; margin-bottom: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose .lead { font-size: 18px; line-height: 1.6; color: var(--navy-900); }
.prose-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.prose-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Doc layout with TOC ---------- */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 8px; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--navy-900); }
.toc a.is-active { color: var(--blue-600); border-left-color: var(--blue-600); font-weight: 600; }
.toc a.toc__sub { padding-left: 26px; font-size: 13px; }
.doc > * { min-width: 0; }
.doc .prose { max-width: 820px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--blue-50); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--navy-900); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--navy-900); }
.table code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--primary); white-space: nowrap; }
.table--compare td, .table--compare thead th:not(:first-child) { text-align: center; }
.table--compare .ico { color: var(--blue-600); }
.table--compare .dash { color: #A3ADC2; }
.table--compare thead th.is-featured { background: var(--primary); color: #fff; }
.table--zebra tbody tr:nth-child(even) { background: #FAFCFF; }

/* ---------- Code blocks ---------- */
.code { border-radius: var(--radius); background: #0B1A38; color: #DCE6F7; overflow: hidden; box-shadow: var(--shadow); }
.code__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: #0E2147; }
.code__tabs { display: flex; gap: 2px; overflow-x: auto; }
.code__tab { padding: 11px 10px; font-size: 12.5px; font-weight: 600; color: rgba(220, 230, 247, .6); border-bottom: 2px solid transparent; white-space: nowrap; }
.code__tab.is-active { color: #fff; border-bottom-color: #FFCC00; }
.code__label { padding: 11px 0; font-size: 12.5px; font-weight: 600; color: rgba(220, 230, 247, .75); }
.code__copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: rgba(220, 230, 247, .8); }
.code__copy:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.65; }
.code pre[hidden] { display: none; }
.code .k { color: #7FB2FF; } .code .s { color: #9BE3B5; } .code .n { color: #FFCC66; } .code .c { color: #7D8BA8; font-style: italic; } .code .p { color: #F5A3C7; }
.method { display: inline-block; min-width: 52px; padding: 3px 8px; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; text-align: center; background: #E7F7EE; color: #11663A; }
.method--post { background: #E8EFFC; color: var(--primary); }
.method--del { background: #FDECEC; color: #B42318; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: var(--navy-900); overflow-wrap: anywhere; }

/* ---------- Forms ---------- */
.panel { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.panel__title { font-size: 19px; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; }
.panel__sub { margin-top: 4px; font-size: 14px; color: var(--muted); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.field .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-width: 0; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  font: inherit; font-size: 15px; color: var(--navy-900);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1F44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input::placeholder, .textarea::placeholder { color: #8A93A8; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #D92D20; }
.field__err { display: none; font-size: 12.5px; color: #B42318; }
.field.is-invalid .field__err { display: block; }
.field__hint { font-size: 12.5px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--primary); }
.check a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.check.is-invalid { color: #B42318; }
.form__note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form__note a { color: var(--blue-600); text-decoration: underline; }
.form__success { display: none; text-align: center; padding: 24px 8px; }
.form__success .ico { width: 48px; height: 48px; color: var(--green); stroke-width: 1.6; margin: 0 auto 12px; }
.form__success h3 { font-size: 19px; font-weight: 800; color: var(--navy-900); }
.form__success p { margin-top: 6px; color: var(--muted); }
.is-sent .form { display: none; }
.is-sent .form__success { display: block; }
.form-error { padding: 10px 14px; border-radius: 8px; background: #FFF5F5; border: 1px solid #F3C9C9; color: #9B1C1C; font-size: 13.5px; }
.form-error[hidden] { display: none; }
.input-icon { position: relative; }
.input-icon .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 8px; color: var(--muted); }
.pw-toggle:hover { color: var(--navy-900); }
.input-icon--pw .input { padding-right: 44px; }

/* ---------- Verification result ---------- */
.result { margin-top: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--text); text-align: left; overflow: hidden; }
.result[hidden] { display: none; }
.result__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.result__head .ico { width: 28px; height: 28px; stroke-width: 2; }
.result__head strong { display: block; font-size: 16.5px; color: var(--navy-900); }
.result__head span { display: block; font-size: 13px; color: var(--muted); }
.result--ok .result__head { background: #F1FBF5; } .result--ok .result__head .ico { color: var(--green); }
.result--err .result__head { background: #FFF5F5; } .result--err .result__head .ico { color: #D92D20; }
.result--warn .result__head { background: #FFF9EB; } .result--warn .result__head .ico { color: #B7791F; }
.result__body { padding: 16px 20px 18px; }
.result__note { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--blue-50, #F2F7FF); font-size: 13px; color: var(--muted); }
.result__body > .result__note:first-child { margin-top: 0; }
.result__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); background: #FAFCFF; font-size: 12.5px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.spinner--dark { border-color: var(--blue-100); border-top-color: var(--blue-600); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Media placeholders ---------- */
.visual { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #0E2A5C, #1747A0); box-shadow: var(--shadow-lg); }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual--photo { aspect-ratio: 4 / 3; }
.window { border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); text-align: left; }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #F7F9FE; }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DDEB; }
.window__bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.window__body { padding: 18px; }
.window .result { margin: 0; box-shadow: none; border: 0; border-radius: 0; }

/* ---------- Integrations / logos ---------- */
.logo-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.logo-tile .lg { height: 30px; }
.logo-tile h3 { font-size: 15.5px; font-weight: 700; color: var(--navy-900); }
.logo-tile p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.logo-tile .pill { margin-top: auto; }

/* ---------- Posts (blog, news, guides) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.posts--2 { grid-template-columns: repeat(2, 1fr); }
.posts--2 .post:not(.post--feature) .post__cover { aspect-ratio: 16 / 5; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post__cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; background: linear-gradient(135deg, #0E2A5C 0%, #1D4ED8 100%); color: #fff; overflow: hidden; }
.post__cover::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 200px; aspect-ratio: 1; background: url("../img/europe-dots-white.png") center / contain no-repeat; opacity: .18; }
.post__cover .ico { width: 40px; height: 40px; stroke-width: 1.4; position: relative; z-index: 1; }
.post__cover--b { background: linear-gradient(135deg, #0A1F44 0%, #0E3A8A 100%); }
.post__cover--c { background: linear-gradient(135deg, #1747A0 0%, #2F63D6 100%); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post__tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); }
.post h3 { margin-top: 8px; font-size: 17px; line-height: 1.35; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; }
.post p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.post__meta { display: flex; gap: 14px; margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post__meta .ico { width: 14px; height: 14px; }
.post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.post--feature .post__cover { aspect-ratio: auto; min-height: 260px; }
.post--feature .post__body { padding: 32px; justify-content: center; }
.post--feature h3 { font-size: 24px; }
.news { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news article { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news time { font-size: 13px; font-weight: 700; color: var(--blue-600); }
.news h3 { font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--navy-900); }
.news p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.news .pill { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--navy-900); transition: all .2s; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- FAQ extras ---------- */
.faq--full { max-width: none; margin: 0; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 20px; font-weight: 800; color: var(--navy-900); }
.faq-group h2 .ico { color: var(--blue-600); }
.faq details ul, .faq details ol { padding: 0 18px 16px 38px; font-size: 14px; color: var(--muted); line-height: 1.6; list-style: disc; }
.faq details p + p { padding-top: 0; }
.faq details a { color: var(--blue-600); text-decoration: underline; }
.search-box { position: relative; max-width: 640px; }
.search-box .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .input { height: 54px; padding-left: 50px; border-radius: 10px; font-size: 15.5px; border-color: transparent; box-shadow: var(--shadow-lg); }
.page-hero--center .search-box { margin: 26px auto 0; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty[hidden] { display: none; }

/* ---------- Status ---------- */
.status-banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.status-banner .dot { width: 14px; height: 14px; border-radius: 50%; background: #A3ADC2; box-shadow: 0 0 0 6px #EEF1F6; flex: none; }
.status-banner strong { display: block; font-size: 18px; font-weight: 800; color: var(--navy-900); }
.status-banner span { display: block; font-size: 13.5px; color: var(--muted); }
.status-banner .btn { margin-left: auto; }
.status-banner.is-ok .dot { background: var(--green); box-shadow: 0 0 0 6px #DDF3E6; }
.status-banner.is-warn .dot { background: #E0A100; box-shadow: 0 0 0 6px #FCEFC7; }
.status-banner.is-err .dot { background: #D92D20; box-shadow: 0 0 0 6px #FBDADA; }
.status-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.status-row b { display: inline-block; min-width: 30px; font-weight: 700; color: var(--navy-900); }
.status-components { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.status-components .status-row { padding: 16px 20px; }
.status-components .status-row:last-child { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: 16px; background: linear-gradient(120deg, #0A1F44 0%, #0E3A8A 60%, #1747A0 100%); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: 180px; top: 50%; width: 260px; aspect-ratio: 1; background: url("../img/europe-dots-white.png") center / contain no-repeat; opacity: .12; transform: translateY(-50%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.cta-band p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.cta-band .btn-row { flex: none; }

/* ---------- Contact cards ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .tile__icon { width: 40px; height: 40px; }
.contact-list strong { display: block; font-size: 14.5px; color: var(--navy-900); }
.contact-list span, .contact-list a { font-size: 14px; color: var(--muted); }
.contact-list a:hover { color: var(--blue-600); }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: linear-gradient(180deg, #F7F9FE, #fff); }
.auth__card { width: 100%; max-width: 440px; }
.auth__card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.auth__card > p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.auth__card .panel { margin-top: 24px; }
.auth__alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.auth__alt a { color: var(--blue-600); font-weight: 600; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth__row a { font-size: 13.5px; font-weight: 600; color: var(--blue-600); }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn--sso { width: 100%; background: #fff; border: 1px solid var(--line-strong); color: var(--navy-900); font-weight: 600; }
.btn--sso:hover { background: var(--blue-50); }
.auth__aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 56px; background: linear-gradient(150deg, #0A1F44 0%, #0E3A8A 65%, #1747A0 100%); color: #fff; }
.auth__aside::after { content: ""; position: absolute; right: -80px; bottom: -60px; width: 460px; aspect-ratio: 1; background: url("../img/europe-dots-white.png") center / contain no-repeat; opacity: .12; }
.auth__aside > * { position: relative; z-index: 1; max-width: 460px; }
.auth__aside h2 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.auth__aside p { margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.auth__aside .checklist { margin-top: 26px; }
.auth__aside .checklist li { font-size: 15px; }
.demo-note { margin-top: 16px; padding: 10px 14px; border-radius: 8px; background: #FFF9EB; border: 1px solid #F5DFA6; font-size: 12.5px; color: #6B4E00; line-height: 1.5; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-pick label { position: relative; display: block; cursor: pointer; }
.plan-pick input { position: absolute; opacity: 0; }
.plan-pick span { display: block; padding: 10px 8px; border: 1.5px solid var(--line-strong); border-radius: 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--navy-900); line-height: 1.3; transition: all .2s; }
.plan-pick small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.plan-pick input:checked + span { border-color: var(--primary); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.plan-pick input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }

/* ---------- App (account) ---------- */
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); background: #F5F8FD; }
.app[hidden] { display: none; }
.app__side { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; padding: 22px 14px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
.app__user { display: flex; align-items: center; gap: 12px; padding: 6px 10px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.app__user strong { display: block; font-size: 14px; color: var(--navy-900); line-height: 1.25; }
.app__user div span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.app__nav { display: grid; gap: 2px; }
.app__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--navy-900); transition: background .15s, color .15s; }
.app__nav a:hover { background: var(--blue-50); }
.app__nav a.is-active { background: var(--blue-100); color: var(--primary); font-weight: 700; }
.app__nav a .ico { color: currentColor; }
.app__nav-label { padding: 16px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app__side-foot { margin-top: auto; padding-top: 16px; }
.app__main { padding: 28px 32px 48px; min-width: 0; }
.app__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.app__head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.app__head p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.app-view[hidden] { display: none; }
.app-grid { display: grid; gap: 20px; }
.app-grid--kpi { grid-template-columns: repeat(4, 1fr); }
.app-grid--2 { grid-template-columns: 1.4fr 1fr; }
.app-grid--halves { grid-template-columns: 1fr 1fr; }
.app-view > .app-grid + *, .app-view > .card-box + *, .app-grid > div > .card-box + .card-box { margin-top: 20px; }
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); min-width: 0; }
.card-box__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-box__head h2 { font-size: 16px; font-weight: 800; color: var(--navy-900); }
.card-box__head p { font-size: 13px; color: var(--muted); }
.card-box__body { padding: 20px; }
.card-box .table-wrap { border: 0; border-radius: 0 0 var(--radius) var(--radius); }
.kpi { padding: 18px 20px; }
.kpi__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi__label .ico { color: var(--blue-600); }
.kpi__value { margin-top: 8px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); line-height: 1.1; }
.kpi__sub { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.meter { height: 8px; margin-top: 12px; border-radius: 999px; background: var(--blue-100); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--blue-500)); transition: width .6s; }
.quick-check { display: flex; gap: 10px; }
.quick-check .input { flex: 1; text-transform: uppercase; letter-spacing: .02em; }
.quick-check .input::placeholder { text-transform: none; letter-spacing: 0; }
.dropzone { display: grid; place-items: center; gap: 8px; padding: 34px 20px; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: #FAFCFF; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--blue-600); background: var(--blue-50); }
.dropzone .ico { width: 34px; height: 34px; color: var(--blue-600); stroke-width: 1.5; }
.dropzone strong { color: var(--navy-900); font-size: 15px; }
.progress { height: 10px; border-radius: 999px; background: var(--blue-100); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--blue-500)); transition: width .3s; }
.key-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #FAFCFF; }
.key-row code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: var(--navy-900); overflow-wrap: anywhere; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 10px; background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: #7EE2A8; }
.footer--app { margin-top: 0; padding-top: 0; }
.footer--app .footer__bottom { border-top: 0; }
.td-actions { white-space: nowrap; text-align: right !important; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); }
.icon-btn:hover { background: var(--blue-50); color: var(--primary); }

/* ---------- Pages responsive ---------- */
@media (max-width: 1100px) {
  .nav__link[aria-current="page"] { box-shadow: none; }
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app__user { padding: 0; margin: 0 auto 0 0; border: 0; }
  .app__nav { display: flex; gap: 4px; overflow-x: auto; width: 100%; order: 3; padding-bottom: 2px; }
  .app__nav a { white-space: nowrap; padding: 8px 12px; }
  .app__nav-label { display: none; }
  .app__side-foot { margin: 0; padding: 0; }
  .app-grid--kpi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .page-hero__grid, .split, .split--wide { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4, .posts { grid-template-columns: repeat(2, 1fr); }
  .steps--row, .kpis { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; max-height: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .status-list { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 28px; }
  .cta-band::after { right: -40px; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { padding: 40px 24px; }
  .post--feature { grid-template-columns: 1fr; }
  .post--feature .post__cover { min-height: 180px; }
  .app-grid--2, .app-grid--halves { grid-template-columns: 1fr; }
  .panel--sticky { position: static; }
}
@media (max-width: 640px) {
  .page-hero { padding: 28px 0 44px; }
  .page-hero::after { width: 260px; right: -90px; }
  .page-hero__lead { font-size: 15.5px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .band { padding: 44px 0; }
  .band--alt + .band:not(.band--alt) { padding-top: 44px; }
  .grid--2, .grid--3, .grid--4, .posts, .steps--row, .kpis { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .tile { padding: 20px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 21px; }
  .news article { grid-template-columns: 1fr; gap: 6px; }
  .status-list { grid-template-columns: 1fr; }
  .status-banner { flex-wrap: wrap; }
  .status-banner .btn { margin-left: 0; width: 100%; }
  .cta-band { padding: 26px 20px; }
  .cta-band .btn-row, .cta-band .btn { width: 100%; }
  .deflist { grid-template-columns: 1fr; gap: 2px; }
  .deflist dd { margin-bottom: 10px; }
  .app__main { padding: 22px 18px 40px; }
  .app-grid--kpi { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 14px; }
  .kpi__value { font-size: 22px; }
  .quick-check { flex-direction: column; width: 100%; }
  .quick-check .input { flex: none; }
  .plan-pick { grid-template-columns: 1fr; }
  .post--feature .post__body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
