/* 5 Pillars funnel — matches Figma frames 1 & 2 (file TPPXEzHbaOcmrgavkQ5Ybx) */

:root {
  --bg: #4c0000;
  --card: #f4ebe1;
  --ink: #211e1e;
  --accent: #de3914;
  --field-border: #bc8f68;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  background: var(--bg);
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  position: relative;
  overflow-x: hidden;
}

.watermark {
  position: fixed;
  inset: 0;
  /* the exported SVG has the 10% opacity baked in */
  background: url('assets/watermark.svg') center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.card {
  width: 640px;
  max-width: 100%;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  padding: 54px 60px 46px;
}

.logo {
  width: 224px;
  height: auto;
  display: block;
}

.headline {
  font-family: 'Alata', sans-serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.92px;
  color: var(--ink);
  margin-top: 38px;
}

.pillars {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  margin-top: 17px;
}

.intro {
  font-size: 16px;
  line-height: 1.3;
  margin-top: 33px;
  max-width: 450px;
}

.field-label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  margin-top: 26px;
}

.req { color: var(--accent); }

.field {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 6px;
  padding: 0 13px;
  background: transparent;
  border: 1px solid var(--field-border);
  border-radius: 4px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.field:focus {
  outline: none;
  border-color: var(--accent);
}

.field.invalid { border-color: var(--accent); }

.cta-copy-bold { font-weight: 700; }

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

.turnstile-slot:empty { min-height: 0; }

/* collapse once verification succeeded */
.turnstile-slot.done {
  visibility: hidden;
  min-height: 0;
  height: 0;
  margin-top: 0;
  overflow: hidden;
}

.form-error {
  color: var(--accent);
  font-size: 14px;
  line-height: 1.3;
  margin-top: 10px;
}

/* per-field validation message, sits directly under its input */
.field-error {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.3;
  margin-top: 7px;
}

.submit {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 16px;
  background: var(--accent);
  border: none;
  border-radius: 4px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--card);
  cursor: pointer;
}

.submit:hover { filter: brightness(1.06); }

.submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.fine-print {
  font-size: 14px;
  line-height: 1.3;
  color: #000;
  margin-top: 20px;
  /* design line width (531px) slightly exceeds the 520px content column */
  margin-right: -14px;
}

/* Success card (Frame 2) */

.card--success .seal {
  width: 50px;
  height: 50px;
  display: block;
  margin-top: 39px;
}

.card--success .headline {
  margin-top: 18px;
  /* design line (558px) extends into the card's right padding */
  white-space: nowrap;
}

@media (max-width: 660px) {
  .card--success .headline { white-space: normal; }
}

/* longer "already sent" variant wraps instead */
.card--success .headline.wrap { white-space: normal; }

.success-body {
  font-size: 16px;
  line-height: 1.3;
  margin-top: 25px;
  max-width: 507px;
}

.success-body p + p { margin-top: 21px; }

/* Small screens — design is desktop-only; this keeps the card usable on phones */
@media (max-width: 560px) {
  .card { padding: 40px 28px 36px; }
  .headline { font-size: 34px; letter-spacing: -0.68px; }
  .headline br { display: none; }
  .fine-print { margin-right: 0; }
}
