/* ==========================================================================
   iDharma — Founding Cohort
   Brand:  #E65425 primary · #c75b35 dark · #fff4f0 cream · #FFE6E1 tint
           #1c1d1f text  · #838484 muted
   Type:   Poetsen One (display)  ·  Lato (body)
   ========================================================================== */

:root {
  --fc-orange:        #E65425;
  --fc-orange-dark:   #c75b35;
  --fc-orange-deep:   #a3411e;
  --fc-cream:         #fff4f0;
  --fc-cream-2:       #fff8f5;
  --fc-tint:          #FFE6E1;
  --fc-text:          #1c1d1f;
  --fc-muted:         #838484;
  --fc-line:          #eee3dd;
  --fc-white:         #ffffff;

  --fc-radius-card:   12px;
  --fc-radius-btn:    6px;

  --fc-shadow-sm:     0 1px 2px rgba(28,29,31,.04), 0 2px 6px rgba(28,29,31,.04);
  --fc-shadow-md:     0 4px 14px rgba(28,29,31,.06), 0 12px 32px rgba(28,29,31,.06);
  --fc-shadow-lg:     0 10px 30px rgba(28,29,31,.10), 0 30px 60px rgba(28,29,31,.08);

  --fc-display:       'Poetsen One', Georgia, 'Times New Roman', serif;
  --fc-body:          'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------------------------------------------------------- */
.fc-page {
  font-family: var(--fc-body);
  color: var(--fc-text);
  background: var(--fc-white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.fc-page * { box-sizing: border-box; }

.fc-page h1, .fc-page h2, .fc-page h3 {
  font-family: var(--fc-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fc-text);
  text-wrap: balance;
}
.fc-page h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.05; margin: 0; }
.fc-page h2 { font-size: clamp(1.9rem, 3.6vw, 3rem);   line-height: 1.1;  margin: 0; }
.fc-page h3 { font-size: 1.2rem;                       line-height: 1.3;  margin: 0; }

.fc-page p { margin: 0; }
.fc-page a { color: var(--fc-orange); text-decoration: none; }
.fc-page .text-muted-2 { color: var(--fc-muted); }

.fc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fc-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--fc-tint);
  color: var(--fc-orange-dark);
  border-radius: 999px;
}
.fc-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fc-orange);
  box-shadow: 0 0 0 4px rgba(230,84,37,.18);
  animation: fcPulse 2.4s ease-in-out infinite;
}
@keyframes fcPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230,84,37,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(230,84,37,0);   }
}

/* ---------- Buttons ------------------------------------------------------- */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fc-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: var(--fc-radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.fc-btn:active { transform: scale(0.98); }
.fc-btn .ti { font-size: 1.15em; line-height: 1; }

.fc-btn-primary {
  background: var(--fc-orange);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px rgba(230,84,37,.25);
}
.fc-btn-primary:hover {
  background: var(--fc-orange-dark);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 26px rgba(199,91,53,.32);
}

.fc-btn-outline {
  background: transparent;
  color: var(--fc-text);
  border-color: rgba(28,29,31,.18);
}
.fc-btn-outline:hover {
  background: var(--fc-text);
  color: #fff;
  border-color: var(--fc-text);
}

.fc-btn-ghost {
  background: #fff;
  color: var(--fc-orange-dark);
  border-color: var(--fc-orange-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.fc-btn-ghost:hover {
  background: var(--fc-cream);
  color: var(--fc-orange-dark);
}

.fc-btn-lg { padding: 18px 28px; font-size: 1.05rem; }

/* ---------- Section scaffolding ----------------------------------------- */
.fc-section {
 /* padding: clamp(72px, 9vw, 128px) 0;*/
  position: relative;
}
.fc-section-tint { background: var(--fc-cream-2); }

.fc-section-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.fc-section-head .fc-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fc-orange);
  margin-bottom: 16px;
}
.fc-section-head p {
  margin-top: 18px;
  color: var(--fc-muted);
  font-size: 1.1rem;
}

/* ---------- HERO --------------------------------------------------------- */
.fc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 168px) 0 clamp(80px, 10vw, 140px);
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(230,84,37,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255,200,180,0.35), transparent 55%),
    linear-gradient(180deg, var(--fc-cream) 0%, #fffaf7 100%);
}
.fc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,29,31,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,29,31,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.fc-hero-inner { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.fc-hero h1 { margin-top: 28px; }
.fc-hero h1 .accent { color: var(--fc-orange); }
.fc-hero-subhead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #4a4b4d;
  max-width: 680px;
  margin: 28px auto 0;
  line-height: 1.55;
}
.fc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
}
.fc-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--fc-orange-dark);
}
.fc-scarcity .ti { font-style: normal; }

/* ---------- STATS -------------------------------------------------------- */
.fc-stats { padding: clamp(56px, 7vw, 96px) 0; }
.fc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fc-stat {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius-card);
  padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fc-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--fc-shadow-md);
  border-color: #e6d4cb;
}
.fc-stat-num {
  font-family: var(--fc-display);
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--fc-orange);
  letter-spacing: -0.02em;
}
.fc-stat-label {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 14px;
}
.fc-stat-desc {
  color: var(--fc-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* ---------- WHAT YOU GET (benefits) ------------------------------------- */
.fc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fc-benefit {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius-card);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.fc-benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--fc-shadow-md);
  border-color: #e6d4cb;
}
.fc-icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--fc-tint);
  color: var(--fc-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
  transition: background .25s ease, transform .25s ease;
}
.fc-benefit:hover .fc-icon-circle {
  background: var(--fc-orange);
  color: #fff;
  transform: scale(1.05);
}
.fc-benefit h3 { font-family: var(--fc-display); font-size: 1.3rem; margin-bottom: 8px; }
.fc-benefit p  { color: var(--fc-muted); font-size: 0.97rem; }

/* ---------- WHAT WE ASK (criteria) -------------------------------------- */
.fc-criteria {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}
.fc-criterion {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--fc-line);
  align-items: flex-start;
}
.fc-criterion:last-child { border-bottom: none; }
.fc-num-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--fc-orange);
  color: #fff;
  font-family: var(--fc-display);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(230,84,37,.25);
}
.fc-criterion h3 { font-size: 1.25rem; margin-bottom: 6px; }
.fc-criterion p  { color: var(--fc-muted); font-size: 1rem; }

/* ---------- HOW IT WORKS ------------------------------------------------- */
.fc-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.fc-step {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius-card);
  padding: 32px 30px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fc-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--fc-shadow-md);
  border-color: #e6d4cb;
}
.fc-step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.fc-step p  { color: var(--fc-muted); font-size: 0.97rem; }

/* ---------- FAQ ---------------------------------------------------------- */
.fc-faq { max-width: 820px; margin: 0 auto; }
.fc-faq-item { border-bottom: 1px solid var(--fc-line); }
.fc-faq-item:first-child { border-top: 1px solid var(--fc-line); }
.fc-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--fc-display);
  font-size: 1.2rem;
  color: var(--fc-text);
  cursor: pointer;
  transition: color .2s ease;
}
.fc-faq-q:hover { color: var(--fc-orange-dark); }
.fc-faq-q .fc-faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fc-tint);
  color: var(--fc-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .3s ease, background .2s ease;
}
.fc-faq-item.open .fc-faq-icon {
  transform: rotate(45deg);
  background: var(--fc-orange);
  color: #fff;
}
.fc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.fc-faq-a-inner {
  padding: 0 4px 26px;
  color: #4a4b4d;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 680px;
}

/* ---------- FINAL CTA ---------------------------------------------------- */
.fc-final {
  background:
    radial-gradient(ellipse 80% 80% at 20% 0%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(0,0,0,.15), transparent 60%),
    linear-gradient(135deg, var(--fc-orange) 0%, var(--fc-orange-dark) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.fc-final::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.fc-final-inner { position: relative; max-width: 760px; margin: 0 auto; }
.fc-final h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.fc-final-sub {
  margin-top: 20px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.92);
}
.fc-final-cta { margin-top: 36px; }
.fc-final-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: rgba(255,236,229,.85);
  letter-spacing: 0.02em;
}

/* ---------- A11y --------------------------------------------------------- */
.fc-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.fc-page :focus-visible {
  outline: 2px solid var(--fc-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 991px) {
  .fc-stat-grid     { grid-template-columns: repeat(2, 1fr); }
  .fc-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fc-page             { font-size: 16px; }
  .fc-stat-grid        { grid-template-columns: 1fr; }
  .fc-benefits-grid    { grid-template-columns: 1fr; }
  .fc-steps-grid       { grid-template-columns: 1fr; }
  .fc-criterion        { grid-template-columns: 44px 1fr; gap: 18px; padding: 26px 0; }
  .fc-num-circle       { width: 40px; height: 40px; font-size: 1.05rem; }
  .fc-hero-ctas .fc-btn { width: 100%; }
  .fc-stat             { padding: 28px 24px; }
  .fc-benefit          { padding: 28px 24px; }
  .fc-step             { padding: 28px 24px; grid-template-columns: 48px 1fr; gap: 18px; }
  .fc-faq-q            { font-size: 1.05rem; padding: 22px 4px; }
}

/* AOS subtlety override + safety net.
   Some hosting setups serve AOS CSS in a way that loses the cascade
   (e.g. cross-origin / order issues). These rules guarantee that any
   element AOS has already marked .aos-animate is visible, no matter
   what. They also keep our 700ms duration. */
.fc-page [data-aos] { transition-duration: 700ms !important; }
.fc-page [data-aos].aos-animate,
.fc-page [data-aos].aos-init.aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* Final safety: if AOS never loads at all, reveal everything after
   document parse via a no-JS / no-AOS class hook (toggled by JS). */
.fc-page.fc-aos-failed [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
