/* Pedersen Foundation — Women's Hormonal Health RFI */

:root {
  --teal:         #1B6B5E;
  --teal-dark:    #124840;
  --teal-light:   #eaf4f2;
  --teal-mid:     #cde8e3;
  --white:        #FFFFFF;
  --off-white:    #F8FAFA;
  --text:         #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-light:   #707070;
  --border:       #d8e8e5;
  --max-w:        860px;
  --max-w-wide:   1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', 'Georgia', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ─── Header ─── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--teal-mid);
  padding: 24px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header img {
  height: 60px;
  width: auto;
  display: block;
}

/* ─── Hero ─── */
.hero {
  background-image: url('../assets/images/pedersen-pattern-teal-wide.png');
  background-size: cover;
  background-position: center top;
  position: relative;
  padding: 90px 32px 80px;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 50, 44, 0.52);
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 7px 18px;
  margin-bottom: 28px;
  border-radius: 2px;
}

.hero h1 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--teal-dark);
  background: var(--white);
  padding: 16px 44px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn-hero:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

.hero-deadline {
  margin-top: 24px;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
}

/* ─── Section Base ─── */
.section {
  padding: 64px 32px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-inner-wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

.eyebrow {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section h2 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.2;
  color: var(--teal-dark);
  margin-bottom: 24px;
}

.section p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.section p:last-of-type { margin-bottom: 0; }

/* ─── Alternating bg ─── */
.bg-light   { background: var(--off-white); }
.bg-teal-lt { background: var(--teal-light); }
.bg-teal    { background: var(--teal); color: var(--white); }
.bg-dark    { background: var(--teal-dark); color: var(--white); }

.bg-teal h2,   .bg-dark h2   { color: var(--white); }
.bg-teal p,    .bg-dark p    { color: rgba(255,255,255,0.85); }
.bg-teal .eyebrow, .bg-dark .eyebrow { color: rgba(255,255,255,0.7); }

/* ─── Goal Cards ─── */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.goal-card {
  background: var(--white);
  border-radius: 4px;
  border-top: 3px solid var(--teal);
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(27,107,94,0.08);
}

.goal-card h3 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.goal-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* ─── Areas of Interest ─── */
.aoi-group {
  margin-top: 36px;
}

.aoi-group + .aoi-group {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.aoi-group h3 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.topic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.topic-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.topic-list li:last-child { border-bottom: none; }

.topic-name {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.4;
}

.topic-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mid);
}

/* ─── Who Should Submit ─── */
.eligibility-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.eligibility-list li {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--white);
  border: 1.5px solid var(--teal-mid);
  padding: 10px 20px;
  border-radius: 100px;
}

/* ─── Process Steps ─── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 200;
  color: var(--teal);
  line-height: 1;
  padding-top: 4px;
}

.step h3 {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  margin-bottom: 8px;
}

/* ─── Survey Link / CTA Inline ─── */
.survey-link-block {
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  padding: 16px 20px;
  margin-top: 12px;
  border-radius: 0 4px 4px 0;
}

.survey-link-block p {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-mid);
}

.survey-link-block .survey-url {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--teal);
  word-break: break-all;
}

.btn-submit {
  display: inline-block;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--teal);
  padding: 13px 32px;
  border-radius: 2px;
  margin-top: 14px;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* ─── FAQ ─── */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

details {
  border-bottom: 1px solid var(--border);
}

details:first-of-type { border-top: 1px solid var(--border); }

summary {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--teal-dark);
  padding: 18px 8px 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 200;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 4px 0 20px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
}

.faq-answer a {
  color: var(--teal);
  text-decoration: underline;
  word-break: break-all;
}

/* ─── Big CTA Band ─── */
.cta-band {
  padding: 72px 32px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(24px, 4vw, 38px);
  margin-bottom: 16px;
  color: var(--white);
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn-cta {
  display: inline-block;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--teal-dark);
  background: var(--white);
  padding: 18px 52px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.cta-url {
  display: block;
  margin-top: 18px;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  word-break: break-all;
}

/* ─── About Foundation ─── */
.focus-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.focus-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.focus-list li:last-child { border-bottom: none; }

.focus-list strong {
  color: var(--white);
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.value-tag {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 16px;
  border-radius: 100px;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--teal-dark);
  padding: 36px 32px;
  text-align: center;
}

.site-footer img {
  height: 36px;
  width: auto;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.site-footer p {
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

/* ─── Responsive ─── */
@media (max-width: 680px) {
  .section { padding: 48px 20px; }
  .hero    { padding: 70px 20px 60px; }
  .cta-band { padding: 56px 20px; }
  .site-header { padding: 18px 20px; }
  .site-header img { height: 44px; }

  .topic-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .goals-grid { grid-template-columns: 1fr; }
}
