:root {
  --ink: #17212b;
  --ink-soft: #4f5d68;
  --night: #182940;
  --night-deep: #101d2d;
  --cobalt: #3357d8;
  --cobalt-dark: #2543ad;
  --coral: #ff755d;
  --cream: #f6f3eb;
  --mist: #edf1f3;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: #d8dee1;
  --line-dark: rgba(255, 255, 255, 0.17);
  --green: #297a68;
  --shadow: 0 24px 70px rgba(23, 33, 43, 0.12);
  --radius: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 33, 43, 0.09);
  background: rgba(255, 253, 248, 0.94);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.site-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--cobalt);
  border-radius: 50% 50% 50% 12px;
  box-shadow: inset -10px -10px 0 rgba(0, 0, 0, 0.08);
  transform: rotate(-8deg);
}

.site-brand__mark span {
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 800;
  transform: rotate(8deg);
}

.site-brand__name {
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-brand__name span {
  color: var(--cobalt);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.button) {
  color: #34414c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button):hover {
  color: var(--cobalt);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: var(--white);
  background: var(--cobalt);
  border: 1px solid var(--cobalt);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(51, 87, 216, 0.2);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--cobalt-dark);
  box-shadow: 0 12px 25px rgba(51, 87, 216, 0.28);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 11px 17px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 94px;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size: 42px 42px;
}

.hero::before {
  position: absolute;
  width: 420px;
  height: 420px;
  content: "";
  top: -250px;
  right: 5%;
  border: 74px solid rgba(255, 117, 93, 0.15);
  border-radius: 50%;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: 80px;
}

.eyebrow,
.micro-label {
  margin: 0 0 20px;
  color: var(--cobalt);
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.eyebrow > span {
  width: 25px;
  height: 2px;
  display: inline-block;
  background: var(--coral);
}

.hero h1,
.section-heading h2,
.prepare-content h2,
.boundary-grid h2,
.application-heading h2,
.legal-hero h1 {
  margin: 0;
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 710px;
  font-size: clamp(3.25rem, 6vw, 5.35rem);
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: var(--cobalt);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  height: 13px;
  content: "";
  right: -5px;
  bottom: 5px;
  left: -3px;
  background: rgba(255, 117, 93, 0.35);
  transform: rotate(-1.5deg);
}

.hero__lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.hero__note {
  max-width: 610px;
  margin: 27px 0 0;
  padding-left: 16px;
  color: #68747e;
  border-left: 3px solid var(--coral);
  font-size: 13px;
}

.identity-passport {
  position: relative;
  padding: 34px;
  color: var(--night-deep);
  background: var(--white);
  border: 1px solid rgba(23, 33, 43, 0.13);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.identity-passport::before,
.identity-passport::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 17px -18px -17px 18px;
  background: var(--cobalt);
  border-radius: 22px;
}

.identity-passport::after {
  z-index: -2;
  inset: 34px -34px -34px 35px;
  background: var(--coral);
  opacity: 0.86;
}

.identity-passport__top,
.identity-passport__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.identity-passport__top {
  padding: 10px 12px;
  background: #f4f6fb;
  border: 1px solid #d9dfeb;
  border-radius: 9px;
}

.identity-passport__top .micro-label {
  margin: 0;
  color: #17212b;
}

.status-dot {
  position: relative;
  padding-left: 14px;
  color: #174f43;
  font-size: 12px;
  font-weight: 700;
}

.status-dot::before {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  top: 50%;
  left: 0;
  background: var(--green);
  border-radius: 50%;
  transform: translateY(-50%);
}

.identity-passport__map {
  position: relative;
  min-height: 230px;
  display: grid;
  place-items: center;
  margin: 18px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(51, 87, 216, 0.11), transparent 60%),
    repeating-radial-gradient(circle at center, #f8f9fc 0 28px, #e4e8f2 29px 30px);
  border-radius: 13px;
}

.identity-passport__map svg {
  width: 82%;
}

.identity-passport__map path {
  fill: var(--cobalt);
  opacity: 0.14;
  stroke: var(--cobalt);
  stroke-width: 2;
}

.identity-passport__map strong,
.identity-passport__map small {
  position: absolute;
  left: 24px;
}

.identity-passport__map strong {
  bottom: 35px;
  color: var(--night);
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.identity-passport__map small {
  bottom: 17px;
  color: #394956;
  font-weight: 600;
}

.map-dot {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  background: var(--coral);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 117, 93, 0.18);
}

.map-dot--one { top: 36%; left: 36%; }
.map-dot--two { top: 44%; right: 29%; }
.map-dot--three { top: 25%; right: 40%; }

.identity-passport__rows {
  padding-inline: 12px;
  color: #17212b;
  background: #ffffff;
  border-block: 1px solid var(--line);
  border-radius: 4px;
}

.identity-passport__rows div {
  min-height: 50px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.identity-passport__rows div:last-child {
  border: 0;
}

.identity-passport__rows span {
  color: #17212b;
  font-weight: 700;
}

.identity-passport__rows strong {
  color: var(--night-deep);
}

.identity-passport__footer {
  margin-top: 19px;
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.barcode {
  width: 100px;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px);
}

.signal-strip {
  color: var(--white);
  background: var(--night);
}

.signal-strip__grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.signal-strip p {
  margin: 0;
  padding: 10px 23px;
  border-right: 1px solid var(--line-dark);
  font-size: 14px;
  font-weight: 600;
}

.signal-strip p:first-child {
  padding-left: 0;
}

.signal-strip p:last-child {
  border: 0;
}

.signal-strip span {
  margin-right: 9px;
  color: var(--coral);
  font-size: 11px;
}

.section {
  padding: 112px 0;
}

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

.section--mist {
  background: var(--mist);
}

.section-heading h2,
.prepare-content h2,
.boundary-grid h2,
.application-heading h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.4rem);
}

.section-heading > p:last-child,
.section-heading--split > p,
.prepare-content > p,
.application-heading > p {
  color: var(--ink-soft);
  font-size: 18px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.section-heading--split > p {
  margin: 0 0 8px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--cream);
  border: 1px solid rgba(23, 33, 43, 0.08);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.route-card:hover {
  box-shadow: 0 17px 45px rgba(23, 33, 43, 0.1);
  transform: translateY(-5px);
}

.route-card--cobalt {
  color: var(--white);
  background: var(--cobalt);
}

.route-card--coral {
  background: #ffd7ce;
}

.route-card__index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-weight: 800;
}

.route-card .micro-label {
  margin-bottom: 12px;
}

.route-card--cobalt .micro-label {
  color: #cdd6ff;
}

.route-card h3 {
  margin: 0 0 18px;
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 27px;
  line-height: 1.2;
}

.route-card p {
  margin: 0;
  color: var(--ink-soft);
}

.route-card--cobalt p {
  color: rgba(255, 255, 255, 0.8);
}

.route-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid rgba(23, 33, 43, 0.13);
}

.route-card--cobalt ul {
  border-color: rgba(255, 255, 255, 0.25);
}

.route-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.route-card li::before {
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  top: 9px;
  left: 0;
  background: var(--coral);
  border-radius: 50%;
}

.scope-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.scope-note__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-family: serif;
  font-weight: 700;
}

.scope-note h3,
.scope-note p {
  margin: 0;
}

.scope-note h3 {
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 18px;
}

.scope-note p {
  color: var(--ink-soft);
  font-size: 14px;
}

.section--ink {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--night-deep);
}

.section--ink::after {
  position: absolute;
  width: 480px;
  height: 480px;
  content: "";
  right: -260px;
  bottom: -260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
}

.process-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
}

.eyebrow--light {
  color: #b9c7d4;
}

.section--ink .section-heading > p:last-child {
  color: #aebbc7;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.process-steps li {
  min-height: 148px;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.process-steps__number {
  color: var(--coral);
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.process-steps h3,
.process-steps p {
  margin: 0;
}

.process-steps h3 {
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 23px;
}

.process-steps p {
  max-width: 500px;
  margin-top: 6px;
  color: #aebbc7;
  font-size: 14px;
}

.process-steps__tag {
  padding: 5px 10px;
  color: #cfd8e0;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prepare-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 100px;
}

.prepare-creative {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.prepare-creative::before {
  position: absolute;
  width: 370px;
  height: 370px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.17;
}

.file-stack,
.file-sheet {
  position: absolute;
  width: 330px;
  height: 420px;
  border-radius: 12px;
}

.file-stack--back {
  background: var(--night);
  transform: rotate(-10deg) translate(-22px, 2px);
}

.file-stack--middle {
  background: var(--cobalt);
  transform: rotate(7deg) translate(22px, -2px);
}

.file-sheet {
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.file-sheet__heading {
  width: 75%;
  height: 18px;
  margin-top: 42px;
  background: var(--night);
  border-radius: 4px;
}

.file-sheet__line {
  height: 8px;
  margin-top: 25px;
  background: var(--line);
  border-radius: 2px;
}

.file-sheet__line--short {
  width: 62%;
  margin-top: 13px;
}

.file-sheet__stamp {
  position: absolute;
  right: 32px;
  bottom: 64px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  color: var(--cobalt);
  border: 4px double var(--cobalt);
  border-radius: 50%;
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-8deg);
}

.file-sheet__code {
  position: absolute;
  bottom: 29px;
  left: 36px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.prepare-content > p {
  max-width: 650px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 600;
}

.check-list span {
  width: 22px;
  height: 22px;
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid #c7d1d6;
  border-radius: 50%;
}

.check-list span::after {
  position: absolute;
  width: 7px;
  height: 4px;
  content: "";
  top: 7px;
  left: 6px;
  border-bottom: 2px solid var(--cobalt);
  border-left: 2px solid var(--cobalt);
  transform: rotate(-45deg);
}

.privacy-callout {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid var(--coral);
  font-size: 14px !important;
}

.section--boundary {
  color: var(--white);
  background: var(--cobalt);
}

.boundary-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.boundary-points {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.boundary-points article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.boundary-points span {
  color: #d8dfff;
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boundary-points p {
  margin: 0;
}

.section--application {
  background: var(--cream);
}

.application-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.application-heading > p {
  margin: 0 0 7px;
}

.application-form {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 65px rgba(23, 33, 43, 0.09);
}

.form-section {
  margin: 0;
  padding: 50px 46px 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section > legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 12px 0 32px;
  color: var(--night);
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.form-section > legend span {
  color: var(--coral);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.form-grid {
  display: grid;
  gap: 24px;
}

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

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  min-width: 0;
}

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

.field > label,
.fieldset > legend {
  display: block;
  margin: 0 0 8px;
  color: #27343f;
  font-size: 14px;
  font-weight: 700;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid #cbd3d7;
  border-radius: 8px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(51, 87, 216, 0.1);
  outline: 0;
}

.field-help {
  margin: 6px 0 0;
  color: #77828b;
  font-size: 12px;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

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

.choice-grid label,
.question-row label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: #fbfbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--cobalt);
}

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

.question-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.question-row > legend {
  float: left;
  margin: 0;
}

.question-row > div {
  display: flex;
  gap: 8px;
}

.question-row label {
  min-width: 90px;
  justify-content: center;
}

.consent {
  padding: 18px 20px;
  background: #f3f5f6;
  border-radius: 9px;
}

.consent--optional {
  background: #fff3ef;
  border: 1px solid #ffd5cc;
}

.consent label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  font-weight: 500;
}

.consent input {
  margin-top: 3px;
}

.consent a {
  color: var(--cobalt);
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 46px;
  background: var(--night);
}

.form-actions .micro-label,
.form-actions p {
  margin: 0;
}

.form-actions .micro-label {
  color: var(--coral);
}

.form-actions p:last-child {
  color: #b9c4cf;
  font-size: 13px;
}

.site-footer {
  padding: 74px 0 34px;
  color: #d2d9df;
  background: #0d1825;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 0.75fr 1.1fr 0.65fr;
  align-items: start;
  gap: 70px;
  padding-bottom: 46px;
}

.site-brand--footer {
  color: var(--white);
}

.site-footer__top > p {
  max-width: 440px;
  margin: 5px 0 0;
  color: #aeb9c3;
}

.site-footer__nav {
  display: grid;
  gap: 9px;
}

.site-footer__nav a,
.site-footer__company a {
  color: var(--white);
  text-underline-offset: 4px;
}

.site-footer__company {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 24px 0;
  border-block: 1px solid var(--line-dark);
  font-size: 14px;
}

.site-footer__company p {
  margin: 0;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  padding-top: 28px;
}

.site-footer__bottom p {
  margin: 0;
  color: #8f9da8;
  font-size: 12px;
}

.site-footer__bottom p:first-child {
  max-width: 820px;
}

/* Legal pages */
.legal-hero {
  padding: 75px 0 70px;
  color: var(--white);
  background: var(--night);
}

.legal-hero .eyebrow {
  color: #c5cfda;
}

.legal-hero h1 {
  max-width: 800px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.legal-hero p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: #b5c1cb;
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 80px;
  padding: 80px 0 110px;
}

.legal-aside {
  align-self: start;
  padding: 22px;
  background: var(--cream);
  border-radius: 12px;
}

.legal-aside p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-aside strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.legal-content {
  min-width: 0;
}

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

.legal-section + .legal-section {
  padding-top: 34px;
}

.legal-section h2,
.legal-section h3 {
  font-family: "Avenir Next", Inter, "Segoe UI", sans-serif;
  line-height: 1.25;
}

.legal-section h2 {
  margin: 0 0 17px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: #4d5a64;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section a {
  color: var(--cobalt);
  font-weight: 600;
}

@media (max-width: 980px) {
  .site-nav > a:not(.button) {
    display: none;
  }

  .hero__grid,
  .section-heading--split,
  .process-layout,
  .prepare-grid,
  .boundary-grid,
  .application-heading {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 75px;
  }

  .identity-passport {
    width: min(90%, 500px);
    justify-self: center;
  }

  .section-heading--split,
  .application-heading,
  .process-layout,
  .boundary-grid {
    gap: 38px;
  }

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

  .route-card {
    min-height: 0;
  }

  .route-card ul {
    margin-top: 35px;
  }

  .prepare-grid {
    gap: 55px;
  }

  .prepare-creative {
    min-height: 470px;
  }

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

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

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

  .site-footer__nav {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .legal-aside {
    max-width: 500px;
  }
}

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

  .site-header__inner {
    min-height: 74px;
  }

  .site-brand__mark {
    width: 36px;
    height: 36px;
  }

  .site-brand__name {
    font-size: 17px;
  }

  .site-nav .button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 65px 0 78px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .identity-passport {
    width: calc(100% - 20px);
    padding: 24px;
  }

  .identity-passport::before {
    inset: 13px -12px -13px 12px;
  }

  .identity-passport::after {
    inset: 26px -22px -25px 25px;
  }

  .signal-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 11px 0;
  }

  .signal-strip p {
    padding: 10px 8px;
    border: 0;
    font-size: 12px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading h2,
  .prepare-content h2,
  .boundary-grid h2,
  .application-heading h2 {
    font-size: 2.55rem;
  }

  .route-card {
    padding: 26px;
  }

  .scope-note {
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .scope-note .text-link {
    grid-column: 2;
  }

  .process-steps li {
    grid-template-columns: 40px 1fr;
    padding: 24px 0;
  }

  .process-steps__tag {
    display: none;
  }

  .prepare-creative {
    min-height: 390px;
  }

  .prepare-creative::before {
    width: 280px;
    height: 280px;
  }

  .file-stack,
  .file-sheet {
    width: 255px;
    height: 330px;
  }

  .file-sheet {
    padding: 27px;
  }

  .file-sheet__stamp {
    width: 83px;
    height: 83px;
    right: 25px;
    bottom: 52px;
    font-size: 10px;
  }

  .boundary-points article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-section {
    padding: 38px 22px 36px;
  }

  .form-section > legend {
    padding-top: 10px;
  }

  .form-grid--two,
  .form-grid--three,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .question-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .question-row > div {
    flex-wrap: wrap;
  }

  .question-row label {
    flex: 1 1 90px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 27px 22px;
  }

  .site-footer__top,
  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__nav {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__bottom {
    align-items: start;
  }

  .legal-hero {
    padding: 58px 0;
  }

  .legal-layout {
    padding: 55px 0 80px;
  }
}

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

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