/* ==========================================================================
   KOA-NewTec — Design system
   Restrained consulting look: white and cool greys, the navy of the logo as
   the only brand colour, serif headings, no decorative effects.
   ========================================================================== */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --white: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-soft-2: #e9edf3;
  --ink: #16203a;
  --ink-2: #34405a;
  --muted: #5f6b80;
  --line: #dde2ea;
  --line-strong: #c3cad6;
  --navy: #1a4271;  /* sampled from the logo */
  --navy-hover: #143559;
  --navy-dark: #0f2440;
  --on-dark: #f3f5f9;
  --on-dark-muted: #aab4c8;
  --line-dark: rgba(255, 255, 255, 0.16);

  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; color: inherit; }
h1, h2 { font-family: var(--f-serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-family: var(--f-sans); font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.meta { display: block; font-size: 13.5px; color: var(--muted); }

/* ---------- Buttons & links --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: var(--navy); color: #fff;
  font-family: var(--f-sans); font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1px solid var(--navy); border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--navy); color: var(--navy); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none;
  transition: gap .2s var(--ease);
}
.arrow-link:hover { gap: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--navy); }
.nav-link[aria-current="page"], .nav-item.is-active > .nav-link { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 300px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 16px 40px -16px rgba(15, 36, 64, .25);
  padding: 8px; border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; text-decoration: none; font-size: 15px; color: var(--ink-2); border-radius: 3px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }
.dropdown a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--navy); font-weight: 500; }

.lang { display: flex; align-items: center; gap: 2px; margin-left: 12px; font-size: 14px; }
.lang a, .lang span { padding: 6px 6px; text-decoration: none; color: var(--muted); }
.lang span { color: var(--ink); font-weight: 600; }
.lang a:hover { color: var(--navy); }
.lang span + a::before { content: "|"; color: var(--line-strong); margin-right: 8px; }
.header-cta { margin-left: 12px; padding: 11px 18px; }

.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ""; transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; right: 0; top: -6px; }
.menu-toggle span::after { left: 0; right: 0; top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="page"], .nav-item.is-active > .nav-link { box-shadow: none; }
  .nav-link .chev { width: 12px; height: 12px; }
  .nav-item:hover .chev, .nav-item:focus-within .chev { transform: none; }
  .nav-item.open .chev { transform: rotate(180deg); }
  .dropdown { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 12px; display: none; }
  .nav-item.open .dropdown, .nav-item.open:hover .dropdown { display: block; }
  .nav-item:hover .dropdown { display: none; }
  .dropdown a { padding: 10px 12px; }
  .lang { margin: 20px 0 0; }
  .header-cta { margin: 16px 0 0; justify-content: center; }
}

/* ---------- Home hero ---------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-dark); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -2; filter: grayscale(.55); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15, 36, 64, .96) 0%, rgba(15, 36, 64, .9) 45%, rgba(15, 36, 64, .72) 100%); }
.hero-inner { padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); max-width: 16ch; hyphens: manual; }
.hero .lede { color: #d5dbe7; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.hero .btn--primary:hover { background: var(--bg-soft-2); border-color: var(--bg-soft-2); }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }


/* ---------- Page hero (subpages) ---------------------------------------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs .sep { color: var(--line-strong); }
.page-hero .ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.page-hero h1 { color: var(--navy-dark); }
.page-hero .lede { margin: 0; }
.page-hero .banner { height: clamp(160px, 20vw, 280px); overflow: hidden; }
.page-hero .banner img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }

/* ---------- Sections ----------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--bg-soft); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { color: var(--navy-dark); max-width: 20ch; }
.section-head p { color: var(--muted); max-width: 54ch; margin: 0; }
.section-head .prose p { color: var(--ink-2); margin-bottom: 1em; }
.section-head .prose p:last-child { margin-bottom: 0; }

/* service pillars (home) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pillar:hover { border-color: var(--line-strong); box-shadow: 0 12px 32px -18px rgba(15, 36, 64, .35); }
.pillar-img { height: 170px; overflow: hidden; background: var(--bg-soft-2); }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform .5s var(--ease); }
.pillar:hover .pillar-img img { transform: scale(1.03); }
.pillar-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pillar h3 { font-family: var(--f-serif); font-size: 24px; font-weight: 600; color: var(--navy-dark); margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 16px; }
.pillar .more { margin-top: auto; }

/* lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.lc-step { border-top: 2px solid var(--navy); padding-top: 18px; }
.lc-step .step-no { display: block; font-family: var(--f-serif); font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.lc-step h3 { font-size: 17px; margin-bottom: 8px; hyphens: auto; -webkit-hyphens: auto; }
.lc-step p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }


/* partner strip */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner { display: flex; flex-direction: column; gap: 4px; padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.partner:hover { border-color: var(--navy); }
.partner strong { font-family: var(--f-serif); font-size: 21px; font-weight: 600; color: var(--navy-dark); }
.partner span { font-size: 14.5px; color: var(--ink-2); }
.partner .meta { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Article layout (subpages) ----------------------------------- */
.article { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); padding: clamp(48px, 7vw, 88px) 0; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc-title { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0 0 32px; padding: 0; border-left: 1px solid var(--line); }
.toc ol a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc ol a:hover { color: var(--ink); }
.toc ol a.active { color: var(--navy); border-color: var(--navy); font-weight: 500; }

.content { min-width: 0; }
.block { padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.block h2 { color: var(--navy-dark); margin-bottom: 24px; max-width: 24ch; }
.prose { max-width: 70ch; }
.prose.intro { margin-bottom: 28px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--navy); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }

/* spec list */
.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.specs li { display: grid; grid-template-columns: minmax(200px, 0.8fr) 1.6fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs h3 { font-size: 17px; color: var(--navy-dark); }
.specs p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card h3 { margin-bottom: 8px; color: var(--navy-dark); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .meta { margin-bottom: 8px; }
a.card { text-decoration: none; display: flex; flex-direction: column; }
a.card:hover { border-color: var(--navy); box-shadow: 0 10px 28px -18px rgba(15, 36, 64, .4); }
a.card .arrow-link { margin-top: 16px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 28px; position: relative; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-family: var(--f-serif); font-size: 16px; font-weight: 600; }
.steps li::after { content: ""; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 5px 0 4px; }
.steps p { margin: 0; color: var(--muted); }



/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--bg-soft); }
.gallery figure.wide img { aspect-ratio: 16 / 5; }
.gallery figcaption { font-size: 13.5px; color: var(--muted); padding-top: 8px; }

/* partner card (sensor pages) */
.partner-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--radius); }
.partner-card strong { display: block; font-family: var(--f-serif); font-size: 28px; font-weight: 600; color: var(--navy-dark); margin: 4px 0 8px; }
.partner-card p { margin: 0; color: var(--ink-2); max-width: 56ch; font-size: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 600; font-size: 17px; position: relative; color: var(--navy-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 44px 22px 0; color: var(--ink-2); max-width: 72ch; }
.faq .a p:last-child { margin: 0; }

/* table */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
td:first-child { font-weight: 600; color: var(--navy-dark); }
td { color: var(--ink-2); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- CTA band ----------------------------------------------------- */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.cta h2 { max-width: 16ch; }
.cta p { font-size: 17px; margin: 0 0 22px; color: #d5dbe7; max-width: 48ch; }
.cta .btn { background: #fff; color: var(--navy); border-color: #fff; }
.cta .btn:hover { background: var(--bg-soft-2); border-color: var(--bg-soft-2); }
.cta .contact-lines { margin-top: 18px; display: grid; gap: 2px; font-size: 15px; color: #d5dbe7; }
.cta .contact-lines a { text-decoration: none; }
.cta .contact-lines a:hover { color: #fff; text-decoration: underline; }

/* ---------- Contact page ------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); padding: clamp(48px, 7vw, 88px) 0; }
.contact-info dl { margin: 0; border-top: 1px solid var(--line-strong); }
.contact-info dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.contact-info dd { margin: 0; }
.contact-info dd a { color: var(--navy); text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; }
.map-link { margin-top: 20px; }
.form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.form h2 { color: var(--navy-dark); margin-bottom: 8px; }
.form > p { color: var(--muted); margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 13px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26, 66, 113, .14); }
.form-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* legal */
.legal { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.legal .prose { max-width: 72ch; }
.legal h2 { font-family: var(--f-sans); font-size: 20px; font-weight: 600; letter-spacing: 0; margin: 36px 0 10px; color: var(--navy-dark); }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; color: var(--ink-2); }

/* draft marker for content that must be confirmed before launch */
.todo { background: #fff4d6; outline: 1px dashed #c99a1e; padding: 0 4px; border-radius: 2px; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: var(--on-dark-muted); font-size: 15px; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.foot-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; }
.site-footer h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: 13.5px; }
.foot-bottom nav { display: flex; gap: 20px; }

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

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  .lifecycle { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero .ph-grid, .section-head, .cta .wrap, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillars { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .toc { position: static; order: 2; }
  .toc ol, .toc-title { display: none; }
  .related, .cards.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .lifecycle, .partners { grid-template-columns: 1fr 1fr; }
  .specs li { grid-template-columns: 1fr; gap: 6px; }
  .cards, .cards.three, .related, .gallery { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-info dl > div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .gallery figure.wide img { aspect-ratio: 16 / 7; }
}
