:root {
  --bg: #0f0b11;
  --ink: #fdf6ff;
  --muted: #c9b7d6;
  --accent: #ffb870;
  --accent2: #ff6ad5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      1400px 800px at 20% 40%,
      rgb(255 106 213 / 30%),
      transparent 90%
    ),
    radial-gradient(
      1600px 900px at 80% 50%,
      rgb(255 184 112 / 30%),
      transparent 90%
    ),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.page {
  padding: 100px;
  max-width: 1800px;
  width: 90%;
}

h1 .pt1,
h1 .pt2 {
  opacity: 0;
  transform: translateX(-20px);
  display: inline-flex;
}

.subtitle {
  opacity: 0;
  transform: translateY(5px);
}

.hero-image {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 50vh;
}

h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto;
  max-width: 590px;
  text-align: center;
  line-height: 24px;
}

.subtitle p {
  margin: 0 0 8px 0;
}

.text-page .subtitle.visible {
  opacity: 1;
  text-align: left;
  margin: 0;
}
.text-page h1 {
  text-align: left;
  margin-bottom: 20px;
}

.text-page .content {
  align-items: start;
}

.text-page .content h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 600;
}

.text-page .content p {
  margin: 0 0 14px;
}

.text-page .content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.text-page .content li {
  margin-bottom: 8px;
}

.text-page .content li:last-child {
  margin-bottom: 0;
}

.page.privacy {
  max-width: 900px;
}

.page.privacy .content {
  font-size: 18px;
  line-height: 24px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.privacy-link {
  position: fixed;
  right: 24px;
  bottom: 18px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  opacity: 1;
}

.cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 44px;
  --input-width: min(260px, 70vw);
  --input-gap: 12px;
}

.cta-input {
  height: 44px;
  width: var(--input-width);
  max-width: 0;
  padding: 0;
  border-radius: 8px;
  border: 0 solid rgb(255 255 255 / 18%);
  background: rgb(8 6 10 / 85%);
  color: var(--ink);
  font-family: "Instrument Sans";
  font-size: 16px;
  opacity: 0;
  transform: translateX(24px);
  transition:
    max-width 320ms ease,
    transform 320ms ease,
    opacity 200ms ease,
    padding 200ms ease,
    border-width 200ms ease,
    margin-right 200ms ease;
  overflow: hidden;
  margin-right: 0;
}

.cta-input::placeholder {
  color: rgb(201 183 214 / 70%);
}

.cta-wrap.is-open .cta-input {
  opacity: 1;
  max-width: var(--input-width);
  padding: 0 14px;
  border-width: 1px;
  margin-right: var(--input-gap);
  transform: translateX(0);
}

.cta-input:focus {
  outline: none;
  box-shadow:
    0 0 0px 1px rgb(255 184 112 / 35%),
    0 0 16px 4px rgb(255 106 213 / 35%);
}

.cta-button {
  border-width: 2px;
  border-style: solid;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  padding: 8px 16px;
  font-family: "Instrument Sans";
  cursor: pointer;
  transition: all 200ms ease-out;
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}

.cta-button::after {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  background: linear-gradient(to right, #9f2885, #d17a47 100%);
  content: "";
  z-index: -1;
  border-radius: 8px;
}

.cta-button:hover {
  background: #ffffff;
  color: var(--bg);
}

p.cta-microcopy {
  margin-top: 8px;
  font-size: 15px;
  font-style: italic;
}

.cf-turnstile {
  margin-top: 20px;
}

.form-status {
  min-height: 18px;
  font-size: 13px;
  color: var(--muted);
}

p.form-status {
  margin: 10px 0 0;
}

.form-status[data-state="warning"],
.form-status[data-state="error"] {
  color: #ff8b8b;
}

.form-status[data-state="success"] {
  color: #8effc1;
}

.form-status[data-state="pending"] {
  color: #ffd6a1;
}

.cta-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.turnstile-modal,
.confirmation-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease-out,
    visibility 0s linear 200ms;
  z-index: 10;
}

.turnstile-modal.is-open,
.confirmation-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 200ms ease-out;
}

.turnstile-modal__backdrop,
.confirmation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(10 8 12 / 70%);
  backdrop-filter: blur(6px);
}

.turnstile-modal__panel,
.confirmation-modal__panel {
  position: relative;
  background: rgb(9 8 10 / 45%);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: min(420px, 90vw);
  box-shadow:
    0 20px 60px rgb(0 0 0 / 45%),
    0 0 0 1px rgb(255 255 255 / 8%);
  text-align: center;
}

.confirmation-modal__panel {
  text-align: left;
}

.turnstile-modal__panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.confirmation-modal__panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.confirmation-modal__panel p {
  margin: 0 0 10px 0;
  color: var(--muted);
  line-height: 1.5;
}

.confirmation-modal__panel a {
  color: #ffb870;
}

.confirmation-modal__actions {
  display: flex;
  justify-content: end;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.confirmation-modal__button {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-family: "Instrument Sans";
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.confirmation-modal__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgb(0 0 0 / 20%);
}

a.confirmation-modal__button--primary {
  background: var(--accent);
  color: #24161d;
  border-color: transparent;
  box-shadow: 0 12px 30px rgb(255 184 112 / 30%);
}

@media (max-width: 1200px) {
  .page {
    padding: 10vh 2vw;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 10vh 2vw;
  }

  button,
  .confirmation-modal__button {
    text-align: center;
    width: 100%;
  }

  .cta-wrap {
    width: 100%;
    position: relative;
    top: -60px;
  }

  .cta-wrap.is-open {
    top: 0px;
  }

  .cta-input {
    --input-width: min(500px, 100%);
    margin-bottom: 10px;
  }
}
