@font-face {
  font-family: Inter;
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
  src: url("https://cdn.revcent.com/fonts/inter/Inter.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --text: #101828;
  --text-soft: #475467;
  --muted: #667085;
  --line: #e7eaf3;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-lavender: #fbf9ff;
  --blue: #1a8bff;
  --purple: #6e00be;
  --purple-2: #8b5cf6;
  --pink: #ff2171;
  --green-soft: #ecfdf3;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.1);
  --shadow-soft: 0 14px 42px rgba(16, 24, 40, 0.07);
  --layout: 1240px;
  --page-gutter: 40px;
  --rc-icon-chevron-down-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --rc-icon-menu-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  --rc-icon-x-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

main {
  width: 100%;
}

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

.rc-public-nav {
  --rc-nav-text: var(--text);
  --rc-nav-muted: var(--muted);
  --rc-nav-purple: var(--purple);
  --rc-nav-blue: var(--blue);
  --rc-nav-soft: var(--bg-soft);
  --rc-nav-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 50px;
  padding-top: 0;
  transform: translateX(-50%);
}

.brand,
.desktop-nav,
.site-header__actions,
.post-card__meta,
.article__meta,
.tag-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 6px;
  color: var(--text);
  font-size: 27px;
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.brand small {
  margin-top: 1px;
  color: #5a23ce;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

.site-header__actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 10px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-actions li {
  list-style: none;
}

.desktop-nav {
  gap: 30px;
  margin: 0;
  padding: 0;
  color: var(--text);
  list-style: none;
}

.desktop-nav li {
  position: static;
  list-style: none;
}

@media (max-width: 1280px) {
  .desktop-nav {
    gap: 22px;
  }
}

.mobile-nav {
  margin-left: auto;
}

.desktop-nav a,
.desktop-nav button,
.site-header__actions a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.desktop-nav a,
.desktop-nav button {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  padding: 9px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: normal;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.site-header__actions a:hover {
  color: var(--text);
}

.post-card h2 a:hover,
.back-link:hover {
  color: var(--purple);
}

.mobile-nav {
  display: none;
  position: relative;
}

.rbt-round-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  color: var(--text);
  cursor: pointer;
}

.mobile-nav__toggle:focus-visible,
.desktop-nav a:focus-visible,
.desktop-nav button:focus-visible,
.site-header__actions a:focus-visible,
.popup-mobile-menu a:focus-visible,
.popup-mobile-menu button:focus-visible {
  outline: 3px solid rgba(26, 139, 255, 0.28);
  outline-offset: 3px;
}

.feather-menu,
.feather-x,
.feather-chevron-down,
.rc-nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

.feather-menu::before,
.feather-x::before,
.feather-chevron-down::before,
.rc-nav-caret::before {
  display: block;
  width: 1em;
  height: 1em;
  background: currentColor;
  content: "";
  -webkit-mask: var(--rc-ui-icon-mask) center / contain no-repeat;
  mask: var(--rc-ui-icon-mask) center / contain no-repeat;
}

.feather-menu::before {
  --rc-ui-icon-mask: var(--rc-icon-menu-mask);
}

.feather-x::before {
  --rc-ui-icon-mask: var(--rc-icon-x-mask);
}

.feather-chevron-down::before,
.rc-nav-caret::before {
  --rc-ui-icon-mask: var(--rc-icon-chevron-down-mask);
}

.rc-nav-trigger .rc-nav-caret {
  display: none;
}

.rc-nav-trigger::after {
  position: relative;
  top: 0;
  width: 10px;
  height: 10px;
  margin-left: 1px;
  background: var(--rc-nav-muted);
  content: "";
  -webkit-mask: var(--rc-icon-chevron-down-mask) center / contain no-repeat;
  mask: var(--rc-icon-chevron-down-mask) center / contain no-repeat;
  transform: rotate(0);
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.rc-nav-item.is-open > .rc-nav-trigger::after {
  transform: rotate(180deg);
}

.rc-nav-mega {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  z-index: 99;
  width: min(calc(100vw - 44px), 1180px);
  max-width: calc(100vw - 44px);
  padding-top: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.rc-nav-item.is-open .rc-nav-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.rc-nav-mega-inner {
  padding: 26px;
  border: 1px solid rgba(231, 234, 243, 0.94);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--rc-nav-shadow);
}

.rc-nav-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rc-nav-section {
  min-width: 0;
}

.rc-nav-section-head {
  display: flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 8px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.84);
}

.rc-nav-section-head strong {
  color: var(--rc-nav-text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.rc-nav-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-nav-links li {
  list-style: none;
}

.rc-nav-links a {
  display: block;
  min-height: 58px;
  padding: 11px 12px;
  border-radius: 16px;
  color: var(--rc-nav-text);
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.rc-nav-links a:hover {
  background: var(--rc-nav-soft);
  transform: translateY(-1px);
}

.rc-nav-links strong {
  display: block;
  color: var(--rc-nav-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.rc-nav-links span {
  display: block;
  margin-top: 4px;
  color: var(--rc-nav-muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.35;
}

.nav-pill,
.button-link {
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(231, 234, 243, 0.95);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.045);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav-pill:hover {
  color: var(--text);
}

.site-header__actions .nav-pill {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.popup-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.popup-mobile-menu .inner-wrapper {
  width: min(85vw, 440px);
  max-width: min(85vw, 440px);
  height: 100%;
  overflow-y: auto;
  background: #f7f8fc;
  box-shadow: 24px 0 80px rgba(16, 24, 40, 0.18);
  transform: translateX(-100%);
  transition: transform 240ms ease;
}

.popup-mobile-menu .inner-top .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
}

.close_side_menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.popup-mobile-menu.active,
.popup-mobile-menu.rc-mobile-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-mobile-menu.active .inner-wrapper,
.popup-mobile-menu.rc-mobile-open .inner-wrapper {
  position: relative;
  z-index: 1001;
  transform: translateX(0);
}

.close_side_menu.active,
.close_side_menu.rc-mobile-open {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: block;
  background: rgba(16, 24, 40, 0.34);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.rc-mobile-nav-open {
  overflow: hidden;
}

.rc-mobile-nav {
  display: grid;
  gap: 18px;
  padding: 22px 16px;
}

.rc-mobile-nav a,
.rc-mobile-nav summary {
  color: var(--rc-nav-text);
  text-decoration: none;
}

.rc-mobile-nav details {
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 20px;
  background: #ffffff;
}

.rc-mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.rc-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.rc-mobile-nav summary i {
  display: none;
}

.rc-mobile-nav summary::after {
  width: 11px;
  height: 11px;
  background: var(--rc-nav-muted);
  content: "";
  -webkit-mask: var(--rc-icon-chevron-down-mask) center / contain no-repeat;
  mask: var(--rc-icon-chevron-down-mask) center / contain no-repeat;
  transform: rotate(0);
  transform-origin: 50% 50%;
  transition: transform 180ms ease;
}

.rc-mobile-nav details[open] summary::after {
  transform: rotate(180deg);
}

.rc-mobile-dropdown {
  display: grid;
  gap: 14px;
  padding: 0 12px 14px;
}

.rc-mobile-help-grid {
  display: grid;
  gap: 12px;
}

.rc-mobile-help-grid .rc-nav-section {
  padding: 12px;
  border-radius: 16px;
  background: rgba(247, 248, 252, 0.68);
}

.rc-mobile-help-grid .rc-nav-section-head {
  min-height: 0;
  margin-bottom: 6px;
  padding: 0 0 8px;
}

.rc-mobile-help-grid .rc-nav-links a {
  min-height: 0;
  padding: 10px 0;
  border-radius: 0;
}

.rc-mobile-help-grid .rc-nav-links a:hover {
  background: transparent;
  transform: none;
}

.rc-mobile-single {
  display: block;
  min-height: 54px;
  padding: 17px 16px;
  border: 1px solid rgba(231, 234, 243, 0.92);
  border-radius: 20px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 850;
}

.rc-mobile-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.rc-mobile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(231, 234, 243, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rc-nav-text);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.hero {
  position: relative;
  display: block;
  padding: 178px 0 104px;
  background: linear-gradient(180deg, rgba(246, 240, 255, 0.92) 0, rgba(247, 251, 255, 0.82) 38%, #ffffff 100%);
  overflow: visible;
}

.hero__inner {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.hero__copy {
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.article-hero h1,
.empty-state h1 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(70px, 7.1vw, 98px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 1080px;
  margin-top: 18px;
}

.article-hero h1 span,
.section-heading h2 span {
  display: inline;
  margin-top: -0.04em;
  margin-right: 0;
  margin-bottom: -0.08em;
  padding-top: 0.04em;
  padding-right: 0.04em;
  padding-bottom: 0.08em;
  background: linear-gradient(110deg, var(--purple), var(--blue) 65%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: var(--purple);
  -webkit-text-fill-color: transparent;
  white-space: normal;
}

.hero__lede,
.article__dek,
.empty-state p {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.62;
}

.hero__lede {
  min-height: 97.2px;
}

.featured {
  display: grid;
  gap: 14px;
  width: min(680px, 100%);
  margin-top: 42px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  text-decoration: none;
}

.featured__label {
  width: fit-content;
  color: var(--purple);
  font-size: 13px;
  font-weight: 820;
}

.featured strong {
  max-width: 540px;
  font-size: 28px;
  font-weight: 740;
  line-height: 1.1;
}

.featured span:last-child {
  max-width: 560px;
  color: var(--text-soft);
  line-height: 1.6;
}

.posts-section {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 0 0 98px;
}

.posts-hero {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 164px 0 26px;
}

.posts-hero h1 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 88px;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.02;
}

.posts-listing {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 0 0 98px;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.archive-tags {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 3px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.archive-tags::-webkit-scrollbar {
  display: none;
}

.archive-tag,
.archive-control,
.archive-dropdown__menu button,
.archive-view-toggle__button {
  appearance: none;
  font-family: inherit;
  letter-spacing: 0;
  cursor: pointer;
}

.archive-tag {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.archive-tag:hover,
.archive-tag.is-active {
  color: var(--text);
}

.archive-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.archive-dropdown {
  position: relative;
}

.archive-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.archive-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 178px;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.archive-dropdown__menu[hidden] {
  display: none;
}

.archive-dropdown__menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
}

.archive-dropdown__menu button:hover,
.archive-dropdown__menu button.is-active {
  background: var(--bg-soft);
}

.archive-dropdown__menu button.is-active::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 999px;
  background: var(--purple);
}

.archive-view-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-view-toggle__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
}

.archive-view-toggle__button:hover,
.archive-view-toggle__button.is-active {
  color: var(--text);
  border-color: rgba(16, 24, 40, 0.22);
}

.archive-icon {
  display: block;
  flex: 0 0 auto;
}

.archive-icon--filter {
  width: 16px;
  height: 16px;
}

.archive-icon--chevron {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.archive-dropdown.is-open .archive-icon--chevron {
  transform: rotate(180deg);
}

.archive-icon--grid,
.archive-icon--list {
  width: 16px;
  height: 16px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.post-list--list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.post-list__item {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.post-list--list .post-list__item {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 28px;
  min-height: auto;
}

.post-card__thumbnail,
.post-list__thumbnail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 50px);
  aspect-ratio: 16 / 10;
  margin: -25px -25px 24px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 20px 20px 0 0;
  background:
    linear-gradient(
      135deg,
      hsl(
          var(--thumb-dominant-h, 206)
          calc(var(--thumb-dominant-s, 54%) - 24%)
          96% /
          0.92
        )
        0,
      hsl(
          var(--thumb-subdominant-h, 318)
          calc(var(--thumb-subdominant-s, 48%) - 14%)
          92% /
          0.58
        )
        48%,
      hsl(
          var(--thumb-dominant-h, 206)
          calc(var(--thumb-dominant-s, 54%) - 12%)
          88% /
          0.86
        )
        100%
    ),
    hsl(var(--thumb-dominant-h, 206) 48% 88%);
  color: #ffffff;
  text-decoration: none;
}

.post-card__thumbnail::before,
.post-list__thumbnail::before {
  position: absolute;
  inset: -34%;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 112% 72% at -4% 104%,
      hsl(
          var(--thumb-dominant-h, 206)
          var(--thumb-dominant-s, 54%)
          calc(var(--thumb-dominant-l, 74%) - 2%) /
          0.64
        )
        0 34%,
      transparent 66%
    ),
    radial-gradient(
      ellipse 84% 52% at 88% -8%,
      hsl(
          var(--thumb-subdominant-h, 318)
          calc(var(--thumb-subdominant-s, 48%) - 10%)
          calc(var(--thumb-subdominant-l, 82%) + 6%) /
          0.5
        )
        0 30%,
      transparent 64%
    ),
    linear-gradient(
      var(--thumb-angle, 128deg),
      hsl(
          var(--thumb-dominant-h, 206)
          calc(var(--thumb-dominant-s, 54%) - 18%)
          96% /
          0.84
        )
        0,
      hsl(
          var(--thumb-subdominant-h, 318)
          var(--thumb-subdominant-s, 48%)
          var(--thumb-subdominant-l, 82%) /
          0.42
        )
        32%,
      hsl(
          var(--thumb-dominant-h, 206)
          var(--thumb-dominant-s, 54%)
          calc(var(--thumb-dominant-l, 74%) - 12%) /
          0.48
        )
        54%,
      transparent 74%
    );
  content: "";
  filter: blur(24px);
  transform: rotate(-5deg) scale(1.14);
}

.post-card__thumbnail::after,
.post-list__thumbnail::after {
  position: absolute;
  inset: -18%;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 122% 40% at var(--thumb-subdominant-x, 58%) var(--thumb-subdominant-y, 34%),
      transparent 0 30%,
      hsl(
          var(--thumb-subdominant-h, 318)
          var(--thumb-subdominant-s, 48%)
          calc(var(--thumb-subdominant-l, 82%) - 12%) /
          0.3
        )
        42%,
      transparent 62%
    ),
    linear-gradient(
      116deg,
      transparent 4%,
      hsl(
          var(--thumb-subdominant-h, 318)
          calc(var(--thumb-subdominant-s, 48%) - 16%)
          96% /
          0.46
        )
        28%,
      transparent 48%
    ),
    linear-gradient(
      145deg,
      transparent 26%,
      hsl(
          var(--thumb-dominant-h, 206)
          calc(var(--thumb-dominant-s, 54%) + 4%)
          calc(var(--thumb-dominant-l, 74%) - 10%) /
          0.34
        )
        44%,
      transparent 62%
    ),
    radial-gradient(ellipse 74% 34% at 68% 72%, rgba(255, 255, 255, 0.34) 0 20%, transparent 64%);
  content: "";
  filter: blur(17px);
  transform: skewY(-8deg) rotate(3deg) scale(1.1);
}

.post-card__thumbnail-label,
.post-list__thumbnail-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: min(78%, 260px);
  color: rgba(255, 255, 255, 0.96);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 2px 18px rgba(16, 24, 40, 0.24);
}

.post-card__thumbnail-word,
.post-list__thumbnail-word {
  display: block;
}

.post-list--list .post-list__thumbnail {
  display: none;
}

.post-list__date {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.post-list--list .post-list__date {
  display: grid;
  align-content: start;
  gap: 8px;
  margin-bottom: 0;
}

.post-list__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.post-list__content h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.08;
}

.post-list__content h2 a {
  text-decoration: none;
}

.post-list__content h2 a:hover {
  color: var(--purple);
}

.post-list__content p {
  max-width: 780px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.post-list__content .tag-row {
  margin-top: auto;
}

.post-list__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 38px 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.load-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 54px;
}

.load-more[hidden] {
  display: none;
}

.load-more__button {
  min-width: 124px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.load-more__button:hover:not(:disabled) {
  border-color: rgba(231, 234, 243, 0.95);
  background: #ffffff;
  transform: translateY(-1px);
}

.load-more__button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 720px);
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.section-heading span {
  color: #d3d8e4;
  font-size: 56px;
  font-weight: 760;
  line-height: 1;
}

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--text);
  font-size: 68px;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.02;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.post-card__meta,
.article__meta {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.article__meta {
  margin-top: 28px;
}

.post-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.08;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card p {
  color: var(--text-soft);
  line-height: 1.62;
}

.tag-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.tag-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.article-hero {
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 148px 0 50px;
  border-bottom: 1px solid rgba(231, 234, 243, 0.52);
  text-align: left;
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(56px, 6.4vw, 88px);
  line-height: 1.02;
}

.article-hero .article__dek {
  max-width: 760px;
  margin-top: 28px;
}

.article-hero .article__meta {
  margin-top: 34px;
  margin-bottom: 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 760px);
  column-gap: 120px;
  row-gap: 64px;
  align-items: start;
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.article-shell--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.article-content {
  min-width: 0;
}

.article-toc {
  position: sticky;
  top: 104px;
  min-width: 0;
  max-height: calc(100vh - 128px);
  padding: 0 8px 12px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(16, 24, 40, 0.22) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.article-toc::-webkit-scrollbar {
  width: 8px;
}

.article-toc::-webkit-scrollbar-track {
  background: transparent;
}

.article-toc::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.18);
  background-clip: content-box;
}

.article-toc p {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 0 0 18px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.article-toc ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.article-toc__item--level-3 {
  padding-left: 14px;
}

.article-toc__item--level-3 a {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--text);
}

.article-toc a.is-active {
  background: #f3f4f6;
  font-weight: 500;
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.article__body {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.78;
}

.article__body h2 {
  margin: 72px 0 16px;
  color: var(--text);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  scroll-margin-top: 112px;
}

.article__body h2:first-child {
  margin-top: 0;
}

.article__body h3 {
  margin: 52px 0 12px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
  scroll-margin-top: 112px;
}

.article__body p,
.article__body li {
  color: var(--text-soft);
}

.article__body p {
  margin-bottom: 24px;
}

.article__body ul {
  margin: 0 0 28px;
  padding-left: 22px;
}

.article__body li + li {
  margin-top: 12px;
}

.article__body p code,
.article__body li code {
  padding: 0.15em 0.35em;
  border-radius: 6px;
  background: rgba(16, 24, 40, 0.06);
  color: var(--text);
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 0.9em;
}

.article__body pre {
  margin: 18px 0 36px;
  max-height: min(520px, 68vh);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #1e1e1e;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
  scrollbar-width: thin;
}

.article__body pre::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.article__body pre::-webkit-scrollbar-track {
  background: transparent;
}

.article__body pre::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  background-clip: content-box;
}

.article__body pre code {
  display: block;
  min-width: max-content;
  padding: 22px 24px;
  color: #d4d4d4;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.9;
  tab-size: 2;
  white-space: pre;
}

.hljs-comment,
.hljs-quote {
  color: #6a9955;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
  color: #c586c0;
}

.hljs-string,
.hljs-regexp,
.hljs-doctag {
  color: #ce9178;
}

.hljs-number,
.hljs-literal {
  color: #b5cea8;
}

.hljs-title,
.hljs-section,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
  color: #dcdcaa;
}

.hljs-attr,
.hljs-attribute,
.hljs-variable,
.hljs-template-variable {
  color: #9cdcfe;
}

.hljs-built_in,
.hljs-type,
.hljs-class .hljs-title {
  color: #4ec9b0;
}

.hljs-symbol,
.hljs-bullet,
.hljs-meta {
  color: #d7ba7d;
}

.hljs-deletion {
  color: #f87171;
}

.hljs-addition {
  color: #86efac;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

blockquote {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid rgba(110, 0, 190, 0.08);
  border-radius: 16px;
  background: rgba(110, 0, 190, 0.035);
}

blockquote p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.62;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.article__body blockquote {
  display: none;
}

.article-citations {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 760px);
  column-gap: 120px;
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 56px 0 72px;
  border-top: 1px solid rgba(231, 234, 243, 0.42);
  background: #f3f4f6;
}

.article-citations--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.article-citations__inner {
  grid-column: 2;
  display: grid;
  gap: 42px;
  min-width: 0;
}

.article-citations__inner--with-links {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 64px;
}

.article-citations--single .article-citations__inner {
  grid-column: 1;
}

.article-citations__meta,
.article-citations__links {
  min-width: 0;
}

.article-citations__meta {
  display: grid;
  gap: 42px;
}

.article-citations__group {
  min-width: 0;
}

.article-citations__group h4 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.article-citations__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-citations__tags li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.06);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.article-citations__links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-citations__links li {
  min-width: 0;
}

.article-citations__author p,
.article-citations__links a {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.article-citations__links a {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-citations__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related {
  display: grid;
  gap: 28px;
  width: min(var(--layout), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 56px 0 104px;
}

.related__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.related h4 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.2;
}

.related__header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.related__header a:hover {
  border-color: rgba(231, 234, 243, 0.95);
  transform: translateY(-1px);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.empty-state {
  width: min(860px, calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 120px 0 160px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(231, 234, 243, 0.95);
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}

.button-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(231, 234, 243, 0.92);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.site-footer a:hover {
  border-color: rgba(231, 234, 243, 0.95);
  background: #ffffff;
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .hero {
    padding: 140px 0 86px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
  }

  .posts-hero h1,
  .empty-state h1 {
    font-size: 70px;
  }

  .section-heading,
  .article-shell,
  .article-citations {
    grid-template-columns: 1fr;
  }

  .article-citations__inner {
    grid-column: 1;
  }

  .section-heading h2 {
    font-size: 56px;
  }

  .post-grid,
  .related__grid {
    grid-template-columns: 1fr;
  }

  .related__header {
    align-items: start;
    flex-direction: column;
  }

  .archive-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
  }

  .archive-actions {
    justify-content: space-between;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  .post-list--list .post-list__item {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .post-list__item {
    min-height: auto;
  }

  .post-list--list .post-list__date {
    display: flex;
    grid-column: auto;
    margin-bottom: 18px;
  }

  .article-toc {
    display: none;
  }

  .article-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1079px) {
  .site-header__nav,
  .site-header__actions,
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 28px;
  }

  .site-header,
  .site-footer {
    width: min(var(--layout), calc(100% - var(--page-gutter)));
  }

  .brand {
    font-size: 27px;
  }

  .site-header {
    min-height: 76px;
    gap: 16px;
    padding-top: 0;
  }

  .archive-actions {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .archive-dropdown__menu {
    left: 0;
    right: auto;
  }

  .article-citations__inner--with-links {
    grid-template-columns: 1fr;
  }

  .site-header__nav,
  .site-header__actions,
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 140px 0 86px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 70px);
    line-height: 1.02;
  }

  .posts-hero h1,
  .empty-state h1 {
    font-size: 50px;
    line-height: 1.03;
  }

  .hero__lede,
  .article__dek,
  .empty-state p {
    font-size: 18px;
    line-height: 1.62;
  }

  .hero__lede {
    font-size: 20px;
  }

  .section-heading {
    gap: 20px;
  }

  .section-heading span {
    font-size: 46px;
  }

  .section-heading h2,
  .article-hero h1 {
    font-size: 42px;
  }

  .article-hero {
    padding: 130px 0 48px;
  }

  .article-shell {
    padding-bottom: 58px;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .article__body h3 {
    font-size: 23px;
  }

  .featured,
  .post-card,
  .post-list__item,
  blockquote {
    border-radius: 16px;
  }
}
