/* ==========================================================================
   Modular Tech Support — modulartechs.org
   MODULAR TECH SUPPORT LTD · Company No. 16687194 · England and Wales

   Design language: technical spec sheet.
   Warm paper stock, hairline rules instead of shadows, square corners,
   collapsed-border grids (modules as cells), monospace labelling.
   Tokens → reset → layout → components → pages → responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paper & ink — cool neutral greys, near-monochrome */
  --paper:      #f7f8f9;
  --paper-2:    #ffffff;
  --mist:       #eceef1;
  --mist-2:     #dfe3e8;
  --ink:        #12161c;
  --ink-2:      #262c34;
  --ink-3:      #4a525c;
  /* --muted carries small monospace labels, so it is held dark enough to clear
     WCAG AA (4.5:1) against the darkest surface it lands on, --mist. */
  --muted:      #646d78;

  /* Rules */
  --line:       #d6dade;
  --line-soft:  #e4e7ea;
  --rule:       #12161c;

  /* Accent — one low-chroma steel blue, used sparingly.
     --brand      marks, plates, buttons, rules on paper
     --brand-ink  link text on paper (darker, for contrast)
     --brand-2    accents on ink backgrounds (lighter, for contrast) */
  --brand:      #2f4a63;
  --brand-ink:  #22384c;
  --brand-2:    #93a9c0;

  /* Tonal plates for the module marks — shades, not hues */
  --plate-2:    #3d4753;
  --plate-3:    #56606b;
  --plate-4:    #1f2933;
  --plate-5:    #46586c;

  /* No radius or shadow tokens: corners are square (2px at most, written
     literally) and depth is carried by hairline rules, never by shadow. */

  --font:        'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display:'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:   'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --nav-h:      68px;
  --maxw:       1200px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 3.9rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.032em; }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
h4 { font-size: 1rem; }
h5 { font-size: .95rem; }

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

a { color: var(--brand-ink); text-decoration: none; transition: color .15s linear; }
a:hover { color: var(--brand); }

strong { color: var(--ink-2); font-weight: 600; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

code {
  font-family: var(--font-mono);
  font-size: .86em;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .08em .38em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: .82rem;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}
.container--narrow { max-width: 780px; }

.section { padding: clamp(58px, 8vw, 100px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(44px, 6vw, 68px); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.72); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

/* Section headings sit under a heavy rule — the spec-sheet signature. */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
  border-top: 2px solid var(--rule);
  padding-top: 20px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.03rem; color: var(--ink-3); margin-bottom: 0; }
.section--ink .section-head { border-top-color: rgba(255,255,255,.85); }
.section--ink .section-head p { color: rgba(255,255,255,.66); }

/* Monospace label, not a pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 0;
  background: var(--brand);
}
/* Only the ink sections invert — the page header sits on paper. */
.section--ink .eyebrow { color: var(--brand-2); }
.section--ink .eyebrow__dot { background: var(--brand-2); }

.lede { font-size: 1.1rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s linear, color .15s linear, border-color .15s linear;
  white-space: nowrap;
}
.btn--lg { padding: 17px 30px; font-size: .98rem; }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { color: var(--ink); border-color: var(--paper); background: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: border-color .15s linear;
}
.nav.is-stuck { border-bottom-color: var(--rule); }
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 32px; height: 32px; border-radius: 2px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.035em;
}
.brand__name em { font-style: normal; color: var(--brand); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 8px 12px;
  border-radius: 2px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--line); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav__cta { margin-left: 10px; padding: 11px 18px; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
}

/* ---------- Hero (light: a title block on paper) ---------- */
.hero {
  position: relative;
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
  padding: clamp(52px, 7vw, 88px) 0 clamp(56px, 7vw, 92px);
}
/* Legacy decorative layers from the previous design — deliberately inert. */
.hero__grid, .hero__glow, .pagehead__glow { display: none; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  column-gap: clamp(34px, 5vw, 72px);
  row-gap: clamp(16px, 2.4vw, 30px);
  align-items: start;
}
.hero__title { color: var(--ink); margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__sub { font-size: 1.08rem; color: var(--ink-3); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }

.hero__bullets {
  grid-column: 1 / -1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  padding: 0;
  margin: 6px 0 0;
  border-top: 2px solid var(--rule);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 40px 0 0;
}
.hero__bullets svg { color: var(--brand); flex: none; }

/* Spec panel — the module manifest */
.hero__panel {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0;
}
.panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.panel__bar i { width: 7px; height: 7px; border-radius: 0; background: var(--mist-2); }
.panel__bar i:first-child { background: var(--brand); }
.panel__bar i:nth-child(2) { background: var(--plate-3); }
.panel__bar i:nth-child(3) { background: var(--mist-2); }
.panel__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
}
.panel__code {
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 2;
  color: var(--ink-2);
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}
.panel__code .k { color: var(--ink); font-weight: 500; }
.panel__code .s { color: var(--brand-ink); }
.panel__code .c { color: var(--muted); }
.panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.panel__stat { background: var(--paper-2); padding: 14px 18px; }
.panel__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -.03em;
}
.panel__stat span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Spec strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}
.strip__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 24px 24px 24px 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item svg { color: var(--brand); flex: none; margin-top: 3px; }
.strip__item b {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  font-size: .93rem;
}
.strip__item span {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .02em;
  color: var(--muted);
}

/* ---------- Cells & grids (collapsed borders = one sheet) ---------- */
/* Cells sit 1px apart; each draws its own hairline outline, so the shared
   edges read as a single rule. The container stays paper-coloured rather than
   line-coloured, so a not-yet-revealed grid never flashes as a solid block. */
.grid {
  display: grid;
  gap: 1px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.section--ink .grid { background: var(--ink); border-color: rgba(255,255,255,.18); }

.card {
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
  border: 0;
  border-radius: 0;
  padding: 30px 26px;
  transition: background .15s linear;
}
.card:hover { background: var(--mist); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .94rem; color: var(--ink-3); }
.card--flat:hover { background: var(--paper-2); }
.card--ink { background: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.card--ink p { color: rgba(255,255,255,.66); }
.card--ink:hover { background: #1c1f25; }

/* Flat plate marks rather than gradient chips */
.card__icon {
  width: 42px; height: 42px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--paper);
  background: var(--brand);
}
.card__icon--s2 { background: var(--plate-2); }
.card__icon--s3 { background: var(--plate-3); }
.card__icon--s4 { background: var(--plate-4); }
.card__icon--s5 { background: var(--plate-5); }

.card__list { list-style: none; padding: 0; margin: 16px 0 0; font-size: .9rem; }
.card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: .5em;
  color: var(--ink-3);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .68em;
  width: 10px; height: 1px;
  background: var(--brand);
}
.card--ink .card__list li { color: rgba(255,255,255,.7); }

/* Module reference tag */
.sic {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--brand);
  border-radius: 0;
  padding: 0 0 3px;
  margin-bottom: 14px;
}
.card--ink .sic { color: var(--brand-2); border-bottom-color: var(--brand-2); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.split--reverse .split__media { order: -1; }
.split__media {
  border-radius: 0;
  border: 1px solid var(--rule);
  background: var(--ink);
  padding: 26px;
}
.split__media .kv { display: grid; gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.kv__row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  padding: 16px;
}
.kv__row svg { color: var(--brand-2); flex: none; }
.kv__row b { display: block; color: #fff; font-family: var(--font); font-weight: 600; font-size: .93rem; }
.kv__row span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- Steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}
.step {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
  border: 0;
  border-radius: 0;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--brand);
  display: block;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--ink-3); margin: 0; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
  text-align: left;
}
.stat { background: var(--ink); padding: 22px 24px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: #fff;
  letter-spacing: -.04em;
}
.stat span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

/* ---------- Tag list ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pills li {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .03em;
  font-weight: 400;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 12px;
}
.section--ink .pills li,
.pills--ink li { color: rgba(255,255,255,.82); background: transparent; border-color: rgba(255,255,255,.24); }

/* ---------- Module board ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.board__cell {
  border: 0;
  border-radius: 0;
  background: var(--paper-2);
  padding: 20px;
  transition: background .15s linear;
}
.board__cell:hover { background: var(--mist); }
a.board__cell, a.board__cell:hover { display: block; color: inherit; }
.board__cell code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand);
  font-size: .7rem;
  letter-spacing: .12em;
}
.board__cell b {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  font-size: .96rem;
  margin: 8px 0 4px;
}
.board__cell span { font-size: .84rem; color: var(--ink-3); }
.board__cell--on { background: var(--mist); box-shadow: inset 3px 0 0 var(--brand); }

/* ---------- FAQ (stacked rules, not cards) ---------- */
.faq {
  display: grid;
  gap: 0;
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq__item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 20px 4px;
  cursor: pointer;
}
.faq__q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--brand);
  border: 0;
  transform: none;
  transition: none;
  flex: none;
  margin: 0;
  width: auto; height: auto;
}
.faq__item.is-open .faq__q::after { content: "\2212"; transform: none; margin: 0; }
.faq__a { padding: 0 4px; max-height: 0; overflow: hidden; transition: max-height .2s linear, padding .2s linear; }
.faq__item.is-open .faq__a { max-height: 620px; padding: 0 4px 22px; }
.faq__a p { font-size: .94rem; color: var(--ink-3); max-width: 68ch; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0; background: var(--paper-2); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 500;
  background: var(--mist);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Page header (inner pages) ---------- */
.pagehead {
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
  color: var(--ink-3);
  padding: clamp(46px, 6vw, 76px) 0 clamp(40px, 5vw, 60px);
  position: relative;
}
.pagehead h1 { color: var(--ink); margin-bottom: .4em; max-width: 16em; }
.pagehead p { max-width: 48em; color: var(--ink-3); margin: 0; }
.pagehead .container { position: relative; }

.crumbs {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Prose (legal pages) ---------- */
.prose h2 { margin-top: 2.2em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.04rem; }
.prose ul, .prose ol { margin-bottom: 1.3em; }
.prose li { color: var(--ink-3); }
.prose .updated {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 12px;
  margin-bottom: 30px;
}
.prose .note {
  border: 1px solid var(--rule);
  border-left-width: 4px;
  border-left-color: var(--brand);
  background: var(--paper-2);
  border-radius: 0;
  padding: 20px 22px;
  margin: 1.6em 0;
  font-size: .94rem;
}
.toc {
  background: transparent;
  border: 1px solid var(--line);
  border-top: 2px solid var(--rule);
  border-radius: 0;
  padding: 22px 24px;
  margin-bottom: 42px;
}
.toc h2 { margin: 0 0 .7em; font-size: .78rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.3em; font-size: .9rem; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: .35em; break-inside: avoid; }

/* ---------- Service detail blocks ---------- */
.svc { padding-top: clamp(44px, 5.5vw, 68px); }
.svc + .svc { border-top: 1px solid var(--line); }
.svc__head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.svc__head .card__icon { margin-bottom: 0; flex: none; }
.svc__head h2 { margin-bottom: .25em; }
.svc__head p { color: var(--ink-3); margin: 0; font-size: 1rem; max-width: 54em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--rule);
  border-radius: 0;
  padding: 26px;
  background: var(--paper-2);
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .4em; }
.contact-card p { font-size: .92rem; color: var(--ink-3); }
.contact-email {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}
.addr { font-style: normal; font-family: var(--font-mono); font-size: .86rem; line-height: 1.95; color: var(--ink-2); }

.route { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.route:last-child { border-bottom: 0; padding-bottom: 0; }
.route:first-child { padding-top: 0; }
.route__icon {
  width: 36px; height: 36px; flex: none;
  border-radius: 2px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.route b { display: block; font-family: var(--font); font-weight: 600; color: var(--ink); font-size: .96rem; }
.route p { font-size: .89rem; color: var(--ink-3); margin: 2px 0 0; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  color: rgba(255,255,255,.74);
  border-radius: 0;
  border-top: 4px solid var(--brand);
  padding: clamp(38px, 6vw, 64px);
  text-align: left;
  position: relative;
}
.cta h2 { color: #fff; max-width: 18em; }
.cta p { max-width: 52em; margin-inline: 0; color: rgba(255,255,255,.7); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: clamp(46px, 6vw, 72px) 0 32px;
  font-size: .9rem;
}
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: var(--brand-2); }
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer .brand { color: #fff; }
.footer .brand:hover { color: #fff; }
.footer__about { margin-top: 18px; max-width: 34em; color: rgba(255,255,255,.54); font-size: .9rem; }
.footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6em; }
.footer__legal {
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.85;
  letter-spacing: .01em;
  color: rgba(255,255,255,.58);
}
.footer__reg { max-width: 92ch; }
.footer__reg strong { color: rgba(255,255,255,.72); font-weight: 500; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s linear, transform .4s linear; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(3), .strip__item:nth-child(4) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--rule);
    padding: 8px 28px 16px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__links a:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .panel__stats { grid-template-columns: repeat(3, 1fr); }
  .toc ol { columns: 1; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .svc__head { flex-direction: column; gap: 16px; }
  .strip__item { padding: 20px 0; border-left: 0; padding-left: 0; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .board { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .cta { display: none !important; }
  body { color: #000; font-size: 11pt; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 12pt 0; }
  .card, .step, .board__cell { background: #fff; }
}
