/* DraftRemix — palette sampled from the logo artwork: violet #704CF7 through
   magenta #B750AB to coral #F06953. */

:root {
  --bg: #0b0a12;
  --bg-wash-1: rgba(112, 76, 247, 0.22);
  --bg-wash-2: rgba(240, 105, 83, 0.13);
  --surface: #16141f;
  --surface-input: #100e18;
  --border: #272338;
  --border-strong: #3a3450;

  --text: #f4f3f8;
  --muted: #a9a6bd;
  --faint: #6f6b85;

  --violet: #7c5cff;
  --violet-hover: #8f74ff;
  --violet-deep: #5b34e8;
  --coral: #f06953;
  --ring: rgba(124, 92, 255, 0.45);

  --ok: #3ddc97;
  --error: #ff6b6b;

  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 660px;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1000px 520px at 22% -10%, var(--bg-wash-1) 0%, transparent 62%),
    radial-gradient(760px 460px at 92% 4%, var(--bg-wash-2) 0%, transparent 58%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--violet);
  text-decoration: none;
}

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

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- header --
   The logo is a 2.65:1 wordmark. It gets a width and `height: auto` — never a
   square box, which squashed it before. */

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 22px 0;
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand img {
  display: block;
  width: 200px;
  height: auto;
}

@media (max-width: 480px) {
  .brand img {
    width: 168px;
  }
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 22px 8px;
}

/* ------------------------------------------------------------------ hero -- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.22);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 7vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--violet) 0%, #b750ab 52%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* High-contrast modes drop the gradient, which would leave transparent text. */
@media (forced-colors: active) {
  .hero h1 .accent {
    background: none;
    color: CanvasText;
  }
}

.lede {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 54ch;
}

/* Honest-framing points. The check marks are decorative, so they are drawn in
   CSS and kept out of the accessibility tree. */

.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.promises li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 0.98rem;
}

.promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.4);
}

.promises li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 0.72em;
  width: 4px;
  height: 7px;
  border: solid var(--violet);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.promises strong {
  color: var(--text);
  font-weight: 600;
}

/* ------------------------------------------------------------ signup card -- */

.beta {
  margin-top: 44px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 46px -24px rgba(0, 0, 0, 0.9);
}

@media (max-width: 480px) {
  .beta {
    padding: 22px 18px;
  }
}

.beta h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

.beta-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.beta label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.field {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.field input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder {
  color: var(--faint);
}

.field input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--ring);
}

.field input:focus-visible {
  outline: none;
}

.field button {
  flex: 0 0 auto;
  padding: 13px 22px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.field button:hover:not(:disabled) {
  filter: brightness(1.12);
}

.field button:active:not(:disabled) {
  transform: translateY(1px);
}

.field button:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 420px) {
  .field button {
    width: 100%;
  }
}

.turnstile-slot {
  margin-top: 18px;
  min-height: 65px;
}

.privacy-note {
  margin: 18px 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--faint);
}

/* ---------------------------------------------------------------- status -- */

.status {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.status-ok {
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.38);
  color: var(--ok);
}

.status-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.38);
  color: var(--error);
}

/* Success replaces the form, so it gets room to stand on its own. */
.beta[data-state="done"] .status-ok {
  padding: 22px 18px;
  text-align: center;
  font-size: 1rem;
}

/* ---------------------------------------------------------------- footer -- */

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 22px 48px;
  color: var(--faint);
  font-size: 0.84rem;
}

.fine-print {
  margin: 0 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

.legal {
  display: flex;
  gap: 20px;
}

.legal a {
  color: var(--muted);
}

/* ------------------------------------------------------------ legal pages -- */

.page h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  letter-spacing: -0.02em;
}

.page h2 {
  margin: 32px 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.page p,
.page li {
  color: var(--muted);
}

.page ul {
  padding-left: 20px;
}

.page li + li {
  margin-top: 6px;
}

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