@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #161616;
  background: #fbf8eb;
  --navy: #283954;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 410px) minmax(0, 455px);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 100svh;
  padding: 40px 28px;
}
.content { text-align: center; }
.logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 30px;
}
.illustration { display: block; width: 100%; height: auto; }
h1 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(36px, 5vw, 49px)/1 "Barlow Condensed", "Arial Narrow", sans-serif;
}
h1 strong {
  display: block;
  font-size: 1.36em;
  font-weight: inherit;
}
.description {
  max-width: 380px;
  margin: 23px auto 22px;
  font-size: 18px;
  line-height: 1.15;
}
form { margin: 0; }
input, .cta {
  width: 100%;
  min-height: 48px;
  border-radius: 7px;
  font: inherit;
}
input {
  display: block;
  border: 1px solid #66758e;
  background: #fff;
  color: var(--navy);
  padding: 11px 18px;
  font-size: 18px;
}
input::placeholder { color: var(--navy); opacity: 1; }
.cta {
  display: grid;
  place-items: center;
  padding: 11px 16px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
form .cta { margin-top: 20px; }
.cta:hover { background: #1c2a41; }
.cta:disabled { opacity: .72; cursor: wait; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.fine-print, .status { margin: 12px 0 0; font-size: 14px; line-height: 1.3; }
.fine-print a { color: var(--navy); }
.status { color: #8b221d; }
.status:empty { margin: 0; }
.thanks .logo { display: none; }
.check { width: 34px; height: 34px; object-fit: contain; margin-bottom: 10px; }
.thanks h1 { font-size: clamp(34px, 4.5vw, 39px); }
.thanks h1 span { display: block; margin-top: 4px; }
.thanks .description { margin-top: 17px; margin-bottom: 15px; }
.thanks .cta { min-height: 56px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 720px) {
  .layout { grid-template-columns: minmax(0, 410px); padding: 36px 22px; }
  .illustration { display: none; }
  .thanks .logo { display: block; }
}
