/* ==========================================================================
   INSIDE-TI · Corporate Technology Website
   Design System
   --------------------------------------------------------------------------
   Brand colors extracted from the official logo:
     Navy   #082A5B
     Crimson #D11B39
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-950: #041630;
  --navy-900: #041A38;
  --navy-800: #061F44;
  --navy-700: #082A5B;
  --navy-600: #0D3A79;
  --navy-500: #16509B;
  --navy-400: #3A78C2;
  --navy-300: #7FA8DA;
  --navy-100: #E3ECF8;
  --navy-050: #F2F6FC;

  --red-700: #8E1029;
  --red-600: #B01530;
  --red-500: #D11B39;
  --red-400: #E8455F;
  --red-100: #FBE3E7;

  /* Neutrals — charcoal & silver */
  --ink-900: #0B0E13;
  --ink-800: #12161D;
  --ink-700: #1B212B;
  --ink-600: #2A323F;
  --silver-600: #5C6875;
  --silver-500: #78828F;
  --silver-400: #9AA4B1;
  --silver-300: #C3CBD5;
  --silver-200: #E1E6EC;
  --silver-100: #EFF2F6;
  --silver-050: #F7F9FC;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--silver-050);
  --bg-dark: var(--navy-950);
  --text: var(--ink-800);
  --text-muted: var(--silver-600);
  --text-invert: var(--white);
  --border: #DFE5EC;
  --border-strong: #C7D0DA;
  --border-dark: rgba(255, 255, 255, .12);
  --accent: var(--red-500);
  --success: #0E9F6E;
  --brand: var(--navy-700);

  /* Type */
  --font-display: "Sora", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SF Mono", monospace;

  /* Spacing — 4px base */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;

  /* Radius — restrained, corporate */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Elevation */
  --el-1: 0 1px 2px rgba(8, 42, 91, .06), 0 1px 1px rgba(8, 42, 91, .04);
  --el-2: 0 4px 12px rgba(8, 42, 91, .08), 0 1px 3px rgba(8, 42, 91, .06);
  --el-3: 0 12px 28px rgba(8, 42, 91, .10), 0 3px 8px rgba(8, 42, 91, .06);
  --el-4: 0 24px 56px rgba(4, 22, 48, .16), 0 6px 14px rgba(4, 22, 48, .08);
  --el-5: 0 40px 96px rgba(4, 22, 48, .28), 0 12px 28px rgba(4, 22, 48, .14);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 520ms;

  --container: 1240px;
  --container-wide: 1400px;
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--red-500);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--red-500); color: #fff; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.022em;
  color: var(--navy-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; letter-spacing: -.012em; }

.lead {
  font-size: clamp(1.05rem, .98rem + .4vw, 1.23rem);
  line-height: 1.62;
  color: var(--text-muted);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-500);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  display: block;
}
.eyebrow.is-plain::before { display: none; }
.eyebrow--light { color: var(--red-400); }

.mono { font-family: var(--font-mono); }

.text-muted { color: var(--text-muted); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: clamp(64px, 7vw, 112px); position: relative; }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--dark { background: var(--navy-950); color: #fff; }
.section--ink { background: var(--ink-900); color: #fff; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-800); color: #fff; }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--dark .lead, .section--ink .lead, .section--navy .lead { color: rgba(255,255,255,.68); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }

.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.stack { display: flex; flex-direction: column; gap: var(--s5); }
.row { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--el-3); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--red-500); }
.btn--primary:hover { --btn-bg: var(--red-600); }

.btn--dark { --btn-bg: var(--navy-900); }
.btn--dark:hover { --btn-bg: var(--navy-800); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bd: var(--navy-700); --btn-bg: var(--navy-050); box-shadow: none; }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: rgba(255,255,255,.5); box-shadow: none; }

.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform var(--t-med) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-700);
  font-size: .94rem;
}
.link-arrow svg { transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { color: var(--red-500); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color var(--t-fast); }
.topbar a:hover { color: #fff; }
.topbar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #38D39F;
  box-shadow: 0 0 0 3px rgba(56,211,159,.18);
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease), background var(--t-med) var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -16px rgba(8,42,91,.28);
  background: rgba(255,255,255,.95);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: .915rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--navy-700); background: var(--navy-050); }
.nav__link.is-active { color: var(--navy-700); font-weight: 600; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red-500);
  border-radius: 2px;
}
.nav__link .caret { transition: transform var(--t-med) var(--ease); opacity: .5; }

.nav__item { position: relative; }
.nav__item:hover .nav__link .caret,
.nav__item:focus-within .nav__link .caret { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--silver-600);
  font-size: .85rem;
  background: var(--silver-050);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.search-trigger:hover { border-color: var(--border-strong); color: var(--navy-700); background: #fff; }
.search-trigger kbd {
  font-family: var(--font-mono);
  font-size: .68rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--silver-500);
}

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.burger span {
  display: block; width: 18px; height: 1.6px; background: var(--navy-900); margin: 3.2px 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}

/* Mega menu */
.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: min(880px, 88vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--el-4);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med);
}
.nav__item:hover .megamenu,
.nav__item:focus-within .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }

.megamenu__col-title {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-bottom: 14px;
}
.mm-item {
  display: flex;
  gap: 13px;
  padding: 11px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.mm-item:hover { background: var(--navy-050); }
.mm-item__ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--navy-050);
  color: var(--navy-700);
  display: grid; place-items: center;
  border: 1px solid var(--navy-100);
}
.mm-item:hover .mm-item__ico { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.mm-item strong { display: block; font-size: .9rem; color: var(--navy-900); font-weight: 600; }
.mm-item span { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

.megamenu__aside {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700) 130%);
  border-radius: var(--r-md);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.megamenu__aside::after {
  content: "";
  position: absolute; inset: auto -40% -60% auto;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,27,57,.55), transparent 68%);
}
.megamenu__aside h4 { color: #fff; margin-bottom: 8px; position: relative; }
.megamenu__aside p { font-size: .85rem; color: rgba(255,255,255,.72); position: relative; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--navy-950);
  padding: 22px;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer__head img { height: 30px; }
.drawer__close {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  border: 1px solid var(--border-dark); color: #fff;
  display: grid; place-items: center;
}
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 17px 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-dark);
}
.drawer nav a span { color: var(--red-400); font-size: 1rem; }
.drawer__foot { margin-top: 32px; display: grid; gap: 12px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,22,48,.97) 0%, rgba(4,22,48,.86) 42%, rgba(4,22,48,.35) 78%, rgba(4,22,48,.6) 100%),
    radial-gradient(900px 480px at 88% 8%, rgba(209,27,57,.28), transparent 62%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}
.hero__inner {
  padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: #fff; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .06em;
  height: .14em;
  background: var(--red-500);
  opacity: .85;
  border-radius: 2px;
}
.hero .lead { color: rgba(255,255,255,.74); max-width: 560px; margin-top: 22px; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__trust div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.hero__trust div span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* Hero side panel — live monitoring mock */
.hero__panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--el-5);
  position: relative;
}
.hero__panel::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(209,27,57,.7), transparent 45%, rgba(122,168,218,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
}
.panel__bar .title {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.panel__bar .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; color: #4CE0AC; font-family: var(--font-mono);
}
.panel__bar .status i {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,224,172,.5); }
  50% { opacity: .6; box-shadow: 0 0 0 6px rgba(76,224,172,0); }
}
.panel__rows { display: grid; gap: 13px; }
.panel__row { display: grid; gap: 7px; }
.panel__row .meta {
  display: flex; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.78);
}
.panel__row .meta b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.bar-track {
  height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--navy-400), var(--navy-300));
  transition: width 1.4s var(--ease-out);
}
.bar-fill.is-red { background: linear-gradient(90deg, var(--red-600), var(--red-400)); }
.spark { width: 100%; height: 54px; margin-top: 6px; }
.panel__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: .7rem; color: rgba(255,255,255,.5);
}

/* ---------- 8. Logo strip ---------- */
.logostrip { background: var(--white); border-bottom: 1px solid var(--border); }
.logostrip__inner {
  padding-block: 30px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.logostrip__label {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--silver-500);
}
.logostrip__items { display: flex; gap: 38px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.logostrip__items span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-700);
  letter-spacing: -.01em;
  transition: color var(--t-med);
}
.logostrip__items span:hover { color: var(--red-500); }

/* ---------- 9. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--el-3); border-color: var(--navy-100); }
.card__ico {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--navy-050);
  border: 1px solid var(--navy-100);
  color: var(--navy-700);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: background var(--t-med), color var(--t-med), border-color var(--t-med);
}
.card:hover .card__ico { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { font-size: .925rem; color: var(--text-muted); }
.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li {
  position: relative; padding-left: 22px;
  font-size: .875rem; color: var(--silver-600);
}
.card__list li::before {
  content: ""; position: absolute; left: 4px; top: .52em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500);
}
.card__foot { margin-top: auto; padding-top: 22px; }
.card--accent::before {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px;
  background: var(--red-500); border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity var(--t-med);
}
.card--accent:hover::before { opacity: 1; }
.card--num { counter-increment: cardnum; }
.card__index {
  font-family: var(--font-mono); font-size: .72rem; color: var(--silver-400);
  letter-spacing: .12em; margin-bottom: 14px;
}

.card--dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-color: rgba(255,255,255,.1);
  color: #fff;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.66); }
.card--dark:hover { border-color: rgba(209,27,57,.5); }

/* Feature (icon + text, no box) */
.feature { display: flex; gap: 16px; }
.feature__ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--navy-050); border: 1px solid var(--navy-100);
  color: var(--navy-700); display: grid; place-items: center;
}
.feature h4 { margin-bottom: 6px; font-size: 1.02rem; }
.feature p { font-size: .89rem; color: var(--text-muted); }
.feature--light .feature__ico { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
.feature--light h4 { color: #fff; }
.feature--light p { color: rgba(255,255,255,.62); }

/* ---------- 10. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat { background: #fff; padding: 30px 26px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .5em; color: var(--red-500); top: -.65em; }
.stat__label { margin-top: 10px; font-size: .84rem; color: var(--text-muted); }
.section--dark .stats { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.section--dark .stat { background: rgba(255,255,255,.03); }
.section--dark .stat__num { color: #fff; }
.section--dark .stat__label { color: rgba(255,255,255,.6); }

/* ---------- 11. Comparison table ---------- */
.compare { margin-top: 8px; }
.compare__toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--silver-100);
  border-radius: var(--r-sm);
  gap: 2px;
}
.segmented button {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--silver-600);
  transition: all var(--t-fast);
}
.segmented button.is-active { background: #fff; color: var(--navy-700); box-shadow: var(--el-1); font-weight: 600; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.cmp {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}
table.cmp th, table.cmp td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  vertical-align: top;
}
table.cmp thead th {
  position: sticky; top: 0;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  border-bottom: 0;
  z-index: 2;
}
table.cmp thead th:first-child { background: var(--navy-950); }
table.cmp thead th .plan-price {
  display: block; margin-top: 6px;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 400;
  color: rgba(255,255,255,.62); letter-spacing: .02em;
}
table.cmp thead th.is-featured {
  background: var(--red-500);
  position: relative;
}
table.cmp thead th.is-featured .plan-price { color: rgba(255,255,255,.82); }
table.cmp tbody tr:hover td { background: var(--navy-050); }
table.cmp tbody th {
  font-weight: 500;
  color: var(--ink-800);
  background: #fff;
  width: 26%;
}
table.cmp td { color: var(--silver-600); }
table.cmp .group-row td {
  background: var(--silver-050);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver-500);
  padding: 11px 20px;
}
table.cmp tr.is-hidden { display: none; }
.tick {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #E7F7F0; color: #0E9F6E;
}
.tick--no { background: var(--silver-100); color: var(--silver-400); }
.tick--part { background: var(--navy-050); color: var(--navy-500); }

.compare__note {
  margin-top: 18px; font-size: .82rem; color: var(--silver-500);
}

/* ---------- 12. Case carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}
.case-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
}
.case-card:hover { box-shadow: var(--el-3); transform: translateY(-3px); border-color: var(--navy-100); }
.case-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.045); }
.case-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,22,48,.1), rgba(4,22,48,.72));
}
.case-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}
.case-card__metric {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff;
}
.case-card__metric strong {
  display: block; font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; line-height: 1;
}
.case-card__metric span { font-size: .74rem; color: rgba(255,255,255,.76); }
.case-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card__body h3 { font-size: 1.06rem; line-height: 1.3; }
.case-card__body p { font-size: .875rem; color: var(--text-muted); }
.case-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.case-card__client { font-size: .78rem; color: var(--silver-500); font-family: var(--font-mono); }

.carousel__nav { display: flex; gap: 10px; align-items: center; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--navy-700);
  display: grid; place-items: center;
  background: #fff;
  transition: all var(--t-fast);
}
.carousel__btn:hover:not(:disabled) { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.carousel__btn:disabled { opacity: .35; cursor: not-allowed; }
.section--dark .carousel__btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.section--dark .carousel__btn:hover:not(:disabled) { background: #fff; color: var(--navy-900); border-color: #fff; }
.carousel__dots { display: flex; gap: 7px; align-items: center; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--silver-300);
  transition: all var(--t-fast);
}
.carousel__dots button.is-active { background: var(--red-500); width: 24px; border-radius: 99px; }

.carousel__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}

/* ---------- 13. Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 16, 34, .72);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--el-5);
  transform: translateY(18px) scale(.985);
  transition: transform var(--t-slow) var(--ease-out);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  color: var(--navy-900);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.modal__close:hover { background: var(--red-500); color: #fff; border-color: var(--red-500); }
.modal__hero { position: relative; aspect-ratio: 21/9; overflow: hidden; background: var(--navy-900); }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,22,48,.15), rgba(4,22,48,.85)); }
.modal__hero-content { position: absolute; left: 34px; right: 34px; bottom: 26px; z-index: 2; color: #fff; }
.modal__hero-content .tag {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--red-500); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.modal__hero-content h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.modal__body { padding: 34px; }
.modal__body h4 { margin-bottom: 10px; }
.modal__body p { color: var(--text-muted); font-size: .95rem; }
.modal__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-sm); overflow: hidden; margin-block: 26px;
}
.modal__kpis > div { background: var(--silver-050); padding: 18px; }
.modal__kpis strong {
  display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--navy-700); letter-spacing: -.02em;
}
.modal__kpis span { font-size: .78rem; color: var(--text-muted); }
.modal__quote {
  margin-block: 24px; padding: 22px 24px;
  border-left: 3px solid var(--red-500);
  background: var(--silver-050);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 1rem; color: var(--navy-900); font-style: italic;
}
.modal__quote footer { margin-top: 10px; font-size: .82rem; font-style: normal; color: var(--silver-600); }
.modal__foot { padding: 0 34px 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 14. Insights ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--el-3); }
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-900); position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 620ms var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media--art { background: linear-gradient(150deg, var(--navy-800), var(--navy-600) 60%, var(--red-600)); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__cat {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red-500); font-weight: 600;
}
.post-card h3 { font-size: 1.08rem; line-height: 1.32; }
.post-card:hover h3 { color: var(--navy-700); }
.post-card p { font-size: .875rem; color: var(--text-muted); }
.post-card__meta {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 11px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-700); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  flex-shrink: 0;
}
.avatar--red { background: var(--red-500); }
.avatar--silver { background: var(--silver-500); }
.post-card__meta .who strong { display: block; font-size: .82rem; color: var(--navy-900); font-weight: 600; }
.post-card__meta .who span { font-size: .74rem; color: var(--silver-500); }

.post-card--feature {
  grid-column: span 2;
  flex-direction: row;
}
.post-card--feature .post-card__media { aspect-ratio: auto; width: 46%; flex-shrink: 0; }
.post-card--feature .post-card__body { padding: 32px; }
.post-card--feature h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }

.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 34px;
}
.chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: .855rem; font-weight: 500; color: var(--silver-600);
  transition: all var(--t-fast);
}
.chip:hover { border-color: var(--border-strong); color: var(--navy-700); }
.chip.is-active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; font-weight: 600; }
.filter-bar__label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--silver-400); margin-right: 6px;
}

/* ---------- 15. Investors ---------- */
.report-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.report-row:hover { border-color: var(--navy-100); box-shadow: var(--el-2); transform: translateX(3px); }
.report-row__ico {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--navy-050); border: 1px solid var(--navy-100);
  color: var(--navy-700); display: grid; place-items: center;
}
.report-row h4 { font-size: 1rem; margin-bottom: 4px; }
.report-row p { font-size: .845rem; color: var(--text-muted); }
.report-row__meta {
  display: flex; gap: 14px; margin-top: 8px;
  font-family: var(--font-mono); font-size: .7rem; color: var(--silver-400);
  letter-spacing: .04em;
}
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  font-size: .85rem; font-weight: 600; color: var(--navy-700);
  background: #fff;
  transition: all var(--t-fast);
}
.dl-btn:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

.kpi-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kpi-tile {
  padding: 24px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.kpi-tile strong {
  display: block; font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; color: #fff;
}
.kpi-tile span { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 6px; }
.kpi-tile em {
  display: inline-block; margin-top: 12px;
  font-style: normal; font-size: .75rem; font-weight: 600;
  color: #4CE0AC; font-family: var(--font-mono);
}
.kpi-tile em.is-down { color: var(--red-400); }

.press-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: baseline;
}
.press-item:first-child { border-top: 1px solid var(--border); }
.press-item time { font-family: var(--font-mono); font-size: .76rem; color: var(--silver-400); }
.press-item h4 { font-size: .98rem; font-weight: 600; }
.press-item h4 a:hover { color: var(--red-500); }
.press-item .src { font-size: .78rem; color: var(--silver-500); }

/* ---------- 16. Content / rich text ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 48px; margin-bottom: 16px; }
.prose h3 { margin-top: 34px; margin-bottom: 12px; }
.prose p { margin-bottom: 18px; color: var(--silver-600); }
.prose ul { margin: 0 0 20px; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--silver-600); }
.prose ul li::before {
  content: ""; position: absolute; left: 5px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-500);
}

/* Accordion */
.acc { border-top: 1px solid var(--border); }
.acc__item { border-bottom: 1px solid var(--border); }
.acc__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; color: var(--navy-900);
  transition: color var(--t-fast);
}
.acc__q:hover { color: var(--red-500); }
.acc__q .ico { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.acc__q .ico::before, .acc__q .ico::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med);
}
.acc__q .ico::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.acc__q .ico::after { left: 12px; top: 4px; width: 2px; height: 18px; }
.acc__item.is-open .acc__q .ico::after { transform: rotate(90deg); opacity: 0; }
.acc__a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) var(--ease); }
.acc__a > div { padding-bottom: 24px; color: var(--text-muted); font-size: .94rem; max-width: 80ch; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  padding: 14px 20px;
  font-size: .93rem; font-weight: 500; color: var(--silver-600);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--t-fast);
  display: inline-flex; align-items: center; gap: 9px;
}
.tab:hover { color: var(--navy-700); }
.tab.is-active { color: var(--navy-700); border-bottom-color: var(--red-500); font-weight: 600; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp var(--t-slow) var(--ease-out); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 17. Timeline / process ---------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.process__step:last-child { border-bottom: 1px solid var(--border); }
.process__step::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--red-500);
  letter-spacing: .08em;
  padding-top: 4px;
}
.process__step h4 { margin-bottom: 8px; }
.process__step p { font-size: .9rem; color: var(--text-muted); max-width: 68ch; }
.section--dark .process__step, .section--dark .process__step:last-child { border-color: rgba(255,255,255,.12); }
.section--dark .process__step p { color: rgba(255,255,255,.62); }

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: center;
}
.cta-band::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,27,57,.55), transparent 65%);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 60ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--ink-900); color: rgba(255,255,255,.62); padding-top: 72px; }
.footer h5 {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  margin-bottom: 18px; font-weight: 600;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { height: 36px; margin-bottom: 20px; }
.footer__brand p { font-size: .875rem; line-height: 1.7; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.footer__social a:hover { background: var(--red-500); border-color: var(--red-500); color: #fff; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { font-size: .875rem; transition: color var(--t-fast); }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 26px 32px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .8rem;
}
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.footer__certs span {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em;
  padding: 5px 10px; border-radius: var(--r-xs);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.55);
}

/* ---------- 20. Global search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,16,34,.72);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center;
  padding: 8vh 20px 20px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box {
  width: min(760px, 100%);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--el-5);
  overflow: hidden;
  transform: translateY(-14px) scale(.99);
  transition: transform var(--t-slow) var(--ease-out);
  height: fit-content;
  max-height: 76vh;
  display: flex;
  flex-direction: column;
}
.search-overlay.is-open .search-box { transform: translateY(0) scale(1); }
.search-box__field {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}
.search-box__field input {
  flex: 1; border: 0; outline: 0; font-size: 1.06rem; background: transparent;
  color: var(--navy-900);
}
.search-box__field input::placeholder { color: var(--silver-400); }
.search-box__field kbd {
  font-family: var(--font-mono); font-size: .68rem;
  padding: 4px 8px; border-radius: 5px;
  background: var(--silver-100); color: var(--silver-500);
  border: 1px solid var(--border);
}
.search-results { overflow-y: auto; padding: 10px; }
.search-group__title {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--silver-400);
  padding: 14px 14px 8px;
}
.search-hit {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
  cursor: pointer;
}
.search-hit:hover, .search-hit.is-active { background: var(--navy-050); }
.search-hit__ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: var(--r-xs);
  background: var(--navy-050); border: 1px solid var(--navy-100);
  color: var(--navy-700); display: grid; place-items: center;
}
.search-hit strong { display: block; font-size: .92rem; color: var(--navy-900); font-weight: 600; }
.search-hit span { font-size: .8rem; color: var(--text-muted); }
.search-hit mark { background: var(--red-100); color: var(--red-700); padding: 0 2px; border-radius: 2px; }
.search-empty { padding: 40px 20px; text-align: center; color: var(--silver-500); font-size: .9rem; }
.search-box__foot {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: .74rem; color: var(--silver-400);
  background: var(--silver-050);
}
.search-box__foot kbd {
  font-family: var(--font-mono); font-size: .68rem;
  padding: 2px 6px; border-radius: 4px; background: #fff;
  border: 1px solid var(--border); color: var(--silver-500);
}

/* ---------- 21. Forms ---------- */
.field { display: grid; gap: 8px; }
.field label {
  font-size: .82rem; font-weight: 600; color: var(--navy-900);
  letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .93rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(8,42,91,.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--light input, .field--light select, .field--light textarea {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.field--light label { color: rgba(255,255,255,.85); }
.field--light input::placeholder, .field--light textarea::placeholder { color: rgba(255,255,255,.4); }

/* ---------- 22. Contact cards ---------- */
.contact-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
}
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { font-size: .88rem; color: var(--text-muted); }

/* ---------- 23. Breadcrumbs & page hero ---------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  padding-block: clamp(56px, 6vw, 88px) clamp(48px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4,22,48,.95) 0%, rgba(4,22,48,.78) 55%, rgba(4,16,36,.9) 100%),
    radial-gradient(700px 400px at 85% 15%, rgba(209,27,57,.28), transparent 60%);
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.72); margin-top: 20px; max-width: 62ch; }
.page-hero__actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.breadcrumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: .5; }
.page-hero--light { background: var(--silver-050); color: var(--ink-800); border-bottom: 1px solid var(--border); }
.page-hero--light h1 { color: var(--navy-900); }
.page-hero--light .lead { color: var(--text-muted); }
.page-hero--light .breadcrumbs { color: var(--silver-500); }
.page-hero--light .breadcrumbs a:hover { color: var(--navy-700); }
.page-hero--light .page-hero__bg { display: none; }

/* ---------- 24. Misc ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--navy-050);
  border: 1px solid var(--navy-100);
  color: var(--navy-700);
  font-size: .8rem; font-weight: 500;
}
.pill--red { background: var(--red-100); border-color: #F5C8CF; color: var(--red-700); }
.pill--dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.85); }

.divider { height: 1px; background: var(--border); border: 0; margin-block: 44px; }

.media-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--el-3);
  position: relative;
}
.media-frame img { width: 100%; }

.float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--el-4);
  border: 1px solid var(--border);
}
.float-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; color: var(--navy-700); letter-spacing: -.02em;
}
.float-badge span { font-size: .74rem; color: var(--text-muted); }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

.section-side-label {
  position: sticky; top: calc(var(--header-h) + 32px);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--silver-400);
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 500;
  background: var(--navy-900); color: #fff; padding: 12px 20px;
  border-radius: var(--r-sm); transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .search-trigger span { display: none; }
  .search-trigger kbd { display: none; }
  .search-trigger { padding: 10px; }
  .container--wide { padding-inline: 20px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpi-tiles { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .case-card { flex: 0 0 calc((100% - 24px) / 2); }
  .post-card--feature { grid-column: span 2; flex-direction: column; }
  .post-card--feature .post-card__media { width: 100%; aspect-ratio: 16/9; }
  .cta-band { grid-template-columns: 1fr; }
  .megamenu { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15.8px; }
  .container { padding-inline: 20px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .kpi-tiles { grid-template-columns: 1fr; }
  .case-card { flex: 0 0 100%; }
  .topbar__list { gap: 16px; }
  .topbar__list li:not(:first-child) { display: none; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-height: 94vh; border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; }
  .modal__body, .modal__foot { padding-inline: 22px; }
  .modal__kpis { grid-template-columns: 1fr; }
  .modal__hero { aspect-ratio: 16/10; }
  .modal__hero-content { left: 22px; right: 22px; }
  .report-row { grid-template-columns: 1fr; gap: 14px; }
  .report-row__ico { display: none; }
  .press-item { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .post-card--feature { grid-column: span 1; }
  .grid--3 .post-card--feature { grid-column: span 1; }
  .carousel__head { align-items: flex-start; }
  h1 { font-size: clamp(2rem, 1.5rem + 4vw, 2.9rem); }
  .search-overlay { padding: 0; }
  .search-box { border-radius: 0; max-height: 100vh; height: 100%; }
  .hero__trust { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .footer, .drawer, .search-overlay { display: none; }
}

/* ==========================================================================
   INSIDE-TI — Components added after the core sheet
   Timeline, certifications, offices, checkbox rows, dark stats
   ========================================================================== */

/* ---------- Statistics on a dark surface ---------- */
.stats--dark { background: var(--border-dark); border-color: var(--border-dark); }
.stats--dark .stat { background: var(--navy-900); }
.stats--dark .stat__num { color: var(--white); }
.stats--dark .stat__label { color: rgba(255, 255, 255, .62); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 92px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 42px;
  padding: 18px 0;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: 87px; top: 26px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--red-500);
  box-shadow: 0 0 0 4px var(--white);
}
.timeline__item:first-child { padding-top: 4px; }
.timeline__item:first-child::before { top: 12px; }
.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-700);
  letter-spacing: -.01em;
  padding-top: 2px;
}
.timeline__item h4 { font-size: 1.05rem; }
.timeline__item p { margin-top: 7px; font-size: .93rem; color: var(--text-muted); max-width: 66ch; }

/* ---------- Certifications list ---------- */
.cert-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.cert-row:first-child { padding-top: 0; }
.cert-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cert-row strong {
  font-family: var(--font-display);
  font-size: .98rem;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
.cert-row span { font-size: .9rem; color: var(--text-muted); }

/* ---------- Office entries ---------- */
.office {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border);
}
.office:first-of-type { padding-top: 4px; }
.office:last-of-type { border-bottom: 0; padding-bottom: 0; }
.office strong { font-family: var(--font-display); font-size: .95rem; color: var(--navy-800); }
.office span { font-size: .86rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Checkbox rows ---------- */
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin-top: 1px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-xs);
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: background .16s ease, border-color .16s ease;
}
.check input:checked { background: var(--navy-700); border-color: var(--navy-700); }
.check input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input:focus-visible { outline: 2px solid var(--navy-500); outline-offset: 2px; }

/* ---------- Required marker ---------- */
.req { color: var(--red-500); font-weight: 600; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .timeline::before { left: 8px; }
  .timeline__item { grid-template-columns: 1fr; row-gap: 6px; padding-left: 34px; }
  .timeline__item::before { left: 3px; top: 22px; }
  .timeline__item:first-child::before { top: 10px; }
  .cert-row { grid-template-columns: 1fr; row-gap: 6px; }
}

/* ==========================================================================
   Small-screen refinements — applied after the responsive blocks above
   ========================================================================== */
@media (max-width: 560px) {
  /* Phones: the header keeps only the logo, the search icon and the menu
     button. The primary call to action lives in the drawer at this width,
     so the bar never gets crowded. */
  .header .btn--primary { display: none; }
  .header__inner { gap: 12px; }

  /* A single entry stays in the utility bar. */
  .topbar__list:last-child { display: none; }
}

@media (max-width: 760px) {
  /* Let the headline break around the underlined phrase if needed. */
  .hero h1 em { white-space: normal; }
  .hero h1 { overflow-wrap: break-word; }
}

/* ==========================================================================
   Marcas parceiras — faixa em movimento contínuo
   ========================================================================== */
.brands { background: var(--bg-alt); border-block: 1px solid var(--border); }
.brands__viewport {
  overflow: hidden;
  margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brands__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding-block: 6px;
  animation: brands-scroll 42s linear infinite;
}
.brands__viewport:hover .brands__track,
.brands__viewport:focus-within .brands__track { animation-play-state: paused; }
.brands__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 28px;
  white-space: nowrap;
  box-shadow: var(--el-1);
}
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: 20px; }
}
@media (max-width: 760px) {
  .brands__item { font-size: .92rem; padding: 13px 20px; }
}
/* ==========================================================================
   Logotipos vindos do painel (clientes, parceiros e marcas)
   ========================================================================== */
.logostrip__items span { display: inline-flex; align-items: center; }
.logostrip__items img {
  max-height: 32px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

.brands__item img {
  max-height: 34px;
  max-width: 180px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brands__item.has-logo { padding: 12px 24px; }
.brands__item a { display: inline-flex; align-items: center; }

.brands__track--reverse { animation-direction: reverse; animation-duration: 56s; }
.brands__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--silver-500);
  text-align: center;
  margin: 34px 0 0;
}

@media (max-width: 760px) {
  .logostrip__items img { max-height: 26px; max-width: 120px; }
  .brands__item img { max-height: 28px; max-width: 140px; }
}
/* ==========================================================================
   Ajustes da integração com o site da Inside-TI
   ========================================================================== */
/* Logos redondos/quadrados (HP, Dell, Starlink...) um pouco maiores para equilibrar */
.brands__item.has-logo.quadrado img { max-height: 44px; }
/* O menu lateral fechado fica fora da tela: impede rolagem lateral no celular */
html, body { overflow-x: clip; }
/* Campo-armadilha contra robôs nos formulários (fica fora da tela) */
.armadilha { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Mensagem de erro do formulário */
.form-note--erro { color: #8E1029 !important; background: #FBE3E7 !important; border-color: #F3B6C1 !important; }
/* Logos em SVG sem tamanho próprio: altura fixa (largura proporcional) */
.brands__item img { height: 34px; width: auto; }
.brands__item.has-logo.quadrado img { height: 44px; }
.logostrip__items img { height: 32px; width: auto; }
@media (max-width: 760px) {
  .brands__item img { height: 28px; }
  .brands__item.has-logo.quadrado img { height: 36px; }
  .logostrip__items img { height: 26px; }
}
/* Botões de filtro do comparativo quebram linha no celular */
@media (max-width: 760px) {
  .segmented { display: flex; flex-wrap: wrap; max-width: 100%; }
  .segmented button { flex: 1 1 auto; }
}
/* Botão de menu do celular: as três linhas uma embaixo da outra */
.burger { flex-direction: column; }

/* ==========================================================================
   Página de artigo (Insights)
   ========================================================================== */
.artigo__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.artigo__meta .who strong { display: block; font-size: .92rem; color: #fff; font-weight: 600; }
.artigo__meta .who span { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.artigo__data { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.artigo { max-width: 740px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; color: var(--ink-700); }
.artigo h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--navy-900); margin: 2.2em 0 .6em; line-height: 1.25; }
.artigo h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800); margin: 1.8em 0 .5em; }
.artigo p { margin: 0 0 1.15em; }
.artigo ul, .artigo ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.artigo ul { list-style: disc; }
.artigo ol { list-style: decimal; }
.artigo li { margin-bottom: .45em; }
.artigo li::marker { color: var(--red-500); }
.artigo strong { color: var(--navy-900); }
.artigo a { color: var(--red-600); text-decoration: underline; text-underline-offset: 3px; }
.artigo blockquote { margin: 1.6em 0; padding: 14px 20px; border-left: 3px solid var(--red-500); background: var(--navy-050); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--navy-800); }
.artigo blockquote p { margin: 0; }
.artigo > :first-child { margin-top: 0; }
.artigo__rodape { max-width: 740px; margin: 44px auto 0; padding-top: 26px; border-top: 1px solid var(--border); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.artigo__previa { background: #FFF4D6; color: #6B4E00; border-bottom: 1px solid #F1D58A; text-align: center; padding: 12px 20px; font-size: .9rem; font-weight: 600; }
/* Cartões de artigo clicáveis */
a.post-card { display: block; color: inherit; text-decoration: none; }
a.post-card:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }
@media (max-width: 760px) {
  .artigo__data { margin-left: 0; width: 100%; }
  .artigo { font-size: 1rem; }
}
