:root {
  --red: #dc292d;
  --red-dark: #b7191d;
  --red-soft: #fff0ef;
  --ink: #101010;
  --muted: #6d6965;
  --line: #e9e2dc;
  --page: #f4eee8;
  --white: #ffffff;
  --green: #3d9345;
  --green-soft: #eef8ef;
  --positive: #328342;
  --positive-soft: #eaf7ee;
  --yellow: #ffc83d;
  --radius: 2rem;
  --control-radius: 1rem;
  --shadow: 0 2rem 6rem rgb(79 45 27 / 12%);
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 140ms ease-out;
}

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

.page-decoration {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-decoration::before,
.page-decoration::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(0.25rem);
}

.page-decoration::before {
  top: -14rem;
  left: -10rem;
  width: 33rem;
  height: 33rem;
  background: rgb(220 41 45 / 8%);
}

.page-decoration::after {
  right: -12rem;
  bottom: -11rem;
  width: 32rem;
  height: 32rem;
  background: rgb(255 200 61 / 16%);
}

.page-decoration span {
  position: absolute;
  right: -2.5rem;
  width: 8rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(-7deg);
}

.page-decoration span:nth-child(1) {
  top: 24%;
}

.page-decoration span:nth-child(2) {
  top: 43%;
  right: -4rem;
  background: var(--ink);
}

.page-decoration span:nth-child(3) {
  top: 65%;
}

.page-shell {
  width: 100%;
  min-height: 100svh;
  padding: clamp(1rem, 4vw, 3rem);
}

.waitlist-card {
  width: min(100%, 52rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 6vw, 4.5rem);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 1;
  text-decoration: none;
}

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

.launch-status {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.9rem;
  border-radius: 999px;
  background: #f6f3f0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.launch-status > span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.25rem rgb(220 41 45 / 10%);
}

.mascot-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.mascot-stack {
  display: flex;
  flex: 0 0 auto;
  padding-left: 0.65rem;
}

.mascot-avatar {
  position: relative;
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-left: -0.65rem;
  overflow: hidden;
  border: 0.2rem solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.2rem rgb(45 25 16 / 14%);
  place-items: center;
}

.mascot-avatar--welcome {
  background: #ffe7cf;
}

.mascot-avatar--listen {
  background: #dff3ef;
}

.mascot-avatar--celebrate {
  background: #f4e9ff;
}

.mascot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18) translateY(5%);
}

.mascot-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.mascot-intro strong {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

.intro-copy {
  margin-top: clamp(2.75rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-top: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.15rem, 7vw, 4.8rem);
  font-weight: 950;
  line-height: 0.98;
}

.marker-word {
  position: relative;
  display: block;
  color: var(--red);
  white-space: normal;
}

.marker-word::before,
.marker-word::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 0.16rem;
  border-radius: 999px;
  background: var(--red);
  content: "";
  transform: rotate(-1.2deg);
}

.marker-word::before {
  bottom: -0.24rem;
}

.marker-word::after {
  bottom: -0.54rem;
  left: 8%;
}

.lead {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
}

.benefit-list {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3rem, 8vw, 5rem);
}

.benefit {
  display: grid;
  align-items: start;
  gap: 1.25rem;
  grid-template-columns: 3.25rem minmax(0, 1fr);
}

.benefit-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--positive-soft);
  color: var(--positive);
  place-items: center;
}

.benefit-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.benefit h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.15rem, 2.7vw, 1.4rem);
  font-weight: 900;
  line-height: 1.2;
}

.benefit p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.waitlist-form {
  margin-top: clamp(3rem, 8vw, 5.25rem);
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  font-weight: 850;
}

.field-label span:last-child {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

input[type="email"] {
  width: 100%;
  min-height: 4.1rem;
  padding-inline: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #fffefd;
  color: var(--ink);
  outline: 0;
  transition:
    border-color 140ms ease-out,
    box-shadow 140ms ease-out;
}

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

input[type="email"]:hover {
  border-color: #c9beb5;
}

input[type="email"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgb(220 41 45 / 10%);
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 4.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding-inline: 1.5rem;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  transition:
    background-color 140ms ease-out,
    transform 140ms ease-out;
}

.submit-button:hover {
  background: var(--red);
}

.submit-button:active {
  background: var(--red-dark);
  transform: scale(0.987);
}

.submit-button:disabled,
input:disabled {
  cursor: wait;
  opacity: 0.68;
}

.submit-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.submit-button[data-loading="true"] > svg {
  display: none;
}

.spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgb(255 255 255 / 32%);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button[data-loading="true"] .spinner {
  display: block;
}

.consent-row {
  display: grid;
  align-items: start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  line-height: 1.45;
}

.consent-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkmark {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 0.36rem;
  background: var(--white);
  place-items: center;
  transition:
    background-color 140ms ease-out,
    border-color 140ms ease-out;
}

.checkmark svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  opacity: 0;
}

.consent-row input:focus-visible + .checkmark,
.submit-button:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.consent-row input:checked + .checkmark {
  border-color: var(--red);
  background: var(--red);
}

.consent-row input:checked + .checkmark svg {
  opacity: 1;
}

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

.form-message {
  display: grid;
  align-items: start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--white);
  font-size: 0.88rem;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  line-height: 1.45;
}

.form-message:focus {
  outline: 2px solid rgb(61 147 69 / 44%);
  outline-offset: 2px;
}

.form-message svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.form-message--error {
  border-color: rgb(220 41 45 / 25%);
  background: var(--red-soft);
  color: var(--red-dark);
}

.form-message--success {
  align-items: center;
  padding: 1rem 1.25rem 1rem 0.75rem;
  overflow: hidden;
  border-color: rgb(61 147 69 / 28%);
  background: var(--green-soft);
  color: var(--ink);
  grid-template-columns: 6rem minmax(0, 1fr);
  animation: success-in 300ms ease-out both;
}

.success-mascot img {
  width: 6rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.success-content,
.success-title,
.success-copy {
  display: block;
}

.success-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.success-title {
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.success-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.trust-note svg {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: #928b85;
  font-size: 0.7rem;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(0.45rem) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 48rem) {
  .page-shell {
    padding: 0;
  }

  .waitlist-card {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page-decoration {
    display: none;
  }
}

@media (max-width: 30rem) {
  .waitlist-card {
    padding: 1.25rem 1rem 2rem;
  }

  .wordmark {
    font-size: 1.75rem;
  }

  .launch-status {
    padding-inline: 0.7rem;
    font-size: 0.68rem;
  }

  .mascot-intro {
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
  }

  .mascot-intro p {
    display: none;
  }

  .mascot-avatar {
    width: 3.75rem;
    height: 3.75rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.15rem);
    overflow-wrap: anywhere;
    text-align: center;
  }

  .marker-word {
    display: block;
    white-space: normal;
    text-decoration: underline;
    text-decoration-thickness: 0.14rem;
    text-underline-offset: 0.17em;
  }

  .marker-word::before,
  .marker-word::after {
    display: none;
  }

  .intro-copy {
    margin-top: 2rem;
    text-align: center;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .lead {
    margin-inline: auto;
    font-size: 1rem;
    text-align: center;
  }

  .benefit-list {
    gap: 1.5rem;
    margin-top: 2.75rem;
  }

  .waitlist-form {
    margin-top: 3rem;
  }

  .benefit {
    gap: 1rem;
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }

  .benefit-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.85rem;
  }

  .benefit-icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .form-message--success {
    grid-template-columns: 4.75rem minmax(0, 1fr);
  }

  .success-mascot img {
    width: 4.75rem;
  }

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

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

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