/* =========================================================
   A2 KOPARKI — "ground section" design
   Mineral white, spruce green, signal orange and soil layers.
   ========================================================= */

:root {
  --mineral: #e8ecea;
  --paper: #f7f9f8;
  --white: #ffffff;
  --ink: #14201d;
  --ink-soft: #44544f;
  --spruce: #123a33;
  --spruce-dark: #0e2e28;
  --mint: #cfe0da;
  --signal: #e8630a;
  --signal-deep: #9c3f00;
  --sand: #d8c49a;
  --clay: #a98258;
  --humus: #4c382a;
  --line: #bac6c2;
  --error: #a8231b;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 118%;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(76px, 9vw, 136px);
  --cut: 2px 2px 20px 2px;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--mineral);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-stretch: var(--wide);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.2; }

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

a { color: inherit; text-underline-offset: 0.2em; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

dl,
dd,
figure,
blockquote { margin: 0; }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 28px;
  border: 2px solid var(--ink);
  border-radius: var(--cut);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, border-radius 0.25s, transform 0.2s;
}
.btn:hover { border-radius: 2px 2px 4px 2px; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--signal); border-color: var(--signal); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.btn--outline:hover,
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--dark { background: var(--spruce); border-color: var(--spruce); color: var(--white); }
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }

.btn--small { min-height: 44px; padding: 9px 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.inline-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.text-link {
  display: inline-block;
  padding-block: 4px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
  transition: text-underline-offset 0.2s;
}
.text-link:hover { text-underline-offset: 0.55em; }

/* ---------- Top bar and header ---------- */

.topbar {
  background: var(--spruce);
  color: var(--mint);
  font-size: 0.88rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 8px;
}
.topbar p { margin: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mineral);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.header.is-scrolled {
  border-bottom-color: var(--ink);
  box-shadow: 0 10px 24px -20px rgba(14, 46, 40, 0.7);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding-bottom: 8px;
  background: linear-gradient(var(--spruce) 0 74%, var(--signal) 74%);
  color: var(--white);
  font-stretch: var(--wide);
  font-weight: 750;
  font-size: 1.05rem;
}
.logo__text {
  display: grid;
  font-stretch: 122%;
  font-weight: 750;
  font-size: 1.15rem;
  line-height: 1.1;
}
.logo__text small {
  color: var(--ink-soft);
  font-stretch: 100%;
  font-weight: 500;
  font-size: 0.75rem;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}
.nav a:not(.btn) {
  display: inline-block;
  padding-block: 8px;
  border-bottom: 3px solid transparent;
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
  transition: border-color 0.2s;
}
.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="true"] { border-bottom-color: var(--signal); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */

.hero__head { padding-top: clamp(44px, 6vw, 92px); }

.hero h1 {
  max-width: 1180px;
  font-stretch: 122%;
  font-size: clamp(2.35rem, 6.3vw, 5.75rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
}

.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-top: clamp(30px, 4vw, 52px);
}

.hero__intro p {
  max-width: 56ch;
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__facts { border-top: 2px solid var(--ink); }
.hero__facts div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.hero__facts dt { color: var(--ink-soft); }
.hero__facts dd { font-weight: 620; overflow-wrap: anywhere; }

/* ---------- Hero drawing ---------- */

.section-drawing {
  margin-top: clamp(28px, 4vw, 52px);
  overflow: hidden;
}
.section-drawing svg {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 580px;
  overflow: visible;
}
.marker text {
  fill: var(--mineral);
  font-family: var(--font);
  font-size: 23px;
  font-weight: 700;
}
.excavator-arm {
  transform-origin: 670px 241px;
  animation: dig 2.6s cubic-bezier(0.45, 0, 0.2, 1) 0.3s both;
}
.gear {
  transform-origin: 1118px 118px;
  animation: turn 36s linear infinite;
}

@keyframes dig {
  0% { transform: rotate(-9deg); }
  70% { transform: rotate(1.2deg); }
  100% { transform: rotate(0); }
}
@keyframes turn { to { transform: rotate(360deg); } }

/* ---------- Activity bar ---------- */

.activity-bar {
  margin-top: -1px;
  padding-block: 40px 26px;
  background: var(--humus);
  color: #f3ecdf;
}
.activity-bar__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.activity-bar__list li {
  display: flex;
  gap: 20px;
  padding-inline: 32px;
  border-left: 1px solid rgba(243, 236, 223, 0.25);
}
.activity-bar__list li:first-child { padding-left: 0; border-left: 0; }
.activity-bar__list li:last-child { padding-right: 0; }
.activity-bar__code {
  color: #ffa25c;
  font-stretch: 125%;
  font-weight: 750;
  font-size: 2.3rem;
  line-height: 1;
}
.activity-bar h2 { margin-bottom: 6px; font-size: 1.12rem; line-height: 1.25; }
.activity-bar p { color: #e2d5c0; font-size: 0.96rem; line-height: 1.55; }
.activity-bar .activity-bar__note {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(243, 236, 223, 0.18);
  font-size: 0.82rem;
}

/* ---------- About ---------- */

.about { background: var(--paper); }

.about__top {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  padding-bottom: clamp(40px, 5vw, 68px);
  border-bottom: 2px solid var(--ink);
}

.about__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 108px);
  margin-top: clamp(44px, 6vw, 76px);
}

.about__figure { align-self: start; }
.about__image {
  height: clamp(360px, 46vw, 620px);
  overflow: hidden;
  border-radius: 2px 120px 2px 2px;
  background: var(--spruce);
}
.about__image svg,
.about__image img { width: 100%; height: 100%; object-fit: cover; }

.about__plate {
  position: relative;
  display: grid;
  gap: 2px;
  margin: -44px 0 0 clamp(16px, 4vw, 56px);
  padding: 22px 26px;
  border-radius: var(--cut);
  background: var(--signal);
}
.about__plate strong { font-stretch: var(--wide); font-size: 1.15rem; }
.about__plate-note {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(20, 32, 29, 0.4);
  font-size: 0.82rem;
}

.about__text > div:first-child p:first-child {
  font-size: 1.22rem;
  line-height: 1.6;
}

.principle {
  margin-block: 48px;
  padding-block: 34px;
  border-block: 1px solid var(--line);
}
.principle p {
  position: relative;
  padding-left: 34px;
  color: var(--spruce);
  font-stretch: 122%;
  font-weight: 650;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}
.principle p::before {
  content: "";
  position: absolute;
  inset: 0.15em auto 0.15em 0;
  width: 8px;
  background: var(--signal);
}

.approach h3 { margin-bottom: 18px; }
.approach dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.approach dt { font-weight: 700; font-stretch: var(--wide); }
.approach dd { color: var(--ink-soft); }

/* ---------- Shared section heading ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { max-width: 54ch; font-size: 1.12rem; }

/* ---------- Services: two feature panels ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2px 2px 48px 2px;
}
.feature--dark { background: var(--spruce); color: var(--mineral); }
.feature--light { background: var(--white); border: 1px solid var(--line); }

.feature__art { height: 270px; overflow: hidden; }
.feature--dark .feature__art { background: var(--sand); }
.feature--light .feature__art { background: var(--mint); }
.feature__art svg { width: 100%; height: 100%; overflow: visible; transition: transform 0.7s ease; }
.feature:hover .feature__art svg { transform: scale(1.035); }

.feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 3.4vw, 44px);
}
.feature h3 { margin: 18px 0 14px; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.feature__body > p:not(.tag) { max-width: 56ch; }
.feature .checks { width: 100%; margin-bottom: 30px; }
.feature--dark .checks { columns: 2; column-gap: 32px; }
.feature .text-link { margin-top: auto; }

.tag {
  display: inline-block;
  margin: 0;
  padding: 3px 13px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 550;
  line-height: 1.5;
}

.checks li {
  position: relative;
  padding: 5px 0 5px 24px;
  break-inside: avoid;
}
.checks li::before {
  content: "";
  position: absolute;
  top: 0.9em;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 0 0 8px 0;
  background: var(--signal);
}

/* ---------- Services: register rows ---------- */

.register {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 2px solid var(--ink);
}
.register__row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.45fr) auto;
  gap: 20px clamp(20px, 3vw, 48px);
  align-items: start;
  padding: 38px 18px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s, opacity 0.6s, transform 0.6s;
}
.register__row:hover { background: var(--white); }
.register__icon {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--spruce);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s, transform 0.25s;
}
.register__row:hover .register__icon { stroke: var(--signal); transform: translateY(-3px); }
.register__title .tag { margin-top: 14px; color: var(--ink-soft); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chips li {
  padding: 5px 13px;
  border-radius: 2px 2px 10px 2px;
  background: var(--mint);
  font-size: 0.87rem;
  font-weight: 550;
}

.register__link {
  align-self: center;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.register__link:hover { background: var(--ink); color: var(--white); }

/* ---------- Process: benched steps ---------- */

.process { background: var(--spruce); color: var(--mineral); }
.process .section-head p { color: var(--mint); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  counter-reset: step;
}
.steps li {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 24px 24px 28px;
  border-top: 6px solid var(--signal);
  background: rgba(232, 236, 234, 0.075);
  counter-increment: step;
}
.steps li:nth-child(2) { margin-top: 36px; }
.steps li:nth-child(3) { margin-top: 72px; }
.steps li:nth-child(4) { margin-top: 108px; }
.steps li::before {
  content: counter(step);
  margin-bottom: 30px;
  color: #ffa25c;
  font-stretch: 125%;
  font-weight: 750;
  font-size: 3.4rem;
  line-height: 1;
}
.steps h3 { margin-bottom: 14px; font-size: 1.3rem; }
.steps p { font-size: 0.99rem; }
.steps .steps__need {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(207, 224, 218, 0.45);
  color: var(--mint);
  font-size: 0.91rem;
}
.steps__need strong { display: block; color: var(--white); }

/* ---------- Why choose us: soil strata ---------- */

.why { padding-top: var(--section); }

.why__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(52px, 6vw, 84px);
}
.why__head p { max-width: 52ch; font-size: 1.12rem; }

.stratum { position: relative; }
.stratum::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc(100% - 1px);
  left: 0;
  height: 14px;
  background: var(--wave) repeat-x 0 0 / 240px 14px;
}
.stratum__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px clamp(28px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(34px, 4vw, 52px);
}
.stratum h3 { max-width: 22ch; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.stratum p { max-width: 58ch; }

.stratum--1 {
  background: #e9ddc0;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 14V8C40 0 80 0 120 7S200 14 240 8V14Z' fill='%23e9ddc0'/%3E%3C/svg%3E");
}
.stratum--2 {
  background: #d8c49a;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 14V8C40 0 80 0 120 7S200 14 240 8V14Z' fill='%23d8c49a'/%3E%3C/svg%3E");
}
.stratum--3 {
  background: #bd9a6e;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 14V8C40 0 80 0 120 7S200 14 240 8V14Z' fill='%23bd9a6e'/%3E%3C/svg%3E");
}
.stratum--4 {
  background: #6f5135;
  color: #fbf6ec;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 14V8C40 0 80 0 120 7S200 14 240 8V14Z' fill='%236f5135'/%3E%3C/svg%3E");
}
.stratum--5 {
  background: #3d2d22;
  color: #fbf6ec;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 14V8C40 0 80 0 120 7S200 14 240 8V14Z' fill='%233d2d22'/%3E%3C/svg%3E");
}

/* ---------- FAQ ---------- */

.faq { background: var(--paper); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: start;
}
.checklist {
  margin-top: 40px;
  padding: 28px 30px;
  border: 2px solid var(--ink);
  border-radius: 2px 2px 40px 2px;
}
.checklist h3 { margin-bottom: 14px; font-size: 1.15rem; }

.accordion { border-top: 2px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  position: relative;
  padding: 26px 60px 26px 0;
  font-stretch: 110%;
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}
.accordion summary:hover::after,
.accordion details[open] summary::after { background: var(--signal); }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { max-width: 66ch; padding-bottom: 28px; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact { background: var(--mint); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__info .lead { max-width: 44ch; margin-top: 22px; }

.title-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 36px 28px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.title-block > div {
  padding: 16px 22px 18px;
  border-top: 1px solid var(--ink);
}
.title-block > div:first-child { border-top: 0; }
.title-block__wide { grid-column: 1 / -1; }
.title-block > div:last-child { border-left: 1px solid var(--ink); }
.title-block dt { color: var(--ink-soft); font-size: 0.85rem; }
.title-block dd { font-stretch: 110%; font-weight: 650; font-size: 1.1rem; line-height: 1.5; }
.title-block__email {
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  overflow-wrap: anywhere;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 3px;
}

.form-card {
  padding: clamp(24px, 4vw, 50px);
  border-radius: 2px 2px 56px 2px;
  background: var(--paper);
  box-shadow: 0 30px 60px -45px rgba(14, 46, 40, 0.65);
}
.form-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.form-card__hint { margin-top: 8px; color: var(--ink-soft); font-size: 0.93rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-block: 24px 18px;
}
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.consent) {
  display: block;
  margin-bottom: 6px;
  font-size: 0.93rem;
  font-weight: 620;
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #7d918b;
  border-radius: 2px 2px 10px 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px rgba(232, 99, 10, 0.4);
  outline: 2px solid transparent;
}
.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--error); background: #fff6f5; }
.field.is-invalid input[type="checkbox"] { outline: 2px solid var(--error); outline-offset: 2px; }

.field__error {
  min-height: 1.35em;
  margin: 3px 0 0;
  color: var(--error);
  font-size: 0.84rem;
  font-weight: 550;
  line-height: 1.35;
}
.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.field__count { flex: none; margin: 3px 0 0 auto; color: var(--ink-soft); font-size: 0.82rem; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 21px;
  height: 21px;
  margin: 1px 0 0;
  accent-color: var(--spruce);
}

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

.form-card__after {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: center;
}
.form-status {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 6px solid var(--spruce);
  background: var(--mint);
  font-size: 0.95rem;
}
.form-status.is-error { border-left-color: var(--error); background: #fbe9e7; }
.form-status .btn { margin-top: 12px; }
.form-status[hidden],
.form-status [hidden] { display: none; }

/* ---------- Footer ---------- */

.footer {
  padding-top: clamp(52px, 6vw, 84px);
  background: var(--spruce-dark);
  color: var(--mint);
  font-size: 0.97rem;
}
.footer__wordmark { width: 100%; height: auto; margin-bottom: clamp(36px, 5vw, 64px); }
.footer__wordmark text {
  fill: #2b5e52;
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 750;
  font-size: 128px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr;
  gap: 36px clamp(24px, 4vw, 64px);
  padding-block: 40px 48px;
  border-top: 1px solid rgba(207, 224, 218, 0.25);
}
.footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.35;
}
.footer li { margin-bottom: 7px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 24px 30px;
  border-top: 1px solid rgba(207, 224, 218, 0.25);
  font-size: 0.88rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom .inline-button:hover { color: var(--white); }

/* ---------- Privacy dialog ---------- */

.privacy {
  width: min(720px, 100% - 28px);
  max-height: min(820px, 100% - 40px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 2px 2px 32px 2px;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
.privacy::backdrop { background: rgba(10, 32, 27, 0.72); }
.privacy__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.privacy__head h2 { font-size: 1.4rem; }
.privacy__body { padding: 8px clamp(20px, 4vw, 36px) 34px; font-size: 0.97rem; }
.privacy__body h3 { margin: 24px 0 8px; font-size: 1.05rem; }

/* ---------- Scroll reveal (enabled by script.js) ---------- */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on .register__row[data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.25s;
}
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (min-width: 1000px) and (min-height: 820px) {
  .about__figure { position: sticky; top: 108px; }
  .about__image { height: min(620px, 100vh - 280px); }
}

@media (max-width: 1100px) {
  /* Mobile navigation. Without JavaScript the links simply wrap below the logo. */
  .header__inner { flex-wrap: wrap; padding-block: 12px; }
  .nav { width: 100%; }
  .nav ul { flex-wrap: wrap; }

  .has-js .header__inner { flex-wrap: nowrap; padding-block: 0; }
  .has-js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: var(--cut);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }
  .menu-toggle__bars,
  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, background-color 0.2s;
  }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before,
  .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { transform: translateY(-6px); }
  .menu-toggle__bars::after { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); }

  .has-js .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 24px 30px -24px rgba(14, 46, 40, 0.55);
  }
  .has-js .nav.is-open { display: block; }
  .has-js .nav ul { display: block; }
  .has-js .nav a:not(.btn) {
    display: block;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .has-js .nav a:not(.btn)[aria-current="true"] { color: var(--signal-deep); }
  .has-js .nav .btn { width: 100%; margin-top: 20px; }

  .register__row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .register__icon { grid-row: span 2; }
  .register__text { grid-column: 2 / -1; grid-row: 2; }
  .register__link { grid-column: 3; grid-row: 1; align-self: start; }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 300px; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps li:nth-child(even) { margin-top: 36px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero__row,
  .about__top,
  .about__body,
  .section-head,
  .why__head,
  .stratum__inner,
  .faq__grid,
  .contact__grid,
  .feature-grid { grid-template-columns: minmax(0, 1fr); }

  .hero__row { align-items: start; }

  .about__figure { max-width: 640px; }
  .about__image { height: clamp(360px, 70vw, 520px); }

  .activity-bar__list { grid-template-columns: minmax(0, 1fr); }
  .activity-bar__list li,
  .activity-bar__list li:first-child,
  .activity-bar__list li:last-child {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(243, 236, 223, 0.22);
  }
  .activity-bar__list li:first-child { padding-top: 0; border-top: 0; }
  .activity-bar__code { min-width: 58px; }
  .activity-bar .activity-bar__note { margin-top: 6px; }
}

@media (min-width: 641px) and (max-width: 960px) {
  .about__figure {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    max-width: none;
  }
  .about__image { height: auto; aspect-ratio: 600 / 640; }
  .about__plate { margin: 0 0 32px -40px; }
}

@media (max-width: 640px) {
  :root { --wide: 108%; }

  body { font-size: 1rem; }

  .topbar__inner { justify-content: center; }
  .topbar__inner p:first-child { display: none; }

  .hero h1 { font-stretch: 112%; font-size: clamp(2.2rem, 10.4vw, 3.4rem); line-height: 1.02; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .about__image { height: auto; aspect-ratio: 600 / 640; border-radius: 2px 72px 2px 2px; }
  .approach dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .feature__art { height: 190px; }
  .feature--dark .checks { columns: 1; }

  .register__row {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 0;
  }
  .register__row:hover { background: transparent; }
  .register__icon { grid-row: auto; width: 52px; height: 52px; }
  .register__title,
  .register__text,
  .register__link { grid-column: 1; grid-row: auto; }
  .register__link { justify-self: start; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { min-height: 0; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps li::before { margin-bottom: 18px; font-size: 2.8rem; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { margin-inline: calc(var(--gutter) * -0.4); border-radius: 2px 2px 36px 2px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
