@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:           #04162e;
  --on-primary:        #ffffff;
  --primary-container: #1a2b44;
  --secondary:         #bb0027;
  --on-secondary:      #ffffff;
  --tertiary:          #735c00;
  --tertiary-container:#cba72f;
  --on-tertiary:       #4e3d00;
  --background:        #fbf9fb;
  --surface:           #ffffff;
  --surface-low:       #f5f3f5;
  --surface-mid:       #efedf0;
  --surface-high:      #e9e7ea;
  --surface-dim:       #dbd9dc;
  --on-surface:        #1b1b1d;
  --on-surface-var:    #44474d;
  --outline:           #75777e;
  --outline-var:       #c5c6ce;
  --primary-fixed:     #d5e3ff;
  --on-primary-fixed:  #091c34;
  --secondary-fixed:   #ffdad8;
  --on-secondary-fixed:#410007;
  --tertiary-fixed:    #ffe088;
  --on-tertiary-fixed: #241a00;
  --error:             #ba1a1a;
  --success:           #1a6e2e;
  --success-bg:        #d4edda;
  --radius:            2px;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal; line-height: 1;
  letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap;
  direction: ltr; -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--background);
  color: var(--on-surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Topnav ── */
.topnav {
  background: var(--background);
  border-bottom: 1px solid var(--outline-var);
  position: sticky; top: 0; z-index: 100;
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 0 64px; height: 72px; gap: 24px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--primary);
  white-space: nowrap;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; flex: 1; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--on-surface-var);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); border-bottom-color: var(--secondary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ── Mobile nav ── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; color: var(--primary);
  line-height: 0;
}
.nav-toggle .material-symbols-outlined { font-size: 28px; }
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.4); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.nav-mobile-panel {
  display: none; position: fixed; top: 0; right: 0;
  width: min(320px, 88vw); height: 100vh;
  background: var(--surface); z-index: 160;
  box-shadow: -4px 0 24px rgba(0,0,0,.12);
  transform: translateX(100%); transition: transform .25s ease;
  flex-direction: column; overflow-y: auto;
  padding: 0 0 32px;
}
.nav-mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--outline-var);
  background: var(--surface); position: sticky; top: 0; z-index: 1;
  flex-shrink: 0;
}
.nav-mobile-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--primary);
}
.nav-mobile-close {
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--primary); line-height: 0;
}
.nav-mobile-close .material-symbols-outlined { font-size: 28px; }
.nav-mobile-links { padding: 8px 24px 0; }
.nav-mobile-panel a {
  display: block; font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--on-surface-var); padding: 14px 0;
  border-bottom: 1px solid var(--outline-var);
}
.nav-mobile-panel a.active { color: var(--primary); }
.nav-mobile-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px; padding: 0 24px;
}
.nav-mobile-actions .btn { width: 100%; justify-content: center; }
body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay { opacity: 1; pointer-events: all; }
body.nav-open .nav-mobile-panel { transform: translateX(0); }

/* ── Buttons ── */
.btn {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; padding: 9px 20px;
  border-radius: var(--radius); cursor: pointer;
  border: none; transition: background .15s, color .15s, opacity .15s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.btn-primary   { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-container); }
.btn-secondary { background: var(--secondary); color: var(--on-secondary); }
.btn-secondary:hover { opacity: .88; }
.btn-outline   { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--surface-mid); }
.btn-ghost     { background: transparent; color: var(--on-surface-var); border: 1px solid var(--outline-var); }
.btn-ghost:hover { border-color: var(--outline); color: var(--on-surface); }
.btn-danger    { background: var(--error); color: #fff; }
.btn-danger:hover { opacity: .88; }
.btn-success   { background: var(--success); color: #fff; }
.btn-success:hover { opacity: .88; }
.btn-sm { font-size: 12px; padding: 6px 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn .material-symbols-outlined { font-size: 16px; }

/* ── Form controls ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--on-surface-var); margin-bottom: 6px;
}
.form-control {
  width: 100%; font-family: 'Source Sans 3', sans-serif;
  font-size: 15px; color: var(--on-surface);
  background: var(--surface); border: 1px solid var(--outline-var);
  border-radius: var(--radius); padding: 10px 14px;
  transition: border-color .15s; outline: none;
}
.form-control:focus { border-color: var(--primary); }
.form-control.error { border-color: var(--error); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2375777e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.form-hint  { font-size: 12px; color: var(--on-surface-var); margin-top: 4px; }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--outline-var);
  border-radius: var(--radius); overflow: hidden;
}
.card-body { padding: 24px; }

/* ── Chips ── */
.chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px;
}
.chip-prog   { background: var(--primary-fixed);    color: var(--on-primary-fixed); }
.chip-cons   { background: var(--secondary-fixed);  color: var(--on-secondary-fixed); }
.chip-lib    { background: var(--tertiary-fixed);   color: var(--on-tertiary-fixed); }
.chip-centro { background: var(--surface-mid);      color: var(--on-surface-var); }
.chip-libert { background: #e8f5e9; color: #1b5e20; }
.chip-social { background: #fce4ec; color: #880e4f; }

/* status chips */
.chip-pending  { background: #fff3cd; color: #856404; }
.chip-approved { background: var(--success-bg); color: var(--success); }
.chip-rejected { background: #f8d7da; color: #721c24; }
.chip-draft    { background: var(--surface-high); color: var(--on-surface-var); }

/* ── Alerts ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 14px; margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-error   { background: #f8d7da; color: #721c24; border-left: 3px solid var(--error); }
.alert-success { background: var(--success-bg); color: var(--success); border-left: 3px solid var(--success); }
.alert-info    { background: var(--primary-fixed); color: var(--on-primary-fixed); border-left: 3px solid var(--primary); }
.alert-warn    { background: #fff3cd; color: #856404; border-left: 3px solid #ffc107; }

/* ── Page hero ── */
.page-hero {
  padding: 48px 64px; max-width: 1280px;
  margin: 0 auto; border-bottom: 1px solid var(--outline-var);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--primary);
  margin-bottom: 12px;
}
.page-hero p { font-size: 18px; color: var(--on-surface-var); max-width: 680px; }

/* ── Section header ── */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px; margin-bottom: 32px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600; color: var(--primary);
}
.section-header a { font-size: 13px; font-weight: 700; color: var(--secondary); letter-spacing: 0.04em; }
.section-header a:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: var(--surface-low);
  border-top: 1px solid var(--outline-var);
  margin-top: 80px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 64px;
  display: flex; justify-content: space-between; gap: 2rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: var(--primary);
}
.footer-copy { font-size: 12px; color: var(--on-surface-var); margin-top: 8px; max-width: 260px; }
.footer-links { display: flex; gap: 3rem; }
.footer-links a { display: block; font-size: 13px; color: var(--on-surface-var); margin-bottom: 10px; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

/* ── Ticker ── */
.ticker {
  background: var(--surface-high);
  border-bottom: 1px solid var(--outline-var);
  padding: 9px 0;
  font-size: 12px;
  color: var(--on-surface-var);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 16px 0 64px;
  border-right: 1px solid var(--outline-var);
  margin-right: 0;
  background: var(--surface-high);
  z-index: 2;
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker-track {
  display: inline-flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: ticker-scroll var(--ticker-duration, 40s) linear infinite;
  animation: ticker-scroll var(--ticker-duration, 40s) linear infinite;
}
.ticker:hover .ticker-track { -webkit-animation-play-state: paused; animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 32px;
}
.ticker-item a {
  color: var(--on-surface);
  font-weight: 600;
  text-decoration: none;
}
.ticker-item a:hover { color: var(--secondary); text-decoration: underline; }
.ticker-sep { color: var(--outline); margin: 0 12px; }
@-webkit-keyframes ticker-scroll {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes ticker-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ── Toast ── */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--primary); color: var(--on-primary);
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; z-index: 9999;
  transform: translateY(80px); opacity: 0;
  transition: all .3s ease; pointer-events: none;
  max-width: 340px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast.error { background: var(--error); }
#toast.success { background: var(--success); }

/* ── Loader ── */
.spinner {
  width: 24px; height: 24px; border: 3px solid var(--outline-var);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin .7s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ── */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--on-surface-var);
}
.empty-state .material-symbols-outlined { font-size: 48px; display: block; margin-bottom: 12px; opacity: .4; }
.empty-state p { font-size: 15px; }

/* ── Pagination ── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination button {
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border: 1px solid var(--outline-var);
  background: var(--surface); color: var(--on-surface-var);
  border-radius: var(--radius); cursor: pointer; transition: all .15s;
}
.pagination button:hover { border-color: var(--primary); color: var(--primary); }
.pagination button.active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface); border-radius: var(--radius);
  width: 100%; max-width: 520px; padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(16px); transition: transform .2s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--primary);
  margin-bottom: 16px;
}
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .topnav-inner { padding: 0 16px; height: 64px; gap: 12px; }
  .nav-brand { font-size: 28px; }
  .nav-toggle { display: flex; align-items: center; }
  .nav-overlay { display: block; }
  .nav-mobile-panel { display: flex; }
  .topnav-inner > .nav-links,
  .topnav-inner > .nav-actions { display: none !important; }
  .page-hero { padding: 32px 20px; }
  .page-hero h1 { font-size: 30px; }
  .ticker-label { padding: 0 12px 0 20px; }
  .footer-inner { flex-direction: column; padding: 32px 20px; }
  .footer-links { flex-wrap: wrap; gap: 1.5rem; }
  .newsletter-inner { flex-direction: column; }
  .cookie-banner-inner { flex-direction: column; text-align: center; }
}

/* ── Reader features ── */
.read-progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--outline-var); z-index: 200;
}
.read-progress-fill { height: 100%; width: 0; background: var(--secondary); transition: width .1s linear; }

.article-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}
.article-layout > * { min-width: 0; }

@media (max-width: 900px) {
  .article-layout {
    display: block;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }
  .article-toc { display: none !important; }
  .article-content {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.article-toc {
  position: sticky; top: 88px; font-size: 13px;
  border-left: 2px solid var(--outline-var); padding-left: 14px;
}
.article-toc .toc-title {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-surface-var); margin-bottom: 10px;
}
.article-toc a {
  display: block; color: var(--on-surface-var); padding: 5px 0;
  border-bottom: 1px solid transparent; line-height: 1.35;
}
.article-toc a:hover { color: var(--primary); }

.article-toolbar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.toolbar-btn {
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--outline-var);
  background: var(--surface); color: var(--on-surface-var);
  border-radius: var(--radius); cursor: pointer; transition: all .15s;
}
.toolbar-btn:hover, .toolbar-btn.active { border-color: var(--primary); color: var(--primary); }
.toolbar-btn.saved {
  background: var(--tertiary-fixed);
  border-color: var(--tertiary-container);
  color: var(--on-tertiary-fixed);
}
.toolbar-btn.saved .material-symbols-outlined { font-variation-settings: 'FILL' 1; }

.share-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 0; margin: 16px 0; border-top: 1px solid var(--outline-var);
}
.share-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--on-surface-var); margin-right: 4px; }
.share-btn {
  font-size: 13px; font-weight: 600; padding: 6px 12px;
  border: 1px solid var(--outline-var); background: var(--surface);
  border-radius: var(--radius); cursor: pointer; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.share-btn:hover { border-color: var(--primary); }

body.reading-mode .topnav { opacity: .35; pointer-events: none; }
body.reading-mode .article-wrap { max-width: 48rem; padding-left: 20px; padding-right: 20px; }
body.reading-mode .article-content { font-size: 19px; line-height: 1.85; }
body.reading-mode .article-content p,
body.reading-mode .article-content li,
body.reading-mode .article-summary { text-align: justify; }
body.reading-mode .article-toc { display: none; }
body.reading-mode .article-layout { display: block; }
body.reading-mode #readingModeBtn.active { background: var(--primary); color: var(--on-primary); }

/* Modo oscuro suave — funciona solo o junto al modo lectura */
body.reading-dark {
  --background: #1a1a1c;
  --surface: #242428;
  --surface-low: #2a2a2e;
  --surface-mid: #323236;
  --surface-high: #3a3a3e;
  --on-surface: #e8e6e3;
  --on-surface-var: #a8a6a3;
  --outline-var: #45454a;
  --primary: #f0eeeb;
  --on-primary: #1a1a1c;
  background: var(--background);
  color: var(--on-surface);
}
body.reading-dark .topnav { background: var(--background); border-color: var(--outline-var); }
body.reading-dark .site-footer { background: var(--background); border-color: var(--outline-var); }
body.reading-dark .article-wrap { background: transparent; }
body.reading-dark .article-title,
body.reading-dark .article-content h2,
body.reading-dark .byline-name,
body.reading-dark .comments-title,
body.reading-dark .related-title { color: var(--primary); }
body.reading-dark .toolbar-btn { background: var(--surface); border-color: var(--outline-var); color: var(--on-surface-var); }
body.reading-dark .toolbar-btn.saved { background: #4a4020; border-color: #cba72f; color: #ffe088; }
body.reading-dark #readingDarkBtn.active { background: #45454a; color: #f0eeeb; border-color: #6a6a70; }

.useful-prompt {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 150; max-width: 360px; width: calc(100% - 32px);
}
.useful-prompt-inner {
  background: var(--surface); border: 1px solid var(--outline-var);
  box-shadow: 0 8px 32px rgba(0,0,0,.12); padding: 20px 24px;
  border-radius: var(--radius); text-align: center;
}
.useful-prompt p { font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.useful-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.useful-stars button {
  font-size: 28px; background: none; border: none; cursor: pointer;
  color: var(--outline-var); transition: color .15s, transform .1s;
}
.useful-stars button:hover { color: var(--tertiary-container); transform: scale(1.15); }
.useful-dismiss { font-size: 12px; color: var(--on-surface-var); background: none; border: none; cursor: pointer; text-decoration: underline; }

.newsletter-block {
  background: var(--primary); color: var(--on-primary);
  padding: 32px; border-radius: var(--radius); margin: 40px 0;
}
.newsletter-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.newsletter-sub { font-size: 14px; opacity: .85; margin-bottom: 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-input {
  font-family: 'Source Sans 3', sans-serif; font-size: 14px;
  padding: 10px 14px; border: none; border-radius: var(--radius); min-width: 220px;
}

.continue-reading {
  background: var(--surface-low); border-bottom: 1px solid var(--outline-var);
  padding: 16px 64px;
}
.continue-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 10px;
}
.continue-item {
  display: flex; align-items: center; gap: 16px; padding: 12px 0;
  border-top: 1px solid var(--outline-var); color: inherit; text-decoration: none;
}
.continue-item:first-of-type { border-top: none; }
.continue-progress { width: 48px; height: 4px; background: var(--outline-var); border-radius: 2px; flex-shrink: 0; }
.continue-progress-fill { height: 100%; background: var(--secondary); border-radius: 2px; }
.continue-title { font-weight: 700; color: var(--primary); font-size: 15px; }
.continue-meta { font-size: 13px; color: var(--on-surface-var); }
.continue-item .material-symbols-outlined { color: var(--on-surface-var); margin-left: auto; }

.perspective-section { border-left: 3px solid var(--tertiary-container); padding-left: 20px; }
.perspective-lead { font-size: 14px; color: var(--on-surface-var); margin: -12px 0 16px; }

.start-here-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.start-card {
  background: var(--surface); border: 1px solid var(--outline-var);
  padding: 24px; border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: border-color .2s, transform .15s;
}
.start-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.start-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.start-card p { font-size: 14px; color: var(--on-surface-var); line-height: 1.5; }

.activity-strip {
  background: var(--surface-low); border-top: 1px solid var(--outline-var);
  border-bottom: 1px solid var(--outline-var); padding: 20px 64px;
}
.activity-inner { max-width: 1280px; margin: 0 auto; font-size: 14px; color: var(--on-surface-var); }
.activity-inner strong { color: var(--primary); }
.activity-inner a { color: var(--secondary); font-weight: 600; }

.hero-featured-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 8px;
}

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: var(--surface); border-top: 1px solid var(--outline-var);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08); padding: 16px 24px;
}
.cookie-banner-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; color: var(--on-surface); max-width: 640px; }
.cookie-banner a { color: var(--secondary); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }

.legal-page { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-page h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary); margin-bottom: 24px; }
.legal-page h2 { font-size: 20px; color: var(--primary); margin: 28px 0 12px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; color: var(--on-surface); margin-bottom: 12px; }
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }

.reading-lists { display: grid; gap: 32px; }
.reading-list h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.reading-list-item {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--outline-var);
  text-decoration: none; color: inherit; align-items: center;
}
.reading-list-item:hover .rli-title { color: var(--secondary); }
.rli-title { font-weight: 700; color: var(--primary); font-size: 15px; }
.rli-meta { font-size: 13px; color: var(--on-surface-var); }

@media (max-width: 900px) {
  .continue-reading, .activity-strip { padding: 16px 20px; }
  .start-here-grid { grid-template-columns: 1fr; }
  body.reading-mode .article-wrap { padding-left: 16px; padding-right: 16px; }
  .article-toolbar { gap: 6px; }
  .share-bar { gap: 6px; }
  .useful-prompt { bottom: 16px; }
}
