/* FEED CARD page — the approved design's stylesheet (HtmlFeedCard assets/css/style.css), every rule scoped
   to .fc-page so the site's navbar and footer keep their own look. Re-create with database/data/feed-card/convert-from-html.cjs. */

.fc-page { display: block; overflow-x: hidden; min-height: 100vh; }

/* ==========================================================================
   FEED CARD - Pure HTML/CSS/JS Version
   Standard Industry Recommended Structure
   ========================================================================== */

/* ---------- Base & Reset ---------- */
.fc-page *,
.fc-page *::before,
.fc-page *::after {
  box-sizing: border-box;
}

.fc-page,
.fc-page {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}


.fc-page {
  min-height: 100vh;
  background: #fdf1e7;
  color: #1f2937;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.fc-page img {
  max-width: 100%;
}

.fc-page {
  scroll-behavior: smooth;
}

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


/* ---------- Hero Header ---------- */
/*
 * The hero is laid out on the 1672×941 design mockup and scales with its width.
 *   --hu  one mockup pixel inside the hero (text column)
 *   --su  one mockup pixel inside the right-hand scene
 */

.fc-page .hero {
  --ink: #0f2d1f;
  --green: #0c9344;
  --navy: #152b4f;
  --muted: #555c63;
  --peach: #fdf1e7;
  --orange: #faa872;
  --hu: calc(100cqw / 1672);

  position: relative;
  overflow: hidden;
  container-type: inline-size;
  aspect-ratio: 1672 / 941;
  background: var(--peach);
}

.fc-page .hero__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Text column ---------- */

.fc-page .hero__content {
  position: absolute;
  z-index: 1;
  left: calc(72 * var(--hu));
  top: calc(201 * var(--hu));
  width: calc(560 * var(--hu));
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fc-page .hero__title {
  margin: 0;
  font-family: 'Montserrat', 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: calc(86 * var(--hu));
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.fc-page .hero__title-feed {
  color: var(--ink);
}

.fc-page .hero__title-card {
  color: var(--green);
}

.fc-page .hero__tagline {
  margin: calc(13 * var(--hu)) 0 0;
  font-weight: 600;
  font-size: calc(33 * var(--hu));
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--navy);
  white-space: nowrap;
}

.fc-page .hero__text {
  margin: calc(18.4 * var(--hu)) 0 0;
  font-size: calc(22.8 * var(--hu));
  line-height: calc(35 * var(--hu));
  color: var(--muted);
}

.fc-page .hero__progress {
  display: block;
  width: calc(200 * var(--hu));
  height: calc(6 * var(--hu));
  margin-top: calc(30 * var(--hu));
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0 41.5%, #fde2d1 41.5% 100%);
}

/* ---------- Right-hand scene ---------- */

.fc-page .hero__visual {
  --su: calc(100cqw / 1072);

  position: absolute;
  /* scene box: x 600–1672, y 130–810 of the mockup, raised 120px */
  left: calc(600 / 1672 * 100%);
  top: calc(10 / 941 * 100%);
  width: calc(1072 / 1672 * 100%);
  height: calc(680 / 941 * 100%);
  container-type: inline-size;
}

.fc-page .hero__stage,
.fc-page .hero__stage-inner {
  position: absolute;
  inset: 0;
}

.fc-page .hero__stage-inner {
  container-type: inline-size;
  animation: hero-fade 1.1s ease-out both;
}

.fc-page .hero__scene {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fc-page .hero__blob--narrow {
  display: none;
}

.fc-page .hero__badge {
  position: absolute;
  left: calc(572 * var(--su));
  top: calc(275 * var(--su));
  width: calc(221 * var(--su));
  height: calc(120 * var(--su));
  display: flex;
  align-items: center;
  gap: calc(17 * var(--su));
  padding-left: calc(18 * var(--su));
  border-radius: calc(16 * var(--su));
  background: #fffaf6;
  box-shadow:
    0 calc(2 * var(--su)) calc(4 * var(--su)) rgba(183, 104, 62, 0.06),
    0 calc(16 * var(--su)) calc(34 * var(--su)) rgba(196, 112, 70, 0.18);
}

.fc-page .hero__badge-coin {
  flex: none;
  width: calc(58 * var(--su));
  height: calc(58 * var(--su));
  border-radius: 50%;
  filter: drop-shadow(0 calc(4 * var(--su)) calc(5 * var(--su)) rgba(168, 98, 22, 0.3));
}

.fc-page .hero__badge-text {
  margin: 0;
  font-weight: 600;
  font-size: calc(19.5 * var(--su));
  line-height: calc(25 * var(--su));
  color: #1e2b2f;
}

.fc-page .hero__benefits {
  position: absolute;
  left: calc(818 * var(--su));
  top: calc(167 * var(--su));
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: calc(11 * var(--su));
}

.fc-page .hero__benefit {
  display: flex;
  align-items: center;
  gap: calc(17 * var(--su));
  width: calc(238 * var(--su));
  height: calc(52 * var(--su));
  padding: calc(2 * var(--su));
  border-radius: 999px;
  background: rgba(255, 252, 249, 0.94);
  box-shadow: 0 calc(8 * var(--su)) calc(22 * var(--su)) rgba(214, 135, 95, 0.14);
  font-weight: 500;
  font-size: calc(15 * var(--su));
  color: #1b2833;
  white-space: nowrap;
  animation: hero-slide 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.35s + var(--i) * 0.08s);
}

.fc-page .hero__benefit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(48 * var(--su));
  height: calc(48 * var(--su));
  border-radius: 50%;
  background: #09341d;
  color: #fff;
}

.fc-page .hero__benefit-icon svg {
  width: calc(22 * var(--su));
  height: calc(22 * var(--su));
}

/* ---------- Section links along the bottom of the header ---------- */

/* A compact, centred row of three fixed-width pills. */
.fc-page .hero-nav {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: calc(690 * var(--hu));
  display: grid;
  grid-template-columns: repeat(3, calc(384 * var(--hu)));
  justify-content: center;
  gap: calc(20 * var(--hu));
}

.fc-page .hero-nav__link {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--hu));
  height: calc(78 * var(--hu));
  padding: 0 calc(11 * var(--hu)) 0 calc(9 * var(--hu));
  border: calc(2 * var(--hu)) solid transparent;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 calc(2 * var(--hu)) calc(4 * var(--hu)) rgba(0, 0, 0, 0.16),
    0 calc(10 * var(--hu)) calc(22 * var(--hu)) rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  animation: hero-nav-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.45s + var(--i) * 0.1s);
}

.fc-page .hero-nav__link:hover {
  transform: translateY(calc(-3 * var(--hu)));
  border-color: rgba(60, 232, 114, 0.45);
}

.fc-page .hero-nav__link:focus-visible {
  outline: 3px solid #3ce872;
  outline-offset: 4px;
}

.fc-page .hero-nav__link.is-active {
  border-color: #3ce872;
  box-shadow:
    0 0 calc(10 * var(--hu)) rgba(52, 230, 107, 0.9),
    0 0 calc(26 * var(--hu)) rgba(52, 230, 107, 0.5),
    0 calc(10 * var(--hu)) calc(22 * var(--hu)) rgba(0, 0, 0, 0.18);
}

.fc-page .hero-nav__icon,
.fc-page .hero-nav__arrow {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2b2b2b;
}

.fc-page .hero-nav__icon {
  width: calc(58 * var(--hu));
  height: calc(58 * var(--hu));
}

.fc-page .hero-nav__icon svg {
  width: calc(30 * var(--hu));
  height: calc(30 * var(--hu));
}

.fc-page .hero-nav__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fc-page .hero-nav__title {
  font-weight: 600;
  font-size: calc(16.5 * var(--hu));
  line-height: 1.3;
}

.fc-page .hero-nav__text {
  margin-top: calc(3 * var(--hu));
  font-size: calc(13 * var(--hu));
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.fc-page .hero-nav__arrow {
  width: calc(38 * var(--hu));
  height: calc(38 * var(--hu));
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.fc-page .hero-nav__arrow svg {
  width: calc(17 * var(--hu));
  height: calc(17 * var(--hu));
}

.fc-page .hero-nav__link:hover .hero-nav__arrow {
  background: #3ce872;
  color: #04230f;
}

/* ---------- Tablets and phones: stack everything ----------
   Below ~1200px the pill text would drop under 11px, so the layout stacks instead. */
@media (max-width: 1199px) {
  .fc-page .hero {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 56px 20px 48px;
    background:
      radial-gradient(circle at -40px 120px, #fde3d2 0 150px, transparent 151px),
      var(--peach);
  }

  /* The full-size circles and dot grids don't fit a tall phone layout. */
  .fc-page .hero__backdrop {
    display: none;
  }

  .fc-page .hero__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 680px;
  }

  .fc-page .hero__title {
    font-size: clamp(42px, 12.6vw, 84px);
  }

  .fc-page .hero__tagline {
    margin-top: 12px;
    font-size: clamp(17px, 4.7vw, 32px);
    white-space: normal;
  }

  .fc-page .hero__text {
    max-width: 34em;
    margin-top: 12px;
    font-size: clamp(15px, 4vw, 20px);
    line-height: 1.65;
  }

  .fc-page .hero__progress {
    width: 150px;
    height: 5px;
    margin-top: 22px;
  }

  .fc-page .hero__visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 680px;
    height: auto;
  }

  /* Show the card part of the scene (x 600–1450) and move the pills below it. */
  .fc-page .hero__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 850 / 680;
  }

  .fc-page .hero__stage-inner {
    right: auto;
    width: calc(1072 / 850 * 100%);
  }

  .fc-page .hero__connectors,
.fc-page .hero__blob--wide {
    display: none;
  }

  .fc-page .hero__blob--narrow {
    display: inline;
  }

  /* Pin the badge's right edge inside the crop; it grows leftwards with its min font size. */
  .fc-page .hero__badge {
    left: auto;
    right: calc(242 * var(--su));
    width: auto;
    height: auto;
    gap: max(8px, calc(17 * var(--su)));
    padding: max(8px, calc(14 * var(--su))) max(12px, calc(20 * var(--su)))
      max(8px, calc(14 * var(--su))) max(8px, calc(18 * var(--su)));
    border-radius: max(10px, calc(16 * var(--su)));
  }

  .fc-page .hero__badge-coin {
    width: max(30px, calc(58 * var(--su)));
    height: max(30px, calc(58 * var(--su)));
  }

  .fc-page .hero__badge-text {
    font-size: max(12px, calc(19.5 * var(--su)));
    line-height: 1.3;
  }

  .fc-page .hero__benefits {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .fc-page .hero__benefit {
    width: auto;
    height: 50px;
    gap: 14px;
    padding: 3px 16px 3px 3px;
    font-size: 15px;
  }

  .fc-page .hero__benefit-icon {
    width: 44px;
    height: 44px;
  }

  .fc-page .hero__benefit-icon svg {
    width: 20px;
    height: 20px;
  }

  .fc-page .hero-nav {
    position: static;
    width: 100%;
    max-width: 440px;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 8px;
  }

  .fc-page .hero-nav__link {
    height: auto;
    min-height: 70px;
    gap: 12px;
    padding: 8px 10px 8px 7px;
    border-width: 2px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  }

  .fc-page .hero-nav__link:hover {
    transform: translateY(-2px);
  }

  .fc-page .hero-nav__link.is-active {
    box-shadow:
      0 0 8px rgba(52, 230, 107, 0.85),
      0 0 22px rgba(52, 230, 107, 0.45),
      0 10px 22px rgba(0, 0, 0, 0.2);
  }

  .fc-page .hero-nav__icon {
    width: 50px;
    height: 50px;
  }

  .fc-page .hero-nav__icon svg {
    width: 26px;
    height: 26px;
  }

  .fc-page .hero-nav__title {
    font-size: 15.5px;
  }

  .fc-page .hero-nav__text {
    margin-top: 4px;
    font-size: 12.5px;
    white-space: normal;
  }

  .fc-page .hero-nav__arrow {
    width: 34px;
    height: 34px;
  }

  .fc-page .hero-nav__arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .fc-page .hero-nav__link {
    min-height: 66px;
    gap: 10px;
    padding: 7px 9px 7px 6px;
  }

  .fc-page .hero-nav__icon {
    width: 46px;
    height: 46px;
  }

  .fc-page .hero-nav__icon svg {
    width: 24px;
    height: 24px;
  }

  .fc-page .hero-nav__title {
    font-size: 15px;
  }

  .fc-page .hero-nav__text {
    font-size: 12px;
  }

  .fc-page .hero-nav__arrow {
    width: 32px;
    height: 32px;
  }
}

@keyframes hero-nav-in {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-slide {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-page .hero__content,
.fc-page .hero__stage-inner,
.fc-page .hero__benefit,
.fc-page .hero-nav__link {
    animation: none;
  }

  .fc-page .hero-nav__link,
.fc-page .hero-nav__arrow {
    transition: none;
  }
}


/* ---------- Feed Card Info Section ---------- */
.fc-page .info {
  /* Dark charcoal section: light text on the background, white cards keep dark text. */
  --info-bg: #414447;
  --info-heading: #ffffff;
  --info-body: #dde0e5;
  --info-soft: #c4c8cf;
  --info-accent: #8cc0ff;
  --card-ink: #0a1430;
  --card-muted: #4b5466;
  --info-border: #e3e8f1;

  padding: clamp(40px, 4.5vw, 64px) 0 clamp(44px, 5vw, 72px);
  background: var(--info-bg);
  color: var(--info-heading);
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
}

.fc-page .info__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.fc-page .info__panel:not([hidden]) {
  animation: info-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fc-page .info__panel:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 12px;
  border-radius: 12px;
}

/* ---------- Shared headings ---------- */

.fc-page .info__eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: clamp(12px, 0.95vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--info-accent);
}

.fc-page .info__heading {
  margin: 0;
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--info-heading);
}

.fc-page .info__accent {
  background: linear-gradient(90deg, #6aa8ff, #a6d0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fc-page .info__header {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.fc-page .info__subtitle {
  margin: 10px auto 0;
  max-width: 60em;
  font-size: clamp(14px, 1vw, 15.5px);
  line-height: 1.6;
  color: var(--info-soft);
}

/* ---------- Overview ---------- */

.fc-page .info__panel--what-is-feed-card .info__heading {
  font-size: clamp(30px, 3.4vw, 50px);
}

.fc-page .overview__lead {
  max-width: 34em;
  margin: 14px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.5;
  color: var(--info-body);
}

.fc-page .overview__lead strong {
  font-weight: 800;
  color: var(--info-accent);
}

.fc-page .overview__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: clamp(28px, 3.2vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.fc-page .overview__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 5.5vw, 84px);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  border-radius: 50%;
}

.fc-page .overview__icon svg {
  width: 48%;
  height: 48%;
}

.fc-page .overview__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(15.5px, 1.25vw, 18px);
  letter-spacing: -0.01em;
}

.fc-page .overview__text {
  max-width: 14em;
  margin: 6px auto 0;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  line-height: 1.45;
  color: var(--info-soft);
}

/* ---------- Card grid (Benefits + Beneficiaries) ---------- */

.fc-page .info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: clamp(24px, 2.6vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.fc-page .info-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.fc-page .info-card {
  padding: 18px 18px 20px;
  border: 1px solid var(--info-border);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 10px 24px -14px rgba(16, 24, 40, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.fc-page .info-card:hover {
  transform: translateY(-3px);
  border-color: #cddbf5;
  box-shadow: 0 18px 34px -18px rgba(21, 87, 214, 0.28);
}

.fc-page .info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.fc-page .info-card__icon svg {
  width: 26px;
  height: 26px;
}

.fc-page .info-card__title {
  margin: 0;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--card-ink);
}

.fc-page .info-card__text {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--card-muted);
}

/* Pastel tiles behind the icons */
.fc-page .tone-blue {
  background: #dde9fd;
}

.fc-page .tone-orange {
  background: #feeddb;
}

.fc-page .tone-green {
  background: #e3f7e8;
}

.fc-page .tone-purple {
  background: #ece4fd;
}

.fc-page .tone-red {
  background: #ffe5e9;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .fc-page .info-grid,
.fc-page .info-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .fc-page .overview__features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 640px) {
  .fc-page .info-grid,
.fc-page .info-grid--three {
    grid-template-columns: 1fr;
  }

  .fc-page .overview__features {
    gap: 32px 16px;
  }
}

@keyframes info-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-page .info__panel:not([hidden]) {
    animation: none;
  }

  .fc-page .info-card {
    transition: none;
  }
}


/* ---------- FAQ Section ---------- */
.fc-page .faq {
  --faq-bg: #fcf4ee;
  --faq-panel: #fbebe0;
  --faq-ink: #04251c;
  --faq-text: #1d1d1f;
  --faq-muted: #6b6560;
  --faq-brown: #8f2f20;
  --faq-chip: #fee1cb;

  position: relative;
  overflow: hidden;
  padding: clamp(48px, 5.5vw, 80px) 0 clamp(56px, 6vw, 88px);
  background: var(--faq-bg);
  color: var(--faq-text);
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
}

/* Soft background arcs + a dot grid, as in the mockup */
.fc-page .faq::before {
  content: '';
  position: absolute;
  left: -420px;
  top: 38%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: rgba(250, 224, 206, 0.45);
  pointer-events: none;
}

.fc-page .faq::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 6%;
  width: 168px;
  height: 48px;
  background-image: radial-gradient(#f5d3bf 2.2px, transparent 2.8px);
  background-size: 24px 24px;
  pointer-events: none;
}

.fc-page .faq__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.fc-page .faq__panel {
  display: grid;
  grid-template-columns: minmax(290px, 330px) 1fr;
  border-radius: 28px;
  background: linear-gradient(135deg, #fcece1, var(--faq-panel) 55%, #fce6d8);
  box-shadow:
    0 2px 6px rgba(198, 120, 76, 0.06),
    0 30px 60px -36px rgba(198, 120, 76, 0.35);
}

/* ---------- Left card ---------- */

.fc-page .faq__intro {
  display: flex;
  flex-direction: column;
  padding: 34px 24px 24px;
  border-radius: 28px;
  background: linear-gradient(170deg, #fde6d6, #fbe1cf);
  box-shadow: 0 18px 40px -28px rgba(198, 120, 76, 0.45);
}

.fc-page .faq__tag {
  align-self: flex-start;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ffd3b6;
  color: #2a1d14;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fc-page .faq__intro-text {
  display: flex;
  flex-direction: column;
}

.fc-page .faq__title {
  margin: 20px 0 6px;
  font-weight: 800;
  font-size: clamp(40px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--faq-ink);
}

.fc-page .faq__subtitle {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--faq-muted);
}

.fc-page .faq__tools {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.fc-page .faq__search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
  color: #2a2a2a;
  box-shadow: 0 6px 16px -10px rgba(198, 120, 76, 0.4);
}

.fc-page .faq__search svg {
  flex: none;
  width: 19px;
  height: 19px;
}

.fc-page .faq__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--faq-text);
  font: inherit;
  font-size: 15px;
}

.fc-page .faq__search input::placeholder {
  color: #8d8782;
}

.fc-page .faq__search:focus-within {
  box-shadow: 0 0 0 2px #f0a477;
}

.fc-page .faq__expand {
  flex: none;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #fde2d6;
  color: var(--faq-brown);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(198, 120, 76, 0.45);
  transition: background-color 0.2s ease;
}

.fc-page .faq__expand:hover {
  background: #fcd4c2;
}

.fc-page .faq__expand:focus-visible,
.fc-page .faq-item__toggle:focus-visible {
  outline: 3px solid #f0a477;
  outline-offset: 2px;
}

.fc-page .faq__expand:disabled {
  opacity: 0.5;
  cursor: default;
}

.fc-page .faq__art {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 28px 0 0 -6px;
}

/* ---------- Question list ---------- */

/* The left card sets the panel height; the question list fills the right side and scrolls. */
.fc-page .faq__body {
  position: relative;
  min-height: 420px;
}

.fc-page .faq__scroll {
  position: absolute;
  inset: 24px 12px 24px 24px;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: #eeb08a rgba(255, 255, 255, 0.5);
  /* fade the bottom edge so it's clear there are more questions below */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent);
}

.fc-page .faq__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.fc-page .faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 36px;
}

.fc-page .faq-item {
  border-radius: 14px;
  background: rgba(255, 249, 245, 0.92);
  box-shadow: 0 8px 18px -12px rgba(198, 120, 76, 0.4);
  transition: box-shadow 0.25s ease;
}

.fc-page .faq-item.is-open {
  box-shadow: 0 14px 28px -16px rgba(198, 120, 76, 0.55);
}

.fc-page .faq-item__heading {
  margin: 0;
}

.fc-page .faq-item__toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  padding: 10px 18px 10px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--faq-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fc-page .faq-item__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--faq-chip);
  color: var(--faq-brown);
  font-weight: 800;
  font-size: 15px;
}

.fc-page .faq-item__q {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.fc-page .faq-item__chev {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #2a2a2a;
  transition: transform 0.3s ease;
}

.fc-page .faq-item__chev svg {
  width: 20px;
  height: 20px;
}

.fc-page .faq-item.is-open .faq-item__chev {
  transform: rotate(180deg);
}

/* Smooth open/close without measuring heights */
.fc-page .faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.fc-page .faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.fc-page .faq-item__answer-inner {
  overflow: hidden;
}

.fc-page .faq-item__answer p {
  margin: 0;
  padding: 0 20px 16px 64px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--faq-muted);
}

.fc-page .faq__empty {
  margin: 0;
  padding: 40px 20px;
  border-radius: 14px;
  background: rgba(255, 249, 245, 0.92);
  text-align: center;
  color: var(--faq-muted);
  font-size: 15px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .fc-page .faq__panel {
    grid-template-columns: 1fr;
  }

  .fc-page .faq__intro {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .fc-page .faq__intro-text {
    flex: 1;
  }

  .fc-page .faq__art {
    width: 42%;
    max-width: 260px;
    margin: 0;
  }

  /* Stacked: no left card to size against, so give the list its own scroll height. */
  .fc-page .faq__body {
    min-height: 0;
  }

  .fc-page .faq__scroll {
    position: static;
    max-height: min(560px, 70vh);
    margin: 20px 12px 20px 20px;
  }
}

@media (max-width: 640px) {
  .fc-page .faq__panel {
    border-radius: 22px;
  }

  .fc-page .faq__intro {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px 8px;
    border-radius: 22px;
  }

  .fc-page .faq__art {
    width: 70%;
    max-width: 240px;
    margin: 16px auto 0;
  }

  .fc-page .faq__scroll {
    margin: 14px 6px 16px 12px;
    padding-right: 8px;
  }

  .fc-page .faq__tools {
    flex-wrap: wrap;
  }

  .fc-page .faq-item__toggle {
    gap: 12px;
    padding-right: 14px;
  }

  .fc-page .faq-item__q {
    font-size: 15px;
  }

  .fc-page .faq-item__answer p {
    padding: 0 16px 14px 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-page .faq-item__answer,
.fc-page .faq-item__chev,
.fc-page .faq-item {
    transition: none;
  }
}



/* ==========================================================================
   Comprehensive Responsiveness Enhancements (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Universal container and media safety */
.fc-page img,
.fc-page svg {
  max-width: 100%;
}

.fc-page main,
.fc-page section,
.fc-page header {
  width: 100%;
  overflow-x: hidden;
}

/* Fallback for --hu and --su if container queries aren't active */
.fc-page .hero {
  --hu: min(calc(100vw / 1672), 1.15px);
}
@supports (container-type: inline-size) {
  .fc-page .hero {
    --hu: calc(100cqw / 1672);
  }
}

.fc-page .hero__visual,
.fc-page .hero__stage-inner {
  --su: min(calc(100vw / 1072), 1.15px);
}
@supports (container-type: inline-size) {
  .fc-page .hero__visual,
.fc-page .hero__stage-inner {
    --su: calc(100cqw / 1072);
  }
}

/* Tablet & Mobile Breakpoints: 1024px, 768px, 640px, 480px, 360px */

@media (max-width: 1199px) {
  .fc-page .hero {
    padding: clamp(36px, 6vw, 56px) clamp(16px, 4vw, 24px) clamp(32px, 5vw, 48px);
    gap: clamp(20px, 3vw, 28px);
  }

  .fc-page .hero__stage-inner {
    --su: calc(100cqw / 1072);
  }

  .fc-page .hero__benefit {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .fc-page .hero__content {
    max-width: 100%;
  }

  .fc-page .hero__visual {
    max-width: 100%;
  }

  .fc-page .hero__benefits {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 8px;
  }

  .fc-page .hero__benefit {
    font-size: 14px;
    height: 48px;
    padding: 3px 12px 3px 3px;
  }

  .fc-page .hero__benefit-icon {
    width: 42px;
    height: 42px;
  }

  .fc-page .hero__benefit-icon svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 480px) {
  .fc-page .hero {
    padding: 32px 16px 28px;
    gap: 20px;
  }

  .fc-page .hero__title {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.05;
  }

  .fc-page .hero__tagline {
    font-size: clamp(16px, 4.6vw, 20px);
    margin-top: 10px;
  }

  .fc-page .hero__text {
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.55;
    margin-top: 10px;
  }

  .fc-page .hero__progress {
    width: 120px;
    height: 4px;
    margin-top: 16px;
  }

  .fc-page .hero__benefits {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .fc-page .hero__benefit {
    width: 100%;
    height: 46px;
    font-size: 13.5px;
    padding: 3px 14px 3px 3px;
  }

  .fc-page .hero__benefit-icon {
    width: 40px;
    height: 40px;
  }

  .fc-page .hero__benefit-icon svg {
    width: 18px;
    height: 18px;
  }

  .fc-page .hero-nav {
    width: 100%;
    max-width: 100%;
    gap: 10px;
    margin-top: 6px;
  }

  .fc-page .hero-nav__link {
    min-height: 62px;
    gap: 10px;
    padding: 6px 10px 6px 6px;
  }

  .fc-page .hero-nav__icon {
    width: 44px;
    height: 44px;
  }

  .fc-page .hero-nav__icon svg {
    width: 22px;
    height: 22px;
  }

  .fc-page .hero-nav__title {
    font-size: 14px;
    line-height: 1.25;
  }

  .fc-page .hero-nav__text {
    font-size: 11.5px;
    margin-top: 2px;
  }

  .fc-page .hero-nav__arrow {
    width: 30px;
    height: 30px;
  }

  .fc-page .hero-nav__arrow svg {
    width: 14px;
    height: 14px;
  }

  /* Info Section Mobile */
  .fc-page .info {
    padding: 36px 0 44px;
  }

  .fc-page .info__inner {
    padding: 0 16px;
  }

  .fc-page .info__eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
  }

  .fc-page .info__heading {
    font-size: clamp(24px, 7vw, 32px);
  }

  .fc-page .overview__lead {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
  }

  .fc-page .overview__features {
    gap: 22px 10px;
    margin-top: 24px;
  }

  .fc-page .overview__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
  }

  .fc-page .overview__title {
    font-size: 15px;
  }

  .fc-page .overview__text {
    font-size: 12.5px;
  }

  .fc-page .info-grid,
.fc-page .info-grid--three {
    gap: 12px;
    margin-top: 20px;
  }

  .fc-page .info-card {
    padding: 15px;
  }

  .fc-page .info-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .fc-page .info-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .fc-page .info-card__title {
    font-size: 15px;
  }

  .fc-page .info-card__text {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
  }

  /* FAQ Section Mobile */
  .fc-page .faq {
    padding: 38px 0 46px;
  }

  .fc-page .faq__inner {
    padding: 0 14px;
  }

  .fc-page .faq__panel {
    border-radius: 18px;
  }

  .fc-page .faq__intro {
    padding: 22px 16px 12px;
    border-radius: 18px;
  }

  .fc-page .faq__tag {
    font-size: 11.5px;
    padding: 7px 13px;
  }

  .fc-page .faq__title {
    font-size: 34px;
    margin: 14px 0 4px;
  }

  .fc-page .faq__subtitle {
    font-size: 14px;
  }

  .fc-page .faq__tools {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }

  .fc-page .faq__search {
    width: 100%;
    height: 44px;
    border-radius: 12px;
  }

  .fc-page .faq__search input {
    font-size: 14px;
  }

  .fc-page .faq__expand {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
  }

  .fc-page .faq__art {
    width: 80%;
    max-width: 200px;
    margin: 12px auto 0;
  }

  .fc-page .faq__scroll {
    margin: 12px 4px 14px 8px;
    padding-right: 4px;
  }

  .fc-page .faq__list {
    gap: 10px;
    padding: 2px 0 20px;
  }

  .fc-page .faq-item {
    border-radius: 12px;
  }

  .fc-page .faq-item__toggle {
    min-height: 52px;
    padding: 8px 12px 8px 8px;
    gap: 10px;
  }

  .fc-page .faq-item__num {
    width: 32px;
    height: 32px;
    font-size: 13.5px;
  }

  .fc-page .faq-item__q {
    font-size: 14px;
    line-height: 1.3;
  }

  .fc-page .faq-item__chev {
    width: 18px;
    height: 18px;
  }

  .fc-page .faq-item__chev svg {
    width: 18px;
    height: 18px;
  }

  .fc-page .faq-item__answer p {
    padding: 0 14px 12px 14px;
    font-size: 13.5px;
    line-height: 1.5;
  }
}

/* Very narrow phones (320px - 360px) */
@media (max-width: 360px) {
  .fc-page .hero {
    padding: 28px 12px 24px;
  }

  .fc-page .hero__title {
    font-size: 32px;
  }

  .fc-page .hero__tagline {
    font-size: 15px;
  }

  .fc-page .hero__text {
    font-size: 13.5px;
  }

  .fc-page .hero-nav__link {
    min-height: 58px;
    gap: 8px;
    padding: 5px 8px 5px 5px;
  }

  .fc-page .hero-nav__icon {
    width: 38px;
    height: 38px;
  }

  .fc-page .hero-nav__icon svg {
    width: 20px;
    height: 20px;
  }

  .fc-page .hero-nav__title {
    font-size: 13px;
  }

  .fc-page .hero-nav__text {
    font-size: 11px;
  }

  .fc-page .overview__features {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fc-page .faq__intro {
    padding: 18px 12px 10px;
  }

  .fc-page .faq__title {
    font-size: 30px;
  }
}


/* ---------- On the FEED WORLD site (not in the design) ----------
   The site's navbar is fixed over the top of the page: in-page links stop below it, and on narrow
   screens - where the hero's own top space is smaller than the navbar - the hero starts below it. */
.fc-page #feed-card-info,
.fc-page #faqs {
  scroll-margin-top: 96px;
}

@media (max-width: 1024px) {
  .fc-page .hero__content {
    margin-top: 88px;
  }
}

/* The introduction is rich text from the admin: its paragraphs keep the design's single-block spacing. */
.fc-page .overview__lead p {
  margin: 0;
}
.fc-page .overview__lead p + p {
  margin-top: 0.6em;
}
