/* depsys.ch — shared presentation for homepage and future articles. */
:root {
  --purple: #36204f;
  --purple-light: #e6dded;
  --gold: #e8c778;
  --pearl: #f7f5f0;
  --jade: #285744;
  --jade-light: #e7eee8;
  --ink: #493f50;
  --muted: #6b6073;
  --line: #dcd5df;
  --content-width: 1248px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: 18px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--purple); }
a { color: var(--purple); text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--jade); outline-offset: 5px; border-radius: 3px; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
svg, img { max-width: 100%; vertical-align: middle; }
.container { width: min(var(--content-width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 24px; top: 12px; z-index: 10; transform: translateY(-180%); padding: 10px 20px; background: var(--gold); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--pearl); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 30px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; text-decoration: none; }
.brand span { color: var(--jade); }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.site-header nav a { text-decoration: none; border-bottom: 1px solid var(--line); padding-block: 8px; }
.nav-topic { color: var(--muted); }
.hero { background: var(--purple); color: var(--pearl); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 750px) minmax(260px, 400px); gap: 48px; align-items: center; padding-block: 64px; }
.eyebrow, .section-label, .toc-label { font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow { color: var(--gold); margin-bottom: 24px; }
h1, h2, h3 { color: var(--purple); overflow-wrap: break-word; }
h1 { margin: 0 0 24px; color: inherit; }
.hero-title { display: block; font-size: clamp(38px, 4.03vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -1.8px; max-width: 750px; }
.hero-subtitle { display: block; max-width: 650px; font-size: 28px; font-weight: 400; line-height: 1.35; color: var(--purple-light); margin-top: 24px; letter-spacing: -.35px; }
.hero-copy > p { max-width: 650px; color: var(--purple-light); font-size: 17px; line-height: 1.7; margin: 0 0 24px; }
.button { display: inline-flex; gap: 28px; align-items: center; padding: 15px 24px; border-radius: 8px; color: var(--purple); background: var(--gold); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .15s; }
.button:hover { background: #f3d996; }
.energy-art { width: 100%; height: auto; }
.reading-layout { display: grid; grid-template-columns: 240px minmax(0, 800px); gap: 80px; padding-block: 64px 88px; align-items: start; }
.toc { position: sticky; top: 32px; }
.toc-label { color: var(--muted); margin-bottom: 20px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 15px; line-height: 1.5; text-decoration: none; }
.toc a:hover { color: var(--jade); text-decoration: underline; }
.toc a span { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.prose { min-width: 0; }
.prose p { margin: 0 0 24px; }
.article-intro > p { margin-bottom: 24px; }
.callout { padding: 28px; border-left: 3px solid var(--jade); border-radius: 0 12px 12px 0; background: var(--jade-light); color: var(--jade); font-size: 20px; line-height: 1.6; }
.callout p:last-child { margin: 0; }
.article-section { margin-top: 56px; }
.article-section + .article-section { padding-top: 48px; border-top: 1px solid var(--line); }
.section-label { color: var(--muted); margin-bottom: 18px; }
.prose h2 { font-size: 36px; line-height: 1.2; letter-spacing: -.8px; margin: 0 0 24px; }
.prose h3 { font-size: 24px; line-height: 1.35; margin: 0 0 16px; letter-spacing: -.3px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 24px; }
.prose li { padding-left: 5px; margin-bottom: 12px; }
.prose li::marker { color: var(--jade); }
.prose strong { color: var(--purple); font-weight: 700; }
.feature { border-left: 2px solid #bcaac8; padding-left: 26px; margin-top: 36px; }
.prose .benefit-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.benefit-list > li { background: var(--jade-light); border-radius: 12px; padding: 24px; margin: 0; }
.conclusion { padding: 32px; background: #eee8f2; border-radius: 12px; border-top: 0; }
.conclusion > p:last-child { margin-bottom: 0; }
.site-footer { background: var(--purple); color: var(--purple-light); padding-block: 36px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.site-footer a { color: var(--pearl); }
.site-footer .brand span { color: var(--gold); }
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .hero-title { font-size: 44px; }
  .reading-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .prose h2 { font-size: 32px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 28px; }
  .nav-topic { display: none; }
  .site-header nav { font-size: 13px; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding-block: 40px; }
  .hero-title { font-size: 36px; line-height: 1.12; letter-spacing: -1.1px; }
  .hero-subtitle { font-size: 23px; margin-top: 22px; }
  .hero-copy > p { font-size: 16px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; margin-bottom: 22px; }
  .energy-art { width: 180px; align-self: center; }
  .reading-layout { display: block; padding-block: 0 56px; }
  .toc { position: static; padding-block: 24px; border-bottom: 1px solid var(--line); }
  .toc-label { font-size: 11px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .toc ol { display: flex; flex-wrap: wrap; column-gap: 18px; }
  .toc li { margin: 0; }
  .toc a { font-size: 13px; gap: 5px; }
  .prose { padding-top: 36px; font-size: 16px; }
  .callout { padding: 24px; font-size: 18px; }
  .article-section { margin-top: 40px; }
  .article-section + .article-section { padding-top: 36px; }
  .section-label { font-size: 11px; letter-spacing: 1.5px; }
  .prose h2 { font-size: 28px; letter-spacing: -.5px; }
  .prose h3 { font-size: 22px; }
  .feature { padding-left: 20px; }
  .conclusion { padding: 24px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > span { display: none; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 36px); }
  .hero-title { font-size: 32px; }
  .eyebrow { font-size: 9px; letter-spacing: .5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .toc, .energy-art, .button, .skip-link { display: none; }
  body, .hero, .conclusion, .callout { color: #000; background: #fff; }
  .container { width: 100%; }
  .hero-inner, .reading-layout { display: block; padding: 0; }
  .hero-title { font-size: 30pt; }
  .hero-subtitle, .hero-copy > p, .eyebrow { color: #000; }
  h2, h3 { break-after: avoid; }
}
