/* =========================================================
   XGWCHIP — Corporate site stylesheet
   Design tokens + base + components
   ========================================================= */

:root {
  --navy: #0A1E33;
  --navy-2: #0E2A47;
  --navy-3: #15395C;
  --blue: #1F6FEB;
  --blue-dark: #1558C0;
  --teal: #0FA3A3;
  --ink: #12212F;
  --body: #3D5568;
  --muted: #6B8199;
  --bg: #FFFFFF;
  --soft: #F5F8FC;
  --soft-2: #EDF3FA;
  --line: #E2E9F1;
  --line-2: #D3DEE9;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1200px;
  --pad: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 51, .05);
  --shadow-md: 0 10px 30px -12px rgba(10, 30, 51, .18);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 650; }

::selection { background: rgba(31, 111, 235, .16); }

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

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 64px 0; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  display: block;
  padding: 8px 13px;
  font-size: 14.5px;
  color: var(--body);
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); background: var(--soft-2); }
.nav a.is-active { color: var(--blue); font-weight: 600; }

.nav-aux {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.lang {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.lang:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 111, 235, .7); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline { border-color: var(--line-2); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 82% 8%, rgba(31, 111, 235, .30), transparent 62%),
    radial-gradient(700px 420px at 6% 96%, rgba(15, 163, 163, .16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0B2540 100%);
  color: rgba(255, 255, 255, .78);
  padding: 104px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7FB2FF;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 163, 163, .18);
}

.hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: #7FB2FF;
}

.hero-lead {
  font-size: 17.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .74);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-meta div { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.hero-meta strong { display: block; color: #fff; font-size: 15px; font-weight: 600; margin-top: 2px; }

/* hero diagram card */
.hero-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero-card-head .leds { display: flex; gap: 5px; }
.hero-card-head .leds i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hero-card svg { display: block; width: 100%; height: auto; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: 30px 28px;
}
.stat b {
  display: block;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- cards ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.card--hover:hover {
  border-color: #C7D8EA;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--body); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--soft-2);
  color: var(--blue);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--soft-2);
  color: #4A6B87;
  line-height: 1.6;
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 34px 28px 0 0;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.step h4 { margin-bottom: 8px; font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- feature split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--wide { grid-template-columns: 1.15fr .85fr; }

.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--body);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(31, 111, 235, .12);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 13px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--blue);
  border-bottom: 1.6px solid var(--blue);
  transform: rotate(-45deg);
}

.panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.panel--dark {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .78);
}
.panel--dark h3, .panel--dark h4 { color: #fff; }
.panel--dark .checks li { color: rgba(255, 255, 255, .78); }
.panel--dark .checks li::before { background: rgba(127, 178, 255, .22); }
.panel--dark .checks li::after { border-color: #7FB2FF; }

/* ---------- diagram blocks ---------- */

.diagram {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  overflow: hidden;
}
.diagram svg { display: block; width: 100%; height: auto; }

.dg-box {
  fill: #fff;
  stroke: var(--line-2);
  stroke-width: 1.4;
}
.dg-box--accent { fill: rgba(31, 111, 235, .07); stroke: rgba(31, 111, 235, .55); }
.dg-box--dark { fill: var(--navy); stroke: var(--navy); }
.dg-text { font-family: var(--sans); font-size: 13px; fill: #2A4358; }
.dg-text--sm { font-size: 11.5px; fill: #6B8199; }
.dg-text--light { fill: #fff; font-size: 13px; }
.dg-line { stroke: #A7BccD; stroke-width: 1.4; fill: none; }
.dg-line--accent { stroke: rgba(31, 111, 235, .7); }
.dg-dash { stroke: #C3D2E0; stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; }
.dg-label { font-family: var(--mono); font-size: 10.5px; fill: #8DA2B5; letter-spacing: .04em; }

/* ---------- spec table ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 14px 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.spec tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--body);
}
.spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.spec td .mono { font-family: var(--mono); font-size: 13px; color: #3A5670; }

/* ---------- solution section ---------- */

.solution {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}
.solution:first-of-type { border-top: 0; padding-top: 0; }

.solution-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.solution-head .idx {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 10px;
}
.solution-head h2 { margin-bottom: 0; }

.solution-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 40px;
  align-items: start;
}

/* ---------- cases ---------- */

.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.case:hover { border-color: #C7D8EA; box-shadow: var(--shadow-md); }
.case-top {
  padding: 26px 28px 0;
}
.case-kicker {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 650;
  margin-bottom: 12px;
}
.case h3 { font-size: 19px; margin-bottom: 12px; }
.case-body { padding: 0 28px 26px; }
.case-meta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.case-meta div { display: flex; gap: 10px; }
.case-meta span { color: var(--muted); min-width: 62px; flex-shrink: 0; }

/* ---------- notes (details) ---------- */

.note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.note summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.note summary::-webkit-details-marker { display: none; }
.note summary:hover { background: var(--soft); }
.note summary .date {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
  flex-shrink: 0;
}
.note summary .plus {
  margin-left: auto;
  width: 26px; height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .2s ease;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
}
.note[open] summary .plus { transform: rotate(45deg); }
.note-body {
  padding: 0 26px 26px;
  font-size: 15px;
  color: var(--body);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.note-body h4 { margin-top: 22px; }
.note-body h4:first-child { margin-top: 0; }
.note-body ul { padding-left: 20px; }
.note-body li { margin-bottom: 8px; }
.note-body code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--soft-2);
  padding: 1px 6px;
  border-radius: 4px;
  color: #2A4A66;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(600px 300px at 88% 20%, rgba(31, 111, 235, .35), transparent 60%),
    linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .75);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: 30px; }
.cta-band p { margin: 0; font-size: 15.5px; }
.cta-band .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }
.cta-band .btn--primary:hover { background: #EAF1FA; color: var(--navy); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  font-size: 15px;
}
.info-list li:first-child { padding-top: 0; }
.info-list .k {
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.info-list .v { color: var(--ink); }
.info-list .v small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); }

/* ---------- page header (inner pages) ---------- */

.page-head {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: rgba(255, 255, 255, .75);
  padding: 76px 0 68px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: 40px; margin-bottom: 14px; }
.page-head p { max-width: 640px; font-size: 16.5px; color: rgba(255, 255, 255, .7); margin: 0; }

.crumbs {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 18px;
}
.crumbs a { color: rgba(255, 255, 255, .65); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .58);
  padding: 68px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
}
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: rgba(255, 255, 255, .45); }
.site-footer p { font-size: 13.5px; line-height: 1.8; margin: 0 0 10px; }
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: rgba(255, 255, 255, .58); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 11px; font-size: 13.5px; }
.footer-contact a { color: rgba(255, 255, 255, .72); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .5); }

/* ---------- utilities ---------- */

.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.mono-sm { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .02em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 42px; }
  .hero-card { max-width: 620px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 28px 28px 0 0; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--line); margin-top: 28px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 64px; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 20px;
    box-shadow: 0 20px 40px -20px rgba(10, 30, 51, .3);
  }
  .site-header.is-open .nav a { padding: 13px 12px; font-size: 15.5px; }
  .site-header.is-open .nav-aux {
    margin: 10px 0 0;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 32px; }
  .section { padding: 68px 0; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero { padding: 76px 0 68px; }
  .hero h1 { font-size: 36px; }
  .page-head { padding: 56px 0 48px; }
  .page-head h1 { font-size: 32px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  body { font-size: 15.5px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
  .step:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 32px 24px; }
  .cta-band h2 { font-size: 24px; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .note summary { padding: 18px; font-size: 15.5px; gap: 12px; }
  .note summary .date { font-size: 11.5px; }
  .note-body { padding: 18px; }
  .solution-head { margin-bottom: 28px; }
  .card { padding: 24px; }
}

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

/* ---------- diagram on dark surfaces (hero card) ---------- */

.hero-card .dg-box {
  fill: rgba(255, 255, 255, .06);
  stroke: rgba(255, 255, 255, .24);
}
.hero-card .dg-box--accent {
  fill: rgba(31, 111, 235, .28);
  stroke: rgba(127, 178, 255, .75);
}
.hero-card .dg-box--dark {
  fill: #061525;
  stroke: rgba(255, 255, 255, .14);
}
.hero-card .dg-text { fill: #E4EDF7; }
.hero-card .dg-text--sm { fill: #9FB4C9; }
.hero-card .dg-text--light { fill: #FFFFFF; }
.hero-card .dg-line { stroke: rgba(255, 255, 255, .35); }
.hero-card .dg-line--accent { stroke: rgba(127, 178, 255, .8); }
.hero-card .dg-dash { stroke: rgba(255, 255, 255, .22); }
.hero-card .dg-label { fill: #7E97AE; }

/* ---------- table overflow guard ---------- */

.table-wrap { width: 100%; }

@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .spec thead th,
  .spec tbody td { padding: 11px 12px; font-size: 13.5px; }
  .spec tbody td:first-child { white-space: normal; }
  .spec td .mono { font-size: 12.5px; }
}

@media (max-width: 640px) {
  .diagram { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram svg { min-width: 560px; }
}
