:root {
  color-scheme: dark;
  --charcoal: #242223;
  --charcoal-deep: #181617;
  --charcoal-soft: #302d2f;
  --burgundy: #633f46;
  --burgundy-light: #9b6974;
  --off-white: #f4f3f0;
  --mist: #ccc8c6;
  --line: rgba(244, 243, 240, 0.16);
  --panel: rgba(244, 243, 240, 0.045);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--charcoal-deep);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--off-white);
  background:
    radial-gradient(circle at 75% 18%, rgba(99, 63, 70, 0.42), transparent 31rem),
    linear-gradient(145deg, #2a2729 0%, #211f20 48%, #181617 100%);
  font-family: Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--charcoal-deep);
  background: var(--off-white);
  transform: translateY(-160%);
}

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

.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 34px clamp(24px, 5vw, 72px) 30px;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.site-header,
.hero,
.notify,
footer {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.wordmark {
  color: var(--off-white);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.055em;
}

.wordmark span {
  color: var(--burgundy-light);
}

.endorsement {
  margin: 0;
  color: var(--mist);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  min-height: 620px;
  padding: clamp(72px, 9vw, 124px) 0 92px;
}

.hero-copy {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--burgundy-light);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.34em;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: var(--off-white);
  font-size: clamp(3.4rem, 6.4vw, 6.3rem);
  font-weight: 760;
  letter-spacing: -0.064em;
  line-height: 0.94;
}

h1 span {
  color: var(--burgundy-light);
}

.intro {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--off-white);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.42;
}

.overview {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--mist);
  font-size: 1.04rem;
  line-height: 1.7;
}

.notify {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  padding: 92px 0;
}

.notify-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.3vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.notify-copy > p:last-child {
  max-width: 510px;
  margin: 22px 0 0;
  color: var(--mist);
  line-height: 1.6;
}

#signup-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(244, 243, 240, 0.24);
  border-radius: 999px;
  background: rgba(24, 22, 23, 0.56);
}

.email-row:focus-within {
  outline: 3px solid rgba(155, 105, 116, 0.32);
  border-color: var(--burgundy-light);
}

input[type="email"] {
  min-width: 0;
  flex: 1;
  padding: 16px 19px;
  border: 0;
  outline: 0;
  color: var(--off-white);
  background: transparent;
  font: inherit;
}

input[type="email"]::placeholder {
  color: #aaa4a5;
}

button {
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  color: var(--off-white);
  background: var(--burgundy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #79525a;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--off-white);
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px 5px 0;
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--burgundy-light);
}

.status {
  min-height: 1.5em;
  margin: 15px 5px 0;
  color: #aaa4a5;
  font-size: 0.78rem;
  line-height: 1.45;
}

.status.success {
  color: var(--off-white);
}

.status.error {
  color: #f3aab8;
}

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

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #aaa4a5;
  font-size: 0.77rem;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

footer p {
  margin: 0;
}

footer a:hover {
  color: var(--off-white);
}

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

  .notify {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 24px 20px;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .endorsement {
    max-width: 85px;
    padding-top: 4px;
    text-align: right;
    line-height: 1.55;
  }

  .hero {
    padding: 70px 0 80px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 4.5rem);
  }

  .intro {
    margin-top: 28px;
  }

  .notify {
    padding: 72px 0;
  }

  #signup-form {
    padding: 20px;
  }

  .email-row {
    display: grid;
    padding: 5px;
    border-radius: 20px;
  }

  input[type="email"] {
    width: 100%;
  }

  button {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
