/* Config Services: light "engineering console" theme.
   Navy ink, cyan brand (from the logo), green status LEDs, IBM Plex type. */

:root {
  --paper: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --ink: #08111f;
  --ink-2: #1b2a3f;
  --text: #1d2a3b;
  --muted: #5a6b80;
  --line: #dbe2ea;
  --line-strong: #c3cdd9;
  --brand: #22a6d6;
  --brand-ink: #0a6f97;
  --brand-soft: #e3f4fb;
  --led: #20c97a;
  --amber: #f2b33d;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(8 17 31 / 0.06), 0 8px 24px rgb(8 17 31 / 0.06);
  --shadow-lg: 0 24px 60px rgb(8 17 31 / 0.18);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #070d18;
    --surface: #0d1626;
    --surface-2: #111d31;
    --text: #d5dfeb;
    --muted: #91a2b8;
    --line: #1d2b40;
    --line-strong: #2a3b55;
    --brand-ink: #5cc8ee;
    --brand-soft: #0e2a3a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 600; }
@media (prefers-color-scheme: dark) { h1, h2, h3, h4 { color: #f2f6fb; } }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 0.9em; height: 0.9em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.78rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-ink); margin: 0 0 14px;
}
.eyebrow .icon { width: 1.1em; height: 1.1em; }
.eyebrow--light { color: var(--brand); }
.mono-label { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--brand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 4px rgb(32 201 122 / 0.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(32 201 122 / 0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s; }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--brand); color: #04121c; }
.btn--primary:hover { background: #45b8e2; color: #04121c; }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.25); color: #fff; background: rgb(255 255 255 / 0.04); }
.btn--ghost-light:hover { border-color: var(--brand); color: #fff; }
.btn--sm { padding: 9px 14px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--brand); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgb(8 17 31 / 0.05); }
@media (prefers-color-scheme: dark) { .site-header { background: rgb(7 13 24 / 0.86); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 38px; width: auto; }
@media (prefers-color-scheme: dark) { .brand img { filter: invert(1) hue-rotate(180deg) brightness(1.15); } }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.site-nav__list > li > a:hover, .site-nav__list > li > a[aria-current] { color: var(--brand-ink); background: var(--brand-soft); }
.menu {
  position: absolute; top: calc(100% + 6px); left: -12px; width: 380px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.18s;
}
.menu--narrow { width: 340px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.menu a:hover { background: var(--surface-2); }
.menu strong { display: block; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .menu strong { color: #f2f6fb; } }
.menu small { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.menu__icon, .tile__icon, .contact-card__icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px;
  color: var(--brand-ink); background: var(--brand-soft);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.nav-toggle { display: none; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 12px; font: 500 0.9rem var(--font); color: var(--text); cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list > li > a .icon { display: none; }
  .menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; }
  .menu small { display: none; }
  .menu a { padding: 8px 10px; }
  .menu__icon { width: 30px; height: 30px; }
  .menu__icon .icon { width: 1em; height: 1em; }
}

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #10355a 0%, transparent 60%), var(--ink); color: #c9d6e6; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); }
.hero__grid {
  position: absolute; inset: 0; opacity: 0.5;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.15rem; color: #b5c4d6; max-width: 34em; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 36px 0 0; font-size: 0.9rem; color: #8ea2ba; }
.hero__proof strong { color: #fff; font-weight: 600; margin-right: 4px; }

.console { background: #0b1729; border: 1px solid #1d3150; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(34 166 214 / 0.08); font-family: var(--mono); font-size: 0.85rem; color: #9fb3cb; overflow: hidden; }
.console__bar, .frame__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #1d3150; background: #0e1c31; }
.console__lights, .frame__bar { gap: 6px; }
.console__lights { display: inline-flex; gap: 6px; }
.console__lights i, .frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3d5a; display: block; }
.console__lights i:first-child, .frame__bar i:first-child { background: #f26d6d; }
.console__lights i:nth-child(2), .frame__bar i:nth-child(2) { background: var(--amber); }
.console__lights i:nth-child(3), .frame__bar i:nth-child(3) { background: var(--led); }
.console__title { color: #6f86a3; font-size: 0.78rem; }
.console__body { padding: 18px 20px 16px; }
.console__cmd { color: #e6eef8; margin-bottom: 12px; }
.prompt { color: var(--brand); margin-right: 8px; }
.caret { display: inline-block; width: 8px; height: 1em; background: var(--brand); vertical-align: -2px; margin-left: 4px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console__table { width: 100%; border-collapse: collapse; }
.console__table td { padding: 7px 0; border-bottom: 1px dashed #1b2d48; white-space: nowrap; }
.c-name { color: #e6eef8; width: 30%; }
.c-role { color: #6f86a3; overflow: hidden; text-overflow: ellipsis; max-width: 0; width: 45%; padding-right: 10px !important; }
.c-state { text-align: right; color: var(--led); }
.console__assure .c-name, .console__assure .c-state { color: var(--brand); }
.console__assure .led { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); margin-right: 8px; vertical-align: 1px; }
.console__spark { width: 100%; height: 64px; margin: 14px 0 6px; color: var(--brand); display: block; }
.spark-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s 0.3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.console__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 0.74rem; color: #6f86a3; }
.console__foot span::before { content: "● "; color: var(--led); }

.platform-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.platform-strip__inner { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.platform-strip .mono-label { margin: 0; }
.platform-strip ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.platform-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.92rem; transition: 0.15s; }
.platform-strip a:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.platform-strip .icon { color: var(--brand-ink); width: 1.05em; height: 1.05em; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #b5c4d6; }
.section--ink h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p:last-child { color: var(--muted); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.split h2 { margin: 0; }

.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tile-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tile-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tile-grid--four { grid-template-columns: minmax(0, 1fr); } }
.tile a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text); text-decoration: none; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.section--alt .tile a { background: var(--paper); }
.tile a::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--brand); transition: width 0.35s; }
.tile a:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile a:hover::before { width: 100%; }
.tile__icon { width: 46px; height: 46px; margin-bottom: 20px; }
.tile__index { position: absolute; top: 24px; right: 24px; font: 500 0.8rem var(--mono); color: var(--line-strong); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.tile .mono-label { margin-bottom: 10px; color: var(--brand-ink); }
.tile__more, .tile__price { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); font-size: 0.92rem; }
.tile__price { font: 500 0.85rem var(--mono); }
.tile__more .icon { width: 1em; height: 1em; transition: transform 0.15s; }
.tile a:hover .tile__more .icon { transform: translateX(3px); }

.stats { background: linear-gradient(180deg, var(--brand-soft), transparent); border-bottom: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 48px; padding-bottom: 48px; }
.stat { padding: 8px 24px; border-left: 1px solid var(--line-strong); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { display: block; font: 600 clamp(2rem, 4vw, 2.8rem)/1.1 var(--mono); color: var(--ink); letter-spacing: -0.03em; }
@media (prefers-color-scheme: dark) { .stat__value { color: #fff; } }
.stat__value--word { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.4; }
.stat__value small { font-size: 0.45em; margin-left: 4px; color: var(--muted); }
.stat__label { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--muted); }

.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .icon { color: var(--led); }
.feature__price { margin-bottom: 20px; }
.feature__price strong { font: 600 1.6rem var(--mono); color: var(--ink); }
@media (prefers-color-scheme: dark) { .feature__price strong { color: #fff; } }
.feature__media { position: relative; }
.feature__float { position: absolute; right: -16px; bottom: -28px; width: 58%; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

.frame { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: visible; }
.frame > img:not(.feature__float) { border-radius: 0 0 var(--radius-lg) var(--radius-lg); width: 100%; }
.frame__bar { display: flex; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 32px; border: 1px solid #1d3150; border-radius: var(--radius-lg); background: #0b1729; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; }
.quote blockquote p { font-size: 1.15rem; line-height: 1.55; color: #e6eef8; margin: 0; }
.quote blockquote p::before { content: "//"; display: block; font: 600 1rem var(--mono); color: var(--brand); margin-bottom: 12px; }
.quote figcaption { margin-top: auto; font-size: 0.9rem; color: #8ea2ba; }
.quote figcaption strong { display: block; color: #fff; }

.partner { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 900px; }
.partner img { width: 200px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }

.cta-band { background: var(--ink); color: #b5c4d6; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgb(34 166 214 / 0.28), transparent 65%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; }
.cta-band p:last-child { margin: 0; max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner pages */
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding-top: 12px; padding-bottom: 12px; margin: 0 auto; font: 400 0.8rem var(--mono); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-ink); }

.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.5;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.page-hero__inner { position: relative; display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero--media .page-hero__inner { grid-template-columns: 1.2fr 0.8fr; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18em; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0; }
.page-hero__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 0.86rem; }
.facts .icon { color: var(--led); width: 1em; height: 1em; }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.page-body--single { grid-template-columns: minmax(0, 800px); }

.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside__card, .aside__nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.aside__card { box-shadow: var(--shadow); border-top: 3px solid var(--brand); }
.aside__label { font: 500 0.74rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.aside__lead { font-weight: 500; color: var(--ink); }
@media (prefers-color-scheme: dark) { .aside__lead { color: #f2f6fb; } }
.price { font: 600 2.4rem/1 var(--mono); color: var(--ink); margin: 4px 0 6px; letter-spacing: -0.03em; }
@media (prefers-color-scheme: dark) { .price { color: #fff; } }
.price span { font: 400 0.9rem var(--font); color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.price small { font-size: 0.9rem; color: var(--muted); }
.price .price__alt { font: 600 1.3rem var(--mono); color: var(--muted); letter-spacing: -0.02em; margin: 0 0 0 6px; }
.aside__note { font-size: 0.88rem; color: var(--muted); }
.aside__contact { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: 0.88rem; }
.aside__contact a, .aside__nav a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.aside__contact .icon { color: var(--brand-ink); width: 1.05em; }
.aside__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.aside__nav a { padding: 8px 10px; border-radius: 8px; font-size: 0.93rem; }
.aside__nav a .icon { color: var(--muted); width: 1.1em; }
.aside__nav a:hover, .aside__nav a[aria-current] { background: var(--brand-soft); color: var(--brand-ink); }
.aside__nav a[aria-current] .icon { color: var(--brand-ink); }

/* Prose (markdown) */
.prose { max-width: 760px; }
.prose--wide { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; padding-top: 0.2em; font-size: clamp(1.45rem, 2.4vw, 1.85rem); scroll-margin-top: 96px; }
.prose h2::before { content: "#"; font: 500 0.7em var(--mono); color: var(--brand); margin-right: 10px; vertical-align: 0.12em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.35em; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--line); margin: 28px 0; box-shadow: var(--shadow); }
.prose a.ext::after { content: "↗"; font-size: 0.8em; margin-left: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
@media (prefers-color-scheme: dark) { .prose strong { color: #f2f6fb; } }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.93rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prose thead th { background: var(--ink); color: #fff; font: 500 0.8rem var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--paper); }
.prose td:not(:first-child), .prose th:not(:first-child) { text-align: center; width: 1%; white-space: nowrap; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--text); font-size: 1.05rem; }

/* Markdown blocks: ::: cards, checks, tiers, case, callout, lead */
.md-cards > ul, .md-checks > ul { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.md-cards > ul { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); counter-reset: card; }
.md-cards li {
  position: relative; margin: 0; padding: 22px 22px 20px; counter-increment: card;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  font-size: 0.95rem; color: var(--muted); transition: border-color 0.2s;
}
.md-cards li:hover { border-color: var(--brand); }
.md-cards li::before { content: counter(card, decimal-leading-zero); display: block; font: 500 0.75rem var(--mono); color: var(--brand-ink); margin-bottom: 10px; }
.md-cards li > strong:first-child, .md-checks li > strong:first-child { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.md-cards li > strong a { text-decoration: none; }
.md-checks li { position: relative; margin: 0; padding-left: 36px; color: var(--muted); }
.md-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6f97' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.md-checks li:not(:has(strong)) { color: var(--text); }
.md-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0 8px; }
.md-tier { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 0.95rem; color: var(--muted); }
.md-tier:nth-child(2):nth-last-child(2), .md-tier:nth-child(3):nth-last-child(2) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.md-tier h3 { margin: 0 0 12px; font: 500 0.82rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.md-tier h3::before { display: none; }
.md-tier p:first-of-type strong { font: 600 2.2rem/1 var(--mono); letter-spacing: -0.03em; }
.md-tier p:last-child { margin: 0; }
.md-callout { margin: 36px 0 0; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.md-callout p { margin: 0; }
.md-lead { margin: 24px 0; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--ink); color: #c9d6e6; font: 400 1.1rem/1.5 var(--mono); }
.md-lead p { margin: 0; }
.md-lead p::before { content: "$ "; color: var(--brand); }
.md-lead strong { color: #fff; }
.md-case { margin: 32px 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.md-case img { background: #fff; padding: 4px; border-radius: 6px !important; height: 52px; width: auto; margin: 0 0 16px; border: 0; box-shadow: none; border-radius: 0; }
.md-case h3 { margin-top: 0; }
.md-case blockquote { background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-bottom: 0; }
.md-case blockquote p:last-child { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow); min-height: 400px; }
.contact__details { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: border-color 0.2s; }
a.contact-card:hover { border-color: var(--brand); }
.contact-card strong { display: block; margin-top: 2px; color: var(--ink); font-weight: 600; word-break: break-word; }
@media (prefers-color-scheme: dark) { .contact-card strong { color: #fff; } }
.contact-card address { margin-top: 4px; font-size: 0.95rem; }

/* Footer */
.site-footer { background: #050b15; color: #8ea2ba; font-size: 0.92rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-brand img { width: 170px; margin-bottom: 20px; }
.footer-brand address { margin-bottom: 16px; line-height: 1.6; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .icon { color: var(--brand); width: 1.05em; }
.footer-heading { font: 500 0.75rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #b5c4d6; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.social { display: flex !important; gap: 8px !important; margin-top: 20px !important; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #1d3150; border-radius: 8px; }
.social a:hover { border-color: var(--brand); }
.social .icon { width: 1.1em; height: 1.1em; }
.social--dark { list-style: none; padding: 0; margin: 4px 0 0 !important; }
.social--dark a { border-color: var(--line); color: var(--text); background: var(--surface); }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid #142339; font-size: 0.82rem; }
.footer-meta p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links .linklike { color: #b5c4d6; text-decoration: none; font-size: inherit; }

/* Cookie banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  padding: 16px 18px; background: var(--ink); color: #c9d6e6; border: 1px solid #1d3150;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: 0.88rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent a { color: var(--brand); }
.consent__actions { display: flex; gap: 8px; }
.consent .btn--ghost { background: transparent; color: #fff; border-color: #2a3d5a; }

.zoho-form iframe { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner, .feature, .split, .page-hero--media .page-hero__inner, .contact, .quotes { grid-template-columns: minmax(0, 1fr); }
  .stats__inner { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature__float { right: 8px; bottom: -20px; }
  .page-hero__media { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .aside { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .partner img { width: 140px; }
  .c-role { display: none; }
  .md-case, .quote { padding: 22px; }
  .tile-grid { grid-template-columns: minmax(0, 1fr); }
  .prose table { font-size: 0.82rem; display: block; overflow-x: auto; }
  .prose th, .prose td { padding: 10px 8px; }
  .prose td:not(:first-child), .prose th:not(:first-child) { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spark-line { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
