@font-face {
  font-family: "Journey Levels";
  src: url("/assets/fonts/JourneyLevels-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Journey Levels";
  src: url("/assets/fonts/JourneyLevels-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("/assets/fonts/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-003F, U+0041-FFFF;
}

:root {
  --lavender: #cdacdd;
  --night: #152b30;
  --iris: #54d5e2;
  --white: #ffffff;
  --hint: #6a7577;
  --bad: #7a1630;

  --heading: "Journey Levels", "Marker Felt", "Chalkboard SE", system-ui, sans-serif;
  --body: "Glacial Indifference", "Century Gothic", "Avenir Next", system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.soon {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--lavender) url("/assets/img/lavender-texture.jpg") center / cover no-repeat fixed;
  color: var(--night);
  font-family: var(--heading);
  font-weight: 300;
}

img { display: block; max-width: 100%; height: auto; }

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

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--night);
  font-family: var(--body);
  z-index: 10;
}
.skip:focus { top: 8px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.soon__main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 946px;
  margin: 0 auto;
  padding: clamp(40px, 12vh, 164px) 16px clamp(32px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.soon__lockup {
  margin: 0;
  width: 100%;
  max-width: 914px;
}

.soon__words {
  margin-top: clamp(32px, 6vw, 85px);
  max-width: 796px;
  text-align: center;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  line-height: 1.25;
}
.soon__words p { margin: 0 0 1.55em; }
.soon__words p:last-child { margin-bottom: 0; }

.soon__accent { font-weight: 400; }

.signup {
  width: 100%;
  max-width: 883px;
  margin-top: clamp(40px, 7vw, 90px);
}

.signup__row {
  display: flex;
  gap: 31px;
  align-items: stretch;
}

.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 60px;
  padding: 0 12px;
  border: 2px solid var(--night);
  border-radius: 0;
  background: var(--white);
  color: var(--night);
  font-family: var(--heading);
  font-weight: 400;
  font-size: 1.5rem;
  -webkit-appearance: none;
  appearance: none;
}
.signup input[type="email"]::placeholder {
  color: var(--hint);
  opacity: 1;
}
.signup input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }

.signup__button {
  flex: 0 0 261px;
  min-height: 60px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--night);
  color: var(--white);
  font-family: var(--heading);
  font-weight: 400;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.signup__button:hover { background: #0c1a1d; }
.signup__button:disabled { cursor: progress; opacity: 0.7; }

.signup__check {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.signup__check:empty { margin-top: 0; }

.signup__fineprint,
.status {
  margin: 16px auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: var(--body);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.status:empty { margin: 0; }
.status[data-tone="bad"] { color: var(--bad); font-weight: 400; }

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

.done {
  width: 100%;
  max-width: 796px;
  margin-top: clamp(40px, 7vw, 90px);
  text-align: center;
}
.done:focus { outline: none; }
.done h2 {
  margin: 0 0 12px;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.done p {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
}

.soon__foot {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px 16px 32px;
  font-family: var(--body);
  font-size: 0.875rem;
}
.soon__foot p { margin: 0; }
.soon__foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.soon__foot a {
  display: inline-block;
  padding: 4px 0;
  color: var(--night);
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 43, 48, 0.5);
}
.soon__foot a:hover { border-bottom-color: var(--night); }

@media (max-width: 720px) {
  .signup__row {
    flex-direction: column;
    gap: 16px;
  }
  .signup__button { flex: 0 0 auto; }
  .signup input[type="email"],
  .signup__button { font-size: 1.25rem; min-height: 56px; }
}

@media (max-width: 720px) and (hover: none) {
  body.soon { background-attachment: scroll; }
}

.solo {
  justify-content: center;
  text-align: center;
  max-width: 640px;
}

.solo__lockup {
  display: block;
  width: min(100%, 420px);
  margin-bottom: clamp(32px, 6vw, 56px);
}

.solo h1 {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
}

.solo p {
  margin: 0 0 32px;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.5;
}

.solo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  text-decoration: none;
}
