/* =========================================================================
   Specialized Intelligence Network — shared stylesheet
   The palette comes from the site configuration and is injected as CSS custom
   properties in the <head>. This file never hard-codes a brand colour.
   ========================================================================= */

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

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

body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25rem; }

a { color: var(--brand-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-accent-3); }

/* ------------------------------------------------------------- tokens --- */
:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               "Noto Sans", Arial, "Liberation Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas,
               "Liberation Mono", Menlo, monospace;

  --shell: 74rem;
  --shell-narrow: 50rem;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5.5rem;

  --shadow-1: 0 1px 2px rgba(0,0,0,.28), 0 8px 28px rgba(0,0,0,.24);
  --shadow-2: 0 24px 64px rgba(0,0,0,.42);

  --transition: 180ms cubic-bezier(.4,0,.2,1);
}

/* ------------------------------------------------------------ layout ---- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
.shell--narrow { width: min(100% - 2.5rem, var(--shell-narrow)); }

.section { padding-block: var(--space-6); }
.section--challenges,
.section--formats,
.section--quality { background: var(--surface-1); }
.section--benefits { background: linear-gradient(180deg, var(--surface-0), var(--surface-1)); }

.section__head { max-width: 46rem; margin-bottom: var(--space-4); }
.section__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.section__intro { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 0; }
.section__more { margin-top: var(--space-4); }
.section__note { color: var(--text-muted); font-size: .95rem; }

.list-reset { list-style: none; margin: 0; padding: 0; }

.visually-hidden,
.skip-link:not(:focus) {
  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: fixed;
  top: .75rem; left: .75rem;
  z-index: 1000;
  background: var(--brand-accent);
  color: var(--brand-ink);
  padding: .7rem 1.1rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  text-decoration: none;
}

/* ------------------------------------------------------------- focus ---- */
:where(a, button, input, select, textarea, summary, details, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}
main:focus { outline: none; }

/* ------------------------------------------------------------ header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface-0) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 4.5rem;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__mark { display: inline-flex; }
.logo-mark { width: 2.4rem; height: 2.4rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.24rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.brand__part--0 { color: var(--text); }
.brand__part--1 { color: var(--brand-accent); }
.brand__part--2 { color: var(--text-muted); }
.brand__expertise {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-top: .18rem;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: .55rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  color: var(--text);
  padding: .6rem .85rem;
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bars span {
  display: block; width: 18px; height: 2px;
  background: var(--brand-accent); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__label { font-size: .85rem; font-weight: 600; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: .55rem .8rem;
  border-radius: var(--radius-s);
  color: var(--text-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}
.site-nav__link:hover { color: var(--text); background: var(--surface-2); }
.site-nav__link.is-current { color: var(--brand-accent); }

.site-nav__actions { display: flex; align-items: center; gap: var(--space-2); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface-1);
}
.lang-switch__item {
  padding: .34rem .78rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 999px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.lang-switch__item:hover { color: var(--text); }
.lang-switch__item.is-current {
  background: var(--brand-accent);
  color: var(--brand-ink);
}

/* ------------------------------------------------------------ buttons --- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .7rem 1.35rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent {
  --btn-bg: var(--brand-accent);
  --btn-fg: var(--brand-ink);
  --btn-border: var(--brand-accent);
  box-shadow: 0 10px 30px var(--brand-glow);
}
.btn--accent:hover { color: var(--brand-ink); box-shadow: 0 14px 38px var(--brand-glow); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }
.btn--outline { --btn-bg: var(--surface-1); --btn-fg: var(--text); }
.btn--outline:hover { color: var(--text); border-color: var(--brand-accent); }
.btn--large { min-height: 54px; padding: .9rem 1.8rem; font-size: 1rem; }
.btn--compact { min-height: 42px; padding: .55rem 1.05rem; font-size: .9rem; }
.site-nav__actions .btn { white-space: nowrap; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: currentColor; }

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.backdrop { position: absolute; inset: 0; z-index: -1; }
.backdrop__svg { width: 100%; height: 100%; opacity: .7; }
/* Readability scrim: the motif stays visible but never crosses the copy. */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      var(--surface-0) 0%,
      color-mix(in srgb, var(--surface-0) 92%, transparent) 34%,
      color-mix(in srgb, var(--surface-0) 55%, transparent) 58%,
      transparent 82%),
    linear-gradient(180deg, transparent 55%, var(--surface-0) 100%);
}

.hero__inner { max-width: 54rem; position: relative; }
.hero__eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-accent);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .34rem .9rem;
  margin-bottom: var(--space-3);
  background: var(--surface-1);
}
.hero__title {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}
.hero__lead {
  font-size: clamp(1.05rem, 1rem + .45vw, 1.3rem);
  color: var(--text-soft);
  max-width: 46rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block: var(--space-4) var(--space-4);
}
.hero__intro { color: var(--text-muted); max-width: 44rem; }
.hero__signature {
  margin: var(--space-3) 0 0;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-accent);
}

/* --------------------------------------------------------- page heads --- */
.page-head {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--space-4);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-1), var(--surface-0));
}
.page-head__eyebrow {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-2);
}
.page-head__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); }
.page-head__lead { font-size: 1.15rem; color: var(--text-soft); }
.page-head__text { color: var(--text-muted); }
.page-head__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* -------------------------------------------------------- breadcrumbs --- */
.breadcrumb { border-bottom: 1px solid var(--border); background: var(--surface-1); }
.breadcrumb__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  list-style: none; margin: 0; padding: .8rem 0;
  font-size: .85rem; color: var(--text-muted);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-accent); }
.breadcrumb__separator { opacity: .5; }

/* --------------------------------------------------------------- grid --- */
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }

.panel {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.panel--flat { background: var(--surface-2); }
.panel__title { font-size: 1.08rem; margin-bottom: .5rem; }
.panel__text { color: var(--text-muted); margin: 0; font-size: .96rem; }

/* --------------------------------------------------------------- card --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-3);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--brand-accent); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.card__index {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--brand-accent);
}
.card__title { font-size: 1.1rem; margin: 0; }
.card__link { color: var(--text); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__link { color: var(--brand-accent); }
.card__summary { color: var(--text-muted); font-size: .95rem; margin: 0; flex: 1; }
.card__audience { font-size: .84rem; color: var(--text-muted); margin: 0; }
.card__audience-label { color: var(--text-soft); font-weight: 600; }
.card__more { font-size: .86rem; font-weight: 700; color: var(--brand-accent); }
.card__arrow { transition: transform var(--transition); display: inline-block; }
.card:hover .card__arrow { transform: translateX(4px); }

/* ----------------------------------------------------------- benefits --- */
.benefits { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.benefits__item { display: flex; gap: var(--space-2); align-items: flex-start; }
.benefits__icon {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--brand-accent);
}
.benefits__title { font-size: 1.03rem; margin-bottom: .3rem; }
.benefits__text { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* -------------------------------------------------------------- steps --- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  counter-reset: step;
}
.steps__item {
  border-top: 2px solid var(--border-strong);
  padding-top: var(--space-2);
}
.steps__number { font-family: var(--font-mono); color: var(--brand-accent); font-size: .82rem; letter-spacing: .12em; }
.steps__title { font-size: 1rem; margin: .35rem 0 .35rem; }
.steps__text { color: var(--text-muted); font-size: .93rem; margin: 0; }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.process__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-3);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.process__marker {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-accent);
  border-right: 1px solid var(--border);
  padding-right: var(--space-2);
}
.process__title { font-size: 1.12rem; margin-bottom: .4rem; }
.process__text { color: var(--text-soft); margin-bottom: .6rem; }

/* -------------------------------------------------------------- chips --- */
.chips { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.chip {
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-accent);
  border-radius: var(--radius-s);
  padding: var(--space-2);
  background: var(--surface-2);
}
.chip__title { display: block; font-weight: 700; margin-bottom: .25rem; }
.chip__text { display: block; color: var(--text-muted); font-size: .9rem; }

/* -------------------------------------------------------------- ticks --- */
.ticks { display: grid; gap: .55rem; }
.ticks__item { position: relative; padding-left: 1.75rem; color: var(--text-soft); }
.ticks__item::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: .7rem; height: .38rem;
  border-left: 2px solid var(--brand-accent);
  border-bottom: 2px solid var(--brand-accent);
  transform: rotate(-45deg);
}

.mini-list { display: grid; gap: .3rem; font-size: .9rem; color: var(--text-muted); }
.mini-list li { position: relative; padding-left: .9rem; }
.mini-list li::before { content: "·"; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .32rem .85rem;
  font-size: .86rem;
  background: var(--surface-2);
  color: var(--text-soft);
}

/* ----------------------------------------------------------- tailored --- */
.tailored { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.tailored__text { color: var(--text-soft); }
.tailored__aside {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: var(--space-3);
}
.tailored__aside-title { font-size: 1.05rem; }
.tailored__aside-text { color: var(--text-muted); font-size: .94rem; }

/* -------------------------------------------------------- service list -- */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--border);
  scroll-margin-top: 6rem;
}
.service-block:first-child { border-top: none; }
.service-block__index { font-family: var(--font-mono); color: var(--brand-accent); font-size: .82rem; letter-spacing: .12em; }
.service-block__title { font-size: 1.28rem; margin-top: .4rem; }
.service-block__title a { color: var(--text); text-decoration: none; }
.service-block__title a:hover { color: var(--brand-accent); }
.service-block__label { color: var(--brand-accent); font-weight: 700; }
.service-block__problem { color: var(--text-soft); }
.service-block__summary { color: var(--text-muted); }
.service-block__meta {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-block: var(--space-3);
  padding: var(--space-3);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}
.service-block__meta-title {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-soft); margin-bottom: .5rem;
}
.service-block__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; }

/* ------------------------------------------------------------ article --- */
.article { padding-block: var(--space-5); }
.article__shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); gap: var(--space-5); align-items: start; }
.article__aside { position: sticky; top: 6rem; display: grid; gap: var(--space-3); }

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-top: var(--space-4); }
.prose h3 { font-size: 1.15rem; margin-top: var(--space-3); }
.prose p { color: var(--text-soft); }
.prose .lead { font-size: 1.1rem; color: var(--text); }
.prose__note { color: var(--text-muted); font-size: .88rem; margin-top: var(--space-4); }

.numbered { counter-reset: n; list-style: none; padding: 0; display: grid; gap: .7rem; }
.numbered li { position: relative; padding-left: 2.4rem; color: var(--text-soft); }
.numbered li::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--brand-accent);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: .1rem .35rem;
}

.aside-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.aside-card--muted { background: var(--surface-2); }
.aside-card__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); }
.aside-card__text { color: var(--text-muted); font-size: .92rem; }
.aside-card__phone a { font-weight: 700; white-space: nowrap; font-size: 1.02rem; }
.aside-card__list { display: grid; gap: .8rem; margin: 0 0 var(--space-3); }
.aside-card__list dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.aside-card__list dd { margin: .15rem 0 0; color: var(--text-soft); font-size: .94rem; }
.aside-card__links { display: grid; gap: .5rem; }
.aside-card__links a { font-size: .94rem; text-decoration: none; }
.aside-card__links a:hover { text-decoration: underline; }

/* -------------------------------------------------------- definitions --- */
.definitions { display: grid; gap: 0; margin: 0 0 var(--space-3); border-top: 1px solid var(--border); }
.definitions__row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--space-2);
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
}
.definitions__row dt { color: var(--text-muted); font-size: .9rem; }
.definitions__row dd { margin: 0; color: var(--text-soft); }

/* ----------------------------------------------------------------- faq -- */
.faq { display: grid; gap: .7rem; }
.faq__item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 0 var(--space-3);
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__question {
  cursor: pointer;
  list-style: none;
  padding: var(--space-2) 2rem var(--space-2) 0;
  font-weight: 700;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--brand-accent);
  font-size: 1.4rem;
  line-height: 1;
}
.faq__item[open] .faq__question::after { content: "–"; }
.faq__answer { padding-bottom: var(--space-2); }
.faq__answer p { color: var(--text-muted); margin: 0; }

/* ------------------------------------------------------------ cta band -- */
.section--cta { padding-bottom: var(--space-6); }
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, auto);
  gap: var(--space-4);
  align-items: center;
  background:
    radial-gradient(120% 140% at 0% 0%, var(--brand-glow), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.cta-band__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); }
.cta-band__text { color: var(--text-soft); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cta-band__note { margin: var(--space-2) 0 0; font-size: .86rem; color: var(--text-muted); }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-1);
  padding-block: var(--space-5) var(--space-3);
  margin-top: auto;
}
.site-footer__top {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  padding-bottom: var(--space-4);
}
.site-footer__name { font-size: 1.15rem; font-weight: 800; margin: .6rem 0 .2rem; }
.site-footer__expertise { color: var(--text-muted); font-size: .9rem; margin-bottom: .6rem; }
.site-footer__signature { color: var(--brand-accent); font-weight: 700; font-size: .9rem; margin: 0; }
.site-footer__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: .8rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__list a { color: var(--text-soft); text-decoration: none; font-size: .93rem; }
.site-footer__list a:hover { color: var(--brand-accent); }
.site-footer__text { color: var(--text-muted); font-size: .92rem; }

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  align-items: center;
  justify-content: space-between;
}
.site-footer__legal-note { margin: 0; color: var(--text-muted); font-size: .85rem; }
.site-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.site-footer__legal a { color: var(--text-muted); font-size: .85rem; text-decoration: none; }
.site-footer__legal a:hover { color: var(--brand-accent); }

/* --------------------------------------------------------------- form --- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: var(--space-5); align-items: start; }
.contact-aside { display: grid; gap: var(--space-3); position: sticky; top: 6rem; }

.form { display: grid; gap: var(--space-4); }
.form__fieldset { border: 0; margin: 0; padding: 0; }
.form__legend {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-accent); font-weight: 700;
  padding: 0 0 var(--space-2);
  width: 100%;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}
.form__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form__field--full { grid-column: 1 / -1; }
.form__label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; color: var(--text-soft); }
.form__required { color: var(--brand-accent); margin-left: .15rem; }
.form__optional { color: var(--text-muted); font-weight: 400; font-size: .8rem; margin-left: .35rem; }
.form__control {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__control::placeholder { color: var(--text-muted); }
.form__control:focus { border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-glow); outline: none; }
textarea.form__control { min-height: 10rem; resize: vertical; }
.form__control--select { appearance: none; padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.35rem, calc(100% - .8rem) 1.35rem;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form__help { font-size: .82rem; color: var(--text-muted); margin: .35rem 0 0; }
.form__error { font-size: .85rem; color: var(--brand-accent-3); font-weight: 600; margin: .35rem 0 0; }
.form__field.has-error .form__control { border-color: var(--brand-accent-3); }

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.form__checkbox { width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--brand-accent); }
.form__consent-label { font-size: .92rem; color: var(--text-soft); }
.form__consent .form__error { grid-column: 1 / -1; }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.form__note { margin: 0; font-size: .85rem; color: var(--text-muted); max-width: 26rem; }

.notice {
  border-radius: var(--radius-m);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}
.notice--error { border-left: 4px solid var(--brand-accent-3); }
.notice__title { font-size: 1.02rem; margin-bottom: .3rem; }
.notice__text { margin: 0; color: var(--text-soft); }

/* ------------------------------------------------------------ captcha --- */
.captcha {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.captcha .form__label { font-size: 1rem; color: var(--text); }
.captcha__input { max-width: 12rem; }
.captcha .form__help { max-width: 44rem; }

/* ------------------------------------------------------- confirmation --- */
.confirmation { text-align: center; padding-block: var(--space-4); }
.confirmation__icon { display: inline-flex; margin-bottom: var(--space-3); }
.confirmation__title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
.confirmation__text { font-size: 1.1rem; color: var(--text-soft); }
.confirmation__detail { color: var(--text-muted); }
.confirmation__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-3); }
.confirmation__next { margin-top: var(--space-5); border-top: 1px solid var(--border); padding-top: var(--space-4); }

/* -------------------------------------------------------------- error --- */
.section--error { padding-block: var(--space-6); }
.error__code { font-family: var(--font-mono); font-size: clamp(3rem, 2rem + 6vw, 6rem); color: var(--brand-accent); margin: 0; line-height: 1; opacity: .85; }
.error__title { font-size: clamp(1.5rem, 1.2rem + 1.8vw, 2.2rem); margin-top: var(--space-2); }
.error__intro { color: var(--text-soft); font-size: 1.05rem; }
.error__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-3) var(--space-5); }
.error__list { display: grid; gap: .6rem; }

/* ------------------------------------------------------------ consent --- */
.consent {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 30rem;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
}
.consent__inner { padding: var(--space-3); }
.consent__title { font-size: 1rem; }
.consent__text { font-size: .9rem; color: var(--text-muted); }
.consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent__link { margin: .8rem 0 0; font-size: .82rem; }

/* --------------------------------------------------------- responsive --- */
@media (max-width: 62rem) {
  .article__shell,
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .article__aside,
  .contact-aside { position: static; }
  .tailored { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .service-block { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
}

@media (max-width: 52rem) {
  .site-header__inner { gap: var(--space-2); }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand__name { font-size: 1.08rem; }
  .brand__expertise {
    font-size: .6rem;
    letter-spacing: .08em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand__text { min-width: 0; }
  .logo-mark { width: 2rem; height: 2rem; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .nav-toggle__label { display: none; }
  .site-nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-3) 1.25rem var(--space-4);
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav__link { display: block; padding: .85rem .6rem; font-size: 1.02rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-nav { box-shadow: var(--shadow-2); }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
  .lang-switch { justify-content: center; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .definitions__row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .process__item { grid-template-columns: minmax(0, 1fr); }
  .process__marker { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 .5rem; }
}

/* JavaScript disabled: the navigation is always visible. */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: flex; max-height: none; }

/* ------------------------------------------------------ reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .card:hover { transform: none; }
  .backdrop__svg animate { display: none; }
}

/* --------------------------------------------------------------- print -- */
@media print {
  .site-header, .site-footer, .cta-band, .consent, .skip-link, .breadcrumb { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .section__intro { color: #222; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
