:root {
  --ink: #09090b;
  --paper: #fffdf8;
  --canvas: #f7f0e5;
  --pearl: #eeeae4;
  --violet: #6847f5;
  --violet-dark: #5736e8;
  --lavender: #c9bcff;
  --muted: #626067;
  --line: rgba(9, 9, 11, 0.14);
  --soft-violet: rgba(104, 71, 245, 0.09);
  --site-frame: min(1240px, calc(100% - 64px));
  --radius-ui: 6px;
  --shadow: 0 24px 70px rgba(29, 21, 10, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(104, 71, 245, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 36%, rgba(190, 154, 107, 0.12), transparent 30rem);
  content: "";
  pointer-events: none;
}

img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.journal-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 11px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 240, 229, 0.92);
  backdrop-filter: blur(18px);
}

.journal-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.journal-brand img { display: block; flex: 0 0 auto; }
.journal-brand > span { display: grid; line-height: 0.9; letter-spacing: -0.04em; }
.journal-brand small { margin: 0 0 5px 2px; font-size: 8px; font-weight: 850; letter-spacing: 0.28em; }
.journal-brand strong { font-size: 19px; font-weight: 900; }

.journal-nav { display: flex; align-items: center; gap: 32px; }
.journal-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #4f4d53;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.journal-nav a:hover,
.journal-nav a[aria-current="page"] { color: var(--violet-dark); }
.journal-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--violet); }

.journal-header__actions { display: flex; justify-self: end; align-items: center; gap: 10px; }
.header-cta {
  min-height: 46px;
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-ui);
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.header-cta:hover { background: #27272c; transform: translateY(-1px); }

.site-menu { position: relative; display: none; }
.site-menu summary { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(9, 9, 11, 0.18); border-radius: var(--radius-ui); background: rgba(255, 255, 255, 0.38); cursor: pointer; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:focus-visible { outline: 3px solid rgba(117, 87, 255, 0.34); outline-offset: 3px; }
.site-menu__icon,
.site-menu__icon::before,
.site-menu__icon::after,
.site-menu__icon > span { width: 17px; height: 2px; display: block; border-radius: 999px; background: var(--ink); }
.site-menu__icon { position: relative; height: 16px; background: transparent; }
.site-menu__icon::before,
.site-menu__icon::after,
.site-menu__icon > span { position: absolute; left: 0; content: ""; transition: transform 160ms ease, opacity 160ms ease; }
.site-menu__icon::before { top: 1px; }
.site-menu__icon > span { top: 7px; }
.site-menu__icon::after { top: 13px; }
.site-menu[open] .site-menu__icon::before { transform: translateY(6px) rotate(45deg); }
.site-menu[open] .site-menu__icon > span { opacity: 0; }
.site-menu[open] .site-menu__icon::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu__panel { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; width: min(260px, calc(100vw - 32px)); display: grid; padding: 9px; border: 1px solid rgba(9, 9, 11, 0.14); border-radius: 8px; background: #fffdf8; box-shadow: 0 22px 60px rgba(9, 9, 11, 0.18); }
.site-menu__panel a { min-height: 48px; display: flex; align-items: center; padding: 0 13px; border-radius: 5px; color: var(--ink); font-size: 14px; font-weight: 750; line-height: 1.3; text-decoration: none; }
.site-menu__panel a:hover,
.site-menu__panel a:focus-visible,
.site-menu__panel a[aria-current="page"] { background: #f1ece4; color: var(--violet-dark); outline: none; box-shadow: none; }

.blog-hero {
  width: var(--site-frame);
  display: grid;
  min-height: 0;
  margin: 0 auto;
  padding: 36px 0 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.7fr);
  gap: 68px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.article-kicker {
  margin: 0 0 20px;
  color: var(--violet-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-hero h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(56px, 6.5vw, 92px);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.blog-hero h1 em,
.article-hero h1 em {
  color: var(--violet);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.blog-hero__intro {
  max-width: 490px;
  margin: 0;
  color: #55535a;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.58;
}

.blog-search {
  position: relative;
  margin-top: 24px;
}

.blog-search label { display: block; margin-bottom: 9px; color: #5a575e; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.blog-search__field { position: relative; }
.blog-search__field::before { position: absolute; top: 50%; left: 18px; content: "⌕"; color: var(--violet-dark); font-size: 24px; transform: translateY(-54%); }
.blog-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 52px 0 52px;
  border: 1px solid rgba(9, 9, 11, 0.23);
  border-radius: var(--radius-ui);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  box-shadow: 0 12px 35px rgba(29, 21, 10, 0.06);
}
.blog-search input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104, 71, 245, 0.12); }
.blog-search button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
}
.blog-search button:hover { background: var(--soft-violet); color: var(--violet-dark); }

.blog-shell,
.article-shell,
.author-shell { width: var(--site-frame); margin: 0 auto; }

.category-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }
.category-button {
  min-height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  color: #545158;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}
.category-button:hover,
.category-button.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.category-button:focus-visible { outline: 3px solid rgba(104, 71, 245, 0.35); outline-offset: 2px; }

.result-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.featured-story {
  display: grid;
  min-height: 480px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-ui);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.featured-story__image { position: relative; min-height: 420px; overflow: hidden; background: #242027; }
.featured-story__image::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(9, 9, 11, 0.06), rgba(87, 54, 232, 0.22)); content: ""; }
.featured-story__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 600ms ease; }
.featured-story:hover .featured-story__image img { transform: scale(1.025); }
.featured-story__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 70px); }
.story-label { margin: 0 0 25px; color: var(--violet-dark); font-size: 10px; font-weight: 850; letter-spacing: 0.17em; text-transform: uppercase; }
.featured-story h2 { margin: 0; font-size: clamp(41px, 4.1vw, 60px); font-weight: 650; line-height: 0.98; letter-spacing: -0.055em; }
.featured-story__copy > p:not(.story-label):not(.card-meta) { margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 24px; margin: 28px 0 0; color: #716e74; font-size: 11px; font-weight: 700; line-height: 1.3; }
.card-meta > span { min-height: 24px; display: inline-flex; flex: 0 0 auto; align-items: center; white-space: nowrap; }
.card-meta > span + span { position: relative; }
.card-meta > span + span::before { position: absolute; top: 50%; left: -9px; line-height: 1; content: "·"; transform: translateY(-50%); }
.card-author { display: inline-flex; align-items: center; gap: 7px; color: #3e3b42; }
.card-author img { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(9, 9, 11, 0.12); }
.story-link { display: inline-flex; width: max-content; align-items: center; gap: 14px; margin-top: 30px; color: var(--violet-dark); font-size: 13px; font-weight: 850; text-decoration: none; }
.story-link span { font-size: 20px; transition: transform 160ms ease; }
.story-link:hover span { transform: translateX(4px); }

.latest-section { padding: 104px 0 120px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(42px, 5vw, 68px); font-weight: 650; line-height: 0.96; letter-spacing: -0.055em; }
.section-heading p:last-child { max-width: 370px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.article-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-ui); background: rgba(255, 253, 248, 0.84); box-shadow: 0 16px 45px rgba(29, 21, 10, 0.05); }
.article-card[hidden], .featured-story[hidden] { display: none; }
.article-card__image { aspect-ratio: 16 / 9; overflow: hidden; background: #242027; }
.article-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 500ms ease; }
.article-card:hover .article-card__image img { transform: scale(1.03); }
.article-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.article-card__category { margin: 0 0 16px; color: var(--violet-dark); font-size: 9px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.article-card h3 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; }
.article-card__excerpt { margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.article-card .card-meta { gap: 8px 10px; margin-top: auto; padding-top: 25px; font-size: 10px; }
.article-card .card-meta > span + span::before { left: -6px; }
.article-card__link { position: absolute; inset: 0; }
.article-card { position: relative; }
.article-card__link:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }

.empty-state { padding: 70px 30px; border: 1px dashed rgba(9, 9, 11, 0.25); border-radius: var(--radius-ui); background: rgba(255, 253, 248, 0.6); text-align: center; }
.empty-state h3 { margin: 0; font-size: 30px; letter-spacing: -0.04em; }
.empty-state p { margin: 12px auto 0; color: var(--muted); }

.journal-cta {
  display: grid;
  width: var(--site-frame);
  margin: 0 auto 110px;
  padding: clamp(38px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  border-radius: var(--radius-ui);
  background: #ede6dc url("/assets/project-get-out-gradient-background-4k.webp") center / cover no-repeat;
  color: #291759;
  background:
    linear-gradient(rgba(9, 9, 11, 0.92), rgba(9, 9, 11, 0.92)),
    url("/assets/project-get-out-gradient-background-4k.webp") center / cover no-repeat;
  color: white;
  box-shadow: 0 28px 75px rgba(9, 9, 11, 0.19);
}
.journal-cta p { margin: 0 0 15px; color: var(--violet-dark); color: var(--lavender); font-size: 10px; font-weight: 850; letter-spacing: 0.18em; text-transform: uppercase; }
.journal-cta h2 { max-width: 820px; margin: 0; font-size: clamp(37px, 4.3vw, 60px); font-weight: 650; line-height: 0.98; letter-spacing: -0.055em; }
.journal-cta a { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: var(--radius-ui); background: var(--violet); color: white; font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; box-shadow: 0 12px 30px rgba(104, 71, 245, 0.28); transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.journal-cta a:hover { background: #7a60f7; box-shadow: 0 16px 34px rgba(104, 71, 245, 0.36); transform: translateY(-1px); }
.journal-cta a:active { transform: translateY(0); }
.journal-cta a:focus-visible { outline: 3px solid var(--lavender); outline-offset: 4px; }

.journal-footer { background: var(--ink); color: white; }
.journal-footer__inner { width: var(--site-frame); display: grid; min-height: 240px; margin: 0 auto; padding: 64px 0 72px; grid-template-columns: minmax(280px, 1.15fr) minmax(150px, .45fr) minmax(240px, .7fr); gap: 64px; align-items: start; }
.journal-footer .journal-brand { color: white; }
.journal-footer__copy { max-width: 560px; margin: 20px 0 0; color: #bdb9c0; font-size: 12px; line-height: 1.7; }
.journal-footer__brand-block .social-links { justify-content: flex-start; margin-top: 24px; }
.footer-group { display: grid; align-content: start; gap: 12px; }
.footer-group strong { margin-bottom: 7px; color: white; font-size: 14px; font-weight: 700; }
.footer-group strong a { color: inherit; }
.footer-group a { width: max-content; max-width: 100%; color: #9f9ba3; font-size: 12px; line-height: 1.45; text-decoration: none; }
.footer-group a:hover { color: var(--lavender); }

/* Article */
.breadcrumbs { width: var(--site-frame); margin: 0 auto; padding: 28px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: #716e74; font-size: 11px; }
.breadcrumbs li + li::before { margin-right: 8px; content: "/"; color: #aaa5ad; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--violet-dark); }
.article-kicker a { color: inherit; text-decoration: none; }
.article-kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Category */
.category-hero {
  width: var(--site-frame);
  display: grid;
  margin: 0 auto;
  padding: 82px 0 66px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  gap: 90px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.category-hero h1 { margin: 0; font-size: clamp(58px, 7vw, 96px); font-weight: 650; line-height: 0.9; letter-spacing: -0.065em; }
.category-hero > div > p:not(.eyebrow) { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.category-articles { padding: 54px 0 120px; }

.article-hero { width: min(1040px, calc(100% - 64px)); margin: 0 auto; padding: 78px 0 58px; text-align: center; }
.article-hero h1 { font-size: clamp(54px, 6.4vw, 86px); line-height: 0.98; }
.article-dek { max-width: 760px; margin: 30px auto 0; color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.62; }
.article-byline { display: inline-flex; align-items: center; gap: 13px; margin-top: 31px; text-align: left; }
.article-byline img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: white; object-fit: cover; box-shadow: 0 8px 20px rgba(9, 9, 11, 0.1); }
.article-byline p { margin: 0; color: #55525a; font-size: 12px; line-height: 1.5; }
.article-byline a { color: var(--ink); font-weight: 850; text-decoration: none; }
.article-byline time { white-space: nowrap; }

.article-hero-image { width: min(1120px, calc(100% - 64px)); height: min(42vw, 480px); min-height: 300px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-ui); background: #242027; box-shadow: var(--shadow); }
.article-hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }

.article-layout { width: min(1120px, calc(100% - 64px)); display: grid; margin: 0 auto; padding: 84px 0 112px; grid-template-columns: 230px minmax(0, 720px); gap: 70px; align-items: start; }
.article-toc { position: sticky; top: 112px; padding: 22px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.article-toc > p { margin: 0 0 15px; font-size: 10px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.article-toc ol { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.article-toc a { display: block; color: #66636a; font-size: 12px; line-height: 1.4; text-decoration: none; }
.article-toc a:hover { color: var(--violet-dark); }
.article-toc__progress { height: 2px; margin-top: 20px; background: rgba(9, 9, 11, 0.08); }
.article-toc__progress span { width: 0; height: 100%; display: block; background: var(--violet); }
.article-main { min-width: 0; }

.ai-exercise {
  position: relative;
  isolation: isolate;
  margin: 0 0 58px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(201, 188, 255, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 12%, rgba(104, 71, 245, 0.48), transparent 16rem),
    linear-gradient(135deg, #0b0a0e 0%, #17131f 62%, #211a36 100%);
  color: white;
  box-shadow: 0 24px 60px rgba(20, 13, 36, 0.24);
  font-family: "Manrope", sans-serif;
}
.ai-exercise::before,
.ai-exercise::after {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(201, 188, 255, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ai-exercise::before { top: -104px; right: -46px; }
.ai-exercise::after { top: -78px; right: -72px; }
.ai-exercise__copy { position: relative; max-width: 630px; }
.ai-exercise__eyebrow {
  display: flex;
  margin: 0 0 15px;
  align-items: center;
  gap: 8px;
  color: var(--lavender);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ai-exercise__eyebrow span { color: white; font-size: 14px; }
.ai-exercise h2 {
  margin: 0;
  color: white;
  font-size: clamp(29px, 4vw, 39px);
  font-weight: 680;
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.ai-exercise__copy > p:last-child {
  margin: 17px 0 0;
  color: #d7d2df;
  font-size: 13px;
  line-height: 1.65;
}
.ai-exercise__providers {
  position: relative;
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.ai-provider {
  min-width: 0;
  min-height: 52px;
  display: grid;
  padding: 8px 10px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: #18151c;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.ai-provider:hover { border-color: white; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); transform: translateY(-2px); }
.ai-provider:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }
.ai-provider__mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ece9f1;
}
.ai-provider__mark img { width: 15px; height: 15px; display: block; object-fit: contain; }
.ai-provider--perplexity .ai-provider__mark { background: #dff8f6; }
.ai-provider--grok .ai-provider__mark { background: #151515; }
.ai-provider--grok .ai-provider__mark img { filter: brightness(0) invert(1); }
.ai-provider--gemini .ai-provider__mark { background: linear-gradient(135deg, #dce8ff, #eadfff); }
.ai-provider--claude .ai-provider__mark { background: #f7e7df; }
.ai-exercise__privacy {
  position: relative;
  margin: 15px 0 0;
  color: #aaa4b3;
  font-size: 9px;
  line-height: 1.55;
}

.article-body { min-width: 0; color: #262429; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.article-body > p:first-child { color: var(--ink); font-size: 24px; line-height: 1.58; }
.article-body h2 { scroll-margin-top: 110px; margin: 70px 0 22px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(34px, 4vw, 48px); font-weight: 680; line-height: 1.02; letter-spacing: -0.05em; }
.article-body h3 { scroll-margin-top: 110px; margin: 42px 0 13px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 750; line-height: 1.12; letter-spacing: -0.035em; }
.article-body p { margin: 0 0 24px; }
.article-body ul,
.article-body ol { display: grid; gap: 10px; margin: 0 0 28px; padding-left: 25px; }
.article-body li { padding-left: 5px; }
.article-body a { color: var(--violet-dark); text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 36px 0; padding: 24px 28px; border-left: 4px solid var(--violet); background: var(--soft-violet); color: var(--ink); font-size: 21px; line-height: 1.55; }
.article-body h2:first-of-type + p { padding: 24px 28px; border: 1px solid rgba(104, 71, 245, 0.24); border-radius: var(--radius-ui); background: rgba(104, 71, 245, 0.07); color: var(--ink); font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 600; line-height: 1.65; }

.article-takeaways {
  margin: 38px 0 18px;
  padding: 28px 30px;
  border: 1px solid rgba(104, 71, 245, 0.23);
  border-left: 4px solid var(--violet);
  border-radius: var(--radius-ui);
  background: linear-gradient(135deg, rgba(104, 71, 245, 0.09), rgba(255, 253, 248, 0.96));
  box-shadow: 0 16px 40px rgba(29, 21, 10, 0.06);
  font-family: "Manrope", sans-serif;
}
.article-takeaways .article-takeaways__eyebrow { margin: 0 0 8px; color: var(--violet-dark); font-size: 9px; font-weight: 850; letter-spacing: 0.15em; line-height: 1.4; text-transform: uppercase; }
.article-takeaways h2 { margin: 0 0 18px; font-size: 24px; font-weight: 760; line-height: 1.15; letter-spacing: -0.035em; }
.article-takeaways ul { display: grid; margin: 0; padding: 0; gap: 12px; list-style: none; }
.article-takeaways li { position: relative; padding: 0 0 0 22px; color: #353139; font-size: 14px; font-weight: 580; line-height: 1.6; }
.article-takeaways li::before { position: absolute; top: 0.67em; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(104, 71, 245, 0.11); content: ""; }

.article-diagram { margin: 48px 0; padding: 30px; overflow: hidden; border: 1px solid rgba(117, 88, 44, 0.24); border-radius: var(--radius-ui); background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 229, 0.88)); box-shadow: 0 18px 44px rgba(29, 21, 10, 0.07); }
.article-diagram__canvas { max-width: 100%; overflow-x: auto; }
.article-diagram__canvas:focus-visible { outline: 3px solid rgba(104, 71, 245, 0.35); outline-offset: 3px; }
.article-diagram img { width: 100%; max-height: 920px; display: block; object-fit: contain; }
.article-diagram__hint { display: none; }
.article-diagram figcaption { display: grid; margin-top: 24px; padding-top: 19px; grid-template-columns: 92px minmax(0, 1fr); gap: 15px; align-items: start; border-top: 1px solid rgba(9, 9, 11, 0.1); color: #4d4951; font-family: "Manrope", sans-serif; font-size: 13px; line-height: 1.65; }
.article-diagram__label { color: var(--violet-dark); font-size: 9px; font-weight: 850; letter-spacing: 0.13em; line-height: 1.9; text-transform: uppercase; }

.article-table-wrap { max-width: 100%; margin: 34px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-ui); background: rgba(255, 253, 248, 0.82); box-shadow: 0 14px 36px rgba(29, 21, 10, 0.05); font-family: "Manrope", sans-serif; }
.article-table-wrap:focus-visible { outline: 3px solid rgba(104, 71, 245, 0.35); outline-offset: 3px; }
.article-table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; color: #353239; font-size: 12px; line-height: 1.5; }
.article-table-wrap th,
.article-table-wrap td { min-width: 130px; padding: 15px 17px; vertical-align: top; border-right: 1px solid rgba(9, 9, 11, 0.09); border-bottom: 1px solid rgba(9, 9, 11, 0.09); }
.article-table-wrap th { background: rgba(104, 71, 245, 0.08); color: var(--ink); font-size: 10px; font-weight: 850; letter-spacing: 0.04em; }
.article-table-wrap tr:last-child td { border-bottom: 0; }
.article-table-wrap th:last-child,
.article-table-wrap td:last-child { border-right: 0; }
.article-table-wrap a { color: var(--violet-dark); }

.draft-banner { width: var(--site-frame); display: flex; margin: 18px auto 0; padding: 14px 18px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(104, 71, 245, 0.3); border-radius: var(--radius-ui); background: rgba(104, 71, 245, 0.09); color: #454148; font-size: 11px; line-height: 1.45; }
.draft-banner strong { flex: 0 0 auto; color: var(--violet-dark); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.draft-preview .article-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #5f5c63; font-family: "Manrope", sans-serif; font-size: 11px; }
.preview-hero { width: var(--site-frame); margin: 0 auto; padding: 76px 0 58px; border-bottom: 1px solid var(--line); }
.preview-hero h1 { max-width: 900px; margin: 0; font-size: clamp(54px, 7vw, 94px); font-weight: 650; line-height: 0.92; letter-spacing: -0.065em; }
.preview-hero > p:last-child { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.preview-shell { width: var(--site-frame); margin: 0 auto; padding: 42px 0 120px; }
.preview-taxonomy { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 62px; }
.preview-taxonomy span { padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, 0.72); color: #5d5961; font-size: 11px; font-weight: 750; }

.article-disclaimer { margin-top: 66px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #6a676e; font-family: "Manrope", sans-serif; font-size: 12px; line-height: 1.65; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.article-tags a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #5f5c63; font-family: "Manrope", sans-serif; font-size: 11px; text-decoration: none; }

.author-card { display: grid; margin-top: 48px; padding: 28px; grid-template-columns: 68px 1fr; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius-ui); background: var(--paper); box-shadow: 0 14px 40px rgba(29, 21, 10, 0.05); font-family: "Manrope", sans-serif; }
.author-card img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }
.author-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.author-card strong { display: block; margin-bottom: 5px; font-size: 17px; }
.author-card a { text-decoration: none; }

.related-section { padding: 100px 0 115px; border-top: 1px solid var(--line); }
.related-section .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Author */
.author-hero { display: grid; padding: 94px 0 78px; grid-template-columns: 170px minmax(0, 700px); gap: 45px; align-items: center; border-bottom: 1px solid var(--line); }
.author-hero img { width: 160px; height: 160px; border-radius: 50%; background: white; object-fit: cover; box-shadow: var(--shadow); }
.author-hero h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 0.95; letter-spacing: -0.06em; }
.author-role { margin: 17px 0 0; color: var(--violet-dark); font-size: 12px; font-weight: 800; }
.author-bio { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.author-articles { padding: 86px 0 120px; }

@media (max-width: 980px) {
  .journal-header { grid-template-columns: 1fr auto; }
  .journal-nav { display: none; }
  .site-menu { display: block; }
  .blog-hero { grid-template-columns: 1fr; gap: 44px; }
  .category-hero { grid-template-columns: 1fr; gap: 36px; }
  .blog-hero__intro { max-width: 700px; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-story__image { min-height: 400px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-toc { position: static; }
  .article-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-exercise__providers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --site-frame: calc(100% - 38px); }
  .journal-header { min-height: 70px; padding: 9px 19px; }
  .journal-brand { gap: 9px; }
  .journal-brand img { width: 30px; height: 30px; }
  .journal-brand small { font-size: 6px; }
  .journal-brand strong { font-size: 16px; }
  .header-cta { min-height: 42px; padding: 0 13px; font-size: 10px; }
  .blog-hero { min-height: 0; padding: 32px 0 36px; gap: 30px; }
  .category-hero { padding: 54px 0 42px; }
  .category-hero h1 { font-size: clamp(50px, 15vw, 68px); }
  .category-hero > div > p:not(.eyebrow) { font-size: 17px; }
  .blog-hero h1 { font-size: clamp(52px, 15vw, 68px); }
  .blog-hero__intro { font-size: 17px; }
  .category-bar { padding: 20px 0; }
  .featured-story { min-height: 0; }
  .featured-story__image { min-height: 260px; }
  .featured-story__copy { padding: 30px 24px 34px; }
  .featured-story h2 { font-size: 38px; }
  .latest-section { padding: 75px 0 84px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 45px; }
  .section-heading p:last-child { margin-top: 17px; }
  .article-grid,
  .related-section .article-grid { grid-template-columns: 1fr; }
  .journal-cta { grid-template-columns: 1fr; gap: 30px; margin-bottom: 76px; padding: 34px 24px; }
  .journal-cta h2 { font-size: 39px; }
  .journal-cta a { width: 100%; }
  .journal-footer__inner { grid-template-columns: 1fr 1fr; gap: 44px; }
  .journal-footer__brand-block { grid-column: 1 / -1; }

  .breadcrumbs { padding-top: 20px; }
  .article-hero { width: calc(100% - 38px); padding: 54px 0 42px; text-align: left; }
  .article-hero h1 { font-size: clamp(47px, 13vw, 64px); }
  .article-dek { margin-top: 22px; font-size: 18px; }
  .article-byline { margin-top: 25px; }
  .article-hero-image { width: calc(100% - 38px); height: 58vw; min-height: 220px; }
  .article-layout { width: calc(100% - 38px); padding: 52px 0 80px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .ai-exercise { margin-bottom: 44px; padding: 27px 21px 22px; }
  .ai-exercise::before,
  .ai-exercise::after { opacity: 0.65; }
  .ai-exercise h2 { font-size: 31px; }
  .ai-exercise__providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-provider { min-height: 50px; font-size: 10px; }
  .article-body { font-size: 18px; line-height: 1.72; }
  .article-body > p:first-child { font-size: 21px; }
  .article-body h2 { margin-top: 56px; font-size: 36px; }
  .article-body h3 { font-size: 23px; }
  .article-takeaways { margin-top: 32px; padding: 24px 22px; }
  .article-takeaways h2 { margin: 0 0 18px; font-size: 23px; }
  .article-takeaways li { font-size: 13px; line-height: 1.62; }
  .article-diagram { margin: 38px 0; padding: 19px; }
  .article-diagram img { min-width: 420px; }
  .article-diagram__hint { display: block; margin-top: 8px; color: #77727b; font-family: "Manrope", sans-serif; font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-align: right; text-transform: uppercase; }
  .article-diagram figcaption { grid-template-columns: 1fr; gap: 5px; margin-top: 18px; padding-top: 15px; }
  .author-card { grid-template-columns: 52px 1fr; padding: 22px; }
  .author-card img { width: 52px; height: 52px; }
  .related-section { padding: 74px 0 84px; }
  .author-hero { grid-template-columns: 1fr; gap: 28px; padding: 64px 0 58px; }
  .author-hero img { width: 120px; height: 120px; }
  .draft-banner { display: grid; padding: 13px 15px; }
}

@media (max-width: 480px) {
  .journal-footer__inner { grid-template-columns: 1fr; }
  .journal-footer__brand-block { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
