@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap");

/* Shared site polish: navigation, footer, card variants, and readable text widths. */
:root{
  --bg:#0b0f17;
  --panel:#121826;
  --panel-2:#0f1624;
  --border:#243042;
  --text:#eef2f7;
  --muted:#cbd5e1;
  --soft:#94a3b8;
  --accent:#fca5a5;
  --garnet:#7a0019;
  --blue:#60a5fa;
  --gold:#facc15;
  --purple:#a78bfa;
  --green:#86efac;
}

nav a.active{
  color:var(--accent);
  opacity:1;
  background:rgba(252,165,165,.1);
  border:1px solid rgba(252,165,165,.18);
  border-radius:999px;
  padding:.35rem .65rem;
}

p,
li{
  font-size:1rem;
  line-height:1.7;
}

.wrap > p{
  font-size:1.08rem;
  line-height:1.75;
  color:var(--text);
}

.card p,
.compare-card p,
.timeline-step p,
.spectrum p,
.spectrum-step p,
.stat p,
.note,
.ref-list li{
  font-size:.95rem;
  line-height:1.65;
}

.card h3,
.compare-card h3,
.timeline-step b{
  line-height:1.25;
}

.card,
.compare-card,
.timeline-step,
.stat,
.spectrum,
.decision-item,
.check-item,
.ref-details{
  box-shadow:0 18px 50px rgba(0,0,0,.14);
}

.stat:nth-of-type(4n+1),
.timeline-step:nth-of-type(4n+1),
.spectrum-step:nth-of-type(4n+1){
  background:linear-gradient(180deg,rgba(96,165,250,.12),rgba(18,24,38,1));
  border-color:rgba(96,165,250,.28);
}

.stat:nth-of-type(4n+2),
.timeline-step:nth-of-type(4n+2),
.spectrum-step:nth-of-type(4n+2){
  background:linear-gradient(180deg,rgba(250,204,21,.10),rgba(18,24,38,1));
  border-color:rgba(250,204,21,.26);
}

.stat:nth-of-type(4n+3),
.timeline-step:nth-of-type(4n+3),
.spectrum-step:nth-of-type(4n+3){
  background:linear-gradient(180deg,rgba(252,165,165,.12),rgba(18,24,38,1));
  border-color:rgba(252,165,165,.28);
}

.stat:nth-of-type(4n+4),
.timeline-step:nth-of-type(4n+4),
.spectrum-step:nth-of-type(4n+4){
  background:linear-gradient(180deg,rgba(167,139,250,.12),rgba(18,24,38,1));
  border-color:rgba(167,139,250,.28);
}

.card.accent-left,
.compare-card{
  border-left:4px solid var(--accent);
}

.definition-card{
  position:relative;
}

.definition-badge{
  display:inline-block;
  margin-bottom:.7rem;
  padding:.25rem .6rem;
  border-radius:999px;
  background:rgba(252,165,165,.12);
  color:var(--accent);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.source-card{
  border-top:3px solid rgba(252,165,165,.75);
}

.source-card:nth-of-type(4n+1){border-top-color:var(--blue)}
.source-card:nth-of-type(4n+2){border-top-color:var(--gold)}
.source-card:nth-of-type(4n+3){border-top-color:var(--accent)}
.source-card:nth-of-type(4n+4){border-top-color:var(--purple)}

.recommendation-grid{
  counter-reset:recommendation;
}

.recommendation-card{
  position:relative;
  padding-left:4.25rem;
}

.recommendation-card::before{
  counter-increment:recommendation;
  content:counter(recommendation);
  position:absolute;
  left:1.35rem;
  top:1.35rem;
  width:2rem;
  height:2rem;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--garnet);
  color:#fff;
  font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;
  font-weight:800;
}

.recommendation-card:nth-of-type(4n+1)::before{background:#2563eb}
.recommendation-card:nth-of-type(4n+2)::before{background:#ca8a04}
.recommendation-card:nth-of-type(4n+3)::before{background:#be123c}
.recommendation-card:nth-of-type(4n+4)::before{background:#7c3aed}

.tight-list{
  margin-top:.85rem;
  padding-left:1.15rem;
}

.tight-list li{
  margin-bottom:.35rem;
}

.mt-1{
  margin-top:1rem;
}

.evidence-card{
  column-count:2;
  column-gap:2.5rem;
}

.evidence-card .mt-1{
  margin-top:1rem;
}

.evidence-card p{
  break-inside:avoid;
}

.data-point{
  color:#fde68a;
  font-family:inherit;
  font-weight:500;
  white-space:nowrap;
}

.serif-accent{
  font-family:"Playfair Display",Georgia,serif;
  font-style:italic;
  font-weight:700;
  letter-spacing:-.03em;
}

.corner-accent{
  position:relative;
  overflow:hidden;
}

.corner-accent::after{
  content:"";
  position:absolute;
  right:0;
  bottom:0;
  width:34px;
  height:34px;
  border-top-left-radius:34px;
  background:linear-gradient(135deg,var(--accent),var(--garnet));
}

.feature-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);
  gap:1.5rem;
  align-items:stretch;
  margin-top:1rem;
  padding:1.5rem;
  border:1px solid rgba(252,165,165,.28);
  border-radius:26px;
  background:linear-gradient(135deg,rgba(122,0,25,.28),rgba(18,24,38,.96));
  box-shadow:0 22px 70px rgba(0,0,0,.2);
}

.feature-panel.research-feature{
  grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);
  background:linear-gradient(135deg,rgba(37,99,235,.2),rgba(18,24,38,.96));
  border-color:rgba(96,165,250,.34);
}

.feature-panel.analysis-feature{
  grid-template-columns:repeat(2,minmax(0,1fr));
  background:linear-gradient(135deg,rgba(250,204,21,.12),rgba(122,0,25,.22),rgba(18,24,38,.96));
}

.feature-panel.conclusion-feature{
  grid-template-columns:1fr;
  text-align:center;
  background:linear-gradient(135deg,rgba(122,0,25,.35),rgba(167,139,250,.14),rgba(18,24,38,.96));
}

.feature-panel h3{
  font-size:clamp(1.45rem,3vw,2.35rem);
  line-height:1.12;
  margin-bottom:.85rem;
}

.feature-panel p{
  color:var(--muted);
}

.feature-side{
  background:rgba(8,12,20,.5);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:1.25rem;
}

.conclusion-feature .feature-side{
  max-width:820px;
  margin:auto;
}

.conclusion-feature .feature-side ul{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
  padding-left:0;
  list-style:none;
}

.conclusion-feature .feature-side li{
  padding:.85rem;
  border-radius:14px;
  background:rgba(255,255,255,.04);
}

.feature-side ul{
  padding-left:1.15rem;
}

.feature-side li{
  margin-bottom:.45rem;
}

.thesis-band{
  margin-top:2rem;
  padding:2rem;
  border-radius:24px;
  border:1px solid rgba(252,165,165,.35);
  background:linear-gradient(135deg,rgba(96,165,250,.16),rgba(122,0,25,.24));
  text-align:center;
}

.thesis-band p{
  max-width:900px;
  margin:auto;
  color:var(--text);
  font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;
  font-size:clamp(1.35rem,3vw,2.2rem);
  line-height:1.25;
  font-weight:700;
}

.image-feature{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
  gap:0;
  align-items:stretch;
  margin-top:1rem;
  border:1px solid var(--border);
  border-radius:26px;
  overflow:hidden;
  background:var(--panel);
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}

.image-feature img{
  width:100%;
  height:100%;
  max-height:540px;
  min-height:340px;
  object-fit:cover;
  margin:0;
  border-radius:0;
}

.image-feature-copy{
  align-self:center;
  justify-self:start;
  margin-left:-2rem;
  max-width:520px;
  padding:1.75rem;
  border-radius:22px;
  background:rgba(18,24,38,.94);
  border:1px solid rgba(252,165,165,.25);
  position:relative;
}

.image-feature-copy h3{
  font-size:clamp(1.6rem,3vw,2.4rem);
  margin-bottom:1rem;
}

@media(max-width:900px){
  .feature-panel,
  .feature-panel.research-feature,
  .feature-panel.analysis-feature{
    grid-template-columns:minmax(0,1fr) minmax(260px,.95fr);
    gap:1rem;
    padding:1.25rem;
  }

  .feature-panel h3{
    font-size:clamp(1.35rem,3.2vw,2rem);
  }

  .feature-side{
    padding:1rem;
  }
}

@media(max-width:560px){
  .recommendation-card{
    padding-left:1.5rem;
    padding-top:4rem;
  }

  .feature-panel,
  .image-feature{
    grid-template-columns:1fr;
  }

  .evidence-card{
    column-count:1;
  }

  .conclusion-feature .feature-side ul{
    grid-template-columns:1fr;
  }

  .image-feature-copy{
    margin-left:0;
    max-width:none;
    border-radius:0;
  }
}
