@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-display-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Big Shoulders";
  src: url("fonts/big-shoulders-display-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #f7f7f5;
  --white: #ffffff;
  --ink: #0d0d0c;
  --muted: #62625b;
  --rule: #deded6;
  --soft: #eaeae3;
  --sage: #e9eddf;
  --sage-line: #536346;
  --green: #4afa8c;
  --green-ink: #0e7340;
  --sand: #d9cdb6;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1180px, calc(100% - 48px));
  --reading: 710px;
  --radius: 8px;
  color-scheme: light;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--green-ink);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.page-shell,
.site-header__inner,
.site-footer__inner {
  width: var(--page);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  font-weight: 800;
}

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

.site-header {
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 8px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.wordmark span {
  color: var(--green-ink);
  font-size: 33px;
}

.wordmark b {
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 28px;
}

.site-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--green-ink);
  text-underline-offset: 7px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--green-ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.eyebrow span,
.card-kicker span {
  display: inline-block;
  margin-right: 8px;
  color: var(--muted);
}

.series-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
  gap: 72px;
  align-items: end;
  padding-block: 88px 72px;
  border-bottom: 1px solid var(--rule);
}

.series-hero h1,
.article-header h1,
.narrow-page > h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 94px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.hero-lead,
.page-lead,
.dek {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.5;
}

.series-stats {
  margin: 0;
  border-top: 2px solid var(--ink);
}

.series-stats div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}

.series-stats dt {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.series-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.featured {
  padding-block: 80px 88px;
}

.section-heading,
.browse-header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.browse-header h2,
.related h2,
.atks-cta h2,
.topic-group__header h2,
.narrow-page h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

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

.guide-card {
  position: relative;
  min-width: 0;
  padding: 26px 0 28px;
  border-top: 1px solid var(--rule);
}

.guide-card--featured {
  padding-top: 0;
  border-top: 0;
}

.guide-card--featured img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  border-radius: var(--radius);
  object-fit: cover;
}

.guide-card h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.guide-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.guide-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.topic-nav {
  padding-block: 32px 68px;
  border-top: 1px solid var(--rule);
}

.topic-nav ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.topic-nav li + li {
  border-left: 1px solid var(--rule);
}

.topic-nav a {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.topic-nav a:hover {
  background: var(--sage);
}

.topic-nav a span {
  color: var(--green-ink);
  font-size: 14px;
}

.browse {
  padding-block: 80px 96px;
  border-top: 1px solid var(--rule);
  background: var(--white);
}

.guide-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 750;
}

.guide-search > div {
  display: flex;
}

.guide-search input {
  min-width: 0;
  flex: 1;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--paper);
}

.guide-search button {
  min-width: 72px;
  border: 1px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.search-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 68px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.filter-row button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.filter-row button:hover,
.filter-row button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.topic-group {
  scroll-margin-top: 32px;
}

.topic-group + .topic-group {
  margin-top: 96px;
}

.topic-group__header {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding-top: 26px;
  border-top: 3px solid var(--ink);
}

.group-number {
  margin: 0;
  color: var(--green-ink);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.topic-group__header h2 {
  font-size: 43px;
}

.topic-group__header div > p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
}

.group-count {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}

.guide-list .guide-card:nth-child(-n + 2) {
  border-top: 2px solid var(--ink);
}

.no-results {
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.breadcrumbs {
  padding-top: 30px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 10px;
  content: "/";
}

.review-banner {
  margin: 24px 0 0;
  padding: 9px 12px;
  border-left: 3px solid #8f865d;
  background: #ecebdc;
  color: #55543d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.article-header {
  padding-block: 60px 52px;
  border-bottom: 1px solid var(--rule);
}

.article-header h1 {
  max-width: 1060px;
  font-size: clamp(52px, 6.4vw, 84px);
  line-height: 1;
}

.article-header .dek {
  color: var(--ink);
  font-size: 22px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.article-top {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr);
  gap: 72px;
  align-items: start;
  padding-block: 50px 44px;
}

.answer {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.answer p:last-child {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.article-toc {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.article-toc ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-toc li + li {
  margin-top: 10px;
}

.utility-jump {
  display: inline-block;
  color: var(--green-ink);
  font-weight: 800;
}

.article-photo {
  margin: 0 0 72px;
}

.article-photo__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.article-photo.has-overlay .article-photo__frame::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(13, 13, 12, .14);
  content: "";
  pointer-events: none;
}

.article-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-photo--person img {
  object-position: center 38%;
}

.article-photo--people img {
  object-position: center 28%;
}

.article-photo figcaption {
  max-width: 78ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.article-photo figcaption strong {
  color: var(--ink);
}

.photo-overlay {
  position: absolute;
  z-index: 2;
  left: 24px;
  max-width: min(570px, calc(100% - 48px));
  margin: 0;
  padding: 16px 20px;
  background: rgba(13, 13, 12, .88);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(27px, 3.5vw, 45px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.01em;
}

.photo-overlay--top {
  top: 24px;
}

.photo-overlay--bottom {
  bottom: 24px;
}

.article-top--split {
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 64px;
  padding-bottom: 64px;
}

.article-top--split .article-top__copy {
  min-width: 0;
}

.article-top--split .article-toc {
  margin-top: 32px;
}

.article-photo--lead-split {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin: 0;
}

.article-photo--lead-split .article-photo__frame {
  flex: 1;
  min-height: 460px;
}

.article-photo--lead-split img {
  height: 100%;
  aspect-ratio: auto;
}

.article-photo--lead-split .photo-overlay {
  left: 16px;
  max-width: calc(100% - 32px);
  font-size: clamp(25px, 3vw, 38px);
}

.article-photo--lead-split .photo-overlay--top {
  top: 16px;
}

.article-photo--lead-split .photo-overlay--bottom {
  bottom: 16px;
}

.article-photo--interlude {
  width: calc(100% + 144px);
  margin: 48px 0 56px -72px;
}

.article-photo--interlude figcaption {
  padding-inline: 8px;
}

.article-chart {
  width: calc(100% + 144px);
  margin: 48px 0 56px -72px;
  padding: 32px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
}

.article-chart header {
  max-width: 640px;
  margin-bottom: 32px;
}

.article-chart header .eyebrow {
  margin-bottom: 12px;
  color: var(--muted);
}

.article-chart header h3 {
  margin: 0;
  font-size: clamp(31px, 4vw, 43px);
}

.article-chart figcaption {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: #43443f;
  font-size: 15px;
  line-height: 1.6;
}

.chart-zero {
  margin: 0 0 12px !important;
  color: var(--muted);
  font-size: 13px;
}

.chart-bar-row + .chart-bar-row {
  margin-top: 20px;
}

.chart-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.chart-bar-label strong {
  flex: 0 0 auto;
}

.chart-track {
  height: 24px;
  border-left: 2px solid var(--ink);
  background: var(--soft);
}

.chart-track i {
  display: block;
  width: var(--bar);
  height: 100%;
  background: var(--ink);
}

.chart-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chart-flow li {
  position: relative;
  padding: 16px 12px;
  border-top: 2px solid var(--ink);
  background: var(--soft);
}

.article-chart .chart-flow li,
.article-chart .chart-waterfall li,
.article-chart .chart-line-mobile li {
  margin: 0;
}

.chart-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  color: var(--muted);
  content: "→";
  font-size: 18px;
  transform: translateY(-50%);
}

.chart-flow strong,
.chart-flow span {
  display: block;
}

.chart-flow strong {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.chart-flow span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.chart-waterfall {
  display: grid;
  height: 300px;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  align-items: stretch;
  margin: 0;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--ink);
  list-style: none;
}

.chart-waterfall li {
  display: grid;
  min-width: 0;
  grid-template-rows: 28px 1fr 45px;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.chart-waterfall li > strong {
  font-size: 14px;
  line-height: 1.2;
}

.chart-waterfall li > div {
  position: relative;
  height: 100%;
}

.chart-waterfall i {
  position: absolute;
  right: 8px;
  bottom: var(--bottom);
  left: 8px;
  min-height: 4px;
  height: var(--height);
  border: 2px solid var(--ink);
  background: var(--sand);
}

.chart-waterfall .is-start i,
.chart-waterfall .is-end i {
  background: var(--ink);
}

.chart-waterfall .is-decrease i {
  background: #f6ecd4;
}

.chart-waterfall li > span {
  align-self: start;
  font-size: 12px;
  line-height: 1.25;
}

.chart-line {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.chart-line svg {
  max-width: none;
}

.chart-line polyline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
}

.chart-line circle {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 4;
}

.chart-line text {
  fill: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 800;
  text-anchor: middle;
}

.chart-line .axis-label {
  fill: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.chart-line__zero {
  stroke: var(--rule);
  stroke-width: 2;
}

.chart-line-mobile {
  display: none;
}

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

.chart-comparison section {
  margin: 0 !important;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.chart-comparison h4 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 25px;
}

.chart-compare-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.chart-compare-row + .chart-compare-row {
  margin-top: 12px;
}

.chart-compare-row i {
  display: block;
  width: var(--bar);
  height: 16px;
  background: var(--ink);
}

.chart-compare-row i.series-2 {
  border: 2px solid var(--ink);
  background: var(--sand);
}

.chart-data {
  margin-top: 24px;
  font-size: 14px;
}

.chart-data summary {
  min-height: 48px;
  padding-block: 12px;
  cursor: pointer;
  font-weight: 800;
}

.chart-data .sample-table-wrap {
  margin: 8px 0 0;
}

.chart-data table {
  min-width: 0;
}

.article-body,
.prose {
  width: min(var(--reading), calc(100% - 32px));
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.prose {
  color: #43443f;
  font-size: 18px;
  line-height: 1.78;
}

.prose section {
  scroll-margin-top: 32px;
}

.prose section + section {
  margin-top: 58px;
}

.prose p,
.prose ul,
.prose ol,
.prose dl,
.prose blockquote {
  margin-block: 0 24px;
}

.prose ul,
.prose ol {
  padding-left: 25px;
}

.prose li + li {
  margin-top: 9px;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.prose h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 45px);
}

.prose h3 {
  margin: 32px 0 16px;
  font-size: 29px;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: #145d38;
  text-decoration-color: #8ca896;
}

.article-body table {
  display: table;
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.article-body .sample-table-wrap {
  max-width: 100%;
  margin: 30px 0 38px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.article-body caption {
  margin-bottom: 13px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.article-body thead {
  border-top: 2px solid var(--ink);
  background: var(--soft);
}

.article-body th,
.article-body td {
  padding: 13px 11px;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: break-word;
  text-align: left;
  vertical-align: top;
}

.article-body table[data-columns="2"] th:first-child {
  width: 42%;
}

.table-scroll-hint {
  display: none;
  margin: 0 0 7px !important;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.sample-table-wrap:focus-visible {
  border-radius: 2px;
  outline: 3px solid var(--green-ink);
  outline-offset: 4px;
}

.sample-ticket,
.sample-takeaway,
.download {
  margin: 36px 0;
  padding: 26px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.download {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.download:hover {
  border-color: var(--green-ink);
  background: var(--green);
  color: var(--ink) !important;
}

.sample-quote,
.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--ink);
  color: var(--ink);
  font-size: 21px;
  line-height: 1.5;
}

.sample-ticket dl div {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 2.3fr);
  gap: 24px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}

.sample-ticket dt {
  color: var(--ink);
  font-weight: 800;
}

.sample-ticket dd {
  margin: 0;
}

.article-utility {
  position: relative;
  width: calc(100% + 48px);
  margin-left: -24px;
  padding: 34px 24px 12px;
  border-top: 3px solid var(--sage-line);
  border-bottom: 1px solid #cfd6c5;
  background: var(--sage);
  color: #343b30;
}

.article-utility::before {
  display: block;
  margin-bottom: 12px;
  color: var(--green-ink);
  content: "USE THIS ON YOUR SHOP";
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.methodology,
.source-notes {
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.methodology h2,
.source-notes h2 {
  font-size: 28px;
}

.source-notes ol {
  padding-left: 20px;
}

.source-notes li + li {
  margin-top: 32px;
}

.source-notes p {
  margin-bottom: 8px;
}

.source-date {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
}

.atks-cta {
  margin-top: 92px;
  padding-block: 52px;
  background: var(--ink);
  color: var(--paper);
}

.atks-cta > div {
  display: grid;
  width: min(960px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 56px;
  align-items: end;
}

.atks-cta .eyebrow,
.atks-cta h2 {
  grid-column: 1;
}

.atks-cta h2 {
  max-width: 710px;
  font-size: clamp(36px, 4.5vw, 52px);
}

.atks-cta p:not(.eyebrow) {
  max-width: 65ch;
  margin: 0;
  color: #c8cabf;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.atks-cta .button {
  grid-column: 2;
  grid-row: 1 / span 3;
  max-width: 240px;
}

.button:hover {
  border-color: var(--paper);
  background: var(--paper);
}

.related {
  padding-block: 72px 88px;
}

.related h2 {
  margin-bottom: 32px;
  font-size: 44px;
}

.related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.related li {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.related h3 {
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.08;
}

.related li > p:last-child {
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  color: var(--green-ink);
  font-weight: 800;
}

.narrow-page {
  max-width: 860px;
  padding-block: 84px 104px;
}

.narrow-page > h1 {
  font-size: clamp(54px, 7vw, 82px);
}

.narrow-page .prose {
  width: 100%;
  margin-top: 64px;
}

.narrow-page .prose h2 {
  margin-top: 48px;
}

.prelaunch-note {
  margin-top: 64px;
  padding: 34px;
  border-top: 3px solid var(--sage-line);
  background: var(--sage);
}

.prelaunch-note h2 {
  margin: 0 0 18px;
  font-size: 38px;
}

.prelaunch-note .button {
  margin-top: 8px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

@media (max-width: 980px) {
  .series-hero,
  .section-heading,
  .browse-header {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .featured-grid {
    gap: 20px;
  }

  .topic-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topic-nav li + li {
    border-left: 0;
  }

  .topic-nav li:not(:nth-child(3n + 1)) {
    border-left: 1px solid var(--rule);
  }

  .topic-nav li:nth-child(n + 4) {
    border-top: 1px solid var(--rule);
  }

  .article-top {
    grid-template-columns: minmax(0, 1fr) minmax(200px, .5fr);
    gap: 48px;
  }

  .article-top--split {
    grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr);
    gap: 40px;
  }

  .article-photo--interlude,
  .article-chart {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .atks-cta > div {
    display: block;
  }

  .atks-cta p:not(.eyebrow) {
    margin-top: 18px;
  }

  .atks-cta .button {
    margin-top: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer nav {
    justify-content: flex-start;
    margin-top: 12px;
  }
}

@media (max-width: 740px) {
  :root {
    --page: min(100% - 32px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 68px;
    align-items: flex-start;
    padding-block: 8px;
  }

  .wordmark {
    min-height: 48px;
  }

  .wordmark b {
    display: none;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 14px;
  }

  .site-nav a {
    min-height: 40px;
    font-size: 12px;
  }

  .series-hero {
    padding-block: 56px 48px;
  }

  .series-hero h1,
  .article-header h1,
  .narrow-page > h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-lead,
  .page-lead,
  .dek {
    font-size: 19px;
  }

  .featured {
    padding-block: 64px;
  }

  .section-heading h2,
  .browse-header h2 {
    font-size: 42px;
  }

  .featured-grid,
  .guide-list,
  .related ul {
    grid-template-columns: 1fr;
  }

  .guide-card--featured img {
    aspect-ratio: 3 / 2;
  }

  .topic-nav ul {
    grid-template-columns: 1fr;
  }

  .topic-nav li:not(:first-child) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .topic-nav a {
    min-height: 72px;
    flex-direction: row;
    align-items: center;
  }

  .browse {
    padding-block: 64px 80px;
  }

  .filter-row {
    margin-bottom: 56px;
  }

  .topic-group + .topic-group {
    margin-top: 72px;
  }

  .topic-group__header {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .group-count {
    grid-column: 2;
    margin-top: 0;
  }

  .topic-group__header h2 {
    font-size: 35px;
  }

  .guide-list .guide-card:nth-child(2) {
    border-top-width: 1px;
  }

  .article-header {
    padding-block: 42px 38px;
  }

  .article-header .dek {
    font-size: 19px;
  }

  .article-top {
    display: block;
    padding-block: 38px;
  }

  .article-top--split {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .article-toc {
    margin-top: 34px;
  }

  .answer p:last-child {
    font-size: 18px;
  }

  .article-photo {
    margin-bottom: 56px;
  }

  .article-photo--lead-split {
    margin-bottom: 0;
  }

  .article-photo--lead-split .article-photo__frame {
    min-height: 0;
    height: auto;
  }

  .article-photo--lead-split img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-overlay {
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 12px 16px;
    font-size: clamp(25px, 9vw, 36px);
  }

  .photo-overlay--top {
    top: 12px;
  }

  .photo-overlay--bottom {
    bottom: 12px;
  }

  .article-chart {
    padding: 24px 16px;
  }

  .chart-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .chart-flow li:not(:last-child)::after {
    display: none;
  }

  .chart-waterfall {
    height: auto;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    border-bottom: 0;
  }

  .chart-waterfall li {
    display: grid;
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    border-left: 4px solid var(--ink);
    background: var(--soft);
    text-align: left;
  }

  .chart-waterfall li > div {
    display: none;
  }

  .chart-waterfall li > span {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-size: 16px;
    line-height: 1.35;
  }

  .chart-waterfall li > strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 17px;
    line-height: 1.25;
  }

  .chart-line {
    overflow: visible;
  }

  .chart-line svg {
    display: none;
  }

  .chart-line-mobile {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .chart-line-mobile li {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--ink);
    background: var(--soft);
    font-size: 16px;
  }

  .chart-line-mobile strong {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .chart-comparison {
    grid-template-columns: 1fr;
  }

  .chart-compare-row {
    grid-template-areas:
      "label label"
      "bar value";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .chart-compare-row > span {
    grid-area: label;
    overflow-wrap: normal;
    word-break: normal;
  }

  .chart-compare-row > i {
    grid-area: bar;
    align-self: center;
  }

  .chart-compare-row > strong {
    grid-area: value;
    overflow-wrap: normal;
    font-size: 16px;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
    word-break: normal;
  }

  .article-body,
  .prose {
    width: 100%;
  }

  .prose {
    font-size: 17px;
  }

  .prose section + section {
    margin-top: 50px;
  }

  .prose h2 {
    font-size: 34px;
  }

  .article-utility {
    width: calc(100% + 32px);
    margin-left: -16px;
    padding-inline: 16px;
  }

  .table-scroll-hint {
    display: block;
  }

  .sample-ticket,
  .sample-takeaway {
    padding: 22px 16px;
  }

  .sample-ticket dl div {
    display: block;
  }

  .sample-ticket dt {
    margin-bottom: 6px;
  }

  .atks-cta {
    margin-top: 72px;
    padding-block: 44px;
  }

  .atks-cta > div {
    width: min(100% - 32px, 960px);
  }

  .atks-cta .button {
    width: 100%;
    max-width: none;
  }

  .related {
    padding-block: 56px 72px;
  }

  .related ul {
    gap: 28px;
  }

  .narrow-page {
    padding-block: 60px 80px;
  }

  .narrow-page .prose {
    margin-top: 48px;
  }

  .prelaunch-note {
    padding: 26px 20px;
  }
}

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

@media print {
  @page {
    margin: 18mm;
  }

  html,
  body {
    background: #fff;
    color: #000;
  }

  body {
    font-size: 11pt;
  }

  .site-nav,
  .review-banner,
  .article-toc,
  .atks-cta,
  .related,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .article-body,
  .prose {
    width: 100%;
    max-width: none;
  }

  .article-photo img {
    max-height: 100mm;
    object-fit: cover;
  }

  .article-utility,
  table,
  tr,
  figure {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
