/* De Wit Automatisering. One stylesheet, no JavaScript. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --surface: #ffffff;
  --ink: #0b1b33;
  --ink-2: #2f405a;
  --muted: #5a6a83;
  --line: #e2e8f1;
  --line-strong: #b9c4d4;
  --brand: #1d63d8;
  --brand-strong: #1450c8;
  --brand-soft: #e9f1fe;
  --brand-sub: #1d63d8;
  --accent: #0ea5c9;
  --ok: #15a34a;
  --shadow: 0 1px 2px rgb(11 27 51 / 0.04), 0 8px 24px -8px rgb(11 27 51 / 0.10);
  --shadow-lift: 0 2px 4px rgb(11 27 51 / 0.05), 0 18px 40px -12px rgb(11 27 51 / 0.18);
  --night: #070d19;
  --radius: 18px;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Dark theme: automatic (system setting) unless the visitor chose light, or chosen
   explicitly with the theme switch (js/theme.js sets data-theme on <html>).
   The two token lists must stay identical: tools/check.mjs compares them. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070d19;
    --bg-soft: #0a1322;
    --surface: #0d182b;
    --ink: #e9eff9;
    --ink-2: #c3cfe1;
    --muted: #93a3bb;
    --line: #1b2840;
    --line-strong: #31446a;
    --brand: #6fb0ff;
    --brand-strong: #8fc2ff;
    --brand-soft: #10264a;
    --brand-sub: #6fb0ff;
    --accent: #22d3ee;
    --ok: #34d399;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 18px 40px -12px rgb(0 0 0 / 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070d19;
  --bg-soft: #0a1322;
  --surface: #0d182b;
  --ink: #e9eff9;
  --ink-2: #c3cfe1;
  --muted: #93a3bb;
  --line: #1b2840;
  --line-strong: #31446a;
  --brand: #6fb0ff;
  --brand-strong: #8fc2ff;
  --brand-soft: #10264a;
  --brand-sub: #6fb0ff;
  --accent: #22d3ee;
  --ok: #34d399;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.5);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / 0.3), 0 18px 40px -12px rgb(0 0 0 / 0.6);
}
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.03; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.3vw, 2.8rem); letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--brand); color: #fff; border-radius: 10px; }
.skip:focus { left: 16px; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 46em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, #3d8bf2, #1450c8); color: #fff; box-shadow: 0 8px 24px -10px rgb(29 99 216 / 0.8); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); border-color: var(--brand); }
.on-dark .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.04); }
.on-dark .btn-ghost:hover { color: #fff; border-color: rgb(255 255 255 / 0.5); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; color: var(--ink); flex: none; }
.brand svg { height: 27px; width: auto; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-decoration: none;
}
.lang svg { width: 15px; height: 15px; }
.lang:hover { color: var(--ink); border-color: var(--brand); }
.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.theme {
  display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink-2); cursor: pointer; font: inherit;
}
.theme:hover { color: var(--ink); border-color: var(--brand); }
.theme svg { grid-area: 1 / 1; width: 17px; height: 17px; display: none; }
:root:not([data-theme]) .theme .i-auto,
:root[data-theme="light"] .theme .i-light,
:root[data-theme="dark"] .theme .i-dark { display: block; }
.header-cta { padding: 9px 16px; font-size: 0.9rem; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 12px; }
  .brand svg { height: 24px; }
  .header-tools { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 6px 0 4px -10px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 8px; white-space: nowrap; font-size: 0.92rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(55% 75% at 88% -5%, rgb(29 99 216 / 0.55), transparent 62%),
    radial-gradient(45% 60% at -5% 105%, rgb(34 195 238 / 0.16), transparent 60%),
    var(--night);
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero .eyebrow { color: #8cc0ff; }
.hero .eyebrow::before { background: #22c3ee; }
.hero h1 { max-width: 13em; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 3.9rem); }
.hero h1 .grad {
  background: linear-gradient(100deg, #7cb8ff 0%, #3d8bf2 45%, #22c3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #c3cfe1; margin: 26px 0 34px; max-width: 34em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Zero Trust card in the hero */
.zt {
  position: relative;
  border-radius: 22px; padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03));
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-width: 460px; width: 100%; justify-self: end;
}
@media (max-width: 960px) { .zt { justify-self: start; } }
.zt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.zt-head i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 0.18); }
.zt-head span { margin-left: 8px; font-size: 0.8rem; font-weight: 600; color: #93a3bb; letter-spacing: 0.02em; }
.zt h2 { font-size: 1.12rem; letter-spacing: -0.01em; margin: 14px 0 12px; color: #fff; }
.zt ol { list-style: none; margin: 0; padding: 0; }
.zt li {
  display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; align-items: center;
  padding: 11px 0; border-top: 1px solid rgb(255 255 255 / 0.08);
  animation: rise .5s cubic-bezier(.2,.7,.2,1) both;
}
.zt li:nth-child(1) { animation-delay: .15s; }
.zt li:nth-child(2) { animation-delay: .3s; }
.zt li:nth-child(3) { animation-delay: .45s; }
.zt li:nth-child(4) { animation-delay: .6s; }
.zt li:nth-child(5) { animation-delay: .75s; }
.zt li:nth-child(6) { animation-delay: .9s; }
.zt li svg { grid-row: span 2; width: 30px; height: 30px; padding: 7px; border-radius: 50%; color: #34d399; background: rgb(52 211 153 / 0.14); stroke-width: 2.6; }
.zt li b { font-size: 0.95rem; color: #fff; font-weight: 700; }
.zt li span { font-size: 0.86rem; color: #a9b7cc; line-height: 1.35; }
.zt-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.82rem; color: #93a3bb;
  animation: rise .5s 1.05s both;
}
.pill-ok {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgb(52 211 153 / 0.14); color: #6ee7b7; font-weight: 700; font-size: 0.82rem;
}
.pill-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgb(52 211 153 / 0.6); animation: pulse 2.4s 1.4s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(52 211 153 / 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(52 211 153 / 0); } }

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--line); background: var(--bg); }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 30px 24px 30px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 0.93rem; line-height: 1.45; display: block; margin-top: 6px; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: 22px 16px 22px 0; }
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > div { max-width: 44em; }
.section-head h2 + p { margin: 16px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: inherit; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
.card .more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.92rem; color: var(--brand); }
.card .more svg { width: 16px; height: 16px; transition: transform .15s ease; }
a.card:hover .more svg { transform: translateX(3px); }
.icon-tile {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3d8bf2, #1450c8);
  color: #fff; box-shadow: 0 8px 18px -8px rgb(29 99 216 / 0.7);
}
.icon-tile svg { width: 24px; height: 24px; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Microsoft ecosystem layers (home) */
.stack { display: grid; gap: 12px; }
.layer {
  display: grid; grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr); gap: 14px 28px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.layer-name { display: flex; align-items: center; gap: 14px; }
.layer-name .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.layer-name .icon-tile svg { width: 21px; height: 21px; }
.layer h3 { margin: 0; font-size: 1.08rem; }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list li {
  padding: 6px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 600;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.chips-list li.own { background: linear-gradient(135deg, #3d8bf2, #1450c8); border-color: transparent; color: #fff; }
@media (max-width: 720px) { .layer { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* EAMP band (home) */
.eamp-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(50% 80% at 100% 0%, rgb(29 99 216 / 0.45), transparent 60%),
    radial-gradient(40% 70% at 0% 100%, rgb(34 195 238 / 0.14), transparent 60%),
    var(--night);
}
.eamp-band .eyebrow { color: #8cc0ff; }
.eamp-band .eyebrow::before { background: #22c3ee; }
.eamp-band .lead { color: #c3cfe1; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.pillars li {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
  border: 1px solid rgb(255 255 255 / 0.1);
}
.pillars h3 { margin: 18px 0 8px; color: #fff; }
.pillars p { margin: 0; color: #c3cfe1; font-size: 0.97rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* EAMP page */
.page-head .hero-grid { align-items: center; }
.page-head .actions { margin-top: 30px; }
.pillar-cards .checks { margin-top: 8px; }
.pillar-cards .checks li { font-size: 0.95rem; padding: 11px 0; }
.reqs { margin-top: clamp(40px, 6vw, 64px); max-width: 46em; }
.reqs h3 { margin: 0 0 16px; font-size: 1.3rem; }

/* approach steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before {
  content: "0" counter(step); position: absolute; top: -2px; left: 0;
  padding-top: 12px; border-top: 2px solid var(--brand); width: 42px;
  font-size: 0.8rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em;
}
.steps h3 { margin: 18px 0 8px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* highlight cards (work teaser) */
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.card .tag + h3 { margin-top: 10px; }
.card-feature {
  background:
    radial-gradient(80% 90% at 100% 0%, rgb(29 99 216 / 0.35), transparent 60%),
    var(--night);
  border-color: rgb(255 255 255 / 0.08);
}
.card.card-feature { color: #fff; }
.card-feature p { color: #c3cfe1; }
.card-feature .tag, .card-feature .more { color: #8cc0ff; }
a.card.card-feature:hover { color: #fff; border-color: rgb(140 192 255 / 0.5); }

/* CTA band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: clamp(36px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(60% 120% at 100% 0%, rgb(34 195 238 / 0.35), transparent 60%),
    linear-gradient(135deg, #1d63d8, #0f3c9e);
}
.cta h2 { max-width: 18em; }
.cta p { color: #dbe7fb; max-width: 40em; margin: 18px 0 30px; font-size: 1.1rem; }
.cta .btn-primary { background: #fff; color: #0f3c9e; box-shadow: none; }
.cta .btn-primary:hover { color: #0f3c9e; }
.cta-mark { position: absolute; right: -40px; bottom: -60px; width: 320px; height: auto; opacity: 0.12; z-index: -1; }
@media (max-width: 680px) { .cta-mark { width: 220px; } }

/* ---------- page header (inner pages) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(55% 90% at 90% 0%, rgb(29 99 216 / 0.5), transparent 62%),
    var(--night);
  padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 80px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 90% at 80% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(60% 90% at 80% 0%, #000 10%, transparent 70%);
}
.page-head .eyebrow { color: #8cc0ff; }
.page-head .eyebrow::before { background: #22c3ee; }
.page-head h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); max-width: 16em; }
.page-head .lead { color: #c3cfe1; margin: 22px 0 0; }

/* chips nav (services page) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.05);
  color: #e9eff9; font-weight: 600; font-size: 0.9rem; text-decoration: none;
}
.chips a:hover { border-color: rgb(255 255 255 / 0.45); color: #fff; }
.chips svg { width: 17px; height: 17px; }

/* service detail */
.service { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.service:nth-of-type(even) { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service h2 { margin: 22px 0 16px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.service .lead { font-size: 1.08rem; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks li:first-child { padding-top: 0; }
.checks svg { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); stroke-width: 2.6; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tools li { padding: 5px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.tools-label { margin: 26px 0 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tools-label + .tools { margin-top: 12px; }

/* engagements */
.engagements { display: grid; gap: 16px; }
.engagement {
  display: grid; grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr); gap: 8px 40px;
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.engagement .meta { display: flex; flex-direction: column; gap: 6px; }
.engagement .meta span { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.engagement h3 { margin: 0 0 8px; }
.engagement p { margin: 0; color: var(--ink-2); }
@media (max-width: 720px) { .engagement { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 0.78rem; font-weight: 700; }
.card-feature .badge { background: rgb(140 192 255 / 0.14); color: #b9d8ff; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.prose p { color: var(--ink-2); font-size: 1.06rem; }
.prose h2 { margin: 0 0 22px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { margin: 0 0 1em; }
.prose li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 2px; top: 0.68em; width: 7px; height: 7px; background: var(--accent); }
.person {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.person-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.monogram {
  width: 60px; height: 60px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3d8bf2, #1450c8); color: #fff;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em;
}
.person h3 { margin: 0; }
.person .actions { margin-top: 22px; }
.person-top div span { color: var(--muted); font-size: 0.92rem; }
.facts-list { display: grid; gap: 0; margin: 0; }
.facts-list div { display: grid; grid-template-columns: minmax(110px, 0.45fr) 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts-list dt { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.facts-list dd { margin: 0; color: var(--ink); font-size: 0.95rem; font-weight: 600; overflow-wrap: anywhere; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-links { display: grid; gap: 10px; margin-top: 16px; }
.contact-links a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.contact-links a:hover { border-color: var(--brand); color: var(--ink); }
.contact-links svg { width: 20px; height: 20px; color: var(--brand); }
.contact-links span { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 0.88rem; }

/* legal text */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0 0 1em; }
.legal li { position: relative; padding-left: 20px; margin: 6px 0; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 6px; background: var(--accent); }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(100deg, #3d8bf2, #22c3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .actions { justify-content: center; margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #a9b7cc; padding: 72px 0 32px; font-size: 0.94rem; }
.site-footer a { color: #d6e0ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr)); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-logo { color: #fff; display: inline-flex; }
.footer-logo svg { height: 58px; width: auto; }
.footer-about p { margin: 20px 0 0; max-width: 26em; line-height: 1.6; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; font-weight: 700; }
.site-footer li { margin: 9px 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.86rem; color: #8193ad;
}
.footer-bottom p { margin: 0; }
.logo-sub { fill: var(--brand-sub); }
.site-footer .logo-sub { fill: #6fb0ff; }

/* ---------- compact menu (small screens, only with JavaScript) ---------- */
.menu-btn {
  display: none; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink-2); font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.menu-btn svg { width: 17px; height: 17px; }
.menu-btn:hover { color: var(--ink); border-color: var(--brand); }
@media (max-width: 640px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; }
  .js.nav-open .nav {
    display: flex; flex-direction: column; gap: 2px; overflow: visible;
    margin: 8px 0 10px; padding-top: 8px; border-top: 1px solid var(--line);
  }
  .js.nav-open .nav a { padding: 12px 10px; font-size: 1rem; }
}

/* ---------- home: hero note, offers, validation line ---------- */
.hero-note { margin: 16px 0 0; color: #a9b7cc; font-size: 0.92rem; }
.offer .outcome, .service .outcome { color: var(--ink); font-weight: 700; font-size: 1.02rem; margin: 0 0 10px; }
.service .outcome { font-size: 1.15rem; margin: -4px 0 14px; }
.card.plain h3 { margin-top: 16px; }
.validation-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius);
  border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--ink-2);
}
.validation-line > svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.validation-line .link-arrow { margin-left: auto; }

/* ---------- services ---------- */
.service .link-arrow { margin-top: 6px; }
.service .tools-label:first-child { margin-top: 0; }
.deliverables { display: grid; gap: 8px; }
.deliverables li { position: relative; padding-left: 20px; color: var(--ink-2); }
.deliverables li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; background: var(--accent); }

/* ---------- landing pages ---------- */
.landing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .landing-grid { grid-template-columns: minmax(0, 1fr); } }
.landing-grid h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 20px; }
.problems { display: grid; gap: 12px; }
.problems li {
  padding: 16px 18px 16px 48px; position: relative; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.problems li::before {
  content: "?"; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 0.8rem;
  background: var(--brand-soft); color: var(--brand);
}
.landing-grid .card .tools { margin-top: 20px; }
.faq { max-width: 52em; }
.faq h2 { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-item p { margin: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* ---------- cases ---------- */
.cases { display: grid; gap: 20px; }
.case { padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 96px; }
.case-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.case-head .muted { font-size: 0.9rem; font-weight: 600; }
.case > h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); margin: 10px 0 22px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
@media (max-width: 760px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }
.case h4 { margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case p { margin: 0; color: var(--ink-2); }
.case .checks li { padding: 8px 0; font-size: 0.97rem; }

/* ---------- EAMP architecture ---------- */
.arch {
  margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 18px; align-items: stretch;
}
@media (max-width: 900px) { .arch { grid-template-columns: minmax(0, 1fr); } }
.arch-zone {
  display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong); background: var(--bg-soft);
}
.arch-zone.platform { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-soft); }
.arch-zone-title { margin: 0 0 4px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.arch-box {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.arch-box svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.arch-box b { display: block; font-size: 0.95rem; color: var(--ink); }
.arch-box span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.35; }
.arch-box.optional { border-style: dashed; }
.arch-flows { display: flex; flex-direction: column; justify-content: center; padding: 18px 6px; }
.arch-flows ol { margin: 0; padding: 0; list-style: none; counter-reset: flow; display: grid; gap: 12px; }
.arch-flows li {
  counter-increment: flow; position: relative; padding: 10px 12px 10px 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2);
}
.arch-flows li::before {
  content: counter(flow); position: absolute; left: 10px; top: 9px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #3d8bf2, #1450c8);
}
.facts-list.wide { max-width: 60em; }
.facts-list.wide div { grid-template-columns: minmax(150px, 0.3fr) 1fr; gap: 24px; padding: 16px 0; }
.facts-list.wide dd { font-weight: 500; color: var(--ink-2); }

/* ---------- intake form ---------- */
.intake h2, .contact-side h2 { font-size: 1.3rem; margin: 0 0 18px; letter-spacing: -0.015em; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.hint { margin: 0; font-size: 0.86rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.intake { position: relative; padding: clamp(24px, 3.5vw, 36px); }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 4px 0 18px; }
.form-response { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }
.form-response svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.contact-side { display: grid; gap: 20px; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: next; display: grid; gap: 12px; }
.next-steps li { counter-increment: next; position: relative; padding-left: 38px; color: var(--ink-2); }
.next-steps li::before {
  content: counter(next); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; color: var(--brand); background: var(--brand-soft);
}
.big {
  display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 8px;
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere;
}
.big svg { width: 24px; height: 24px; flex: none; }

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

@media print {
  .site-header, .site-footer, .cta, .skip { display: none; }
  .hero, .page-head { background: none; color: #000; }
  .hero .lead, .page-head .lead { color: #333; }
}
