/* ── Hero ── */

.hero {
  background: var(--hero-both);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-both-veil);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7eb3ff;
  background: rgba(100, 160, 255, 0.12);
  border: 1px solid rgba(100, 160, 255, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  margin: 0 auto 0.75rem;
  line-height: 1.75;
}

.hero .hero-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* ── Papers ── */

.papers {
  padding: 7rem 2rem 6rem;
  background: linear-gradient(160deg, #f0f5ff 0%, #fafbff 60%, #f5f0ff 100%);
  position: relative;
  overflow: hidden;
}

.papers::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(0, 87, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 85%, rgba(120, 0, 255, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.papers-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111111;
  background: rgba(17, 17, 17, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.18);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.papers h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 3rem;
}

.papers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* ── Paper Card ── */

.paper-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 2.25rem 2rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.paper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0057ff, #0099cc);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.paper-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: rgba(0, 87, 255, 0.2);
}

.paper-card:hover::before {
  opacity: 1;
}

.paper-card-top {
  margin-bottom: 1.25rem;
}

.paper-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0057ff;
  background: rgba(0, 87, 255, 0.08);
  border: 1px solid rgba(0, 87, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.paper-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.paper-card p {
  font-size: 0.975rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.paper-topics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.paper-topics li {
  font-size: 0.78rem;
  font-weight: 500;
  color: #555;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.paper-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0057ff;
  letter-spacing: 0.01em;
}

.paper-card:hover .paper-cta {
  text-decoration: underline;
}

/* ── Guides & Articles ── */

.guides {
  padding: 6rem 2rem;
  background: linear-gradient(160deg, #fafbff 0%, #ffffff 60%, #f8f5ff 100%);
  position: relative;
  overflow: hidden;
}

.guides::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 20%, rgba(0, 87, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 8% 80%, rgba(120, 0, 255, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

.guides-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.guides h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 1rem;
}

.guides-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.guides-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.guide-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 3px solid #0057ff;
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-row:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.guide-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0057ff;
  background: rgba(0, 87, 255, 0.08);
  border: 1px solid rgba(0, 87, 255, 0.2);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.guide-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.guide-body p {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.7;
}

.guide-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0057ff;
  white-space: nowrap;
}

.guides-all {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0057ff;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 87, 255, 0.25);
  padding-bottom: 0.15rem;
  transition: border-color 0.15s ease;
}

.guides-all:hover {
  border-color: #0057ff;
}

@media (max-width: 700px) {
  .guide-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .guide-tag {
    justify-self: start;
  }

  .guides h2 {
    font-size: 1.75rem;
  }
}

/* ── FAQ ── */

.wp-faq {
  padding: 7rem 2rem 6rem;
  background: linear-gradient(160deg, #f8faff 0%, #ffffff 50%, #faf8ff 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.wp-faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(0, 87, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 90%, rgba(120, 0, 255, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

.wp-faq-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wp-faq h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 3rem;
  color: #111111;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item summary {
  list-style: none;
  padding: 1.4rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #0057ff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.975rem;
  color: #444;
  line-height: 1.75;
  padding: 0 2rem 1.5rem 0;
  max-width: 620px;
}

.faq-answer em {
  font-style: italic;
  color: #333;
}

/* ── Responsive ── */

@media (max-width: 720px) {
  .hero h1 {
    font-size: 2.1rem;
  }

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

  .papers h2,
  .wp-faq h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}

/* ── Audience bands: Ask blue, Answer black ────────────────────────── */
/* Mirrors the homepage .side-card--ask / .side-card--answer motif.     */

.audience {
  padding: 6rem 2rem;
}

.audience h2 {
  margin-bottom: 1rem;
}

.audience-intro {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.subsection-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111111;
  margin: 4rem 0 1rem;
}

/* One card should fill the row, two should split it. */
.papers-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Ask ─ blue */

.audience--ask {
  background: linear-gradient(160deg, #eef2ff 0%, #f7f9ff 55%, #ffffff 100%);
}

.audience--ask::before {
  background:
    radial-gradient(ellipse at 85% 12%, rgba(62, 104, 238, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 8% 88%, rgba(62, 104, 238, 0.07) 0%, transparent 48%);
}

.section-eyebrow--ask {
  color: #ffffff;
  background: var(--ask-blue);
  border-color: var(--ask-blue-deep);
}

.audience--ask .paper-card {
  border-left: 3px solid var(--ask-blue);
}

.audience--ask .paper-card::before {
  background: linear-gradient(90deg, var(--ask-blue), var(--ask-blue-deep));
}

.audience--ask .paper-card:hover {
  border-color: rgba(62, 104, 238, 0.35);
}

.audience--ask .paper-tag {
  color: var(--ask-blue-deep);
  background: rgba(62, 104, 238, 0.09);
  border-color: rgba(62, 104, 238, 0.28);
}

.audience--ask .paper-cta {
  color: var(--ask-blue-deep);
}

/* Answer ─ black */

.audience--answer {
  background: var(--answer-black);
}

.audience--answer::before {
  background:
    radial-gradient(ellipse at 85% 12%, rgba(62, 104, 238, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 8% 88%, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
}

.section-eyebrow--answer {
  color: var(--answer-black);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
}

.audience--answer h2,
.audience--answer .subsection-label {
  color: #ffffff;
}

.audience--answer .audience-intro,
.audience--answer .guides-intro {
  color: rgba(255, 255, 255, 0.80);
}

.audience--answer .paper-card,
.audience--answer .guide-row {
  border-color: rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--answer-black);
}

.audience--answer .paper-card::before {
  background: linear-gradient(90deg, var(--answer-black), #4a4a4a);
}

.audience--answer .paper-card:hover,
.audience--answer .guide-row:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.22);
}

.audience--answer .guides-all {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.audience--answer .guides-all:hover {
  border-color: #ffffff;
}

.audience--answer .paper-tag,
.audience--answer .guide-tag {
  color: var(--answer-black);
  background: rgba(13, 13, 13, 0.06);
  border-color: rgba(13, 13, 13, 0.22);
}

.audience--answer .paper-cta,
.audience--answer .guide-cta {
  color: var(--answer-black);
}

.audience--answer .guide-row {
  border-left-color: var(--answer-black);
}
