/* recovery — performance-training dark: Archivo Black display + Atkinson Hyperlegible, charcoal & volt. */
:root {
  --rec-ink: #eef2ec;
  --rec-muted: #b0bcb2;
  --rec-paper: #101511;
  --rec-panel: #171d18;
  --rec-card: #1d241e;
  --rec-line: #2b352d;
  --rec-accent: #b8e04a;
  --rec-accent-dark: #8fc22e;
  --rec-dark: #0b0f0c;
  --rec-max: 1120px;
  --rec-reading: 760px;
  --rec-display: "Archivo Black", "Arial Black", sans-serif;
  --rec-body: "Atkinson Hyperlegible", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--rec-paper); background-image: linear-gradient(160deg, #131a14 0%, #101511 45%, #0e130f 100%); color: var(--rec-ink); font-family: var(--rec-body); font-size: 16px; line-height: 1.68; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, video, table { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--rec-accent); text-underline-offset: 3px; }
a:hover { color: #d3f070; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1, h2, h3, h4 { margin: 0 0 .7rem; color: var(--rec-ink); font-family: var(--rec-display); font-weight: 400; line-height: 1.08; letter-spacing: .004em; text-transform: uppercase; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
h3 { font-family: var(--rec-body); font-weight: 700; font-size: 1.14rem; text-transform: none; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--rec-accent); outline-offset: 3px; }

.rec-shell { width: min(calc(100% - 40px), var(--rec-max)); margin-inline: auto; min-width: 0; }
.rec-reading-width { width: min(calc(100% - 40px), var(--rec-reading)); margin-inline: auto; min-width: 0; }
.rec-skip { position: fixed; z-index: 20; top: 10px; left: 12px; padding: 9px 13px; background: var(--rec-accent); color: #101511; font-weight: 700; transform: translateY(-160%); }
.rec-skip:focus { transform: none; }
.rec-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* header */
.rec-header { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid var(--rec-line); background: rgba(16,21,17,.92); backdrop-filter: blur(10px); }
.rec-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.rec-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--rec-ink); text-decoration: none; min-width: 0; }
.rec-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 8px; background: var(--rec-accent); color: #101511; font-family: var(--rec-display); }
.rec-brand strong, .rec-brand small { display: block; }
.rec-brand strong { font-family: var(--rec-display); font-weight: 400; font-size: .98rem; text-transform: uppercase; letter-spacing: .02em; }
.rec-brand small { color: var(--rec-muted); font-size: .76rem; }
.rec-nav { display: flex; align-items: center; gap: 6px; }
.rec-nav a { padding: 9px 14px; border-radius: 6px; color: var(--rec-ink); font-size: .92rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: background .15s ease, color .15s ease; }
.rec-nav a:hover { background: var(--rec-card); color: var(--rec-accent); }

/* hero */
.rec-hero { position: relative; padding: clamp(52px, 8vw, 96px) 0; border-bottom: 1px solid var(--rec-line); }
.rec-hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-55deg, transparent 0 26px, rgba(184,224,74,.045) 26px 28px); pointer-events: none; }
.rec-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); align-items: center; gap: clamp(35px, 7vw, 90px); }
.rec-hero h1 { max-width: 700px; }
.rec-hero h1 em { font-style: normal; color: var(--rec-accent); }
.rec-hero p, .rec-deck { color: var(--rec-muted); font-size: 1.1rem; max-width: 660px; }
.rec-hero aside { padding: 24px; border: 1px solid var(--rec-line); border-top: 4px solid var(--rec-accent); border-radius: 10px; background: var(--rec-panel); }
.rec-hero aside ul { padding-left: 20px; margin: 12px 0 0; }
.rec-hero aside li + li { margin-top: 7px; }
.rec-eyebrow, .rec-section-heading > span, .rec-section-heading div > span { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 4px; background: rgba(184,224,74,.13); color: var(--rec-accent); font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.rec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.rec-button { display: inline-block; padding: 12px 22px; border-radius: 6px; background: var(--rec-accent); color: #101511; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; transition: transform .15s ease, background .15s ease; }
.rec-button:hover { background: #d3f070; color: #101511; transform: translateY(-1px); }

/* feature */
.rec-feature { padding-top: 54px; }
.rec-feature article { position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 12px; background: linear-gradient(135deg, #1c241d, #141a15); border: 1px solid var(--rec-line); color: var(--rec-ink); overflow: hidden; }
.rec-feature article::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--rec-accent), transparent 70%); }
.rec-feature h2, .rec-feature h2 a { color: var(--rec-ink); }
.rec-feature p { max-width: 760px; color: var(--rec-muted); font-size: 1.04rem; }
.rec-feature .rec-text-link { color: var(--rec-accent); }
.rec-section { padding-block: 54px; }
.rec-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.rec-section-heading h2 { margin: 0; }
.rec-section-heading > p { max-width: 520px; color: var(--rec-muted); }
.rec-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rec-story, .rec-asset-card { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--rec-line); border-radius: 10px; background: var(--rec-card); transition: border-color .18s ease, transform .18s ease; }
.rec-story:hover, .rec-asset-card:hover { border-color: var(--rec-accent-dark); transform: translateY(-2px); }
.rec-story__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; color: var(--rec-muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.rec-story__meta time { color: var(--rec-accent); font-weight: 700; }
.rec-story h3 a, .rec-asset-card h3 a { color: var(--rec-ink); text-decoration: none; }
.rec-story h3 a:hover, .rec-asset-card h3 a:hover { color: var(--rec-accent); text-decoration: underline; }
.rec-story p, .rec-asset-card p { color: var(--rec-muted); }
.rec-text-link { font-size: .9rem; font-weight: 700; }
.rec-topics-section { background: var(--rec-panel); border-block: 1px solid var(--rec-line); }
.rec-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rec-topic { display: flex; justify-content: space-between; gap: 12px; min-width: 0; padding: 14px 16px; border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-card); color: var(--rec-ink); text-decoration: none; transition: border-color .15s ease; }
.rec-topic span { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
.rec-topic small { flex: 0 0 auto; color: var(--rec-muted); font-variant-numeric: tabular-nums; }
.rec-topic:hover { border-color: var(--rec-accent); }
.rec-topic-card { min-width: 0; border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-card); overflow: hidden; }
.rec-topic-card__main { display: flex; justify-content: space-between; gap: 12px; min-width: 0; padding: 15px 16px 12px; color: var(--rec-ink); text-decoration: none; }
.rec-topic-card__main span { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.rec-topic-card__main small { flex: 0 0 auto; color: var(--rec-muted); }
.rec-topic-card nav { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--rec-line); background: var(--rec-panel); }
.rec-topic-card nav a { font-size: .78rem; font-weight: 700; }
.rec-topic-card:hover { border-color: var(--rec-accent); }

/* page heads */
.rec-page-head { padding: 52px 0 38px; background: var(--rec-panel); border-bottom: 1px solid var(--rec-line); }
.rec-page-head p { max-width: 720px; color: var(--rec-muted); font-size: 1.05rem; }
.rec-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 42px; padding-block: 48px 62px; }
.rec-side { min-width: 0; }
.rec-side h2 { font-family: var(--rec-body); font-weight: 750; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.rec-side .rec-topic { margin-bottom: 8px; }
.rec-side .rec-topic small { display: none; }
.rec-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; color: var(--rec-muted); font-size: .86rem; }
.rec-breadcrumb a { color: var(--rec-muted); }
.rec-topic-meta, .rec-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: var(--rec-muted); font-size: .87rem; font-variant-numeric: tabular-nums; }
.rec-byline time { color: var(--rec-accent); }
.rec-resource-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.rec-resource-nav a { padding: 9px 14px; border: 1px solid var(--rec-line); border-radius: 6px; background: var(--rec-card); color: var(--rec-ink); font-weight: 650; text-decoration: none; transition: border-color .15s ease; }
.rec-resource-nav a:hover { border-color: var(--rec-accent); }
.rec-resource-nav small { color: var(--rec-muted); }
.rec-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rec-line); font-weight: 650; }
.rec-pager span { color: var(--rec-muted); font-size: .88rem; font-weight: 400; }

/* article */
.rec-article-head { padding: 46px 0 32px; border-bottom: 2px solid var(--rec-accent); }
.rec-article-head h1 { margin-top: 7px; }
.rec-inline-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.rec-inline-tags a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--rec-line); background: var(--rec-card); color: var(--rec-ink); font-size: .82rem; text-decoration: none; }
.rec-inline-tags a:hover { border-color: var(--rec-accent); color: var(--rec-accent); }
.rec-reading { padding-block: 38px 52px; font-size: 1.05rem; line-height: 1.8; }
.rec-reading > * { max-width: 100%; }
.rec-reading h2 { margin-top: 2.2rem; }
.rec-reading h3 { margin-top: 1.7rem; }
.rec-reading p, .rec-reading li { overflow-wrap: anywhere; }
.rec-reading pre { max-width: 100%; overflow-x: auto; padding: 16px; background: var(--rec-panel); border: 1px solid var(--rec-line); }
.rec-reading table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.rec-reading th, .rec-reading td { padding: 9px 11px; border: 1px solid var(--rec-line); text-align: left; }
.rec-reading th { background: var(--rec-card); }
.rec-reading blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--rec-accent); color: var(--rec-muted); }
.rec-source { margin-top: 40px; padding: 18px 20px; border-left: 4px solid var(--rec-accent); border-radius: 0 8px 8px 0; background: var(--rec-panel); }
.rec-source p { color: var(--rec-muted); }
.rec-related { border-top: 1px solid var(--rec-line); }

.rec-author-profile { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; align-items: center; }
.rec-author-profile > img, .rec-author-profile > span { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.rec-author-profile > span { display: grid; place-items: center; background: var(--rec-card); border: 2px solid var(--rec-accent); color: var(--rec-accent); font-family: var(--rec-display); font-size: 1.9rem; }
.rec-author-profile p { margin-bottom: 5px; }

/* asset layouts */
.rec-asset-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; padding-block: 38px; }
.rec-fact-box { align-self: start; padding: 18px; border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-panel); }
.rec-fact-box h2 { font-family: var(--rec-body); font-size: .84rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.rec-fact-box dl { margin: 0; }
.rec-fact-box dl div { padding: 10px 0; border-top: 1px solid var(--rec-line); }
.rec-fact-box dt { color: var(--rec-muted); font-size: .75rem; text-transform: uppercase; }
.rec-fact-box dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.rec-compare-head { padding: 52px 0 38px; background: var(--rec-dark); border-bottom: 3px solid var(--rec-accent); color: var(--rec-ink); }
.rec-compare-head h1, .rec-compare-head .rec-breadcrumb a { color: var(--rec-ink); }
.rec-compare-head .rec-deck, .rec-compare-head .rec-breadcrumb { color: var(--rec-muted); }
.rec-compare-note { padding: 10px 13px; border-left: 3px solid var(--rec-accent); background: rgba(184,224,74,.08); font-size: .9rem; }
.rec-compare-list { display: grid; gap: 12px; }
.rec-compare-list article { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-card); }
.rec-compare-list h3 { margin-bottom: 4px; }
.rec-compare-badge { padding: 6px 9px; border-radius: 5px; background: rgba(184,224,74,.13); color: var(--rec-accent); font-size: .78rem; font-weight: 700; }
.rec-faq-list { display: grid; gap: 10px; }
.rec-faq-list details { border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-card); }
.rec-faq-list summary { padding: 16px 18px; cursor: pointer; font-weight: 700; }
.rec-faq-list details > div { padding: 0 18px 18px; color: var(--rec-muted); }

/* article assets */
.rec-assets { padding-block: 46px; border-top: 1px solid var(--rec-line); }
.rec-assets__head, .rec-asset-block > header { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.rec-assets__head > p, .rec-asset-block > header p { max-width: 520px; color: var(--rec-muted); }
.rec-assets__head span, .rec-asset-block > header > span { color: var(--rec-accent); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.rec-takeaway { padding: 22px; border-left: 4px solid var(--rec-accent); border-radius: 0 8px 8px 0; background: var(--rec-panel); }
.rec-asset-block { margin-top: 34px; }
.rec-module-grid, .rec-asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rec-module { min-width: 0; padding: 19px; border: 1px solid var(--rec-line); border-radius: 8px; background: var(--rec-card); }
.rec-module header span { color: var(--rec-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.rec-module h4 { margin-top: 4px; }
.rec-module footer { margin-top: 14px; font-size: .78rem; }
.rec-module__list { padding-left: 20px; }
.rec-faq-drills { display: grid; gap: 9px; }
.rec-faq-drills details { border: 1px solid var(--rec-line); border-radius: 8px; }
.rec-faq-drills summary { display: flex; gap: 12px; padding: 14px 16px; cursor: pointer; }
.rec-faq-drills summary i { margin-left: auto; }
.rec-faq-drills details > div { padding: 0 16px 16px; }

.rec-empty { padding: 18px; border: 1px dashed var(--rec-line); color: var(--rec-muted); }
/* footer */
.rec-footer { margin-top: 30px; padding: 42px 0; background: var(--rec-dark); border-top: 2px solid var(--rec-accent); color: #dbe3dc; }
.rec-footer__inner { display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 36px; align-items: start; }
.rec-footer strong { font-family: var(--rec-display); font-weight: 400; text-transform: uppercase; }
.rec-footer a { color: var(--rec-accent); }
.rec-footer nav { display: grid; gap: 8px; }
.rec-footer p { margin: 6px 0 0; }
.rec-disclaimer { color: #a3b0a6; font-size: .86rem; }

@media (max-width: 820px) {
  .rec-hero__inner, .rec-content-layout, .rec-asset-layout { grid-template-columns: 1fr; }
  .rec-card-grid, .rec-module-grid, .rec-asset-grid { grid-template-columns: 1fr; }
  .rec-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-footer__inner { grid-template-columns: 1fr 1fr; }
  .rec-disclaimer { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rec-shell, .rec-reading-width { width: min(calc(100% - 28px), var(--rec-max)); }
  .rec-header__inner { min-height: auto; padding-block: 14px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .rec-brand small { display: none; }
  .rec-nav { width: 100%; }
  .rec-nav a { flex: 1; padding: 8px 6px; text-align: center; }
  .rec-hero { padding-block: 42px; }
  .rec-topic-grid, .rec-footer__inner { grid-template-columns: 1fr; }
  .rec-section-heading, .rec-assets__head, .rec-asset-block > header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .rec-compare-list article { grid-template-columns: 1fr; }
  .rec-pager { gap: 8px; font-size: .83rem; }
  .rec-author-profile { grid-template-columns: 68px minmax(0, 1fr); }
  .rec-author-profile > img, .rec-author-profile > span { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* reveal */
@keyframes rec-slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.rec-hero__inner > *, .rec-feature article { animation: rec-slide .45s ease both; }
.rec-hero__inner > aside { animation-delay: .08s; }
.rec-feature article { animation-delay: .12s; }
