:root {
  --bg: #120308;
  --bg-2: #2a0814;
  --text: #fff6f0;
  --muted: rgba(255, 246, 240, 0.7);
  --muted-2: rgba(255, 246, 240, 0.5);
  --accent: #fa7838;
  --stroke: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #120308;

}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #120308;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(250, 120, 56, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(140deg, #16040a 0%, #2a0814 42%, #100207 100%);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button:disabled {
  cursor: default;
  opacity: 0.85;
}

.teaser-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 28px 20px 32px;
}

.teaser-stage {
  flex: 1;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.teaser-wordmark {
  margin: 0 0 34px;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-first {
  color: #ffffff;
}

.brand-rest {
  color: var(--accent);
}

.teaser-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.teaser-lead {
  margin: 22px auto 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.teaser-form {
  display: flex;
  gap: 12px;
  width: min(100%, 560px);
  margin-top: 36px;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.teaser-form input {
  flex: 1;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

.teaser-form input::placeholder {
  color: var(--muted-2);
}

.teaser-form button {
  min-width: 210px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #190804;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), #ffb071);
  transition: transform 180ms ease;
}

.teaser-form button:hover {
  transform: translateY(-1px);
}

.teaser-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.teaser-shell {
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 28px 20px 96px;
}

.teaser-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.teaser-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;

  padding: 18px 16px 22px;

  font-size: 0.85rem;
  color: var(--muted-2);

  background: linear-gradient(
    to top,
    rgba(18, 3, 8, 0.92),
    rgba(18, 3, 8, 0.72),
    transparent
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/*.teaser-footer {*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  gap: 18px;*/
/*  flex-wrap: wrap;*/

/*  margin-top: auto;*/
/*  padding-top: 24px;*/
/*  padding-bottom: 4px;*/

/*  font-size: 0.85rem;*/
/*  color: var(--muted-2);*/
/*}*/

.teaser-footer a {
  opacity: 0.7;
  transition: opacity 160ms ease, color 160ms ease;
}

.teaser-footer a:hover {
  opacity: 1;
  color: var(--text);
}

.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;
}

.teaser-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #190804;

  background: linear-gradient(90deg, var(--accent), #ffb071);
  box-shadow: var(--shadow);

  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

/* ===== Legal Pages ===== */

.legal-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 20px 60px;
}

.legal-page {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

/* Back link */
.back-link {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--text);
}

/* Typography spacing */
.legal-page h1 {
  margin: 0 0 28px;
}

.legal-page section {
  margin-top: 32px;
}

.legal-page h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Eyebrow alignment */
.legal-page .eyebrow {
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .teaser-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .teaser-form {
    flex-direction: column;
    border-radius: 28px;
  }

  .teaser-form button {
    width: 100%;
    min-width: 0;
  }

  .legal-shell {
    padding: 32px 16px 48px;
  }

  .back-link {
    top: 16px;
    left: 16px;
  }
}


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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}