@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.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;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-400-normal.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;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-600-normal.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 {
  --ink: #2a2550;
  --slate: #4a4570;
  --violet: #5b3fa0;
  --violet-hover: #4d3490;
  --cream: #fcfaf7;
  --mist: #f3eefb;
  --dawn-fallback: linear-gradient(180deg, #9cc3f0 0%, #f5b8d6 62%, #c9bdf2 100%);
  --focus: #5b3fa0;
  --error: #8b1e3f;
  --shadow: 0 16px 40px rgba(42, 37, 80, 0.12);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--dawn-fallback);
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #c9bdf2;
  background-image: linear-gradient(
      180deg,
      rgba(252, 250, 247, 0.18) 0%,
      rgba(252, 250, 247, 0.08) 45%,
      rgba(252, 250, 247, 0.42) 100%
    ),
    url("/images/sky-hero.jpg");
  background-size: cover;
  background-position: center;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 2;
  padding: 0.6rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: var(--violet);
}

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

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

.site-header,
.content,
.site-footer {
  width: min(40rem, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.content {
  flex: 1;
  padding: 2rem 0 3rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

h1 {
  margin: 0 auto 1.1rem;
  max-width: 18ch;
  font-family: "Fraunces", "Georgia", serif;
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead,
.note {
  margin: 0 auto 1rem;
  max-width: 38rem;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.65;
}

.note {
  color: var(--slate);
}

.waitlist {
  margin: 2rem auto 0;
  max-width: 26rem;
  padding: 1.6rem 1.4rem 1.35rem;
  background: rgba(252, 250, 247, 0.92);
  border: 1px solid rgba(42, 37, 80, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  backdrop-filter: blur(8px);
}

.thanks {
  margin: 0;
  text-align: center;
}

.thanks p {
  margin: 0.2rem 0;
  font-size: 1.125rem;
  line-height: 1.55;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  font-weight: 400;
  color: var(--slate);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(42, 37, 80, 0.22);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  appearance: none;
}

input[type="text"]:hover,
input[type="email"]:hover {
  border-color: rgba(91, 63, 160, 0.55);
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--violet);
}

button[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--violet);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover:not(:disabled) {
  background: var(--violet-hover);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
}

.consent,
.privacy {
  margin: 0.85rem 0 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.5;
}

.privacy {
  margin-top: 0.35rem;
}

.error {
  margin: 0.85rem 0 0;
  color: var(--error);
  font-weight: 600;
}

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

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

.site-footer {
  padding: 0 0 2.2rem;
  text-align: center;
  color: var(--slate);
}

.name-note,
.contact {
  margin: 0 auto 0.4rem;
  max-width: 32rem;
  font-size: 0.95rem;
}

.contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

@media (max-width: 40rem) {
  .site-header {
    padding-top: 1.15rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand-name {
    font-size: 1.7rem;
  }

  .content {
    padding-top: 1.4rem;
    padding-bottom: 2.2rem;
  }

  .waitlist {
    padding: 1.3rem 1.1rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-height: 980px) {
  .site-header {
    padding-top: 1.1rem;
    padding-bottom: 0;
  }

  .content {
    padding-top: 1.1rem;
    padding-bottom: 1.2rem;
  }

  h1 {
    margin-bottom: 0.8rem;
  }

  .lead,
  .note {
    margin-bottom: 0.7rem;
  }

  .waitlist {
    margin-top: 1.05rem;
    padding: 1.15rem 1.2rem 1rem;
  }

  .site-footer {
    padding-bottom: 0.85rem;
  }

  .name-note,
  .contact {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 40rem) and (max-height: 900px) {
  .content {
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
  }

  .waitlist {
    margin-top: 1rem;
    padding: 1.1rem 1rem 1rem;
  }

  .field {
    margin-bottom: 0.75rem;
  }

  .consent {
    margin-top: 0.7rem;
  }
}
