@font-face {
  font-family: "WOM Sans";
  src: local("Helvetica Neue");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #111413;
  --canvas-soft: #171b19;
  --surface: #f1efe8;
  --surface-strong: #faf8f2;
  --ink: #f4f1ea;
  --ink-dark: #171a18;
  --muted: #a7aaa4;
  --muted-dark: #686d68;
  --line: rgba(244, 241, 234, 0.13);
  --line-dark: #d7d5ce;
  --accent: #ef826f;
  --accent-soft: #f4afa1;
  --success: #385d4a;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(239, 130, 111, 0.07), transparent 25rem),
    var(--canvas);
  color: var(--ink);
  font-family:
    "WOM Sans", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

main {
  display: flex;
  width: min(1260px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 32px;
  height: 35px;
  object-fit: contain;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.58fr);
  align-items: center;
  gap: clamp(72px, 11vw, 160px);
  padding: 72px 0 94px;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.7rem, 6.2vw, 6.25rem);
  font-weight: 540;
  letter-spacing: -0.072em;
  line-height: 0.92;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--accent-soft);
  font-style: normal;
  font-weight: inherit;
}

.message-divider {
  width: 100%;
  max-width: 650px;
  height: 1px;
  margin-top: 42px;
  background: var(--line);
}

.value-line {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.value-line span,
.value-line strong {
  display: block;
}

.value-line strong {
  color: var(--accent-soft);
  font-weight: inherit;
}

.supporting-copy {
  display: grid;
  max-width: 570px;
  gap: 11px;
  margin-top: 22px;
}

.supporting-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

.signup-panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink-dark);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.signup-panel::after {
  position: absolute;
  top: -72px;
  right: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(239, 130, 111, 0.25);
  border-radius: 50%;
  content: "";
}

.step-label {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #a45346;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-intro h2 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin: 15px 0 10px;
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.signup-intro > p:last-child {
  max-width: 310px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
  line-height: 1.55;
}

.waitlist-form {
  margin-top: 28px;
}

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

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

.field-group {
  min-width: 0;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #4e534f;
  font-size: 0.7rem;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  outline: none;
  background: var(--surface-strong);
  color: var(--ink-dark);
  padding: 0 13px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

input::placeholder {
  color: #aaa9a3;
}

input:hover {
  border-color: #aaa9a2;
}

input:focus {
  border-color: #6e716d;
  box-shadow: 0 0 0 3px rgba(23, 26, 24, 0.08);
}

input[aria-invalid="true"] {
  border-color: #b85749;
}

button {
  width: 100%;
  min-height: 51px;
  margin-top: 11px;
  border: 1px solid var(--ink-dark);
  border-radius: 9px;
  background: var(--ink-dark);
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  transition:
    background 150ms ease,
    transform 150ms ease;
}

button:hover,
button:focus-visible {
  background: #333834;
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 1.2rem;
  margin: 7px 0 0;
  color: #a44539;
  font-size: 0.75rem;
}

.privacy-note {
  margin: 5px 0 0;
  color: #8b8e89;
  font-size: 0.68rem;
  line-height: 1.5;
}

.success-state {
  min-height: 204px;
  align-items: flex-start;
  gap: 14px;
  padding-top: 34px;
}

.success-state:not([hidden]) {
  display: flex;
}

.success-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #91aa9b;
  border-radius: 50%;
  color: var(--success);
  font-size: 0.82rem;
}

.success-state h3 {
  margin: 1px 0 5px;
  font-size: 1.4rem;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.success-state p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
  line-height: 1.55;
}

footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #747975;
  font-size: 0.68rem;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  main {
    width: min(680px, calc(100% - 48px));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 88px 0 78px;
  }

  .signup-panel {
    width: min(100%, 500px);
  }
}

@media (max-width: 540px) {
  main {
    width: min(100% - 36px, 480px);
  }

  body {
    background:
      radial-gradient(circle at 100% 18%, rgba(239, 130, 111, 0.07), transparent 18rem),
      var(--canvas);
  }

  .site-header {
    min-height: 78px;
  }

  .brand {
    font-size: 0.84rem;
  }

  .brand img {
    width: 29px;
    height: 32px;
  }

  .hero {
    gap: 42px;
    padding: 52px 0 58px;
  }

  h1 {
    font-size: clamp(2.75rem, 12.1vw, 3.35rem);
    letter-spacing: -0.068em;
    line-height: 0.94;
  }

  .value-line {
    margin-top: 24px;
    font-size: clamp(2.25rem, 10.2vw, 2.8rem);
    line-height: 0.98;
  }

  .message-divider {
    margin-top: 32px;
  }

  .supporting-copy {
    margin-top: 24px;
  }

  .supporting-copy p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .signup-panel {
    padding: 30px 24px 26px;
    border-radius: 15px;
  }

  .signup-intro h2 {
    max-width: 270px;
    font-size: 1.8rem;
  }

  .form-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .success-state {
    min-height: 210px;
  }

  footer {
    min-height: 90px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
