/**
 * join.css
 * ─────────────────────────────────────
 * Scope:    Join the community — signup and info page
 * Brand:    Navy #1B2A4A · Peony #C2738A · Sage #4A7C6F · Linen #F2E8D6
 */

:root {
  --navy:   #1B2A4A;
  --peony:  #C2738A;
  --sage:   #4A7C6F;
  --amber:  #C4895A;
  --cream:  #F7EEF1;
  --linen:  #F2E8D6;
  --dark:   #111827;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 28px 60px;
  position: relative;
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(194,115,138,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 85%, rgba(74,124,111,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(27,42,74,0) 0%, rgba(17,24,39,.4) 100%);
  overflow: hidden;
}


.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--peony);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .6s ease forwards .1s;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .7s ease forwards .25s;
}

.hero-title em {
  font-style: italic;
  color: var(--peony);
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.7;
  color: rgba(247,238,241,.75);
  margin-bottom: 40px;
  border-left: 2px solid rgba(194,115,138,.4);
  padding-left: 18px;
  opacity: 0;
  animation: fadeUp .7s ease forwards .4s;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp .7s ease forwards .55s;
}

.btn-primary {
  display: inline-block;
  background: var(--peony);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .15s, transform .1s;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #b5667c; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(247,238,241,.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .15s;
  text-align: center;
  border: 1px solid rgba(247,238,241,.15);
  cursor: pointer;
}
.btn-secondary:hover { color: var(--cream); border-color: rgba(247,238,241,.3); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 28px;
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp .6s ease forwards 1s;
}
.scroll-hint::before {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.15);
  animation: scrollLine 1.5s ease-in-out infinite 1.2s;
}

/* ── ABOUT SECTION ── */
.about {
  background: var(--linen);
  color: var(--navy);
  padding: 80px 28px;
  position: relative;
}

.about-inner { max-width: 560px; margin: 0 auto; }

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--peony);
  margin-bottom: 20px;
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 28px;
}

.about-body {
  font-size: 15px;
  line-height: 1.85;
  color: #3A4A5A;
  margin-bottom: 20px;
}

.about-body strong {
  color: var(--navy);
  font-weight: 700;
}

.about-rule {
  width: 40px;
  height: 2px;
  background: var(--peony);
  margin: 32px 0;
}

.truth-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.truth-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #3A4A5A;
}
.truth-list li::before {
  content: '\271D\FE0E';
  font-family: Georgia, serif;
  color: var(--peony);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── VERSE PULL QUOTE ── */
.verse-section {
  background: var(--navy);
  padding: 72px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.verse-section::before {
  content: '"';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 320px;
  color: rgba(194,115,138,.06);
  line-height: 1;
  pointer-events: none;
}
.verse-inner { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.verse-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 16px;
}
.verse-ref {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--peony);
}

/* ── WHAT YOU GET ── */
.get-section {
  background: var(--linen);
  padding: 72px 28px;
}
.get-inner { max-width: 560px; margin: 0 auto; }
.get-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 32px;
}
.get-card {
  background: white;
  border-radius: 4px;
  padding: 20px 16px;
  border-top: 3px solid var(--peony);
}
.get-card.sage { border-top-color: var(--sage); }
.get-card.amber { border-top-color: var(--amber); }
.get-card.navy { border-top-color: var(--navy); }
.get-icon { font-size: 24px; margin-bottom: 10px; }
.get-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.get-desc { font-size: 12px; color: #6B7A8D; line-height: 1.55; }

/* ── STUDY PREVIEW ── */
.study-section {
  background: white;
  padding: 72px 28px;
}
.study-inner { max-width: 560px; margin: 0 auto; }
.currently-in {
  background: var(--navy);
  border-radius: 4px;
  padding: 20px;
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peony); flex-shrink: 0; margin-top: 5px; }
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--peony); margin-bottom: 4px; }
.ci-title { font-size: 16px; font-weight: 700; color: var(--cream); margin-bottom: 4px; }
.ci-desc { font-size: 13px; color: #8AA0BC; line-height: 1.5; }

/* ── JOIN FORM ── */
.form-section {
  background: var(--navy);
  padding: 80px 28px 100px;
  position: relative;
  overflow: hidden;
}
.form-inner { max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }
.form-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 12px;
}
.form-sub {
  font-size: 14px;
  color: #8AA0BC;
  line-height: 1.7;
  margin-bottom: 36px;
}

.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8AA0BC;
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.form-input::placeholder { color: rgba(255,255,255,.25); }
.form-input:focus { border-color: var(--peony); background: rgba(255,255,255,.08); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 28px;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  accent-color: var(--peony);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.checkbox-label {
  font-size: 13px;
  color: rgba(247,238,241,.7);
  line-height: 1.55;
  cursor: pointer;
}
.checkbox-label strong { color: var(--cream); }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--peony);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.form-submit:hover { background: #b5667c; transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { background: #6B7A8D; cursor: not-allowed; transform: none; }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* SUCCESS STATE */
.success-msg {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.success-msg .success-icon { font-size: 40px; margin-bottom: 16px; }
.success-msg h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}
.success-msg p { font-size: 14px; color: #8AA0BC; line-height: 1.7; margin-bottom: 24px; }
.success-app-btn {
  display: inline-block;
  background: var(--peony);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}
.success-app-btn:hover { background: #a85f76; }

/* ERROR */
.form-error {
  font-size: 12px;
  color: #E8A0A0;
  margin-top: 8px;
  display: none;
}

/* ── FOOTER ── */
footer {
  background: #0F1A2E;
  padding: 32px 28px;
  text-align: center;
}
.footer-cross {
  font-size: 20px;
  color: var(--peony);
  margin-bottom: 10px;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(247,238,241,.5);
  margin-bottom: 6px;
}
.footer-note {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .05em;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(0); transform-origin: top; }
  51%  { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
