/* ==========================================================================
   Atelic AI — design system
   Brand: Atelic red (#F61536, as on atelic.ai) on deep industrial navy; cyan = power.
   ========================================================================== */

:root {
  --ink: #030b17;
  --navy: #011526;
  --navy-2: #071f38;
  --navy-3: #0d2c4d;
  --line-dark: rgba(148, 178, 214, 0.14);
  --red: #f61536;
  --red-600: #d50f2b;
  --red-glow: rgba(246, 21, 54, 0.35);
  --amber: var(--red);  /* orange retired: accents use brand red */
  --cyan: #2ad4f0;
  --green: #3ee0a1;
  --violet: #8b7bff;

  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #e9eff7;
  --text: #0a1626;
  --text-2: #42546b;
  --muted: #6b7c93;
  --line: #dbe3ee;

  --on-dark: #eef4fb;
  --on-dark-2: #a9bbd1;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(3, 11, 23, .06), 0 2px 8px rgba(3, 11, 23, .05);
  --shadow: 0 10px 30px -12px rgba(3, 11, 23, .18), 0 2px 6px rgba(3, 11, 23, .05);
  --shadow-lg: 0 30px 60px -20px rgba(3, 11, 23, .35);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
i[data-lucide], svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; flex: none; display: inline-block; }

.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; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 1000; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-navy { background: linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); color: var(--on-dark); }
.section-soft { background: var(--surface); }
.section-dark p, .section-navy p { color: var(--on-dark-2); }
.section-dark h2, .section-navy h2, .section-dark h3, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 18px;
}
.eyebrow-light { color: var(--red); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.25rem); color: var(--text-2); line-height: 1.6; }
.section-dark .lead, .section-navy .lead, .hero .lead { color: var(--on-dark-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-grad { color: var(--red); }
.hl-red { color: var(--red); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 16px 36px -10px var(--red-glow); }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.link-arrow i, .link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover i, .link-arrow:hover svg { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-align: left; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: #fff;
  transition: background .3s, box-shadow .3s, height .3s;
}
/* blur lives on a pseudo-element so the fixed mobile nav isn't trapped inside the header's containing block */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(3, 11, 23, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-scrolled::before, body.nav-open .site-header::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 40px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,.86);
  font-weight: 500; font-size: .95rem; background: none; border: 0; transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active, .has-menu.is-active > .nav-link { color: #fff; background: rgba(255,255,255,.07); }
.nav-link svg { width: 15px; height: 15px; transition: transform .2s; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); min-width: 330px; padding: 10px;
  background: rgba(7, 21, 40, .97); border: 1px solid var(--line-dark); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover > .nav-link svg, .has-menu.is-open > .nav-link svg { transform: rotate(180deg); }
.mega-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r); transition: background .2s; }
.mega-link:hover { background: rgba(255,255,255,.06); }
.mega-link strong { display: block; font-size: .95rem; color: #fff; }
.mega-link small { color: var(--on-dark-2); font-size: .82rem; }
.mega-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(246, 21, 54,.14); color: var(--red); flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.light-header .site-header:not(.is-scrolled) { color: var(--text); }

/* Breadcrumbs -------------------------------------------------------------- */
.crumbs {
  position: absolute; z-index: 5; top: calc(var(--header-h) + 14px); left: 0; right: 0; margin: 0 auto;
  max-width: var(--container); padding: 0 var(--gutter); font-size: .82rem; color: var(--on-dark-2);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.crumb-sep { opacity: .5; }

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(42, 212, 240, .14), transparent 60%),
    radial-gradient(900px 520px at 12% 0%, rgba(246, 21, 54, .16), transparent 60%),
    radial-gradient(800px 400px at 50% 100%, rgba(246, 21, 54, .12), transparent 70%),
    linear-gradient(180deg, #020814 0%, #041327 55%, #061a33 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(148,178,214,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148,178,214,.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-home { padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px)); }
.hero-copy { position: relative; z-index: 3; max-width: 1060px; margin: 0 auto; text-align: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lead { max-width: 740px; margin: 0 auto 28px; }
.hero-copy .btn-row { justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; margin-bottom: 26px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.04); font-size: .86rem; color: var(--on-dark-2); backdrop-filter: blur(6px);
}
.hero-home .hero-badge { margin-bottom: 20px; }
.hero-home .hero-sectors { margin-top: 22px; }
.hero-badge b { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; }
.hero-sectors { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; font-size: .86rem; color: var(--on-dark-2); }
.hero-sectors span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-amber { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.dot-cyan { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.dot-red { background: var(--red); box-shadow: 0 0 12px var(--red); }
.dot-green { background: var(--green); box-shadow: 0 0 12px var(--green); }

.hero-stage { position: relative; margin-top: clamp(16px, 3vw, 32px); }
.hero-art { width: 100%; height: auto; aspect-ratio: 1600 / 560; }
.hero-art img { width: 100%; height: 100%; }
.hero-zone-labels { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: space-around; pointer-events: none; }
.zone-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 8px; }

.stat-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: rgba(6, 22, 42, .62); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  animation: bob 6s ease-in-out infinite; white-space: nowrap;
}
.stat-float .stat-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.stat-float .stat-ico svg { width: 20px; height: 20px; }
.stat-float strong { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; color: #fff; letter-spacing: -0.01em; }
.stat-float small { display: block; font-size: .76rem; color: var(--on-dark-2); line-height: 1.3; }
.stat-float.lg { padding: 16px 22px 16px 16px; }
.stat-float.lg strong { font-size: 2rem; }
.stat-float.lg .stat-ico { width: 52px; height: 52px; }
.ico-amber { background: rgba(246, 21, 54,.16); color: var(--amber); }
.ico-cyan { background: rgba(42,212,240,.15); color: var(--cyan); }
.ico-green { background: rgba(62,224,161,.15); color: var(--green); }
.ico-red { background: rgba(246, 21, 54,.18); color: var(--red); }
.ico-violet { background: rgba(139,123,255,.18); color: var(--violet); }
.sf-oil { left: 4%; top: 6%; animation-delay: -1s; }
.sf-shutdown { left: 23%; top: 21%; animation-delay: -3s; }
.sf-money { left: 50%; top: -4%; transform: translateX(-50%); animation-name: bob-center; }
.sf-gas { left: 44%; top: 25%; animation-delay: -2s; }
.sf-power { right: 4%; top: 4%; animation-delay: -4s; }
.sf-co2 { right: 4%; bottom: 13%; animation-delay: -2.5s; }
.sf-co2::after { display: none; }
.stat-float::after { content: ""; position: absolute; width: 1px; height: 46px; top: 100%; left: 34px; background: linear-gradient(rgba(255,255,255,.35), transparent); }
.sf-money::after { left: 50%; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob-center { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
.hero-footnote { text-align: center; font-size: .72rem; color: rgba(169,187,209,.6); padding: 10px 0 22px; margin: 0; }

/* Inner-page hero */
.page-hero { padding: calc(var(--header-h) + clamp(72px, 9vw, 110px)) 0 clamp(64px, 8vw, 100px); }
.page-hero .hero-copy { text-align: left; margin: 0; max-width: 760px; }
.page-hero .hero-copy .lead { margin-left: 0; }
.page-hero .btn-row { justify-content: flex-start; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-art { position: relative; }
.page-hero-art img { width: 100%; height: auto; border-radius: var(--r-xl); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.page-hero-art .stat-float { position: absolute; }
.hero-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; max-width: 620px; }
.hero-kpis div { border-left: 2px solid rgba(246, 21, 54,.6); padding-left: 14px; }
.hero-kpis strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-kpis span { font-size: .82rem; color: var(--on-dark-2); line-height: 1.35; display: block; }

/* Logos band ---------------------------------------------------------------- */
.logos-band { padding: 44px 0; background: #fff; border-bottom: 1px solid var(--line); }
.logos-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.logos-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.logo-row { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.logo-row-clients { gap: 16px; }
.logo-tile { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; height: 64px; }
.logo-tile img { height: 40px; width: auto; }
.logo-row-partners img { height: 26px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logo-row-partners img:hover { opacity: 1; filter: none; }
.logos-group + .logos-group { border-left: 1px solid var(--line); padding-left: clamp(28px, 5vw, 72px); }

/* Cards & grids ---------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .98rem; }
.card-dark { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border-color: var(--line-dark); box-shadow: none; color: var(--on-dark); }
.card-dark:hover { border-color: rgba(255,255,255,.24); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card-dark p { color: var(--on-dark-2); }
.icon-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px; background: rgba(246, 21, 54,.1); color: var(--red); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.amber { background: rgba(246, 21, 54,.14); color: var(--red); }
.icon-badge.cyan { background: rgba(42,212,240,.14); color: #0aa3bf; }
.icon-badge.green { background: rgba(62,224,161,.15); color: #0f9f6a; }
.icon-badge.violet { background: rgba(139,123,255,.15); color: #6a58f0; }
.card-dark .icon-badge.amber { color: var(--amber); } .card-dark .icon-badge.cyan { color: var(--cyan); }
.card-dark .icon-badge.green { color: var(--green); } .card-dark .icon-badge { color: var(--red); }
.card-dark .icon-badge.violet { color: var(--violet); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-family: var(--font-mono); font-size: .72rem; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--text-2); border: 1px solid var(--line); }
.card-dark .tag, .section-dark .tag, .section-navy .tag { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--on-dark-2); }
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list svg { color: var(--red); margin-top: 4px; }
.check-list-light li { color: var(--on-dark-2); }
.check-list-light svg { color: var(--green); }

/* Capability cards (home) */
.cap-card { overflow: hidden; display: flex; flex-direction: column; }
.cap-card .cap-visual { margin: -6px -6px 22px; border-radius: var(--r); height: 150px; background: var(--ink); position: relative; overflow: hidden; }
.cap-card .cap-visual img { width: 100%; height: 100%; object-fit: cover; }
.cap-card .link-arrow { margin-top: auto; }
.cap-foot { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }

/* Definition / answer block (AEO) */
.answer-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.answer-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.answer-card dl { margin: 0; display: grid; gap: 20px; }
.answer-card dt { font-family: var(--font-display); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.answer-card dt svg { color: var(--red); }
.answer-card dd { margin: 6px 0 0; color: var(--text-2); }

/* Flow diagram: sources -> AKS -> outcomes */
.flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: 18px; align-items: center; }
.flow-col { display: grid; gap: 10px; }
.flow-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); color: var(--on-dark); font-size: .92rem; }
.flow-chip svg { color: var(--on-dark-2); }
.flow-chip.out svg { color: var(--green); }
.flow-col h3 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin: 0 0 6px; font-weight: 500; }
.flow-arrow { color: rgba(255,255,255,.3); display: grid; place-items: center; }
.flow-arrow svg { width: 28px; height: 28px; }
.flow-core {
  position: relative; border-radius: var(--r-xl); padding: 32px 26px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 0%, rgba(246, 21, 54,.35), transparent 60%), linear-gradient(180deg, #0c2847, #061a33);
  border: 1px solid rgba(246, 21, 54,.4); box-shadow: 0 0 0 6px rgba(246, 21, 54,.06), 0 30px 80px -30px rgba(246, 21, 54,.6);
}
.flow-core img { width: 64px; margin: 0 auto 14px; }
.flow-core h3 { font-size: 1.3rem; margin-bottom: 6px; }
.flow-core p { font-size: .9rem; color: var(--on-dark-2); }
.flow-steps { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.flow-steps div { display: flex; gap: 10px; align-items: center; font-size: .88rem; padding: 8px 12px; background: rgba(255,255,255,.05); border-radius: 10px; }
.flow-steps b { font-family: var(--font-mono); color: var(--red); font-weight: 500; font-size: .76rem; }

/* Sector cards */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector-card { border-radius: var(--r-xl); overflow: hidden; color: #fff; display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line-dark); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(1,21,38,.6); }
.sector-card .sector-art { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-dark); flex: none; }
.sector-card .sector-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .8s var(--ease); }
.sector-card:hover .sector-art img { transform: scale(1.05); }
.sector-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.sector-body h3 { font-size: 1.3rem; line-height: 1.3; color: #fff; margin: 10px 0 14px; }
.sector-body p { color: var(--on-dark-2); font-size: .94rem; margin-bottom: 22px; }
.sector-body .link-arrow { margin-top: auto; }
.sector-num { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.sector-stat { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); margin-bottom: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--red), var(--amber), var(--cyan), var(--green)); opacity: .5; }
.step { position: relative; text-align: left; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-family: var(--font-display); font-weight: 700; margin-bottom: 20px; position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.step-num svg { color: var(--red); width: 24px; height: 24px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-2); font-size: .95rem; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-dark); border-radius: var(--r-xl); overflow: hidden; }
.stats-band > div { padding: 34px 28px; border-right: 1px solid var(--line-dark); }
.stats-band > div:last-child { border-right: 0; }
.stats-band strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: #fff; margin-bottom: 10px; letter-spacing: -0.03em; }
.stats-band span { color: var(--on-dark-2); font-size: .92rem; }

/* Video */
.video-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16/9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(3,11,23,.1), rgba(3,11,23,.55)); border: 0; color: #fff; }
.video-play span { width: 88px; height: 88px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(246, 21, 54,.2), 0 20px 50px -10px var(--red-glow); transition: transform .3s var(--ease); }
.video-play:hover span { transform: scale(1.08); }
.video-play svg { width: 32px; height: 32px; margin-left: 4px; fill: #fff; }
.video-caption { position: absolute; left: 24px; bottom: 20px; font-size: .9rem; color: #fff; display: flex; align-items: center; gap: 10px; pointer-events: none; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-media img { border-radius: var(--r-xl); width: 100%; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { text-align: left; }
.person-photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); margin-bottom: 16px; position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person h3 { font-size: 1.08rem; margin-bottom: 2px; }
.person .role { color: var(--red); font-size: .86rem; font-weight: 600; margin-bottom: 8px; }
.person p { font-size: .9rem; color: var(--text-2); }
.advisor { display: flex; gap: 18px; align-items: center; }
.advisor-mono { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), #7a0b1d); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(246, 21, 54,.35); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-family: var(--font-display); font-size: 1.04rem; position: relative; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f61536' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--text-2); }
.faq-answer p:last-child { margin: 0; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }

/* Lead / forms */
.lead-section { background: radial-gradient(800px 400px at 0% 0%, rgba(246, 21, 54,.18), transparent 60%), linear-gradient(180deg, var(--navy), var(--ink)); color: #fff; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.lead-copy h2 { color: #fff; }
.lead-contact { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: var(--on-dark-2); font-size: .92rem; }
.lead-contact a, .lead-contact span { display: inline-flex; align-items: center; gap: 8px; }
.lead-contact a:hover { color: #fff; }
.form-card { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); color: var(--text); }
.form-card:hover { transform: none; }
.form-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .84rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .96rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(246, 21, 54,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { font-size: .78rem; color: var(--red-600); }
.field input[type=file] { padding: 10px; background: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--text-2); margin: 18px 0; line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--red); text-decoration: underline; }
.consent.has-error { color: var(--red-600); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.form-status { margin: 14px 0 0; font-size: .9rem; min-height: 1em; }
.form-status.ok { color: #0f9f6a; font-weight: 600; }
.form-status.err { color: var(--red-600); }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .icon-badge { margin: 0 auto 18px; background: rgba(62,224,161,.15); color: #0f9f6a; }
.form-note { font-size: .78rem; color: var(--on-dark-2); margin: 10px 0 0; }
.form-note a { text-decoration: underline; }
.chip-check { display: inline-flex; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .82rem; color: var(--on-dark-2); transition: all .2s; display: inline-flex; gap: 6px; align-items: center; }
.chip-check input:checked + span { background: rgba(246, 21, 54,.16); border-color: rgba(246, 21, 54,.6); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--cyan); }
.form-card .chip-check span { border-color: var(--line); color: var(--text-2); }
.form-card .chip-check input:checked + span { background: rgba(246, 21, 54,.08); color: var(--red-600); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 72px 0 28px; border-top: 1px solid var(--line-dark); }
.footer-news { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); margin-bottom: 64px; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(42,212,240,.14), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(246, 21, 54,.12), transparent 60%), var(--navy-2); border: 1px solid var(--line-dark); }
.footer-news h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.footer-news p { margin: 0; }
.news-row { display: flex; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px; }
.news-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 16px; font: inherit; }
.news-row input::placeholder { color: rgba(169,187,209,.7); }
.news-row input:focus { outline: 0; }
.news-row:focus-within { border-color: rgba(246, 21, 54,.6); }
.news-topics { border: 0; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 340px; }
.footer-address { display: flex; gap: 10px; font-size: .9rem; margin: 18px 0; }
.footer-address svg { color: var(--red); margin-top: 4px; }
.adgm-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 12px; font-size: .82rem; background: rgba(255,255,255,.03); }
.adgm-badge strong { color: #fff; font-family: var(--font-display); letter-spacing: .08em; margin-right: 4px; }
.adgm-badge svg { color: #c9a35c; width: 22px; height: 22px; }
.footer-col h3 { font-size: .78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; font-size: .93rem; }
.footer-col a:hover, .footer-col .link-btn:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .84rem; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: all .2s; }
.footer-social a:hover { color: #fff; border-color: var(--red); background: rgba(246, 21, 54,.12); }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; }
.cookie-inner { max-width: 980px; width: 100%; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: var(--r-lg); background: rgba(7, 21, 40, .97); color: var(--on-dark-2); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg); font-size: .9rem; backdrop-filter: blur(10px); }
.cookie-inner strong { color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cookie-inner p { margin: 0; }
.cookie-inner a { text-decoration: underline; color: #fff; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.cookie-prefs { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.cookie-prefs label { display: inline-flex; gap: 6px; align-items: center; }
.cookie-prefs input { accent-color: var(--red); }

/* Insights */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--navy); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .76rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.post-meta .pill { background: rgba(246, 21, 54,.08); color: var(--red); padding: 3px 10px; border-radius: 999px; }
.post-body h3 { font-size: 1.15rem; }
.post-body .link-arrow { margin-top: auto; font-size: .92rem; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-bar button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .9rem; color: var(--text-2); }
.filter-bar button.is-active { background: var(--text); border-color: var(--text); color: #fff; }

/* Careers */
.value-card { padding: 28px; }
.role-list { display: grid; gap: 14px; }
.role-row { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.role-row:hover { border-color: rgba(246, 21, 54,.4); box-shadow: var(--shadow); transform: translateY(-2px); }
.role-row h3 { font-size: 1.12rem; margin: 0 0 4px; }
.role-row p { margin: 0; font-size: .92rem; color: var(--text-2); }
.role-row .icon-badge { margin: 0; }
.perk { display: flex; gap: 16px; }
.perk .icon-badge { margin: 0; flex: none; width: 46px; height: 46px; }
.perk h3 { font-size: 1.05rem; margin-bottom: 4px; }
.perk p { margin: 0; font-size: .93rem; color: var(--text-2); }
.section-dark .perk p { color: var(--on-dark-2); }

/* Media kit */
.kit-asset { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.kit-preview { height: 180px; display: grid; place-items: center; padding: 28px; }
.kit-preview.dark { background: var(--ink); }
.kit-preview.light { background: var(--surface); }
.kit-preview.red { background: var(--red); }
.kit-preview img { max-height: 100%; width: auto; max-width: 80%; }
.kit-meta { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.kit-meta strong { display: block; font-size: .96rem; }
.kit-meta small { color: var(--muted); font-size: .8rem; }
.dl-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); flex: none; transition: all .2s; }
.dl-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.swatch { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch-color { height: 120px; }
.swatch-info { padding: 16px 18px; font-size: .86rem; }
.swatch-info strong { display: block; font-size: .98rem; }
.swatch-info code { font-family: var(--font-mono); color: var(--text-2); font-size: .8rem; }
.boiler { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; }
.boiler h3 { font-size: 1rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; }
.boiler p { margin: 0; color: var(--text); }
.copy-btn { position: absolute; top: 18px; right: 18px; display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.copy-btn:hover { border-color: var(--text); }
.fact-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.fact-table th, .fact-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table th { width: 34%; font-weight: 600; color: var(--muted); font-size: .86rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; padding-right: 20px; }
.type-sample { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.type-sample .big { font-size: 3.2rem; line-height: 1; margin-bottom: 14px; }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 6px; }
.legal a { color: var(--red); text-decoration: underline; }
.legal-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--on-dark-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 2em; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc a { display: block; padding: 6px 0; color: var(--text-2); border-left: 2px solid var(--line); padding-left: 14px; }
.toc a:hover { color: var(--red); border-color: var(--red); }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }

/* Contact */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.contact-card .icon-badge { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-card strong { color: #fff; display: block; }
.contact-card span, .contact-card a { color: var(--on-dark-2); font-size: .94rem; }
.contact-card a:hover { color: #fff; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-2); }
.tabs button.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }

/* Architecture layers (sector pages) */
.layers { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; align-items: stretch; }
.layer { border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.layer h3 { font-size: 1rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--on-dark-2); margin-bottom: 4px; }
.layer > p { color: #fff !important; font-family: var(--font-display); font-weight: 600; margin-bottom: 18px; }
.layer ul { display: grid; gap: 8px; }
.layer li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: .9rem; color: var(--on-dark); }
.layer li svg { color: var(--on-dark-2); width: 16px; height: 16px; }
.layer-core { border-color: rgba(246, 21, 54,.5); background: radial-gradient(circle at 50% 0%, rgba(246, 21, 54,.25), transparent 60%), rgba(255,255,255,.04); box-shadow: 0 30px 80px -40px rgba(246, 21, 54,.7); }
.layer-core li svg { color: var(--red); }
.usecase { padding: 32px; }
.usecase ul { display: grid; gap: 12px; margin-top: 16px; }
.usecase li { display: flex; gap: 12px; color: var(--text-2); font-size: .96rem; }
.usecase li svg { color: var(--red); margin-top: 4px; }
.platform-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 18px; }
.platform-box { border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); background: #fff; }
.platform-box h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; }
.platform-box ul { display: grid; gap: 8px; margin-top: 12px; }
.platform-box li { font-size: .92rem; color: var(--text-2); display: flex; gap: 10px; align-items: center; }
.platform-box li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.platform-core { background: var(--ink); color: #fff; border-color: var(--ink); }
.platform-core li { color: var(--on-dark-2); }
.platform-core h3 { color: #fff; }
.platform-core .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.secure-strip { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .92rem; color: var(--text-2); }
.secure-strip strong { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.solution-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.solution-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.solution-pills svg { color: var(--red); }
.next-sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next-sector { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: all .25s; }
.next-sector:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.next-sector small { font-family: var(--font-mono); color: var(--muted); letter-spacing: .1em; }
.next-sector strong { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.disciplines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.discipline h3 { font-size: 1.1rem; }
.discipline ul { display: grid; gap: 7px; margin-top: 12px; }
.discipline li { font-size: .9rem; color: var(--on-dark-2); display: flex; gap: 8px; align-items: center; }
.discipline li::before { content: "→"; color: var(--red); font-size: .8rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* Responsive -------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 20px var(--gutter) 40px; gap: 18px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .primary-nav { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 8px; }
  .has-menu:hover .menu { transform: none; }
  .has-menu.is-open .menu { display: block; transform: none; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { padding: 16px; }
  .grid-4, .team-grid, .disciplines { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .flow-col { display: flex; flex-wrap: wrap; gap: 8px; }
  .flow-col h3 { flex-basis: 100%; margin: 0 0 2px; }
  .flow-chip { padding: 8px 14px; border-radius: 999px; font-size: .86rem; gap: 8px; }
  .flow-chip svg { width: 16px; height: 16px; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-arrow svg { width: 22px; height: 22px; }
  .flow-core { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 22px; }
  .flow-core img { width: 52px; margin: 0; grid-row: span 2; }
  .flow-core h3 { margin: 0; }
  .flow-steps { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .platform-grid, .layers { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; gap: 16px; }
  .sector-card { flex-direction: row; }
  .sector-card .sector-art { aspect-ratio: auto; width: 38%; border-bottom: 0; border-right: 1px solid var(--line-dark); }
  .platform-grid { gap: 12px; }
  .platform-box { padding: 20px 22px; }
  .platform-box ul { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); column-gap: 20px; }
  .platform-core .two-col { gap: 0 20px; }
  .layers { gap: 12px; }
  .layer { padding: 20px 22px; }
  .layer > p { margin-bottom: 14px; }
  .layer ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .layer li { padding: 8px 14px; border-radius: 999px; font-size: .86rem; gap: 8px; }
  .stat-float { padding: 9px 12px 9px 9px; gap: 9px; }
  .stat-float strong { font-size: 1.05rem; }
  .stat-float.lg strong { font-size: 1.4rem; }
  .stat-float .stat-ico { width: 32px; height: 32px; }
  .stat-float.lg .stat-ico { width: 40px; height: 40px; }
  .stat-float small { font-size: .68rem; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .split, .answer-block, .faq-wrap, .lead-grid, .page-hero-grid, .footer-news, .post-grid, .next-sectors, .legal-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: 1fr; }
  .logos-group + .logos-group { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band > div:nth-child(2) { border-right: 0; }
  .stats-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .faq-side, .toc { position: static; }
  .toc { display: none; }
  .page-hero-art { max-width: 560px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  /* hero floating stats become a tidy grid under the art on small screens */
  .hero-stage { display: flex; flex-direction: column; }
  .hero-floats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--gutter) 8px; order: 2; margin-top: -8px; }
  .hero-floats .stat-float { position: static; transform: none; animation: none; white-space: normal; }
  .hero-floats .stat-float::after { display: none; }
  .hero-floats .sf-money { grid-column: 1 / -1; }
  .hero-art { order: 1; width: 128%; margin-left: -14%; }
  .hero-zone-labels { display: none; }
}
@media (max-width: 560px) {
  .sector-card { flex-direction: column; }
  .sector-card .sector-art { width: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .sector-body { padding: 22px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-core { padding: 18px; }
  .grid-4, .team-grid, .disciplines, .form-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-kpis { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; border-radius: var(--r); }
  .news-row .btn { width: 100%; }
  .role-row { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats-band { grid-template-columns: 1fr; }
  .stats-band > div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .platform-core .two-col { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .lead-section { display: none; }
}

/* Light cards placed inside dark sections */
.section-dark .role-row p, .section-navy .role-row p { color: var(--text-2); }
.section-dark .card:not(.card-dark) p { color: var(--text-2); }
.page-hero .crumbs ~ * {}

/* Glossary ---------------------------------------------------------------------- */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.glossary-index a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .84rem; color: var(--text-2); }
.glossary-index a:hover { border-color: var(--red); color: var(--red); }
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.glossary .term { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; scroll-margin-top: 96px; }
.glossary .term:target { border-color: var(--red); box-shadow: 0 0 0 4px rgba(246, 21, 54,.08); }
.glossary dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.glossary dd { margin: 0; color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.glossary-cta { margin-top: 32px; color: var(--text-2); }
.glossary-cta a { color: var(--red); font-weight: 600; }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }
