:root {
  --sand: #e8dcc7;
  --oat: #d4b895;
  --sage: #8b9d83;
  --clay: #b08b6e;
  --terracotta: #c66b3d;
  --moss: #606c38;
  --ink: #293026;
  --muted: #5d6658;
  --light-on-moss: #f6eddf;
  --muted-on-moss: #ebe5d3;
  --line: rgb(41 48 38 / 14%);
  --line-strong: rgb(41 48 38 / 24%);
  --surface: color-mix(in srgb, var(--sand) 92%, var(--oat) 8%);
  --surface-sage: color-mix(in srgb, var(--sand) 78%, var(--sage) 22%);
  --surface-oat: color-mix(in srgb, var(--sand) 72%, var(--oat) 28%);
  --good: #52663d;
  --warning: #9a5b32;
  --danger: #9f4837;
  --header-height: 68px;
  --gutter: clamp(18px, 3vw, 40px);
  --section-space: clamp(78px, 9vw, 126px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 28px 70px rgb(96 108 56 / 13%);
  --shadow-small: 0 14px 38px rgb(96 108 56 / 10%);
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 36px);
}

body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at 86% 7%, rgb(139 157 131 / 25%), transparent 26rem),
    radial-gradient(circle at 4% 38%, rgb(176 139 110 / 12%), transparent 30rem),
    var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  content: "";
  opacity: .022;
  pointer-events: none;
}

body,
button,
input,
select {
  font-family: var(--sans);
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 11px 15px;
  border-radius: 10px;
  background: var(--moss);
  color: var(--sand);
  transform: translateY(-170%);
  transition: transform 220ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 14px auto 0;
  padding: 0 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--sand) 90%, transparent);
  box-shadow: 0 10px 30px rgb(96 108 56 / 8%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--moss);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  border-radius: 50%;
  background: var(--sand);
  content: "";
}

.brand-mark::before {
  top: 7px;
  left: 6px;
  width: 6px;
  height: 6px;
}

.brand-mark::after {
  right: 5px;
  bottom: 6px;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.desktop-nav a {
  text-decoration: none;
  transition: color 220ms ease;
}

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

.header-cta {
  justify-self: end;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--moss);
  color: var(--sand);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease;
}

.header-cta:hover {
  background: color-mix(in srgb, var(--moss) 88%, var(--ink));
  transform: translateY(-1px);
}

.header-cta:active {
  transform: translateY(1px) scale(.99);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 740px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0 clamp(92px, 10vw, 136px);
}

.hero-copy {
  max-width: 690px;
  animation: rise-in 620ms cubic-bezier(.2, .75, .2, 1) both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 650;
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 6px rgb(198 107 61 / 12%);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--moss);
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  transform: translateY(1px) scale(.99);
}

.button-primary {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--light-on-moss);
  box-shadow: 0 12px 26px rgb(96 108 56 / 19%);
}

.button-primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--moss) 88%, var(--ink));
  box-shadow: 0 16px 32px rgb(96 108 56 / 24%);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--moss);
  background: var(--surface-sage);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .44;
}

.button-wide {
  width: 100%;
}

.hero-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration-color: var(--line-strong);
  transition: color 220ms ease;
}

.hero-link:hover {
  color: var(--moss);
}

.hero-footnotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 590px;
  margin: 54px 0 0;
  padding: 0;
  list-style: none;
}

.hero-footnotes li {
  display: grid;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.hero-footnotes b {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.hero-footnotes span {
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgb(41 48 38 / 13%);
  border-radius: var(--radius-xl);
  background: var(--sage);
  box-shadow: var(--shadow);
  animation: rise-in 700ms 100ms cubic-bezier(.2, .75, .2, 1) both;
}

.hero-card::after {
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 270px;
  height: 270px;
  border: 42px solid rgb(232 220 199 / 17%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-card-head,
.hero-card-foot,
.hero-date {
  position: relative;
  z-index: 1;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  font-weight: 650;
}

.hero-card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgb(232 220 199 / 42%);
  font-size: 11px;
}

.hero-card-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moss);
}

.route-visual {
  position: relative;
  z-index: 1;
  min-height: 250px;
  margin: 34px 0 16px;
}

.route-visual svg {
  width: 100%;
  overflow: visible;
}

.route-shadow,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-shadow {
  stroke: rgb(41 48 38 / 13%);
  stroke-width: 10;
}

.route-line {
  stroke: var(--sand);
  stroke-width: 5;
  stroke-dasharray: 11 13;
  animation: route-flow 16s linear infinite;
}

.route-visual circle {
  fill: var(--moss);
  stroke: var(--sand);
  stroke-width: 6;
}

.route-label {
  position: absolute;
  padding: 5px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--sand) 82%, transparent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.route-label-one {
  bottom: 23px;
  left: 0;
}

.route-label-two {
  top: 0;
  left: 30%;
}

.route-label-three {
  right: 25%;
  bottom: 0;
}

.route-label-four {
  top: 12%;
  right: 0;
}

.hero-date {
  display: grid;
  gap: 7px;
  padding: 20px 0;
  border-top: 1px solid rgb(41 48 38 / 17%);
  border-bottom: 1px solid rgb(41 48 38 / 17%);
}

.hero-date > span,
.hero-card-foot > span {
  color: rgb(41 48 38 / 65%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-date strong {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 590;
  letter-spacing: -.035em;
}

.hero-date strong b {
  color: var(--moss);
  font-variant-numeric: tabular-nums;
}

.hero-card-foot {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 20px;
}

.hero-card-foot p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.section-index {
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.regulation-band {
  display: grid;
  grid-template-columns: .55fr 1.75fr .75fr;
  gap: clamp(28px, 4vw, 58px);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 60px);
  border-radius: var(--radius-xl);
  background: var(--moss);
  color: var(--sand);
  box-shadow: var(--shadow-small);
}

.regulation-band .section-index {
  color: color-mix(in srgb, var(--sand) 70%, var(--terracotta));
}

.regulation-copy h2 {
  max-width: 790px;
  margin: 0 0 20px;
  font-size: clamp(29px, 3.5vw, 48px);
  font-weight: 590;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.regulation-copy p {
  max-width: 800px;
  margin: 0;
  color: rgb(232 220 199 / 76%);
  font-size: 15px;
  line-height: 1.65;
}

.source-links {
  display: grid;
  gap: 9px;
  align-content: end;
}

.source-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgb(232 220 199 / 18%);
  border-radius: 11px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 220ms ease, transform 220ms ease;
}

.source-links a:hover {
  background: rgb(232 220 199 / 10%);
  transform: translateY(-1px);
}

.assessment-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.assessment-intro {
  display: grid;
  grid-template-columns: .55fr 1.75fr .75fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: end;
  margin-bottom: 42px;
}

.assessment-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 620;
  letter-spacing: -.05em;
  line-height: 1;
}

.assessment-intro p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.assessment-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.assessment-form {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  padding: clamp(26px, 4vw, 52px);
}

.progress-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgb(41 48 38 / 10%);
}

progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgb(41 48 38 / 10%);
}

progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--moss);
}

progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--moss);
}

.question-step {
  min-width: 0;
  margin: clamp(42px, 6vw, 78px) 0 28px;
  padding: 0;
  border: 0;
}

.question-step legend {
  max-width: 760px;
  margin: 0;
  padding: 0;
  font-size: clamp(28px, 3.3vw, 43px);
  font-weight: 610;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.question-note {
  max-width: 600px;
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

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

.option-list label {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 13px;
  min-height: 92px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--sand) 75%, transparent);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.option-list label:hover {
  border-color: var(--line-strong);
  background: var(--surface-sage);
  transform: translateY(-1px);
}

.option-list label:has(input:checked) {
  border-color: var(--moss);
  background: var(--moss);
  color: var(--sand);
}

.option-list input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
}

.option-list input[type="radio"]:checked {
  border: 5px solid var(--sand);
}

.option-list span {
  display: grid;
  align-content: start;
  gap: 5px;
}

.option-list b {
  font-size: 14px;
  font-weight: 650;
}

.option-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.option-list label:has(input:checked) small {
  color: rgb(232 220 199 / 72%);
}

.option-list-compact {
  grid-template-columns: 1fr;
}

.option-list-compact label {
  min-height: 74px;
}

.form-error {
  min-height: 21px;
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 650;
}

.form-navigation {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 10px;
}

.assessment-placeholder {
  display: grid;
  align-content: space-between;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  background: var(--sage);
  color: var(--ink);
}

.placeholder-number {
  color: var(--moss);
  font-size: clamp(72px, 9vw, 126px);
  font-weight: 650;
  letter-spacing: -.08em;
  line-height: .8;
}

.assessment-placeholder p {
  max-width: 330px;
  margin: auto 0 28px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 590;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.assessment-placeholder ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: placeholder;
}

.assessment-placeholder li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgb(232 220 199 / 24%);
  counter-increment: placeholder;
  font-size: 12px;
  font-weight: 600;
}

.assessment-placeholder li::before {
  content: "0" counter(placeholder);
  color: rgb(41 48 38 / 55%);
  font-variant-numeric: tabular-nums;
}

.assessment-result {
  display: grid;
  grid-column: 1 / -1;
  align-content: start;
  padding: clamp(30px, 5vw, 60px);
  background: var(--moss);
  color: var(--sand);
}

.result-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.result-eyebrow {
  color: rgb(232 220 199 / 66%);
  font-size: 11px;
  font-weight: 700;
}

.result-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.result-score b {
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: .8;
  font-variant-numeric: tabular-nums;
}

.result-score small {
  color: rgb(232 220 199 / 58%);
  font-size: 11px;
}

.assessment-result h3 {
  margin: clamp(44px, 6vw, 78px) 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 590;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.assessment-result > p {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgb(232 220 199 / 72%);
  font-size: 14px;
}

.assessment-result progress {
  margin-bottom: 34px;
  background: rgb(232 220 199 / 18%);
}

.assessment-result progress::-webkit-progress-bar {
  background: rgb(232 220 199 / 18%);
}

.status-ready progress::-webkit-progress-value,
.status-ready progress::-moz-progress-bar {
  background: var(--sand);
}

.status-gaps progress::-webkit-progress-value,
.status-gaps progress::-moz-progress-bar {
  background: var(--oat);
}

.status-risk progress::-webkit-progress-value,
.status-risk progress::-moz-progress-bar {
  background: var(--terracotta);
}

.result-actions {
  padding-top: 22px;
  border-top: 1px solid rgb(232 220 199 / 18%);
}

.result-actions h4 {
  margin: 0 0 16px;
  color: rgb(232 220 199 / 62%);
  font-size: 11px;
  letter-spacing: .05em;
}

.result-actions ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: result;
}

.result-actions li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgb(232 220 199 / 8%);
  counter-increment: result;
  font-size: 12px;
}

.result-actions li::before {
  content: "0" counter(result);
  color: rgb(232 220 199 / 48%);
}

.text-button {
  justify-self: start;
  margin-top: 22px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: rgb(232 220 199 / 72%);
  font-size: 12px;
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.35fr);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.lead-copy {
  padding: clamp(30px, 4vw, 52px);
  background: var(--surface-sage);
}

.lead-copy h3 {
  margin: 24px 0 18px;
  font-size: clamp(29px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.lead-copy > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.capture-state {
  margin-top: 30px !important;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgb(232 220 199 / 44%);
  font-size: 12px !important;
  font-weight: 650;
}

.capture-state.is-ready {
  color: var(--good);
}

.capture-state.is-blocked {
  color: var(--warning);
}

.lead-form {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px);
}

.lead-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form fieldset:disabled {
  opacity: .54;
}

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

.field {
  display: grid;
  gap: 7px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--sand) 72%, transparent);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

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

.field.is-required > span::after {
  content: " *";
  color: var(--terracotta);
}

.field:focus-within {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgb(96 108 56 / 10%);
}

.field > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}

.field input,
.field select {
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

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

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

.consent-row input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--sand);
}

.consent-row input:checked {
  box-shadow: inset 0 0 0 4px var(--sand);
  background: var(--moss);
}

.consent-row b {
  color: var(--ink);
}

.lead-form .button {
  margin-top: 18px;
}

.lead-success {
  display: grid;
  min-height: 250px;
  place-content: center;
  text-align: center;
}

.lead-success > span {
  color: var(--good);
  font-size: 12px;
  font-weight: 700;
}

.lead-success p {
  max-width: 440px;
  margin: 10px auto 0;
  font-size: 14px;
}

.method-section,
.roles-section,
.sources-section,
.faq-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section-space) 0;
  border-top: 1px solid var(--line);
}

.method-heading,
.sources-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .7fr);
  gap: clamp(28px, 4vw, 58px);
  margin-bottom: 42px;
}

.method-heading h2,
.roles-section > h2,
.sources-heading h2,
.faq-section > h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 610;
  letter-spacing: -.05em;
  line-height: 1;
  text-wrap: balance;
}

.method-heading p,
.sources-heading p {
  align-self: end;
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.method-list {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  min-height: 220px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 26px rgb(96 108 56 / 6%);
}

.method-list li:nth-child(2),
.method-list li:nth-child(3) {
  background: var(--surface-sage);
}

.method-list > li > span {
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.method-list h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.method-list p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.roles-section > h2 {
  max-width: 930px;
  margin-bottom: 42px;
}

.role-table {
  grid-column: 2;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.role-row {
  display: grid;
  grid-template-columns: .65fr 1fr 1.25fr;
  gap: clamp(22px, 4vw, 52px);
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.role-row:last-child {
  border-bottom: 0;
}

.role-row b {
  font-weight: 650;
}

.role-row span {
  color: var(--muted);
}

.role-head {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.source-list {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.source-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  min-height: 180px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-oat);
  text-decoration: none;
  transition: transform 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.source-list a:hover {
  background: var(--surface-sage);
  box-shadow: var(--shadow-small);
  transform: translateY(-3px);
}

.source-list span {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}

.source-list b {
  max-width: 470px;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 590;
  line-height: 1.2;
}

.source-open {
  color: var(--moss);
  font-size: 11px;
  font-weight: 650;
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-list {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  min-height: 230px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.faq-item:nth-child(2),
.faq-item:nth-child(3) {
  background: var(--surface-sage);
}

.faq-item h3 {
  margin: 0 0 20px;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.footer-resources {
  padding: 56px max(24px, calc((100vw - 1240px) / 2)) 44px;
  border-radius: 38px 38px 0 0;
  background: var(--moss);
  color: var(--light-on-moss);
}

.footer-resources-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgb(232 220 199 / 18%);
}

.footer-resources-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.footer-resources-head > a {
  color: var(--light-on-moss);
  font-size: 12px;
  font-weight: 650;
}

.footer-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  padding-top: 34px;
}

.footer-resource-group h2 {
  margin: 0 0 16px;
  color: var(--light-on-moss);
  font-size: 12px;
  font-weight: 700;
}

.footer-resource-group > div {
  display: grid;
  gap: 9px;
}

.footer-resource-group a {
  color: var(--muted-on-moss);
  font-size: 10px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-resource-group a:hover {
  color: var(--light-on-moss);
  text-decoration: underline;
}

.footer-resources + .site-footer {
  padding-top: 30px;
  border-radius: 0;
  border-top: 1px solid rgb(232 220 199 / 18%);
}

.site-footer {
  display: grid;
  grid-template-columns: .7fr 1.5fr 1fr auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding: 54px max(24px, calc((100vw - 1240px) / 2)) 64px;
  border-radius: 38px 38px 0 0;
  background: var(--moss);
  color: var(--light-on-moss);
  font-size: 11px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
}

.site-footer p {
  max-width: 590px;
  margin: 0;
  color: var(--muted-on-moss);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.analytics-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  width: min(700px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.analytics-banner h2 {
  margin: 0 0 5px;
  font-size: 16px;
}

.analytics-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.analytics-actions {
  display: flex;
  gap: 8px;
}

.analytics-actions .button {
  min-height: 44px;
  padding: 11px 14px;
}

.legal-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.legal-main > h1 {
  max-width: 840px;
  margin: 24px 0 44px;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 610;
  letter-spacing: -.05em;
  line-height: 1;
  text-wrap: balance;
}

.legal-warning {
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--sand) 76%, var(--clay) 24%);
  color: var(--warning);
  font-size: 13px;
  font-weight: 600;
}

.legal-warning.is-ready {
  border-color: color-mix(in srgb, var(--good) 40%, transparent);
  background: var(--surface-sage);
  color: var(--good);
}

.legal-main section {
  display: grid;
  grid-template-columns: minmax(170px, .5fr) minmax(0, 1.5fr);
  gap: 34px;
  margin-top: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.legal-main h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.legal-main section > p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-main section > h2 + p {
  grid-column: 2;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -192;
  }
}

@media (max-width: 1040px) {
  .footer-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero-card {
    width: min(760px, 100%);
    justify-self: end;
  }

  .regulation-band,
  .assessment-intro {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .source-links,
  .assessment-intro p {
    grid-column: 2;
  }

  .assessment-workspace {
    grid-template-columns: 1fr;
  }

  .assessment-placeholder {
    min-height: 430px;
  }

  .lead-panel {
    grid-template-columns: 1fr;
  }

  .method-section,
  .roles-section,
  .sources-section,
  .faq-section {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .method-heading,
  .sources-heading {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 720px) {
  .footer-resources {
    padding: 42px 24px 34px;
    border-radius: 28px 28px 0 0;
  }

  .footer-resources-head {
    align-items: start;
  }

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

  .footer-resource-group a {
    font-size: 11px;
  }

  :root {
    --header-height: 62px;
    --radius-xl: 24px;
    --radius-lg: 19px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 24px);
    min-height: var(--header-height);
    margin-top: 8px;
    padding-left: 14px;
    border-radius: 16px;
  }

  .brand {
    font-size: 13px;
  }

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

  .header-cta {
    padding: 10px 12px;
    font-size: 0;
  }

  .header-cta::before {
    content: "Проверка";
    font-size: 12px;
  }

  .hero,
  .regulation-band,
  .assessment-section,
  .method-section,
  .roles-section,
  .sources-section,
  .faq-section {
    width: calc(100% - 32px);
  }

  .hero {
    gap: 44px;
    padding: 70px 0 84px;
  }

  .hero-kicker {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-link {
    justify-self: center;
  }

  .hero-footnotes {
    gap: 10px;
    margin-top: 42px;
  }

  .hero-footnotes b {
    font-size: 15px;
  }

  .hero-footnotes span {
    font-size: 10px;
  }

  .hero-card {
    padding: 22px;
  }

  .route-visual {
    min-height: 190px;
    margin-top: 28px;
  }

  .hero-card-foot {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .regulation-band {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .source-links,
  .assessment-intro p {
    grid-column: 1;
  }

  .assessment-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .assessment-intro h2 {
    font-size: 46px;
  }

  .assessment-form {
    padding: 24px 18px;
  }

  .progress-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .question-step {
    margin-top: 38px;
  }

  .question-step legend {
    font-size: 29px;
  }

  .option-list {
    grid-template-columns: 1fr;
  }

  .option-list label {
    min-height: 76px;
  }

  .assessment-placeholder {
    min-height: 390px;
    padding: 28px 22px;
  }

  .result-actions ol {
    grid-template-columns: 1fr;
  }

  .lead-copy,
  .lead-form {
    padding: 28px 20px;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .method-section,
  .roles-section,
  .sources-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .method-heading,
  .method-list,
  .role-table,
  .source-list,
  .faq-list {
    grid-column: 1;
  }

  .method-list,
  .source-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .method-list li,
  .faq-item {
    min-height: auto;
  }

  .roles-section > h2 {
    margin-bottom: 8px;
  }

  .role-head {
    display: none;
  }

  .role-table {
    padding: 6px 18px;
  }

  .role-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .role-row span::before {
    display: block;
    margin: 8px 0 1px;
    color: color-mix(in srgb, var(--muted) 70%, transparent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
  }

  .role-row span:nth-child(2)::before {
    content: "Первый вопрос";
  }

  .role-row span:nth-child(3)::before {
    content: "Типичный разрыв";
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 42px 24px 52px;
    border-radius: 28px 28px 0 0;
  }

  .analytics-banner {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    width: calc(100vw - 20px);
  }

  .analytics-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .legal-main {
    width: calc(100% - 32px);
  }

  .legal-main section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .legal-main section > p,
  .legal-main section > h2 + p {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
