@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./fonts/ibm-plex-mono-500-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #141a16;
  --ink-soft: #28342d;
  --muted: #617067;
  --paper: #ffffff;
  --surface: #f2f5f1;
  --surface-strong: #e8ede8;
  --line: #d5ddd6;
  --line-strong: #b9c6bc;
  --accent: #17834a;
  --accent-dark: #0f6137;
  --accent-soft: #e2f1e8;
  --warning: #8f5a16;
  --warning-soft: #fff3dc;
  --error: #b42318;
  --shadow: 0 18px 45px rgba(20, 26, 22, 0.11);
  --shell: 1180px;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(23, 131, 74, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 26, 22, 0.06);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 4px;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1.25;
  white-space: nowrap;
}

.header-contacts a {
  text-decoration: none;
}

.header-phone {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.header-email {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.header-phone:hover,
.header-email:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  padding: 11px 18px;
  font-size: 15.5px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-small {
  min-height: 42px;
  padding: 9px 14px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(650px, calc(100svh - 122px));
  overflow: hidden;
  align-items: center;
  background: var(--surface);
}

.hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  background: #b9c6c2;
  content: '';
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 50%;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 72px 92px;
}

.eyebrow,
.section-index,
.footer-label {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: 52px;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 22px;
}

.hero-contacts {
  display: none;
  margin-top: 26px;
  max-width: 520px;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-contacts strong {
  width: 100%;
  color: var(--ink);
  font-size: 15px;
}

.hero-contacts a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.hero-contacts a:hover {
  text-decoration: underline;
}

.text-link,
.text-button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 10px 0;
  font-size: 15.5px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover,
.text-button:hover {
  text-decoration: underline;
}

.procurement-strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.procurement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.procurement-grid > div {
  min-height: 100px;
  padding: 23px 24px;
  border-left: 1px solid var(--line);
}

.procurement-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.procurement-grid span,
.procurement-grid strong {
  display: block;
}

.procurement-grid span {
  color: var(--muted);
  font-size: 14px;
}

.procurement-grid strong {
  margin-top: 7px;
  font-size: 16px;
}

.section {
  padding-block: 104px;
}

.section:nth-of-type(even) {
  background: var(--surface);
}

.section-grid,
.evidence-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 104px;
}

.section h2,
.request h2,
.activation h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 740;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-intro > p:last-child,
.section-heading > p,
.request-intro > p,
.activation-inner > div:last-child > p {
  margin: 20px 0 0;
  color: var(--muted);
}

.audience-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audience-options button {
  display: grid;
  min-height: 148px;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 20px;
  text-align: left;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.audience-options button:hover,
.audience-options button.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.audience-options button:hover {
  transform: translateY(-2px);
}

.audience-options button > span {
  grid-row: 1 / 3;
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.audience-options strong {
  font-size: 16px;
  line-height: 1.35;
}

.audience-options small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 70px;
  align-items: end;
}

.section-heading > p {
  margin-bottom: 4px;
}

.terms-grid {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.terms-grid > div {
  min-height: 184px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
}

.terms-grid span {
  display: block;
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.terms-grid strong {
  display: block;
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.35;
}

.terms-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.safety {
  background: var(--surface) !important;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.legal-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
}

.legal-heading {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-heading span,
.contact-block span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-heading strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.legal-ids {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-ids > div {
  min-height: 82px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}

.legal-ids > div:nth-child(even) {
  border-right: 0;
}

.legal-ids dt {
  color: var(--muted);
  font-size: 13px;
}

.legal-ids dd {
  margin: 6px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15.5px;
}

.legal-panel address {
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.contact-block {
  display: grid;
  padding: 20px 24px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}

.contact-block span {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.contact-block a {
  min-height: 30px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.delivery-options {
  display: grid;
  margin-top: 46px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.delivery-options article {
  min-height: 308px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
}

.option-code {
  display: inline-grid;
  width: 64px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15.5px;
}

.option-code-dap {
  border-color: var(--warning);
  color: var(--warning);
}

.delivery-options h3 {
  max-width: 430px;
  margin: 28px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.delivery-options p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
}

.option-action {
  min-height: 44px;
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 8px 0;
  font-weight: 750;
}

.option-action.is-selected,
.option-action:hover {
  text-decoration: underline;
}

.evidence {
  background: var(--ink) !important;
  color: #fff;
}

.evidence .section-index {
  color: #74d49d;
}

.evidence .section-intro > p:last-child,
.evidence-list p {
  color: #aebdb3;
}

.evidence-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #39473e;
  list-style: none;
}

.evidence-list li {
  display: grid;
  min-height: 124px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid #39473e;
  padding: 24px 0;
}

.evidence-list li > span {
  color: #74d49d;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.evidence-list strong {
  display: block;
  font-size: 16px;
}

.evidence-list p {
  margin: 6px 0 0;
  font-size: 15.5px;
}

.spec-grid {
  display: grid;
  margin: 44px 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-grid > div {
  min-height: 132px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
}

.spec-grid dt {
  color: var(--muted);
  font-size: 14px;
}

.spec-grid dd {
  margin: 14px 0 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  font-weight: 600;
}

.spec-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.spec-note a,
.activation-links a {
  color: var(--accent-dark);
  font-weight: 700;
}

.process-steps {
  display: grid;
  margin: 44px 0 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  list-style: none;
}

.process-steps li {
  min-height: 224px;
  border-left: 1px solid var(--line);
  padding: 24px 20px;
}

.process-steps li:last-child {
  border-right: 1px solid var(--line);
}

.process-steps span {
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.process-steps strong {
  display: block;
  margin-top: 38px;
  font-size: 16.5px;
}

.process-steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.activation {
  padding-block: 66px;
  border-block: 1px solid #efd19f;
  background: var(--warning-soft);
}

.activation-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.activation-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--warning);
  border-radius: 50%;
  color: var(--warning);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
}

.activation .section-index {
  color: var(--warning);
}

.activation h2 {
  max-width: 820px;
}

.activation-inner > div:last-child > p {
  max-width: 940px;
  color: #5f4c32;
}

.activation-links {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.activation-links a {
  color: #70440c;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  min-height: 70px;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 18px;
  right: 0;
  content: '+';
  color: var(--accent-dark);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 0 22px;
  color: var(--muted);
}

.request {
  padding-block: 104px;
  background: var(--ink);
  color: #fff;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 76px;
  align-items: start;
}

.request-intro {
  position: sticky;
  top: 104px;
}

.request .section-index {
  color: #74d49d;
}

.request-intro > p {
  color: #aebdb3;
}

.request-summary {
  margin: 36px 0 0;
  border-top: 1px solid #39473e;
}

.request-summary > div {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #39473e;
}

.request-summary dt {
  color: #aebdb3;
  font-size: 14px;
}

.request-summary dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.request-contacts {
  display: grid;
  margin-top: 28px;
  gap: 5px;
  font-size: 15px;
}

.request-contacts strong {
  color: #fff;
}

.request-contacts a {
  width: fit-content;
  color: #74d49d;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.form-column {
  scroll-margin-top: 76px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.short-form-head {
  border-bottom: 1px solid var(--line);
  padding: 24px 24px 20px;
}

.short-form-head h3 {
  margin: 4px 0 8px;
  font-size: 22px;
}

.short-form-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

html[data-form-variant="short"] .form-actions {
  justify-content: flex-end;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.stepper span {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 12px 24px;
  font-size: 15px;
}

.stepper span + span {
  border-left: 1px solid var(--line);
}

.stepper b {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.stepper .is-active,
.stepper .is-complete {
  color: var(--ink);
  font-weight: 700;
}

.stepper .is-active b,
.stepper .is-complete b {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.form-error-summary {
  margin: 24px 24px 0;
  border-left: 3px solid var(--error);
  border-radius: 4px;
  background: #fff1f0;
  color: var(--error);
  padding: 12px 14px;
  font-size: 15px;
}

.form-step {
  padding: 26px 24px 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field,
.choice-group {
  display: block;
  min-width: 0;
}

.field > span,
.choice-group legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  padding: 11px 12px;
  outline: 0;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #8fa095;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(23, 131, 74, 0.14);
}

[aria-invalid='true'] {
  border-color: var(--error) !important;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--error);
  font-size: 13px;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.choice-group {
  min-width: 0;
  margin: 20px 0 0;
  border: 0;
  padding: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-row label {
  position: relative;
  min-width: 0;
}

.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row label > span {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 9px 11px;
}

.choice-row input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.choice-row input:focus-visible + span {
  outline: 3px solid rgba(23, 131, 74, 0.32);
  outline-offset: 2px;
}

.choice-row b {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.choice-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.choice-group.compact .choice-row label > span {
  min-height: 48px;
  align-items: center;
  text-align: center;
}

[data-destination-field] {
  margin-top: 18px;
}

.form-next {
  width: 100%;
  margin-top: 20px;
}

.check-field {
  display: grid;
  margin-top: 16px;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  font-size: 14px;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.check-field button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 0;
  text-decoration: underline;
}

.check-field .field-error {
  grid-column: 2;
  margin-top: -5px;
}

.honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  margin-top: 24px;
  justify-content: space-between;
  gap: 12px;
}

.back-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.back-button:hover {
  background: var(--surface);
}

.success-panel {
  min-height: 470px;
  padding: 56px 36px;
}

.success-panel h3 {
  max-width: 520px;
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}

.success-panel p:not(.section-index) {
  max-width: 520px;
  color: var(--muted);
}

.success-panel strong {
  display: block;
  width: fit-content;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: 10px 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
}

.success-panel .text-button {
  display: block;
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid #2b372f;
  background: #0d120f;
  color: #fff;
  padding-block: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1.4fr;
  gap: 42px;
}

.wordmark-footer {
  color: #fff;
}

.footer-grid p {
  color: #91a098;
  font-size: 14px;
}

.footer-grid > div:not(.footer-legal) > a:not(.wordmark),
.footer-grid > div > button {
  display: block;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #c5cec8;
  padding: 5px 0;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}

.footer-label {
  display: block;
  color: #74d49d;
}

.cookie-banner {
  position: fixed;
  z-index: 120;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(560px, calc(100% - 36px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.cookie-banner strong {
  font-size: 15px;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(720px, calc(100svh - 32px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 0;
}

dialog::backdrop {
  background: rgba(13, 18, 15, 0.68);
}

.dialog-head {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 12px 18px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 18px;
}

.icon-button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 24px;
}

.icon-button:hover {
  background: var(--surface);
}

.dialog-body {
  padding: 20px;
}

.dialog-body p {
  color: var(--muted);
}

.toggle-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.toggle-row span,
.toggle-row small {
  display: block;
}

.toggle-row small {
  margin-top: 3px;
  color: var(--muted);
}

.toggle-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.dialog-body > .button {
  width: 100%;
  margin-top: 20px;
}

/* Between the mobile breakpoint and ~1120px the header carries wordmark, nav,
   contacts and CTA at once; tighten the gaps so nothing is pushed out. */
@media (min-width: 981px) and (max-width: 1120px) {
  .header-inner {
    gap: 16px;
  }

  .desktop-nav {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  /* Contacts live in the header on desktop and in the hero below it, where
     they sit above the buttons as a full-width row that wraps when narrow. */
  .header-contacts {
    display: none;
  }

  .hero-contacts {
    display: flex;
    margin-top: 22px;
    max-width: none;
    gap: 6px 18px;
  }

  .hero-contacts a {
    font-size: 16px;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .hero::before,
  .hero-media {
    width: 60%;
  }

  .hero-shade {
    width: 60%;
  }

  .hero h1 {
    max-width: 470px;
    font-size: 48px;
  }

  .section-grid,
  .evidence-layout,
  .safety-layout,
  .request-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .section-intro,
  .request-intro {
    position: static;
  }

  .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps li:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .process-steps li {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .wordmark {
    gap: 7px;
    font-size: 13px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-inner .button-small {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    min-height: 600px;
    align-items: flex-end;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    object-fit: cover;
    object-position: 68% 10%;
  }

  .hero::before {
    inset: 0;
    width: 100%;
  }

  .hero-shade {
    inset: 0;
    width: 100%;
    background: rgba(242, 245, 241, 0.84);
    clip-path: none;
  }

  .hero-content {
    padding-block: 52px 48px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: 39px;
    line-height: 1.08;
  }

  .hero-lead {
    max-width: 520px;
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .hero-actions .text-link {
    text-align: center;
  }

  .hero-contacts {
    margin-top: 18px;
  }

  .procurement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .procurement-grid > div {
    min-height: 90px;
    border-bottom: 1px solid var(--line);
    padding: 17px 14px;
  }

  .procurement-grid > div:nth-child(even) {
    border-right: 1px solid var(--line);
  }

  .section,
  .request {
    padding-block: 72px;
  }

  .section h2,
  .request h2,
  .activation h2 {
    font-size: 30px;
  }

  .audience-options,
  .delivery-options,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 8px;
  }

  .audience-options button {
    min-height: 122px;
  }

  .delivery-options {
    margin-top: 32px;
  }

  .delivery-options article {
    min-height: 0;
    padding: 22px;
  }

  .delivery-options p {
    min-height: 0;
  }

  .terms-grid {
    margin-top: 30px;
    grid-template-columns: 1fr;
  }

  .terms-grid > div {
    min-height: 0;
    padding: 20px;
  }

  .terms-grid strong {
    margin-top: 18px;
  }

  .legal-ids,
  .contact-block {
    grid-template-columns: 1fr;
  }

  .legal-ids > div {
    border-right: 0;
  }

  .contact-block span {
    grid-column: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps li {
    min-height: 0;
    padding: 20px;
  }

  .process-steps strong {
    margin-top: 15px;
  }

  .activation {
    padding-block: 48px;
  }

  .activation-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activation-mark {
    width: 48px;
    height: 48px;
    font-size: 21px;
  }

  .request-layout {
    gap: 34px;
  }

  .field-grid,
  .choice-row {
    grid-template-columns: 1fr;
  }

  .form-step {
    padding: 22px 16px 24px;
  }

  .short-form-head {
    padding: 20px 16px 18px;
  }

  .form-error-summary {
    margin-inline: 16px;
  }

  .stepper span {
    padding-inline: 14px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions > * {
    width: 100%;
  }

  .success-panel {
    min-height: 400px;
    padding: 42px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

/* Phone widths: contacts sit above the CTA and span the full screen width. */
@media (max-width: 560px) {
  .hero-contacts {
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 35px;
  }

  .wordmark {
    font-size: 12px;
  }

  /* Header CTA keeps to one line at the new type size. */
  .header-inner .button-small {
    max-width: none;
    padding-inline: 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .procurement-grid strong {
    font-size: 15.5px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Главное действие в баннере согласия доминирует над отказом. */
.cookie-actions .button {
  order: 2;
  height: 44px;
  padding: 0 26px;
  font-size: 16px;
  box-shadow: 0 4px 14px rgb(18 84 216 / 30%);
}

.cookie-actions .text-button {
  order: 1;
  color: var(--muted);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions .text-button:hover { color: var(--ink); }

/* На 320px вордмарк с подписью и CTA не помещаются в шапку на 11px.
   Оставляем только знак, текст возвращается с 341px. */
@media (max-width: 340px) {
  .wordmark > span {
    display: none;
  }
}

/* соцсети в футере */
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { display: inline-flex; color: #c5cec8; min-width: 36px; min-height: 36px; align-items: center; }
.footer-social a:hover { color: #fff; }
