/* Benchmark round (Nov 2026): new content blocks for research and Cyberpedia pages. Copy DRAFT. */

/* Spacing and type tweaks from the benchmark */
.prose { font-size: 17.5px; line-height: 1.7; }
.prose h3 + p, .prose h3 + ul, .prose h3 + ol { margin-top: 16px; }
.prose h3 { margin-bottom: 16px; }
.prose figure + p { margin-top: 32px; }

/* Hero: analyst byline, updated line, single report button */
.ahero__an { font-weight: 400; opacity: .8; }
.ahero__cta { width: fit-content; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ahero__cta .btn svg { width: 18px; height: 18px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ahero__cta small { font-size: 14px; color: rgba(255,255,255,.7); }
.chero .ahero__cta small { color: var(--muted); }

/* What changed in this version (advisories) */
.chg { margin: 0 0 48px; padding: 18px 22px; border-radius: 16px; background: #F6F1FD; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.chg b { color: var(--ink); font-weight: 600; }
.chg a { color: var(--violet); font-weight: 600; white-space: nowrap; }

/* Table helpers */
.prose .attck { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--violet); white-space: nowrap; }
.prose .attck span { display: block; font-family: var(--font-body, Inter), Arial, sans-serif; font-size: 12.5px; color: var(--muted); white-space: normal; }
.dl { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 15px; color: var(--muted); }
.dl a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid #D0D5DD; color: var(--ink); font-weight: 600; text-decoration: none; }
.dl a:hover { border-color: var(--violet); color: var(--violet); }
.dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The takeaway line */
.prose .takeaway { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #F6F1FD; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.prose .takeaway b { color: var(--violet); font-weight: 700; margin-right: 6px; }

/* Limits of this analysis */
.limits { margin-top: 32px; padding: 22px 24px; border-radius: 16px; background: #F9FAFB; }
.prose .limits__k { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.limits ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; line-height: 1.6; }

/* How CYFIRMA covers this */
.covers { margin-top: 72px; padding: 32px; border-radius: 20px; background: var(--warm, #F9F4F0); }
.prose .covers h2 { margin-top: 0; margin-bottom: 10px; }
.prose .covers__lead { margin: 0 0 20px; }
.covers__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(16,24,40,.1); }
.covers__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid rgba(16,24,40,.1); }
.prose .covers__list p { margin: 0; font-size: 16px; line-height: 1.55; }
.prose .covers__f { color: var(--ink); font-weight: 500; }
.covers__p { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.covers__go { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* About CYFIRMA Research */
.aboutr { margin-top: 64px; padding-top: 24px; border-top: 1px solid #E4E7EC; }
.prose .aboutr__k { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.prose .aboutr p + p { margin-top: 6px; }
.prose .aboutr p:not(.aboutr__k) { font-size: 16px; color: var(--ink-2); }
.aboutr a { color: var(--violet); font-weight: 600; }

/* FAQ on research pages */
.rfaq { margin-top: 72px; }

/* Previous / next in this series */
.snav { margin-bottom: 56px; }
.snav__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.snav__lbl { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.snav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.snav__a { display: grid; gap: 8px; padding: 22px 24px; border-radius: 18px; border: 1px solid #E4E7EC; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.snav__a:hover { border-color: #C9B3EE; }
.snav__a--next { text-align: right; }
.snav__k { font-size: 13px; font-weight: 600; color: var(--muted); }
.snav__t { font-family: var(--font-head); font-size: 18px; line-height: 1.4; font-weight: 500; }

/* Cyberpedia: steps, vs, approach, term navigation */
.hsteps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.hsteps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; padding: 16px 0; border-top: 1px solid #EEF1F6; }
.hsteps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--font-head); font-size: 20px; line-height: 1.3; color: var(--violet); }
.hsteps b { color: var(--ink); font-weight: 600; }
.hsteps span { font-size: 16.5px; }
.approach { margin-top: 72px; padding: 32px; border-radius: 20px; background: #F6F1FD; }
.prose .approach h2 { margin-top: 0; }
.approach ul { margin-top: 16px; padding-left: 20px; display: grid; gap: 8px; list-style: disc; }
.approach li::marker { color: var(--violet); }
.approach .covers__go { margin-top: 24px; }
.tnav { margin-top: 48px; }
.tnav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose .tnav__k { margin: 28px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #E4E7EC; font-size: 15px; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--violet); color: var(--violet); }

@media (max-width: 760px) {
  .covers, .approach { padding: 24px 20px; }
  .covers__list li, .snav__grid, .tnav__grid { grid-template-columns: minmax(0, 1fr); }
  .snav__a--next { text-align: left; }
  .snav__head { flex-direction: column; align-items: start; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .snav__a { transition: none; } }

.rv--fig { align-self: center; }
.rv--fig .chero__img { margin: 0; }

/* ===== Dark mode (html[data-theme="dark"]) ===== */
/* light surfaces (literal #F6F1FD / #F9FAFB / #fff tints as a card/row
   surface): swap to the shared dark card/inset surface. */
html[data-theme="dark"] .chg,
html[data-theme="dark"] .takeaway,
html[data-theme="dark"] .approach { background: #2A2340; }
html[data-theme="dark"] .limits,
html[data-theme="dark"] .covers { background: #161C2C; }
html[data-theme="dark"] .snav__a { background: #1D2939; border-color: rgba(255,255,255,.1); }

/* hairline borders drawn as literal light-grey */
html[data-theme="dark"] .covers__list,
html[data-theme="dark"] .covers__list li,
html[data-theme="dark"] .aboutr,
html[data-theme="dark"] .hsteps li { border-color: rgba(255,255,255,.1); }
html[data-theme="dark"] .dl a,
html[data-theme="dark"] .chips a { border-color: rgba(255,255,255,.2); }
