/* ManualHarbor — design tokens follow the Figma brand board */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0E2B45;
  --navy-deep: #091E31;
  --navy-2: #163C5E;
  --ink: #0B1726;
  --text: #24354B;
  --slate: #5A6B80;
  --slate-2: #7A8899;
  --line: #E3E9F0;
  --line-2: #CBD5E0;
  --mist: #F4F7FA;
  --white: #FFFFFF;
  --teal: #18B7A0;
  --teal-ink: #0A7466;
  --teal-soft: #E7F6F3;
  --amber: #FFB547;
  --amber-ink: #8F5500;
  --amber-soft: #FFF5E3;
  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 23, 38, .05), 0 4px 16px rgba(11, 23, 38, .05);
  --gutter: 16px;
  --header-h: 68px;
}
@media (min-width: 760px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 1.35rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 780; }
h3 { font-size: 1.1rem; font-weight: 720; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 700; }
q { quotes: '“' '”'; }

.visually-hidden { position: absolute !important; 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; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1220px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
main { display: block; min-height: 60vh; outline: none; }
.icon { flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { width: 34px; height: 34px; }
.brand__word { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.035em; color: var(--navy); }
.brand__word span { color: var(--teal-ink); }
.brand--light .brand__word { color: #fff; }
.brand--light .brand__word span { color: #5FE0CB; }
.site-header__search { flex: 1; max-width: 520px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--mist); color: var(--navy); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
@media (max-width: 899px) {
  .site-header__inner { flex-wrap: wrap; gap: 10px 14px; padding-block: 12px; }
  .nav-toggle { display: inline-flex; }
  .site-header__search { order: 3; flex-basis: 100%; max-width: none; }
  .site-nav { display: none; order: 4; flex-basis: 100%; margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 8px; }
  .site-nav a { padding: 12px; }
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
  .az { top: 0; }
}

/* ---------- search */
.search { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(24, 183, 160, .18); }
.search__icon { position: absolute; left: 12px; color: var(--slate); pointer-events: none; }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 .98rem var(--sans); color: var(--ink); padding: 10px 10px 10px 40px; border-radius: 12px; }
.search__input:focus { outline: none; }
.search__input::placeholder { color: var(--slate-2); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__btn { flex: none; margin: 4px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font: 700 .92rem var(--sans); padding: 8px 14px; cursor: pointer; }
.search__btn:hover { background: var(--navy-2); }
.search--lg { border-radius: 14px; border-width: 2px; }
.search--lg .search__icon { left: 16px; width: 22px; height: 22px; }
.search--lg .search__input { font: 500 clamp(1.05rem, .95rem + .5vw, 1.3rem) var(--mono); letter-spacing: .02em; padding: 16px 12px 16px 50px; }
.search--lg .search__input::placeholder { font-family: var(--sans); letter-spacing: 0; }
.search--lg .search__btn { padding: 13px 22px; font-size: 1rem; border-radius: 10px; margin: 5px; background: var(--amber); color: var(--ink); }
.search--lg .search__btn:hover { background: #FFA41F; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 23, 38, .16); max-height: 420px; overflow: auto; }
.suggest li { margin: 0; }
.suggest a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest [aria-selected="true"] a { background: var(--mist); }
.suggest__label { font-family: var(--mono); font-size: .92rem; font-weight: 500; }
.suggest__sub { color: var(--slate); font-size: .84rem; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- rating plate (signature) */
.plate {
  position: relative;
  margin: 0;
  padding: 20px 20px 16px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 12px 12px, #B5C1CD 0 2.6px, #EEF2F6 3.2px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 12px) 12px, #B5C1CD 0 2.6px, #EEF2F6 3.2px, transparent 3.6px),
    radial-gradient(circle at 12px calc(100% - 12px), #B5C1CD 0 2.6px, #EEF2F6 3.2px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #B5C1CD 0 2.6px, #EEF2F6 3.2px, transparent 3.6px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 2px, rgba(255, 255, 255, .35) 2px 3px),
    linear-gradient(160deg, #FBFCFD 0%, #E8EDF2 55%, #F3F6F8 100%);
  border: 1px solid #BFCAD6;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .55), inset 0 0 0 6px #D3DCE5, 0 1px 1px rgba(11, 23, 38, .06), 0 10px 30px rgba(11, 23, 38, .08);
  color: var(--ink);
}
.plate__cap { display: block; font: 600 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px 8px; }
.plate__head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; margin: 0 4px 10px; border-bottom: 1.5px solid #C6D0DA; }
.plate__label { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.plate__model { font: 600 1.32rem/1.25 var(--mono); letter-spacing: .01em; color: var(--ink); word-break: break-all; }
.plate__rows { margin: 0; padding: 0 12px 4px; display: grid; gap: 0; }
.plate__rows div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #CFD8E1; }
.plate__rows div:last-child { border-bottom: 0; }
.plate__rows dt { font: 600 .66rem/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.plate__rows dd { margin: 0; font: 500 .86rem/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.plate--search { padding: 22px 22px 18px; }
.plate--search .plate__cap { margin: 0 0 14px 10px; }
.plate__hint { margin: 14px 6px 0; font-size: .88rem; color: var(--slate); }
.plate__hint a { font-family: var(--mono); font-size: .86rem; color: var(--navy); }

/* ---------- hero */
.hero {
  position: relative;
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='28' viewBox='0 0 160 28'%3E%3Cpath d='M0 14c20-10 40-10 60 0s40 10 60 0 40-10 40-10' fill='none' stroke='%2318B7A0' stroke-opacity='.12' stroke-width='1.5'/%3E%3C/svg%3E") 0 100% / 160px 28px repeat-x,
    radial-gradient(1100px 420px at 85% -10%, rgba(24, 183, 160, .22), transparent 60%),
    radial-gradient(700px 300px at 0% 110%, rgba(255, 181, 71, .12), transparent 60%),
    var(--navy);
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero__inner { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.05fr 1fr; } }
.hero__title { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); margin-bottom: .35em; max-width: 13ch; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__lede { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: #C9D6E3; max-width: 54ch; margin: 0; }
.eyebrow { font: 600 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin: 0 0 14px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: #7FE3D3; }
.where { margin-top: 14px; color: #D6E1EC; }
.where summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .94rem; list-style: none; padding: 6px 2px; }
.where summary::-webkit-details-marker { display: none; }
.where summary:hover { color: #fff; }
.where__list { margin: 10px 0 0; display: grid; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 16px 18px; }
.where__list div { display: grid; gap: 2px; }
.where__list dt { font-weight: 700; color: #fff; font-size: .92rem; }
.where__list dd { margin: 0; font-size: .9rem; color: #B9C8D7; }

/* ---------- bands & home */
.band { padding-block: clamp(44px, 6vw, 80px); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: #C9D6E3; }
.band--navy h2 { color: #fff; }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.band__head h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.dept { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.dept:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 980px) { .dept { grid-template-columns: 240px 1fr; gap: 32px; } }
.dept__name { font-size: 1.05rem; margin: 0 0 4px; }
.dept__blurb { color: var(--slate); font-size: .9rem; margin: 0; }
.how { display: grid; gap: 22px; max-width: 980px; }
.how__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .how__list { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.how__list li { margin: 0; padding-top: 16px; border-top: 2px solid rgba(95, 224, 203, .5); font-size: .96rem; }
.how__list strong { display: block; color: #fff; font-size: 1.04rem; margin-bottom: 6px; }

/* ---------- tiles, cards, chips */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.tile { margin: 0; }
.tile a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--ink); height: 100%; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { .tile a:hover { transform: translateY(-1px); } }
.tile__icon { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--mist); color: var(--navy); }
.tile a:hover .tile__icon { background: var(--teal-soft); color: var(--teal-ink); }
.tile__name { font-weight: 700; line-height: 1.3; }
.tile__count { font-size: .82rem; color: var(--slate); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { margin: 0; }
.card a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--text); height: 100%; transition: border-color .15s, box-shadow .15s; }
.card a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.card__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--mist); color: var(--navy); }
.card__body { display: grid; gap: 2px; min-width: 0; }
.card__model { color: var(--slate); font-size: .86rem; }
.card__model strong { display: block; font: 600 .98rem/1.35 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.card__desc { font-size: .86rem; color: var(--slate); line-height: 1.45; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chips a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.chips span { font: 500 .74rem/1 var(--mono); background: var(--mist); color: var(--slate); padding: 4px 7px; border-radius: 999px; }
.chips a:hover span { background: rgba(255, 255, 255, .16); color: #fff; }
.more-brands { margin-top: 12px; }
.more-brands summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); margin-bottom: 10px; }

/* ---------- page heads & sections */
.crumbs { padding-block: 16px 6px; font-size: .86rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--slate); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs__sep { color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: .84rem; }
.page-head { padding-block: 14px 18px; }
.page-head--cat { display: flex; gap: 18px; align-items: flex-start; }
.page-head__icon { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: inset 0 -3px 0 var(--teal); }
.page-head h1 { margin-bottom: .2em; }
.page-head__page { color: var(--slate); font-weight: 600; font-size: .6em; letter-spacing: -0.01em; }
.page-head__meta { margin: 0; color: var(--slate); font-size: .94rem; }
.lede { font-size: clamp(1.02rem, .97rem + .25vw, 1.14rem); color: var(--slate); max-width: 68ch; }
.lede--narrow { max-width: 70ch; }
.section { padding-block: 22px; }
.section > h2 { margin-bottom: 16px; }
.prose { max-width: 74ch; }
.prose--intro { font-size: 1.06rem; }
.prose--page { padding-block: 10px 60px; }
.prose--page h2 { margin-top: 1.6em; font-size: 1.35rem; }
.more-link { margin: 14px 0 0; }
.more-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.filters { margin: 8px 0 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.filters ul { list-style: none; margin: 0; padding: 2px 0 10px; display: flex; gap: 8px; width: max-content; }
.filters li { margin: 0; }
.filters a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.filters a span { font: 500 .74rem var(--mono); color: var(--slate); }
.filters a:hover { border-color: var(--navy); }
.filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters a[aria-current] span { color: #9FDCD2; }

/* ---------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 1.2em; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
thead th { background: var(--mist); color: var(--slate); font: 700 .74rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
tbody th { font-weight: 650; color: var(--ink); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
caption { text-align: left; padding: 10px 14px; font-weight: 700; }
.models tbody tr:hover { background: #FAFCFD; }
.model-link { font: 600 .95rem var(--mono); color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.model-link:hover { color: var(--teal-ink); text-decoration: underline; }
.models__name { display: block; font: 500 .8rem var(--sans); color: var(--slate); margin-top: 2px; }
.models__cat { display: inline-block; font: 600 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); background: var(--teal-soft); padding: 2px 6px; border-radius: 5px; margin-right: 4px; }
.spec th { width: 46%; font-weight: 600; color: var(--slate); background: #FBFCFD; }
.spec td { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  th, td { padding: 9px 11px; }
  .models td:nth-child(3), .models th:nth-child(3) { min-width: 180px; }
}

/* ---------- pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 8px; flex-wrap: wrap; }
.pager ol { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.pager li { margin: 0; }
.pager a, .pager__cur, .pager__step { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.pager a { border: 1px solid var(--line-2); color: var(--ink); }
.pager a:hover { border-color: var(--navy); }
.pager__cur { background: var(--navy); color: #fff; }
.pager__gap { padding: 0 4px; color: var(--slate); align-self: center; }
.pager__step.is-off { color: var(--line-2); border: 1px solid var(--line); }

/* ---------- document (product pages) */
.doc-head { padding-block: 10px 22px; border-bottom: 1px solid var(--line); }
.doc-head h1 { max-width: 22ch; overflow-wrap: anywhere; }
.doc-head__kind { display: block; font-size: .52em; font-weight: 650; color: var(--slate); letter-spacing: -0.01em; margin-top: .3em; }
.doc-head .lede { margin-bottom: 18px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 860px; }
.facts li { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--mist); border: 1px solid var(--line); }
.facts__label { display: block; font: 600 .68rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.facts__value { display: block; font-weight: 750; color: var(--ink); font-size: 1.08rem; font-variant-numeric: tabular-nums; margin-top: 2px; }
.doc-grid { display: grid; gap: 28px; padding-bottom: 64px; }
@media (min-width: 1000px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
  .doc-aside { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; padding-bottom: 8px; scrollbar-width: thin; }
}
@media (max-width: 999px) { .doc-aside { order: -1; margin-top: 22px; } }
.doc-aside { display: grid; gap: 16px; align-content: start; }
.doc-main { counter-reset: chapter; min-width: 0; }
.doc-section { padding-block: 30px 10px; border-top: 1px solid var(--line); }
.doc-main > .doc-section:first-child { border-top: 0; }
.doc-section > h2 { display: flex; align-items: baseline; gap: 12px; }
.doc-main .doc-section > h2::before { counter-increment: chapter; content: counter(chapter); flex: none; font: 600 .78rem/1 var(--mono); color: var(--teal-ink); background: var(--teal-soft); border-radius: 6px; padding: 6px 7px; transform: translateY(-3px); }
.doc-section h3 { margin-top: 1.5em; }
.doc-section > h3:first-of-type { margin-top: .8em; }
.doc-section p, .doc-section li { max-width: 74ch; }
.guide { margin-top: 28px; border-top: 2px solid var(--navy); }
.guide .doc-section > h2::before { display: none; }
.aside-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.aside-box__h { font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 6px; }
.mono-list { font: 500 .84rem/1.7 var(--mono); color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.toc { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.toc__h { font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 7px; color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 550; line-height: 1.35; }
.toc a::before { content: counter(toc); font: 600 .74rem/1.6 var(--mono); color: var(--slate-2); min-width: 16px; }
.toc a:hover { background: var(--mist); color: var(--navy); }
.toc a.is-active { background: var(--teal-soft); color: var(--teal-ink); }
.toc a.is-active::before { color: var(--teal-ink); }
@media (max-width: 999px) { .toc ol { columns: 2; column-gap: 12px; } .toc li { break-inside: avoid; } }
@media (max-width: 480px) { .toc ol { columns: 1; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 1.2em; counter-reset: step; display: grid; gap: 4px; }
.steps li { position: relative; counter-increment: step; padding: 2px 0 12px 46px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .82rem var(--mono); color: var(--navy); background: #fff; border: 1.5px solid var(--navy); }
.steps li::after { content: ''; position: absolute; left: 14.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line); }
.steps li:last-child::after { display: none; }
.step-title { display: block; color: var(--ink); font-weight: 720; font-size: 1.02rem; margin: 3px 0 4px; }
.steps p { margin: 0; }

/* notes */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); margin: 0 0 1.2em; border: 1px solid; max-width: 74ch; }
.note p { margin: 0; }
.note__icon { margin-top: 2px; }
.note__label { display: block; font: 700 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.note--info { background: #EEF3F8; border-color: #CCD8E4; }
.note--info .note__icon, .note--info .note__label { color: var(--navy); }
.note--tip { background: var(--teal-soft); border-color: #A9DED4; }
.note--tip .note__icon, .note--tip .note__label { color: var(--teal-ink); }
.note--warning { background: var(--amber-soft); border-color: #F1C877; }
.note--warning .note__icon, .note--warning .note__label { color: var(--amber-ink); }

/* definition lists */
.dl { margin: 0 0 1.2em; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.dl div { display: grid; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dl div:last-child { border-bottom: 0; }
@media (min-width: 700px) { .dl div { grid-template-columns: 200px 1fr; gap: 20px; } }
.dl dt { font-weight: 720; color: var(--ink); }
.dl dd { margin: 0; color: var(--text); }

/* faq */
.faq { display: grid; gap: 8px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq__item[open] { border-color: var(--line-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--navy); font: 600 1rem/1 var(--mono); }
.faq__item[open] summary::after { content: '−'; background: var(--navy); color: #fff; }
.faq__q { font-size: 1rem; margin: 0; font-weight: 700; letter-spacing: -0.005em; }
.faq__a { padding: 0 16px 6px; }
.faq__a p { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font: 700 .94rem var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); justify-self: start; }
.btn--light:hover { background: var(--amber); color: var(--ink); }
.btn--print { width: 100%; }

/* A–Z */
.az { position: sticky; top: var(--header-h); z-index: 5; background: rgba(255, 255, 255, .96); padding-block: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.az ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.az li { margin: 0; }
.az a { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 8px; font: 600 .9rem var(--mono); text-decoration: none; color: var(--navy); border: 1px solid var(--line); }
.az a:hover { background: var(--navy); color: #fff; }
.az-group { padding-block: 18px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
@media (min-width: 800px) { .az-group { grid-template-columns: 80px 1fr; } }
.az-group__h { font: 700 1.6rem var(--mono); color: var(--teal-ink); margin: 0; }
.az-group__list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 24px; }
.az-group__list li { break-inside: avoid; margin: 0 0 6px; }
.az-group__list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.az-group__list a:hover { color: var(--teal-ink); text-decoration: underline; }
.az-group__list span { font: 500 .76rem var(--mono); color: var(--slate-2); }

/* search & empty states */
.search-page__form { max-width: 720px; margin: 4px 0 18px; }
.empty-state { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--mist); margin: 10px 0 50px; }
.empty-state h2 { font-size: 1.2rem; }
.empty-state--404 { margin-top: 48px; background: #fff; border-style: solid; display: grid; gap: 6px; }
.empty-state--404 .search { margin: 10px 0 8px; }
.empty { color: var(--slate); }

/* ---------- footer */
.site-footer { position: relative; background: var(--navy-deep); color: #A9BACB; margin-top: 40px; padding-top: 52px; font-size: .92rem; }
.site-footer__wave { position: absolute; top: 18px; left: 0; width: 100%; height: 24px; opacity: .55; }
.site-footer__top { display: grid; gap: 36px; padding-bottom: 36px; }
@media (min-width: 1000px) { .site-footer__top { grid-template-columns: 320px 1fr; gap: 56px; } }
.site-footer__about p { margin-top: 14px; }
.site-footer__small { font-size: .82rem; color: #8193A6; }
.site-footer__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px; }
.site-footer__h { font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #5FE0CB; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: #D2DDE8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px 28px; display: grid; gap: 10px; font-size: .82rem; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__bottom p { margin: 0; color: #7D8FA3; }

/* ---------- print: the guide becomes a clean printed manual */
@media print {
  @page { margin: 16mm 14mm; }
  body { font-size: 10.5pt; color: #000; }
  .site-header, .site-footer, .crumbs, .toc, .btn--print, .doc-aside .aside-box, #related, .skip-link, .pager, .filters { display: none !important; }
  .doc-grid { display: block; }
  .doc-aside { position: static; max-height: none; overflow: visible; margin: 0 0 12pt; }
  .plate { box-shadow: none; background: #fff; max-width: 90mm; }
  .doc-section { break-inside: auto; padding-block: 12pt 4pt; }
  .doc-section > h2 { break-after: avoid; }
  .table-wrap, .note, .steps li, .faq__item { break-inside: avoid; }
  .faq__item summary::after { display: none; }
  .faq__item > .faq__a { display: block !important; }
  a { color: #000; text-decoration: none; }
  .facts li { background: #fff; }
}
.hero__title .dot { margin-left: -.07em; }
.models--systems tbody th .model-link { white-space: nowrap; }
