.legal-header-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding-inline: 18px;
  color: white;
  background: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
}

.legal-hero {
  padding-block: 95px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgb(35 91 148 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(35 91 148 / 5%) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbff, #eef5fc);
  background-size: 64px 64px, 64px 64px, auto;
}

.legal-hero h1 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal-hero .shell > p:last-child {
  margin: 0;
  color: var(--muted);
}

.legal-prose {
  max-width: 880px;
  padding-block: 90px 130px;
  color: #35495e;
  font-size: 16px;
  line-height: 1.95;
}

.legal-prose h2 {
  margin: 65px 0 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid #d8e1e9;
  color: var(--navy-950);
  font-size: 25px;
}

.legal-prose a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 17px 20px;
  border-left: 3px solid #d39b32;
  color: #6b4b13;
  background: #fff8e8;
  font-size: 13px;
  line-height: 1.75;
}

.legal-note strong {
  display: block;
}

.legal-date {
  margin-top: 65px;
  color: #6b7b8b;
  font-size: 13px;
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #faf9f6 0 52%, #0a2b46 52%);
}

.thanks-card {
  width: min(720px, 100%);
  padding: 65px;
  border: 1px solid #d9e3ed;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 38px 95px rgb(4 24 43 / 17%);
}

.thanks-card > img {
  margin-bottom: 28px;
}

.thanks-card > p:first-of-type {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.thanks-card h1 {
  margin: 0 0 24px;
  color: var(--navy-950);
  font-size: clamp(36px, 5vw, 54px);
}

.thanks-card > p:last-of-type {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.9;
}

.thanks-card > div {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 38px;
}

.contact-section {
  padding-block: 100px 130px;
  background: #f4f7fb;
}

.contact-section__layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 70px;
}

.contact-section h2 {
  margin: 0 0 20px;
  color: var(--navy-950);
  font-size: 34px;
  line-height: 1.45;
}

.contact-section__layout > div > p {
  margin-bottom: 25px;
  color: var(--muted);
  line-height: 1.9;
}

.contact-caution {
  margin-top: 20px;
  font-size: 13px;
}

.simple-contact-form {
  display: grid;
  gap: 22px;
  padding: 45px;
  border: 1px solid #d8e1ea;
  background: white;
  box-shadow: 0 28px 70px rgb(9 41 70 / 8%);
}

.simple-contact-form > label:not(.simple-consent) {
  display: grid;
  gap: 8px;
  color: #273e54;
  font-size: 13px;
  font-weight: 700;
}

.simple-contact-form label > span {
  color: var(--blue-700);
  font-size: 11px;
}

.simple-contact-form input,
.simple-contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd7e2;
  border-radius: 0;
  background: #fbfcfe;
  font-size: 16px;
}

.simple-contact-form input:focus,
.simple-contact-form textarea:focus {
  border-color: var(--blue-600);
  outline: 2px solid rgb(23 105 232 / 16%);
}

.simple-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 13px;
}

.simple-consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue-600);
}

.simple-consent a {
  color: var(--blue-700);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .contact-section__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .legal-hero {
    padding-block: 65px;
  }

  .legal-prose {
    padding-block: 65px 90px;
    font-size: 15px;
  }

  .legal-prose h2 {
    margin-top: 50px;
    font-size: 22px;
  }

  .thanks-page {
    padding: 16px;
    background: #f3f7fb;
  }

  .thanks-card {
    padding: 38px 25px;
  }

  .thanks-card > div {
    display: grid;
  }

  .contact-section {
    padding-block: 65px 85px;
  }

  .contact-section__layout {
    gap: 40px;
  }

  .simple-contact-form {
    padding: 28px 20px;
  }
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
