@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme:dark;
  --bg:#070908;
  --surface:#101b1d;
  --teal:#35c0c7;
  --lime:#ceff00;
  --white:#f6f8f5;
  --muted:#acbabb;
  --line:#ffffff20;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--white);
  font:16px/1.65 Inter,Arial,sans-serif;
}

a {
  color:inherit;
}

button,summary,a {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,summary:focus-visible {
  outline:3px solid var(--lime);
  outline-offset:5px;
}

header {
  min-height:80px;
  padding:14px 4%;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:#070908f5;
  position:sticky;
  top:0;
  z-index:10;
}

.brand {
  display:flex;
  align-items:center;
  gap:13px;
  text-decoration:none;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.04em;
}

.brand img {
  object-fit:contain;
}

.brand-light {
  font-weight:400;
}

.header-title {
  font-size:14px;
  letter-spacing:.18em;
  color:var(--muted);
}

.plan {
  font-size:14px;
  font-weight:600;
  color:var(--lime);
  border:1px solid #ceff003b;
  padding:6px 14px;
  border-radius:5px;
  text-decoration:none;
}

.layout {
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:clamp(35px,5vw,80px);
  max-width:1500px;
  margin:auto;
  padding:0 4%;
}

aside {
  position:sticky;
  top:104px;
  height:calc(100dvh - 120px);
  overflow:auto;
  padding:24px 18px 20px 0;
  scrollbar-width:thin;
}

.index-label {
  font-size:13px;
  font-weight:700;
  letter-spacing:.12em;
  display:flex;
  justify-content:space-between;
  color:#c2cdce;
  margin:0 0 18px;
}

.index-label span {
  color:var(--teal);
}

nav {
  display:grid;
  gap:5px;
}

nav a {
  display:flex;
  gap:13px;
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
  padding:10px;
  border-left:2px solid transparent;
  border-radius:0 5px 5px 0;
}

nav a span {
  font-size:12px;
  padding-top:2px;
  color:#6d898c;
  min-width:18px;
}

nav a:hover {
  background:#35c0c710;
  color:white;
  border-left-color:var(--teal);
}

.sidebar-note {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding:22px 10px;
  font-size:14px;
  color:var(--muted);
}

.sidebar-note p {
  margin:8px 0;
}

.mini-label {
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
}

.sidebar-note .mini-label {
  color:var(--teal);
}

main {
  min-width:0;
  padding-top:46px;
}

.eyebrow {
  color:var(--lime);
  font-weight:700;
  font-size:13px;
  letter-spacing:.16em;
  margin:0 0 20px;
}

h1,h2 {
  font-family:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;
  font-weight:800;
  line-height:1;
  letter-spacing:-.015em;
  margin:0;
}

h1 {
  font-size:clamp(45px,5.7vw,84px);
}

h1 em {
  font-style:normal;
  color:var(--teal);
}

.lead {
  max-width:640px;
  color:#c0cbcc;
  font-size:18px;
  line-height:1.65;
  margin:24px 0;
}

.metrics {
  display:flex;
  gap:0;
  padding:18px 0 26px;
  margin:0 0 20px;
}

.metrics>div {
  padding:0 36px;
  border-right:1px solid var(--line);
}

.metrics>div:first-child {
  padding-left:0;
}

.metrics>div:last-child {
  border:0;
}

.metrics strong {
  display:block;
  font-family:'Barlow Condensed',Impact,sans-serif;
  font-size:38px;
  line-height:1.1;
  color:var(--white);
}

.metrics span {
  display:block;
  font-size:14px;
  color:var(--muted);
  margin-top:5px;
}

.reading-guide {
  background:#111a16;
  border:1px solid #ceff0030;
  border-radius:10px;
  margin-bottom:42px;
}

.reading-guide summary {
  padding:18px 20px;
  display:flex;
  gap:20px;
  align-items:center;
  cursor:pointer;
  font-size:14px;
}

.reading-guide summary>span:first-child {
  font-weight:700;
  color:var(--lime);
  white-space:nowrap;
}

.guide-preview {
  color:#bdc6bd;
}

.reading-guide>div {
  padding:0 24px 16px;
  color:#c5ceca;
  font-size:16px;
}

.reading-guide p {
  margin:0 0 16px;
}

.toggle {
  font-size:25px;
  font-weight:400;
  line-height:1;
  margin-left:auto;
  flex-shrink:0;
  color:var(--teal);
  width:20px;
  text-align:center;
}

details[open]>summary .toggle {
  transform:rotate(45deg);
}

summary {
  list-style:none;
}

summary::-webkit-details-marker {
  display:none;
}

.research-label {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding-bottom:18px;
  font-size:12px;
  letter-spacing:.14em;
  color:var(--muted);
  border-bottom:1px solid var(--line);
}

.research-label span:last-child {
  letter-spacing:0;
  font-size:14px;
}

.supplement {
  padding:34px 0 42px;
  border-bottom:1px solid var(--line);
  scroll-margin-top:24px;
}

.section-kicker {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  color:var(--teal);
  font-size:12px;
  letter-spacing:.13em;
  font-weight:700;
  margin-bottom:19px;
}

.timing {
  font-size:13px;
  letter-spacing:0;
  color:#c2cdce;
  background:#ffffff08;
  padding:4px 12px;
  border:1px solid var(--line);
  border-radius:99px;
}

.supplement-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}

h2 {
  font-size:clamp(32px,3.4vw,48px);
  text-transform:uppercase;
  line-height:1.08;
  overflow-wrap:anywhere;
}

.subtitle {
  font-size:14px;
  color:var(--muted);
  margin:7px 0 0;
}

.paper-count {
  font-size:14px;
  color:var(--muted);
  white-space:nowrap;
  margin-top:8px;
}

.benefit {
  color:var(--teal);
  font-size:14px;
  font-weight:600;
  margin:17px 0;
}

.takeaway {
  background:linear-gradient(115deg,#153133,#101d20);
  border-left:3px solid var(--teal);
  padding:20px 24px;
  margin:22px 0;
  border-radius:0 10px 10px 0;
}

.takeaway .mini-label {
  color:#82dde0;
}

.takeaway p {
  font-size:17px;
  line-height:1.65;
  margin:8px 0 0;
  color:#eef8f7;
  max-width:780px;
}

.studies {
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}

.study {
  background:#101719;
}

.study+.study {
  border-top:1px solid var(--line);
}

.study summary {
  display:flex;
  align-items:center;
  gap:18px;
  padding:21px 22px;
  cursor:pointer;
  transition:background .15s;
}

.study summary:hover {
  background:#162426;
}

.study-number {
  font-size:13px;
  font-weight:600;
  color:#78979a;
  align-self:flex-start;
  padding-top:3px;
}

.study-title {
  flex:1;
  min-width:0;
}

.citation {
  display:block;
  color:#a6b8bb;
  font-size:13px;
  line-height:1.55;
  margin-bottom:5px;
}

.study-title strong {
  display:block;
  font-size:16px;
  line-height:1.5;
  font-weight:600;
}

.result {
  font-size:12px;
  font-weight:600;
  line-height:1.4;
  padding:5px 10px;
  border-radius:5px;
  white-space:nowrap;
}

.positive {
  color:#aee9cc;
  background:#1d392e;
}

.mixed {
  color:#f6ce92;
  background:#392e1d;
}

.neutral {
  color:#c3cdd9;
  background:#29313c;
}

.study-body {
  padding:0 24px 26px 56px;
}

.study-body dl {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin:4px 0 22px;
  padding:20px;
  background:#ffffff04;
  border:1px solid var(--line);
  border-radius:6px;
}

.study-body dt,.study-body h4 {
  font-size:13px;
  font-weight:700;
  color:#98c2c5;
  margin:0 0 6px;
}

.study-body dd {
  font-size:15px;
  line-height:1.6;
  margin:0;
  color:#e0e8e9;
}

.finding p,.limitation p {
  font-size:16px;
  line-height:1.7;
  margin:0;
  color:#d4dfe0;
}

.limitation {
  margin:18px 0 22px;
  padding-left:15px;
  border-left:2px solid #bfa16e;
}

.limitation h4 {
  color:#dec293;
}

.paper-link {
  display:inline-block;
  font-size:14px;
  font-weight:700;
  color:var(--lime);
  text-underline-offset:5px;
  text-decoration-thickness:1px;
  padding:5px 0;
}

.context {
  font-size:14px;
  color:#a8b7b8;
  margin:20px 0 0;
  line-height:1.75;
}

.context strong {
  color:#cfdbdc;
  font-weight:600;
}

footer {
  display:flex;
  gap:15px;
  align-items:center;
  margin:34px 0 40px;
  color:#aabbbd;
  font-size:14px;
}

footer strong {
  color:#e4eeee;
}

footer p {
  margin:3px 0 0;
}

footer a {
  margin-left:auto;
  font-size:14px;
  text-underline-offset:5px;
}

.skip {
  position:fixed;
  top:8px;
  left:8px;
  transform:translateY(-150%);
  z-index:100;
  background:var(--lime);
  color:black;
  padding:10px;
}

.skip:focus {
  transform:translateY(0);
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

::selection {
  background:var(--lime);
  color:var(--bg);
}

@media(min-width:1800px) {
body {
  font-size:18px;
}

}

@media(max-width:1100px) {
.layout {
  grid-template-columns:210px minmax(0,1fr);
  gap:30px;
}

.study summary {
  gap:12px;
  padding:18px 16px;
}

.study-body {
  padding-left:42px;
}

.result {
  white-space:normal;
  max-width:100px;
  text-align:center;
}

}

@media(max-width:800px) {
header {
  min-height:72px;
  padding:12px 5%;
}

.brand img {
  width:40px;
  height:40px;
}

.brand {
  font-size:18px;
}

.header-title {
  display:none;
}

.layout {
  display:block;
  padding:0 5%;
}

aside {
  position:static;
  height:auto;
  overflow:visible;
  padding:23px 0 0;
}

.index-label {
  margin-bottom:10px;
  font-size:12px;
}

nav {
  display:flex;
  overflow-x:auto;
  gap:8px;
  padding:2px 0 10px;
  scrollbar-width:thin;
}

nav a {
  border:1px solid var(--line);
  border-radius:5px;
  padding:9px 12px;
  white-space:nowrap;
  font-size:14px;
}

nav a span {
  display:none;
}

.sidebar-note {
  display:none;
}

main {
  padding-top:28px;
}

h1 {
  font-size:clamp(42px,8vw,66px);
}

.lead {
  font-size:17px;
}

.metrics>div {
  padding:0 22px;
}

.metrics strong {
  font-size:34px;
}

.metrics span {
  font-size:13px;
}

.reading-guide summary {
  gap:12px;
  flex-wrap:wrap;
}

.guide-preview {
  order:3;
  flex-basis:100%;
}

.reading-guide .toggle {
  order:2;
}

.reading-guide {
  margin-bottom:28px;
}

.research-label {
  font-size:11px;
}

.research-label span:last-child {
  font-size:13px;
}

.supplement {
  padding-top:28px;
}

.study summary {
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  padding:18px;
}

.study-number {
  display:none;
}

.study-title {
  grid-column:1;
  grid-row:1;
}

.study .toggle {
  grid-column:2;
  grid-row:1;
}

.result {
  grid-column:1;
  grid-row:2;
  justify-self:start;
  max-width:none;
  white-space:normal;
}

.study-body {
  padding:0 18px 24px;
}

.study-body dl {
  grid-template-columns:1fr;
  gap:15px;
  padding:16px;
}

.paper-count {
  font-size:13px;
}

.takeaway {
  padding:17px 19px;
}

.takeaway p {
  font-size:16px;
}

.citation {
  font-size:13px;
}

footer {
  flex-wrap:wrap;
}

footer a {
  margin-left:51px;
}

.plan {
  font-size:13px;
}

html {
  scroll-padding-top:90px;
}

}

@media(max-width:390px) {
.brand>span {
  display:none;
}

.metrics>div {
  padding:0 14px;
}

.metrics span {
  font-size:12px;
}

.metrics strong {
  font-size:30px;
}

.paper-count {
  display:none;
}

h1 {
  font-size:40px;
}

.research-label span:last-child {
  display:none;
}

}

@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior:auto;
}

* {
  transition:none!important;
}

}

@media print {
header,aside,.reading-guide,.research-label,footer {
  display:none;
}

.layout {
  display:block;
  padding:0;
}

.intro {
  margin-bottom:20px;
}

.metrics {
  display:none;
}

body {
  background:white;
  color:black;
  font:12pt/1.5 Arial,sans-serif;
}

main {
  padding:0;
}

h1,h2 {
  color:black;
  font-family:Arial,sans-serif;
  font-size:24pt;
}

.supplement {
  break-inside:avoid;
}

.takeaway,.study {
  background:white;
  color:black;
}

.takeaway p,.study-title strong,.finding p,.limitation p,.study-body dd,.context,.citation {
  color:black;
}

.study-body {
  display:block!important;
}

.study {
  border:1px solid #aaa;
}

.paper-link {
  color:#066;
}

.paper-link:after {
  content:' (' attr(href) ')';
  font-weight:400;
}

.toggle {
  display:none;
}

}
