/* ============================================================================
   Research
   The quiet, product-page look shared with Daily AI news: one neutral grey
   ground, white tiles, system type, one blue for actions, generous space.
   Presentation only; it restyles the classes styles.css already defines.
   ========================================================================== */

.research-page {
  --research-ink: #1d1d1f;
  --research-muted: #6e6e73;
  --research-soft: #86868b;
  --research-accent: #0071e3;
  --research-accent-hover: #0077ed;
  --research-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  background: #f5f5f7;
  color: var(--research-ink);
  font-family: var(--research-font);
}

.research-page .research-main {
  padding: clamp(112px, 12vw, 168px) 22px clamp(80px, 10vw, 140px);
}

.research-page .research-hero,
.research-page .research-papers {
  max-width: 980px;
}

/* ---------- hero ---------- */
.research-page .research-hero {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 88px);
  padding: 0;
  text-align: center;
}

.research-page .research-eyebrow {
  margin: 0 0 14px;
  color: var(--research-soft);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.research-page .research-hero h1 {
  margin: 0 0 22px;
  color: var(--research-ink);
  font-size: clamp(44px, 7.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.research-page .research-subtitle {
  max-width: 34em;
  margin: 0 auto;
  color: var(--research-muted);
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.research-page .research-eyebrow a,
.research-page .research-paper a:not(.btn-primary) {
  border-bottom: 0;
  color: var(--research-accent);
  text-decoration: none;
}

.research-page .research-eyebrow a:hover,
.research-page .research-eyebrow a:focus-visible,
.research-page .research-paper a:not(.btn-primary):hover,
.research-page .research-paper a:not(.btn-primary):focus-visible {
  text-decoration: underline;
}

/* ---------- papers: white tiles ---------- */
.research-page .research-papers {
  gap: 22px;
}

.research-page .research-paper {
  padding: clamp(32px, 5vw, 56px);
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Meta reads as one quiet grey line, not a row of coloured chips. */
.research-page .research-paper-meta {
  gap: 0;
  margin-bottom: 16px;
  color: var(--research-soft);
  font-size: 14px;
}

.research-page .research-paper-meta span {
  padding: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.research-page .research-paper-meta span + span::before {
  content: "\00B7";
  margin: 0 8px;
}

.research-page .research-paper h2 {
  margin: 0 0 20px;
  color: var(--research-ink);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.research-page .research-paper p {
  margin: 0 0 16px;
  color: var(--research-muted);
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.research-page .research-paper-actions {
  gap: 14px 24px;
  align-items: center;
  margin-top: 28px;
}

/* The paper itself is the filled pill; the presentation is a text link. */
.research-page .research-paper-button {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 980px;
  background: var(--research-accent);
  background-image: none;
  color: #ffffff;
  font-family: var(--research-font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease;
}

.research-page .research-paper-button::before,
.research-page .research-paper-button::after {
  content: none;
}

.research-page .research-paper-button:hover,
.research-page .research-paper-button:focus-visible {
  background: var(--research-accent-hover);
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

.research-page .research-paper-button + .research-paper-button {
  padding: 0;
  background: none;
  color: var(--research-accent);
}

.research-page .research-paper-button + .research-paper-button::after {
  content: "\2197";
  margin-left: 4px;
  font-size: 0.9em;
}

.research-page .research-paper-button + .research-paper-button:hover,
.research-page .research-paper-button + .research-paper-button:focus-visible {
  background: none;
  color: var(--research-accent);
  text-decoration: underline;
}

.research-page .research-paper-button:focus-visible,
.research-page .research-eyebrow a:focus-visible,
.research-page .research-paper a:focus-visible {
  outline: 2px solid var(--research-accent);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .research-page .research-main {
    padding: 104px 16px 64px;
  }

  .research-page .research-paper {
    padding: 28px 22px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-page .research-paper-button {
    transition: none;
  }
}
