@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --max-width: 1760px;
  --footer-max-width: 1760px;
  --hero-max-width: 1920px;
  --gutter: clamp(var(--space-6), 4.4vw, var(--space-18));
  --footer-gutter: var(--gutter);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink-body);
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--control-radius);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: var(--shadow-popover);
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:hover {
  color: var(--on-ink);
}

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

.hero-text:focus,
.request-content:focus,
.legal-content:focus {
  outline: none;
}

.site-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  background: var(--page);
  color: var(--ink-body);
  display: flex;
  flex-direction: column;
}

.hero-home {
  position: relative;
  flex: 1 0 auto;
  min-height: calc(100svh - var(--space-18));
  overflow: hidden;
  background: var(--page);
}

.hero-field {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - var(--hero-max-width)) / 2));
  width: min(58vw, 1040px);
  height: 100%;
  pointer-events: none;
}

.hero-field svg {
  display: block;
  width: 100%;
  height: 100%;
}

html.field-arrival-pending .hero-field svg {
  opacity: 0;
}

.hero-field .field-mobile {
  display: none;
}

.hero-home::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.site-header,
.hero-content,
.legal-content,
.site-footer {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.brand {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  max-width: 100%;
  min-width: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--text-sm-line);
}

.site-nav a {
  display: inline-flex;
  min-width: var(--control-height);
  min-height: var(--control-height);
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-2);
}

.site-nav .nav-login {
  color: var(--ink);
  font-weight: 600;
}

.site-nav .nav-login:hover {
  color: var(--accent);
}

.nav-cta {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.nav-cta:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.hero-content {
  flex: 1;
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-18);
}

.hero-content > *,
.hero-text {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: var(--text-sm-line);
  letter-spacing: 0;
}

.display-title {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-family:
    "DM Sans",
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: clamp(3.72rem, 3.72rem + 2vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: 0;
  word-spacing: 0;
  overflow-wrap: normal;
}

.title-line {
  display: block;
}

.hero-copy {
  max-width: 640px;
  margin: var(--space-5) 0 0;
  color: var(--ink-body);
  font-size: var(--text-xl);
  line-height: var(--text-xl-line);
  font-weight: 400;
}

.legal-content {
  flex: 1 0 auto;
  max-width: 860px;
  padding-top: clamp(var(--space-14), 8vw, var(--space-24));
  padding-bottom: clamp(72px, 10vw, 128px);
}

.legal-content h1 {
  margin: 0 0 var(--space-6);
}

.legal-content h2 {
  margin: var(--space-9) 0 var(--space-2);
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--text-lg-line);
}

.legal-content p {
  margin: 0 0 var(--space-4);
  color: var(--ink-body);
  font-size: var(--text-base);
  font-weight: 400;
}

.legal-content a {
  color: var(--ink-body);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content p a {
  display: inline;
  min-height: 0;
}

.hero-actions {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-8);
}

.button {
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-6);
  border: 1px solid currentColor;
  border-radius: var(--control-radius);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: break-word;
}

.button,
.text-link,
.site-nav a,
.field input,
.field select,
.field textarea {
  transition:
    background-color var(--motion-fast) var(--motion-ease),
    color var(--motion-fast) var(--motion-ease),
    border-color var(--motion-fast) var(--motion-ease),
    box-shadow var(--motion-fast) var(--motion-ease);
}

.button-primary {
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-color: var(--cta-border);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--cta-hover-bg);
  color: var(--cta-fg);
}

.button-primary:active {
  transform: translateY(0.5px);
}

.text-link {
  display: inline-flex;
  min-height: var(--control-height);
  align-items: center;
  color: var(--ink-body);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--accent);
}

.site-footer-wrap {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
}

.site-footer {
  max-width: var(--footer-max-width);
  padding: var(--space-2) var(--footer-gutter) var(--space-3);
}

.site-footer .brand {
  min-height: var(--space-10);
  align-items: center;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
}

.site-footer .brand-mark {
  width: 20px;
  height: 20px;
  opacity: 0.72;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: var(--space-12);
  gap: var(--space-5);
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 var(--space-5);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 400;
}

.footer-links a {
  display: inline-flex;
  min-height: var(--space-9);
  align-items: center;
  color: var(--ink-body);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--accent);
}

.request-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--gutter) var(--space-20);
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(520px, 0.82fr);
  gap: var(--space-8) clamp(56px, 8vw, 132px);
  align-items: start;
}

.request-content-narrow {
  grid-template-columns: minmax(0, 760px);
  align-content: center;
}

.request-intro {
  max-width: 720px;
}

.request-page .display-title {
  max-width: 720px;
  font-size: 4.5rem;
  line-height: 1.05;
}

.request-intro-copy {
  max-width: 600px;
  margin: var(--space-6) 0 0;
  color: var(--ink-body);
  font-size: var(--text-xl);
  line-height: var(--text-xl-line);
  font-weight: 400;
}

.request-intro-copy a {
  color: var(--ink-body);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.request-intro-copy a:hover {
  color: var(--accent);
}

.notfound-field {
  max-width: 420px;
  margin-top: var(--space-12);
  pointer-events: none;
}

.notfound-field svg {
  display: block;
  width: 100%;
  height: auto;
}

.request-form {
  display: grid;
  gap: var(--space-7);
}

.hidden-field {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7) var(--space-5);
}

.field,
.checkbox-field {
  display: grid;
  gap: var(--space-2);
  color: var(--ink);
  font-weight: 500;
}

.field span,
.checkbox-field span {
  min-width: 0;
}

.field > span {
  font-size: 15px;
  line-height: 1.2;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--field-height);
  min-width: 0;
  border: 1px solid var(--field-border);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.35;
  padding: var(--space-3) var(--space-4);
  outline: none;
  box-shadow: none;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2716%27%20height%3D%2716%27%20viewBox%3D%270%200%2016%2016%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M4%206L8%2010L12%206%27%20stroke%3D%27%2352525B%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E");
  background-position: calc(100% - var(--space-3)) center;
  background-repeat: no-repeat;
  background-size: var(--space-4) var(--space-4);
  color-scheme: light;
  cursor: pointer;
  padding-right: var(--space-10);
}

.field select:has(option[value=""]:checked) {
  color: var(--muted);
}

.field option {
  color: var(--ink);
}

.field option[value=""] {
  color: var(--muted);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(49 87 213 / 0.12);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.consent-block {
  display: grid;
  gap: var(--space-3);
  max-width: 680px;
}

.checkbox-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  color: var(--ink-body);
  font-size: var(--text-base);
  line-height: 1.5;
}

.checkbox-field input {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  appearance: none;
  cursor: pointer;
}

.checkbox-field input::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-xs);
  background: var(--surface);
  content: "";
}

.checkbox-field input:checked::before {
  border-color: var(--ink);
  background: var(--ink);
}

.checkbox-field input:checked::after {
  position: absolute;
  top: 2px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid var(--surface);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.checkbox-field span {
  overflow-wrap: anywhere;
}

.checkbox-field a {
  color: var(--ink-body);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.checkbox-field a:hover {
  color: var(--accent);
}

.consent-note {
  margin: 0 0 0 var(--space-8);
  color: var(--ink-body);
  font-size: 13px;
  line-height: 1.5;
}

.recaptcha-slot {
  min-height: 78px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0;
}

.recaptcha-slot:empty {
  display: none;
  min-height: 0;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 400;
}

.recaptcha-slot:empty::before {
  content: "";
}

.request-page .button-primary {
  min-width: 164px;
}

.request-page .text-link {
  color: var(--ink-body);
  font-weight: 400;
}

.request-content-narrow .hero-actions {
  margin-top: var(--space-10);
}

@media (max-width: 1100px) {
  .site-header {
    align-items: center;
  }

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

  .site-nav {
    justify-content: flex-end;
  }

  .hero-content,
  .request-content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    display: flex;
    padding-top: var(--space-12);
    padding-bottom: var(--space-16);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hero-home {
    min-height: auto;
  }

  .display-title {
    font-size: calc(3.69rem + 1vw);
  }

  .hero-content {
    align-items: flex-start;
    padding-top: var(--space-10);
    padding-bottom: calc(38vh + var(--space-6));
    padding-bottom: calc(38svh + var(--space-6));
  }

  .hero-field {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 38vh;
    height: 38svh;
  }

  .hero-field .field-desktop {
    display: none;
  }

  .hero-field .field-mobile {
    display: block;
  }

  .site-footer .brand {
    min-height: var(--control-height);
  }

  .footer-links a {
    min-width: var(--control-height);
    min-height: var(--control-height);
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-content,
  .request-content,
  .site-footer {
    width: 100%;
    max-width: 100%;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .site-header {
    min-height: var(--space-16);
    flex-wrap: nowrap;
    gap: var(--space-3);
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }

  .site-nav {
    width: auto;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: var(--space-2);
    inline-size: auto;
    max-inline-size: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: var(--control-height);
  }

  .hero-content {
    padding-bottom: calc(38vh + var(--space-6));
    padding-bottom: calc(38svh + var(--space-6));
  }

  .display-title {
    font-size: clamp(2.2rem, 0.5rem + 8.65vw, 5rem);
  }

  .hero-copy {
    max-inline-size: 18.5rem;
    font-size: var(--text-xl);
    line-height: var(--text-xl-line);
    overflow-wrap: break-word;
  }

  .hero-text,
  .hero-content > div:first-child,
  .request-content > *,
  .request-intro,
  .request-form {
    inline-size: min(100%, calc(100vw - 44px));
    max-inline-size: min(100%, calc(100vw - 44px));
  }

  .hero-actions {
    inline-size: min(100%, 360px);
    max-inline-size: min(100%, 360px);
  }

  .hero-actions,
  .field-grid {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions .text-link {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    min-height: 44px;
    align-self: stretch;
  }

  .site-footer {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .footer-grid {
    gap: var(--space-2);
  }

  .footer-links {
    justify-content: flex-start;
    gap: 0 var(--space-4);
  }

  .request-page .request-content,
  .request-page .request-content > *,
  .request-page .request-intro,
  .request-page .request-form {
    inline-size: 100%;
    max-inline-size: none;
  }

  .request-page .display-title {
    inline-size: 100%;
    max-inline-size: none;
    font-size: 3.55rem;
    line-height: 1.05;
    overflow-wrap: break-word;
  }

  .request-page .request-content {
    padding-top: var(--space-10);
    padding-bottom: var(--space-14);
  }

  .request-page .request-intro-copy {
    max-inline-size: 20rem;
    font-size: var(--text-xl);
    overflow-wrap: break-word;
  }
}

@media (max-width: 380px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: visible;
  }
}

@media (max-width: 360px) {
  .recaptcha-slot {
    min-height: 70px;
    overflow: hidden;
  }

  .recaptcha-slot > * {
    transform: scale(0.9);
    transform-origin: left top;
  }
}

@media (max-width: 340px) {
  .recaptcha-slot > * {
    transform: scale(0.86);
  }
}
