@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* Brand palette lifted from the donor production stylesheet:
   #006e91 primary, #01aac9 accent, #ebf6f9 tint, #111827 ink. */
:root {
  color-scheme: light dark;

  --brand-deep: #006e91;
  --brand: #01aac9;
  --brand-ink: #00506a;
  --tint: #ebf6f9;

  --paper: #ffffff;
  --surface: #f2f8fa;
  --surface-2: #e6f1f5;
  --ink: #0e1f27;
  --body: #3d5561;
  --muted: #54707e;
  --line: #d6e5eb;
  --on-brand: #ffffff;

  --radius-card: 18px;
  --radius-field: 10px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(14, 31, 39, .05), 0 10px 30px -12px rgba(0, 80, 106, .18);
  --shadow-lift: 0 2px 4px rgba(14, 31, 39, .06), 0 22px 48px -18px rgba(0, 80, 106, .3);

  --gap: clamp(3.5rem, 7vw, 6.5rem);
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --shell: 1240px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #071a22;
    --surface: #0c242e;
    --surface-2: #113140;
    --ink: #eaf5f8;
    --body: #b3ccd6;
    --muted: #8fb0bd;
    --line: #1d4152;
    --tint: #0f2c38;
    --brand-deep: #37c6e4;
    --brand: #4fd4ef;
    --brand-ink: #9de5f6;
    --on-brand: #04202b;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .45), 0 22px 48px -18px rgba(0, 0, 0, .7);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.85rem); line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 3.7vw, 2.65rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.03rem; line-height: 1.35; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(100% - var(--pad) * 2, var(--shell));
  margin-inline: auto;
}

.lede {
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 60ch;
}

.eyebrow {
  display: block;
  font-size: .795rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: .85rem;
}

.section { padding-block: var(--gap); }
.section--tint { background: var(--surface); }

.head-wrap { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.1rem); }
.head-wrap p { margin-top: .9rem; }

/* ---------- demo notice ---------- */

.demo-note {
  background: #7a2e12;
  color: #fff;
  font-size: .875rem;
  line-height: 1.5;
  padding: .62rem 0;
}
.demo-note b { font-weight: 600; }
.demo-note .shell {
  display: flex;
  gap: .5rem .9rem;
  align-items: baseline;
  flex-wrap: wrap;
}

/* ---------- header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) {
  .masthead { background: var(--paper); }
}

.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 70px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .58rem;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: .015em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark svg { flex: none; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.9vw, 1.85rem);
}
.nav a {
  color: var(--body);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--brand-deep); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }

.masthead__cta { display: flex; align-items: center; gap: .75rem; }
.masthead__tel {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .95rem;
  cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .78rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-deep);
  color: var(--on-brand);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--brand-ink);
  color: var(--on-brand);
  box-shadow: var(--shadow-lift);
}
@media (prefers-color-scheme: dark) {
  .btn--primary:hover { background: var(--brand); }
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
  background: var(--tint);
}

.btn--light {
  background: var(--paper);
  color: var(--brand-ink);
}
.btn--light:hover { background: var(--tint); color: var(--brand-ink); }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: center;
}

.hero__copy { max-width: 34rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { margin-bottom: 1.9rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  right: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .55rem;
}
.hero__badge span {
  background: rgba(255, 255, 255, .93);
  color: #0e1f27;
  border-radius: var(--radius-pill);
  padding: .38rem .82rem;
  font-size: .81rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.facts > div { background: var(--paper); padding: clamp(1.35rem, 3vw, 2.1rem) clamp(.9rem, 2vw, 1.6rem); }
.facts dt {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.facts dd {
  margin: .4rem 0 0;
  font-size: .93rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- zones bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.85rem, 1.7vw, 1.3rem);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 15rem;
  padding: 1.4rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface-2);
  color: #fff;
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 26, 34, .04) 26%, rgba(6, 26, 34, .58) 68%, rgba(6, 26, 34, .84) 100%);
}
.tile:hover img { transform: scale(1.045); }
.tile h3 { color: #fff; }
.tile p {
  margin: .35rem 0 0;
  font-size: .93rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}

.tile--wide { grid-column: span 4; min-height: 19rem; }
.tile--tall { grid-column: span 2; min-height: 19rem; }
.tile--half { grid-column: span 3; }
.tile--third { grid-column: span 2; }

.tile--plain {
  background: var(--brand-deep);
  color: var(--on-brand);
  justify-content: center;
  gap: .6rem;
}
.tile--plain::after { display: none; }
.tile--plain h3 { color: var(--on-brand); }
.tile--plain p { color: color-mix(in srgb, var(--on-brand) 82%, transparent); }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 2rem);
  counter-reset: step;
}
.step { padding-top: 1.1rem; border-top: 2px solid var(--brand); }
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .95rem; color: var(--muted); }

/* ---------- price rows ---------- */

.price-list { display: grid; gap: .7rem; }

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem 1.5rem;
  align-items: center;
  padding: 1.15rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.price-row:hover { border-color: var(--brand); box-shadow: var(--shadow-soft); }
.price-row__name { font-weight: 600; color: var(--ink); }
.price-row__note { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.price-row__sum {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.price-row__unit { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); }

.price-row--feature { background: var(--tint); border-color: var(--brand); }

/* ---------- included list ---------- */

.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: .55rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.included li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.included svg { flex: none; margin-top: .28rem; color: var(--brand-deep); }

/* ---------- cards / articles ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.7rem);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.card__cover { aspect-ratio: 16 / 10; background: var(--surface-2); }
.card__cover img { width: 100%; height: 100%; object-fit: cover; }

.card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem 1.35rem 1.45rem; flex: 1; }
.card__body h3 a { color: var(--ink); text-decoration: none; }
.card__body h3 a:hover { color: var(--brand-deep); }
.card__body p { font-size: .95rem; color: var(--muted); }
.card__meta {
  margin-top: auto;
  padding-top: .7rem;
  font-size: .84rem;
  color: var(--muted);
  display: flex;
  gap: .55rem;
  align-items: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: .22rem .68rem;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--brand-ink);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
}
.pill--soon { background: var(--surface-2); color: var(--muted); }
.card__body > .pill { align-self: flex-start; }

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--flip .split__media { order: -1; }

/* ---------- branches ---------- */

.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.branch { background: var(--paper); padding: 1.25rem 1.35rem; }
.branch h4 { margin-bottom: .3rem; }
.branch p { font-size: .9rem; color: var(--muted); margin: 0; }
.branch p + p { margin-top: .25rem; }

/* ---------- callout band ---------- */

.band {
  background: var(--brand-deep);
  color: var(--on-brand);
  border-radius: var(--radius-card);
  padding: clamp(1.9rem, 4.5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem 2.5rem;
  align-items: center;
}
.band h2 { color: var(--on-brand); }
.band p { color: color-mix(in srgb, var(--on-brand) 84%, transparent); margin-top: .7rem; max-width: 46ch; }

/* ---------- contacts ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); }
.contact-block h3 { margin-bottom: .5rem; }
.contact-block a { font-weight: 500; }
.contact-block__big { font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.contact-block__big:hover { color: var(--brand-deep); }

.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: .78rem .95rem;
  min-height: 48px;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus,
.field textarea:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 26%, transparent);
  outline: none;
}
.field small { font-size: .84rem; color: var(--muted); }

.form-status {
  margin-top: .9rem;
  padding: .8rem 1rem;
  border-radius: var(--radius-field);
  background: var(--tint);
  border: 1px solid var(--brand);
  color: var(--brand-ink);
  font-size: .93rem;
  font-weight: 500;
}
.form-status[hidden] { display: none; }

/* ---------- prose ---------- */

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.05em; }
.prose li { margin-bottom: .4rem; }

/* ---------- article ---------- */

.article { padding-block: clamp(1.6rem, 3.5vw, 2.6rem) 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .89rem;
  color: var(--muted);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.crumbs a {
  display: inline-block;
  padding-block: .5rem;
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.crumbs span { padding-block: .5rem; }

.article__head { max-width: 46rem; }
.article__head .pill { margin-bottom: 1rem; }
.article__head h1 { margin-bottom: 1.05rem; font-size: clamp(1.95rem, 4.4vw, 3.05rem); line-height: 1.09; }
.article__head .lede { margin-bottom: 1.15rem; }

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .7rem;
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
}

.article__cover {
  margin-block: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 8;
  background: var(--surface-2);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article__body {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
  padding-bottom: var(--gap);
}
/* Grid children default to min-width:auto, which lets a wide table push the
   whole page sideways instead of scrolling inside its own .table-wrap. */
.article__body > * { min-width: 0; }

.toc {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.3rem;
}
.toc h2 {
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: .8rem;
}
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .42rem; }
.toc li { font-size: .92rem; line-height: 1.4; color: var(--muted); }
.toc a { display: block; padding-block: .35rem; color: var(--body); text-decoration: none; }
.toc a:hover { color: var(--brand-deep); text-decoration: underline; }

.prose--article { max-width: 44rem; }
.prose--article > *:first-child { margin-top: 0; }
.prose--article h2 { margin-top: 2.9rem; scroll-margin-top: 88px; }
.prose--article ol { padding-left: 1.25rem; margin: 0 0 1.05em; }
.prose--article ol li { margin-bottom: .5rem; }
.prose--article .included { margin-block: 0 1.3rem; }

.key {
  background: var(--tint);
  border-left: 3px solid var(--brand-deep);
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  padding: .95rem 1.2rem;
  margin-bottom: 1.3rem;
  color: var(--body);
  font-size: .99rem;
  line-height: 1.6;
}
.key b { color: var(--brand-ink); font-weight: 600; }

.small-print { font-size: .875rem; color: var(--muted); line-height: 1.6; }

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
  min-width: 30rem;
}
.table-wrap caption {
  caption-side: top;
  text-align: left;
  padding: .95rem 1.1rem .2rem;
  font-size: .87rem;
  color: var(--muted);
}
.table-wrap th,
.table-wrap td {
  padding: .72rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}
.table-wrap thead th {
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
  white-space: nowrap;
}
.table-wrap tbody th { color: var(--ink); font-weight: 600; }
.table-wrap tbody tr:hover { background: var(--surface); }

.inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.6rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  margin: 1.9rem 0 2rem;
}
.inline-cta h3 { margin-bottom: .35rem; font-size: 1.12rem; line-height: 1.3; }
.inline-cta p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- footer ---------- */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.4rem, 5vw, 3.6rem) 1.9rem;
  margin-top: var(--gap);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.footer h4 { margin-bottom: .75rem; font-size: .96rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .48rem; }
.footer a { color: var(--body); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: var(--brand-deep); }
.footer__note { margin-top: 1.35rem; font-size: .855rem; color: var(--muted); line-height: 1.6; }
.footer__note strong { color: var(--body); font-weight: 600; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand-deep);
  color: var(--on-brand);
  padding: .8rem 1.3rem;
  border-radius: 0 0 var(--radius-field) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--on-brand); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .article__body { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 40rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--wide, .tile--tall, .tile--half, .tile--third { grid-column: span 3; min-height: 15rem; }
  .band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--pad) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav[data-open='true'] { display: flex; }
  .nav-toggle { display: inline-flex; }
  .masthead__row { position: relative; }
  .masthead__tel { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tile--wide, .tile--tall, .tile--half, .tile--third { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .price-row__sum { font-size: 1.25rem; }
  .toc ol { grid-template-columns: 1fr; }
  .inline-cta { grid-template-columns: 1fr; }
  .article__cover { aspect-ratio: 16 / 10; }

  .masthead__row { gap: .6rem; height: 64px; }
  .wordmark { font-size: 1rem; gap: .42rem; }
  .wordmark svg { width: 22px; height: 22px; }
  .masthead__cta { gap: .45rem; }
  .masthead__cta .btn { padding: .6rem .9rem; font-size: .9rem; min-height: 44px; }
  .nav-toggle { padding: .6rem .8rem; font-size: .88rem; min-height: 44px; }
}

@media (max-width: 360px) {
  .masthead__cta .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
