:root {
  --ink: #15111d;
  --ink-soft: #514b5d;
  --paper: #ffffff;
  --paper-alt: #f7f5fb;
  --line: #e8e3ef;
  --accent: #6b45e8;
  --accent-2: #9a7cff;
  --accent-soft: #f0ebff;
  --danger: #b93853;
  --success: #177a55;
  --shadow: 0 22px 70px rgba(32, 20, 57, .10);
  --radius: 24px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), #b783ff); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 17, 29, .96);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-size: 24px; font-weight: 850; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--accent-2); }
.brand-mark { width: 35px; height: 35px; color: var(--accent); flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.main-nav { display: flex; align-items: center; gap: 29px; }
.main-nav a { position: relative; color: rgba(255,255,255,.78); text-decoration: none; font-size: 15px; font-weight: 650; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent-2); transition: right .2s ease; }
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.09); padding: 12px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 4px; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.article-hero { padding-block: 38px 100px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; color: #81798c; font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 54px; align-items: start; }
.article-column { min-width: 0; }
.eyebrow, .card-label { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
h1 { max-width: 900px; margin: 14px 0 18px; font-size: clamp(42px, 5.4vw, 72px); line-height: .99; letter-spacing: -.055em; }
.lead { max-width: 810px; margin: 0; color: var(--ink-soft); font-size: clamp(19px, 2.1vw, 25px); line-height: 1.48; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 26px; color: #6d6677; font-size: 13px; }
.author-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #8a6aee, #3e276f); font-weight: 850; box-shadow: inset 0 0 0 3px rgba(255,255,255,.36); }
.article-meta > div:nth-child(2) { display: grid; gap: 2px; }
.article-meta strong { color: var(--ink); }
.article-meta span { display: block; }
.meta-divider { width: 1px; height: 30px; background: var(--line); }
.meta-item { display: flex; align-items: center; gap: 7px; }
.meta-item svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-media { margin: 0 0 28px; }
.hero-media img { width: 100%; aspect-ratio: 2.23/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
figcaption { margin-top: 10px; color: #7d7587; font-size: 12px; line-height: 1.5; }
.notice { display: flex; gap: 14px; margin: 26px 0; padding: 18px 20px; border: 1px solid #e3d8ff; border-radius: 18px; background: #f8f5ff; color: #4e4365; font-size: 14px; line-height: 1.6; }
.notice-icon { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; }
.intro { font-size: 20px !important; line-height: 1.75 !important; }
.article-column p { margin: 0 0 20px; color: #302a38; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.78; }
.article-section { scroll-margin-top: 105px; margin-top: 56px; }
.article-section h2 { margin: 0 0 18px; font-size: clamp(30px, 3.1vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.article-section h3 { margin: 7px 0 14px; font-size: 25px; letter-spacing: -.025em; }

.mechanism-card { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: center; margin-top: 30px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-alt); }
.mechanism-visual { position: relative; min-height: 210px; }
.center-orb, .orb { position: absolute; display: grid; place-items: center; border-radius: 50%; font-weight: 850; box-shadow: 0 15px 35px rgba(79, 49, 159, .18); }
.center-orb { inset: 62px auto auto 72px; width: 76px; height: 76px; color: #fff; background: var(--ink); font-size: 25px; z-index: 3; }
.orb { width: 72px; height: 72px; color: #fff; background: linear-gradient(145deg, var(--accent-2), var(--accent)); font-size: 12px; }
.orb-1 { left: 10px; top: 18px; }
.orb-2 { right: 8px; top: 27px; }
.orb-3 { left: 74px; bottom: 4px; }
.clean-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #494052; font-size: 15px; line-height: 1.55; }
.clean-list li { padding-left: 18px; position: relative; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.data-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; }
.data-strip > div { min-height: 170px; padding: 28px 24px; background: linear-gradient(160deg, #fbfaff, #f2edff); }
.data-strip > div + div { border-left: 1px solid var(--line); }
.data-strip strong { display: block; margin-bottom: 10px; color: var(--accent); font-size: 39px; letter-spacing: -.05em; }
.data-strip span { color: #4d4556; font-size: 13px; line-height: 1.5; }
.inline-media { margin: 30px 0; }
.inline-media img { width: 100%; height: auto; border-radius: 22px; }
blockquote { margin: 34px 0; padding: 30px 34px; border-left: 4px solid var(--accent); border-radius: 0 20px 20px 0; background: var(--paper-alt); }
blockquote p { margin: 0 0 10px !important; color: var(--ink) !important; font-size: 22px !important; font-style: italic; line-height: 1.55 !important; }
blockquote cite { color: #766c80; font-size: 13px; font-style: normal; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.steps-grid > div { padding: 24px 22px; border: 1px solid var(--line); border-radius: 20px; }
.steps-grid span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.steps-grid h3 { margin: 16px 0 10px; font-size: 18px; line-height: 1.3; }
.steps-grid p { margin: 0 !important; color: #655c6f !important; font-family: inherit !important; font-size: 13px !important; line-height: 1.55 !important; }
.sources-list { margin: 0; padding-left: 22px; color: #585060; }
.sources-list li { margin: 12px 0; padding-left: 8px; line-height: 1.55; }
.sources-list a { color: #5134bd; text-underline-offset: 3px; }
.medical-disclaimer { margin-top: 44px; padding: 22px; border: 1px solid #ddd6e6; border-radius: 18px; color: #645b6e; background: #fbfafc; font-size: 13px; line-height: 1.65; }
.article-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-actions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #6e6577; font-size: 13px; }
.reaction-btn, .share-btn { border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.reaction-btn { padding: 8px 13px; }
.reaction-btn:hover, .share-btn:hover, .reaction-btn.is-active { border-color: #cbbcff; background: var(--accent-soft); transform: translateY(-1px); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; font-weight: 700; }
.share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.sidebar { position: sticky; top: 102px; display: grid; gap: 18px; }
.sidebar-card { border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 15px 45px rgba(27,18,47,.06); padding: 26px; }
.sidebar-card h2 { margin: 9px 0 18px; font-size: 24px; line-height: 1.18; letter-spacing: -.035em; }
.summary-card { background: linear-gradient(155deg, #faf8ff, #f0ebff); }
.summary-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.summary-list li { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 15px 0; border-top: 1px solid rgba(98,67,194,.14); }
.summary-list li:first-child { border-top: 0; padding-top: 0; }
.summary-list span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 11px; font-weight: 900; }
.summary-list p { margin: 3px 0 0; color: #4c4258; font-size: 13px; line-height: 1.5; }
.toc-card nav { display: grid; }
.toc-card a { padding: 12px 0; border-top: 1px solid var(--line); color: #57505f; text-decoration: none; font-size: 14px; }
.toc-card a:first-child { border-top: 0; }
.toc-card a:hover { color: var(--accent); }
.newsletter-card { position: relative; overflow: hidden; color: #fff; background: linear-gradient(155deg, #271d3b, #15111d); }
.newsletter-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(154,124,255,.55), rgba(154,124,255,0) 68%); }
.newsletter-card .card-label { color: #bca9ff; }
.newsletter-card h2 { position: relative; z-index: 1; }
.newsletter-card > p { position: relative; z-index: 1; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.55; }
.newsletter-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 15px; background: rgba(255,255,255,.1); color: #cbbdff; font-size: 24px; }
.newsletter-form { position: relative; z-index: 1; display: grid; gap: 10px; }
.newsletter-form label { font-size: 12px; font-weight: 750; }
.newsletter-form input[type="email"] { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; outline: none; background: rgba(255,255,255,.09); color: #fff; padding: 0 14px; }
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.43); }
.newsletter-form input[type="email"]:focus { border-color: #b9a8ff; box-shadow: 0 0 0 4px rgba(142,111,255,.17); }
.newsletter-form button { min-height: 49px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #8f6fff, #6540dc); font-weight: 800; transition: transform .2s, opacity .2s; }
.newsletter-form button:hover { transform: translateY(-1px); }
.newsletter-form button:disabled { cursor: wait; opacity: .72; }
.checkbox-row { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: rgba(255,255,255,.64); font-size: 10px; line-height: 1.45; }
.checkbox-row input { margin: 2px 0 0; accent-color: var(--accent-2); }
.checkbox-row a { color: #cbbdff; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { min-height: 17px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; }
.form-status.is-success { color: #9ff0cf; }
.form-status.is-error { color: #ffb3c1; }

.bottom-newsletter { position: relative; overflow: hidden; padding: 72px 0; color: #fff; background: #15111d; }
.bottom-newsletter::before { content: ""; position: absolute; inset: -120px auto auto 55%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(112,71,232,.46), transparent 68%); }
.bottom-newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 520px; gap: 65px; align-items: center; }
.bottom-newsletter h2 { margin: 10px 0 13px; max-width: 650px; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.bottom-newsletter p { margin: 0; max-width: 580px; color: rgba(255,255,255,.67); font-size: 17px; line-height: 1.55; }
.bottom-newsletter .newsletter-form { grid-template-columns: 1fr auto; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.bottom-newsletter .newsletter-form label { grid-column: 1 / -1; }
.bottom-newsletter .newsletter-form button { min-width: 160px; padding-inline: 20px; }
.bottom-newsletter .checkbox-row, .bottom-newsletter .form-status { grid-column: 1 / -1; }

.site-footer { padding: 54px 0 26px; color: rgba(255,255,255,.68); background: #0d0a12; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 60px; }
.footer-brand { margin-bottom: 18px; }
.footer-copy { max-width: 380px; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.65; }
.footer-title { display: block; margin-bottom: 17px; color: #fff; font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.58); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 11px; }

.cookie-banner { position: fixed; z-index: 150; left: 20px; right: 20px; bottom: 20px; max-width: 860px; margin-inline: auto; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; color: #fff; background: rgba(21,17,29,.96); box-shadow: 0 25px 80px rgba(0,0,0,.3); backdrop-filter: blur(18px); }
.cookie-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.5; }
.cookie-banner a { color: #c8b8ff; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button { min-height: 39px; border-radius: 10px; padding: 0 14px; font-size: 12px; font-weight: 800; }
.cookie-secondary { border: 1px solid rgba(255,255,255,.16); color: #fff; background: transparent; }
.cookie-primary { border: 0; color: #fff; background: var(--accent); }

.legal-main { min-height: 68vh; padding: 65px 0 95px; background: linear-gradient(180deg, #faf9fc, #fff); }
.legal-wrap { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.legal-wrap h1 { margin-bottom: 20px; font-size: clamp(40px, 6vw, 68px); }
.legal-wrap h2 { margin: 38px 0 12px; font-size: 25px; }
.legal-wrap p, .legal-wrap li { color: #514a59; font-size: 15px; line-height: 1.75; }
.legal-wrap a { color: var(--accent); }
.back-link { display: inline-flex; margin-bottom: 25px; color: var(--accent); text-decoration: none; font-weight: 750; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .bottom-newsletter-inner { grid-template-columns: 1fr 450px; gap: 35px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; padding: 18px 20px 25px; transform: translateY(-130%); opacity: 0; background: rgba(21,17,29,.99); border-top: 1px solid rgba(255,255,255,.08); transition: transform .25s ease, opacity .25s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 18px; }
  .main-nav a::after { display: none; }
  .hero-grid { display: block; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .newsletter-card { grid-column: 1 / -1; }
  .bottom-newsletter-inner { grid-template-columns: 1fr; }
  .bottom-newsletter .newsletter-form { max-width: 620px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand { font-size: 21px; }
  .brand-mark { width: 31px; height: 31px; }
  .article-hero { padding-block: 25px 70px; }
  .breadcrumb { margin-bottom: 26px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .lead { font-size: 18px; }
  .article-meta { gap: 10px; }
  .meta-divider { display: none !important; }
  .meta-item { width: 100%; padding-left: 54px; }
  .hero-media img { min-height: 250px; object-position: center; }
  .article-column p { font-size: 17px; line-height: 1.72; }
  .intro { font-size: 18px !important; }
  .article-section { margin-top: 45px; }
  .mechanism-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .mechanism-visual { width: 220px; margin-inline: auto; }
  .data-strip { grid-template-columns: 1fr; }
  .data-strip > div { min-height: auto; }
  .data-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr; }
  .article-actions { align-items: flex-start; flex-direction: column; }
  .sidebar { grid-template-columns: 1fr; }
  .newsletter-card { grid-column: auto; }
  .bottom-newsletter { padding: 58px 0; }
  .bottom-newsletter .newsletter-form { grid-template-columns: 1fr; }
  .bottom-newsletter .newsletter-form label,
  .bottom-newsletter .checkbox-row,
  .bottom-newsletter .form-status { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-inner { grid-template-columns: 1fr; gap: 12px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
