@font-face {
  font-family: "Lemon Days";
  src: url("/lemon-days.otf") format("opentype");
  font-display: swap;
}

:root {
  --blue: #086ec7;
  --deep-blue: #0758ac;
  --navy: #083c75;
  --orange: #f05213;
  --yellow: #ffc528;
  --cream: #fff8e8;
  --green: #7cc344;
  --ink: #183d5c;
  --muted: #607786;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle, rgba(37, 170, 238, 0.42) 0 2px, transparent 2.5px) 0 0 / 23px 23px,
    linear-gradient(145deg, #0876d2 0%, #075bb2 72%, #064b95 100%);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page {
  width: min(1640px, calc(100% - 42px));
  margin: 0 auto;
  padding: 0 0 24px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px 8px 12px;
  color: var(--white);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.9;
  text-shadow: 0 4px 0 rgba(4, 51, 99, 0.33);
}

.brand strong {
  font-family: "Lemon Days", Arial, sans-serif;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.brand span {
  margin-top: 7px;
  color: #7ed4ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.site-address {
  padding: 9px 13px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 60, 117, 0.3);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.launch {
  position: relative;
}

.hero-picture {
  overflow: hidden;
  border: 11px solid var(--white);
  border-radius: 38px;
  background: var(--deep-blue);
  box-shadow: 0 18px 0 rgba(3, 50, 98, 0.36);
}

.hero-picture img {
  display: block;
  width: 100%;
  height: auto;
}

.waitlist-card {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
  gap: 42px;
  align-items: center;
  width: min(1240px, calc(100% - 72px));
  margin: -52px auto 0;
  padding: 30px 34px;
  border: 9px solid var(--white);
  border-radius: 30px;
  background: var(--cream);
  box-shadow: 0 13px 0 rgba(3, 50, 98, 0.28);
}

.waitlist-copy > p {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.waitlist-copy h2 {
  margin: 0;
  color: var(--blue);
  font-family: "Lemon Days", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.025em;
  line-height: 0.94;
}

.waitlist-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 13px;
  color: #496473;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.quick-facts b {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 9px;
  box-shadow: 0 3px 0 rgba(24, 61, 92, 0.13);
}

form {
  padding: 18px;
  border-radius: 20px;
  background: #dff1fc;
  box-shadow: inset 0 0 0 3px rgba(8, 110, 199, 0.1);
}

form > label:first-child {
  display: block;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.form-row input {
  min-width: 0;
  height: 54px;
  padding: 0 15px;
  border: 3px solid #9fbccc;
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.form-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 110, 199, 0.14);
}

.form-row input[aria-invalid="true"] {
  border-color: var(--orange);
}

.form-row button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 0;
  border-radius: 13px;
  color: var(--ink);
  background: var(--yellow);
  font-family: "Lemon Days", Arial, sans-serif;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 5px 0 #dda40d;
}

.form-row button:hover {
  transform: translateY(-1px);
}

.form-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-row button b {
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin-top: 13px;
  color: #496473;
  font-size: 10px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.consent.error span {
  color: #b8320d;
  font-weight: 800;
}

.privacy-copy,
.form-message {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.form-message:not(:empty) {
  padding: 9px 11px;
  border-radius: 9px;
  color: #225a30;
  background: #d7efca;
  font-size: 10px;
  font-weight: 800;
}

.form-message.error {
  color: #8f270d;
  background: #ffe0d4;
}

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

.privacy {
  width: min(1180px, calc(100% - 80px));
  margin: 19px auto 0;
  color: #c8eaff;
  font-size: 9px;
  line-height: 1.5;
}

.privacy summary {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.privacy p {
  max-width: 720px;
  margin: 9px 0 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
  padding: 24px 0 4px;
  color: #b9e5ff;
  font-size: 9px;
}

footer a {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1050px) {
  .waitlist-card {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(760px, calc(100% - 48px));
  }
}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 18px);
  }

  .header {
    min-height: 72px;
    padding-inline: 2px;
  }

  .brand strong {
    font-size: 23px;
  }

  .brand span {
    font-size: 7px;
  }

  .site-address {
    padding: 7px 9px;
    font-size: 7px;
  }

  .hero-picture {
    border-width: 6px;
    border-radius: 22px;
    box-shadow: 0 10px 0 rgba(3, 50, 98, 0.36);
  }

  .waitlist-card {
    gap: 20px;
    width: calc(100% - 20px);
    margin-top: -18px;
    padding: 22px 16px;
    border-width: 6px;
    border-radius: 23px;
  }

  .waitlist-copy h2 {
    font-size: 38px;
  }

  .waitlist-copy > span {
    font-size: 12px;
  }

  form {
    padding: 13px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row button {
    width: 100%;
  }

  .privacy,
  footer {
    width: calc(100% - 30px);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-row button:hover {
    transform: none;
  }
}
