/* ============================================================
   Rockhood Automation — design system
   No web fonts (fast first paint on slow international links)
   ============================================================ */

:root {
  --ink: #0a1524;
  --ink-800: #0e1b2e;
  --ink-700: #16273f;
  --ink-600: #1f3350;
  --brand: #1f5cff;
  --brand-700: #1544c4;
  --brand-050: #eef3ff;
  --accent: #ff6a2c;
  --accent-700: #e0561f;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --mist-2: #eef2f8;
  --line: #e2e8f1;
  --line-strong: #cfd8e6;
  --text: #0d1726;
  --muted: #5c6b80;
  --muted-2: #7b8797;
  --ok: #12a150;
  --warn: #b45309;

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas,
    "Liberation Mono", monospace;

  --shadow-sm: 0 1px 2px rgba(13, 23, 38, 0.06), 0 1px 3px rgba(13, 23, 38, 0.04);
  --shadow-md: 0 12px 24px -12px rgba(13, 23, 38, 0.18), 0 4px 10px -4px rgba(13, 23, 38, 0.08);
  --shadow-lg: 0 40px 70px -30px rgba(10, 21, 36, 0.35), 0 12px 28px -12px rgba(10, 21, 36, 0.18);

  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

::selection { background: #1f5cff; color: #fff; }

/* ---------- typography ---------- */

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light { color: #8fb0ff; }

.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.lede--light { color: #b9c6dc; }

.mono-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #dbe3ef; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- top bar + header ---------- */

.topbar {
  background: var(--ink);
  color: #93a3ba;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 2px 22px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a { color: #cdd8e8; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); display: inline-block; margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(18, 161, 80, 0.18);
}
.topbar__push { margin-left: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.02rem; }
.brand__sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}

.nav-wrap { display: flex; align-items: center; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 0 6px;
  padding: 0;
  list-style: none;
}
.nav__item { position: relative; list-style: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__link:hover { background: var(--mist); text-decoration: none; color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand-700); }
.nav__caret { width: 9px; height: 9px; opacity: 0.55; transition: transform 0.18s ease; }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(880px, 88vw);
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.05fr;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__group-title {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav__list a {
  display: block;
  padding: 6px 8px;
  margin-left: -8px;
  border-radius: 6px;
  color: var(--ink-700);
  font-size: 0.88rem;
}
.nav__list a:hover { background: var(--mist); color: var(--brand-700); text-decoration: none; }
.nav__feature {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-700) 100%);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: #cfdaea;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}
.nav__feature strong { color: #fff; display: block; font-size: 1rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.nav__feature p { font-size: 0.82rem; line-height: 1.5; color: #a9b8cd; margin: 0; }
.nav__feature a { color: #8fb0ff; font-size: 0.82rem; font-weight: 600; margin-top: 14px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform 0.2s ease;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 92, 255, 0.8); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px rgba(255, 106, 44, 0.85); }
.btn--accent:hover { background: var(--accent-700); color: #fff; }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eef3ff; color: var(--ink); }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn--sm { padding: 9px 16px; font-size: 0.86rem; border-radius: 8px; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.92rem; color: var(--brand-700);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--light { color: #8fb0ff; }

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

.hero {
  position: relative;
  background: var(--ink);
  color: #d7e0ee;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(31, 92, 255, 0.28), transparent 62%),
    radial-gradient(700px 500px at 8% 88%, rgba(255, 106, 44, 0.13), transparent 60%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}
.hero h1 { color: #fff; }
.hero .lede { color: #aebdd3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  color: #c3d0e4;
}
.chip svg { width: 12px; height: 12px; color: #6f9bff; }
.chip--plain { border-color: var(--line); background: var(--mist); color: var(--ink-700); }
.chip--plain svg { color: var(--brand); }

/* hero visual: CSS-built control panel stack */
.panel-stack {
  position: relative;
  aspect-ratio: 1 / 0.92;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.panel {
  position: absolute;
  border-radius: 12px;
  background: linear-gradient(165deg, #25374f 0%, #16263c 55%, #101d30 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 10px;
}
.panel__screen {
  position: relative;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(170deg, #0b2f63 0%, #071c3c 100%);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.55);
}
.panel--back { width: 72%; right: 3%; top: 0; height: 56%; transform: rotate(2.5deg); opacity: 0.85; }
.panel--mid { width: 56%; left: 2%; top: 14%; height: 44%; transform: rotate(-3deg); z-index: 2; }
.panel--front { width: 40%; right: 12%; bottom: 2%; height: 32%; z-index: 3; }

.ui-bars { position: absolute; inset: auto 12% 16% 12%; display: flex; align-items: flex-end; gap: 7%; height: 42%; }
.ui-bars i {
  flex: 1; border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, #2f7bff, #7fb0ff);
  opacity: 0.9;
}
.ui-line { position: absolute; inset: 10% 8% auto 8%; height: 46%; }
.ui-dots { position: absolute; top: 8%; left: 8%; display: flex; gap: 6px; }
.ui-dots i { width: 5px; height: 5px; border-radius: 50%; background: #4d8bff; }
.ui-dots i:nth-child(2) { background: #ff9a5c; }
.ui-dots i:nth-child(3) { background: #3ddc97; }
.ui-readout {
  position: absolute; left: 8%; bottom: 9%;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em;
  color: #7fa8e8; text-transform: uppercase;
}
.panel-tag {
  position: absolute; z-index: 4;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.panel-tag b { font-weight: 700; }
.panel-tag--1 { top: 4%; left: 0; }
.panel-tag--2 { bottom: 24%; left: 0; }
.panel-tag--3 { right: -3%; bottom: -1%; }

/* ---------- stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}
.stat { padding: 26px 22px 30px; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.stat:last-child { border-right: 0; }
.stat__value {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 680; color: #fff; letter-spacing: -0.03em; line-height: 1.1;
}
.stat__value span { color: #6f9bff; }
.stat__label {
  display: block; margin-top: 7px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #8a9bb4;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card--link:hover { transform: translateY(-3px); text-decoration: none; }
.card a.card__link-stretch { position: absolute; inset: 0; border-radius: inherit; }
.card__art {
  height: 132px;
  margin: -6px -6px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--mist) 0%, #e6edf8 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card__art svg { width: 76%; height: auto; }
.card__kicker {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-700); margin-bottom: 9px;
}
.card__kicker svg {
  width: 13px; height: 13px; display: inline-block;
  vertical-align: -2px; margin-right: 2px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.925rem; line-height: 1.6; }
.card__list {
  list-style: none; margin: 14px 0 18px; padding: 0;
  display: grid; gap: 7px;
  font-size: 0.86rem; color: var(--ink-700);
}
.card__list li { display: flex; gap: 8px; align-items: flex-start; }
.card__list li::before {
  content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 8px;
  border-radius: 50%; background: var(--brand);
}
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }

.card--ink { background: var(--ink); border-color: rgba(255, 255, 255, 0.1); color: #c9d5e6; }
.card--ink h3 { color: #fff; }
.card--ink p { color: #a7b6cc; }
.card--ink .card__list { color: #c3d0e4; }
.card--ink .card__foot { border-color: rgba(255, 255, 255, 0.12); }

/* feature list */
.feature { display: flex; gap: 16px; }
.feature__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--brand-050);
  color: var(--brand-700);
  display: grid; place-items: center;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 5px; }
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.section--ink .feature__icon { background: rgba(111, 155, 255, 0.14); color: #8fb0ff; }
.section--ink .feature p { color: #9fb0c8; }

/* ---------- spec tables ---------- */

.table-tools {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 18px;
}
.search-field {
  position: relative; flex: 1 1 260px; max-width: 360px;
}
.search-field svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted-2); pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-family: inherit; font-size: 0.9rem;
  background: var(--paper); color: var(--text);
}
.search-field input::placeholder { color: var(--muted-2); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.14s ease;
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.855rem;
  min-width: 640px;
}
table.spec th {
  position: sticky; top: 0; z-index: 2;
  background: var(--mist);
  text-align: left;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.spec td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-700);
}
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover td { background: #fafcff; }
table.spec td:first-child { font-family: var(--mono); font-weight: 600; color: var(--ink); white-space: nowrap; }
table.spec .col-size { white-space: nowrap; }
.spec-empty { padding: 28px 14px; text-align: center; color: var(--muted); font-size: 0.9rem; }

.table-note {
  margin-top: 14px; display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.82rem; color: var(--muted);
}
.table-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: var(--muted-2); }

.count-note {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--muted-2); text-transform: uppercase;
}

/* two-column key/value spec block */
.kv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--line);
}
.kv__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.kv__row dt { color: var(--muted); }
.kv__row dd { margin: 0; font-weight: 580; color: var(--ink); text-align: right; }

/* ---------- industries ---------- */

.industry {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  min-height: 168px;
  transition: all 0.16s ease;
}
.industry:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-050), var(--shadow-sm);
  text-decoration: none;
  transform: translateY(-2px);
}
.industry__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--mist); color: var(--ink-700);
  display: grid; place-items: center;
}
.industry__icon svg { width: 20px; height: 20px; }
.industry h3 { font-size: 0.98rem; margin: 0; }
.industry p { font-size: 0.84rem; color: var(--muted); margin: 0; line-height: 1.5; }
.industry__meta {
  margin-top: auto; padding-top: 10px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em;
  color: var(--muted-2); text-transform: uppercase;
}

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

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--brand);
  padding-top: 3px;
  letter-spacing: 0.05em;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; max-width: 60ch; }
.step--ink { border-color: rgba(255, 255, 255, 0.1); }
.step--ink h3 { color: #fff; }
.step--ink p { color: #9fb0c8; }
.step--ink::before { color: #6f9bff; }

/* ---------- accordion ---------- */

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}
.accordion details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.accordion .accordion__body { padding: 0 0 22px; color: var(--muted); font-size: 0.94rem; max-width: 75ch; }
.accordion .accordion__body p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 92, 255, 0.14);
}
.field .hint { font-size: 0.78rem; color: var(--muted-2); }
.form-status {
  margin-top: 14px; padding: 13px 16px; border-radius: 9px;
  font-size: 0.88rem; display: none;
}
.form-status.is-ok { display: block; background: #e8f8ef; color: #0b6b34; border: 1px solid #b9e8cc; }
.form-status.is-err { display: block; background: #fdeeea; color: #a3260c; border: 1px solid #f6c9bd; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); }
.field label.consent {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.5;
}
.field label.consent a { color: var(--brand-700); }
.consent input { width: auto; margin-top: 3px; }

/* ---------- code builder ---------- */

.builder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 26px;
}
.builder__out {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px; padding: 18px 20px;
  background: var(--ink); border-radius: var(--radius-sm); color: #fff;
}
.builder__code {
  font-family: var(--mono); font-size: 1.3rem; letter-spacing: 0.02em;
  color: #8fb0ff; font-weight: 600;
}
.builder__label { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8a9bb4; display: block; margin-bottom: 4px; }
.builder__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }

/* ---------- article / prose ---------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.15rem; }
.prose p, .prose li { color: #26374d; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); font-weight: 640; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brand);
  color: var(--ink-700); font-size: 1.02rem;
}
.prose table { min-width: 0; }
.prose code {
  font-family: var(--mono); font-size: 0.86em;
  background: var(--mist); padding: 2px 6px; border-radius: 5px;
  border: 1px solid var(--line);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.article-head { max-width: 760px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted-2);
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}

.toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; background: var(--mist);
}
.toc__title {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.toc ol { margin: 0; padding-left: 18px; font-size: 0.88rem; display: grid; gap: 7px; }
.toc a { color: var(--ink-700); }
.toc a:hover { color: var(--brand-700); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }

/* ---------- breadcrumb ---------- */

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--muted-2);
  padding: 18px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }
.breadcrumb li { list-style: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; align-items: center; }

/* ---------- page hero (interior) ---------- */

.page-hero {
  position: relative;
  padding: clamp(36px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(800px 320px at 88% -10%, rgba(31, 92, 255, 0.07), transparent 70%),
    var(--paper);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lede { max-width: 58ch; }
.page-hero--ink { background: var(--ink); border-bottom: 0; }
.page-hero--ink h1 { color: #fff; }
.page-hero--ink .lede { color: #aebdd3; }
.page-hero--ink .breadcrumb, .page-hero--ink .breadcrumb a { color: #7f90a8; }

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

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, #10233c 55%, #16325c 100%);
  color: #cfdaea;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(600px 300px at 80% 50%, #000, transparent 75%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding: clamp(40px, 5vw, 64px) 0;
}

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

.site-footer { background: var(--ink); color: #8fa0b8; font-size: 0.88rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 32px;
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.site-footer h4 {
  color: #fff; font-size: 0.74rem;
  font-family: var(--mono); letter-spacing: 0.11em; text-transform: uppercase;
  margin-bottom: 16px; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #a9b8cd; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand__sub { color: #6c7d94; }
.footer-brand p { color: #8fa0b8; font-size: 0.86rem; line-height: 1.6; max-width: 34ch; }
.footer-contact { display: grid; gap: 9px; margin-top: 16px; }
.footer-contact div { display: flex; gap: 9px; align-items: flex-start; font-size: 0.85rem; }
.footer-contact svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 4px; color: #6c7d94; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem; color: #6c7d94;
}
.footer-bottom a { color: #8fa0b8; }
.footer-bottom__push { margin-left: auto; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- utility ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.section--ink .kv { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .kv__row { border-color: rgba(255, 255, 255, 0.1); }
.section--ink .kv__row dt { color: #93a3ba; }
.section--ink .kv__row dd { color: #fff; }

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

@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); row-gap: 40px; }
  .nav__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__feature { grid-column: 1 / -1; min-height: 0; }
}

@media (max-width: 940px) {
  :root { --header-h: 64px; }
  .nav, .header-actions .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { justify-content: space-between; gap: 12px; }
  .header-actions { margin-left: 0; }

  .site-header.is-open .nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open .nav__item { border-bottom: 1px solid var(--line); }
  .site-header.is-open .nav__link { padding: 14px 0; font-size: 1rem; width: 100%; justify-content: space-between; }
  .site-header.is-open .nav__panel {
    position: static; transform: none; opacity: 1; visibility: visible;
    width: auto; box-shadow: none; border: 0; padding: 0 0 14px;
    grid-template-columns: 1fr 1fr; gap: 18px;
  }
  .site-header.is-open .nav__feature { display: none; }
  .site-header.is-open .nav__group-title { margin-top: 4px; }

  .hero__inner { grid-template-columns: 1fr; }
  .panel-stack { max-width: 440px; order: -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .split, .page-hero__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar__inner { min-height: 34px; font-size: 0.72rem; }
  .topbar__hide-sm { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .builder__out { flex-direction: column; align-items: flex-start; }
  .breadcrumb { padding-top: 14px; }
}

@media (max-width: 540px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .panel-tag--3 { display: none; }
  .panel-tag { font-size: 0.62rem; padding: 7px 10px; }
  .stat { padding: 20px 16px 24px; }
  .stat__label { font-size: 0.62rem; }
}

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

@media print {
  .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
