/* Compete with SI — competewithsi.com */

:root {
  --navy: #0A1628;
  --teal: #00C4B4;
  --bg: #F3F5F7;
  --card: #ffffff;
  --muted: rgba(10, 22, 40, 0.68);
  --line: rgba(10, 22, 40, 0.08);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --weight-regular: 400;
  --weight-bold: 600;
  --nav-h: 4.5rem;
  --pad: clamp(1.5rem, 5vw, 4.5rem);
  --max: 1120px;
  --ease: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.brand-name,
.card-num,
.card-read,
.statement,
.footer-brand span,
.note-label,
.col-label,
.hw-table th {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  background: rgba(0, 196, 180, 0.28);
  color: var(--navy);
}

.wrap {
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
}

/* Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(243, 245, 247, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100%;
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--pad) 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 46%, #000 18%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  left: 50%;
  top: 44%;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(0, 196, 180, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 56rem);
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 2.25rem;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  width: 11.5rem;
  height: 11.5rem;
  border: 1px solid rgba(0, 196, 180, 0.38);
  border-radius: 50%;
}

.hero-logo-wrap::after {
  content: "";
  position: absolute;
  width: 14.5rem;
  height: 14.5rem;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 50%;
}

.logo-mark--hero {
  width: 7.5rem;
  height: 7.5rem;
  position: relative;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-sub {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.5;
  text-wrap: balance;
}

/* Plan / roadmap */

.plan {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(5rem, 12vw, 9rem);
}

.kicker {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.card {
  --shift: 0px;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 2.15rem;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
  transform: translateY(var(--shift));
  transition: transform var(--ease), box-shadow var(--ease);
}

.card-num {
  display: block;
  margin-bottom: 1.75rem;
  font-size: clamp(2.15rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--teal);
}

.card-title {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.card-outcome {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 22em;
}

/* About */

.about {
  min-height: calc(100vh - var(--nav-h) - 5.25rem);
  min-height: calc(100dvh - var(--nav-h) - 5.25rem);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 12vw, 8.5rem) 0;
}

.statement {
  margin: 0 auto;
  max-width: 18.5em;
  text-align: center;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.statement::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 2rem;
  background: var(--teal);
  border-radius: 1px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
}

.footer-brand span {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.copyright {
  margin: 0;
  color: var(--muted);
}

.copyright small {
  font-size: 0.85rem;
}

/* Responsive */

@media (min-width: 700px) {
  .roadmap {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }

  .roadmap > li:nth-child(even) .card {
    --shift: 1.5rem;
  }

  .plan {
    padding-bottom: clamp(6.5rem, 14vw, 10rem);
  }
}

@media (min-width: 1024px) {
  .roadmap {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.35rem;
  }

  .roadmap > li:nth-child(even) .card {
    --shift: 0px;
  }

  .roadmap > li:nth-child(3n-1) .card {
    --shift: 1.75rem;
  }

  .roadmap > li:nth-child(3n) .card {
    --shift: 3.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(calc(var(--shift) - 8px));
    box-shadow: 0 16px 36px rgba(10, 22, 40, 0.08);
  }
}

@media (max-width: 520px) {
  .nav {
    width: calc(100% - 1.5rem);
    gap: 0.75rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .nav-links {
    gap: 0.85rem;
    flex-shrink: 0;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .hero-logo-wrap::before {
    width: 9.5rem;
    height: 9.5rem;
  }

  .hero-logo-wrap::after {
    width: 12rem;
    height: 12rem;
  }

  .logo-mark--hero {
    width: 6rem;
    height: 6rem;
  }
}

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.card-read svg {
  width: 14px;
  height: 14px;
  transition: transform var(--ease);
}

a.card:hover .card-read svg,
a.card:focus-visible .card-read svg {
  transform: translateX(3px);
}

/* Article page — /brain-health/ */

.page-article main {
  padding: clamp(2.75rem, 7vw, 4.75rem) 0 clamp(4.5rem, 9vw, 6.5rem);
}

.article {
  width: min(100% - var(--pad) * 2, 45rem);
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.article-header .kicker {
  margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.article h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2rem, 5.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article .lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.article h2 {
  margin: 3.4rem 0 1.15rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.article h2::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-bottom: 0.85rem;
  background: var(--teal);
  border-radius: 1px;
}

.article figure + section > h2 {
  margin-top: 0.35rem;
}

.article p {
  margin: 0 0 1.15rem;
}

.article strong {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.article figure {
  margin: 1.7rem 0 1.85rem;
}

.article-header + figure {
  margin: 2.15rem 0 1.75rem;
}

.article figure img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(10, 22, 40, 0.06);
}

.article figcaption {
  margin: 0.7rem 0.15rem 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.article ul {
  list-style: none;
  margin: 0.15rem 0 1.4rem;
  padding: 0;
}

.article ul:not(.checklist):not(.compare):not(.warnings):not(.combos):not(.examples) > li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.35rem;
}

.article ul:not(.checklist):not(.compare):not(.warnings):not(.combos):not(.examples) > li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.72em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--teal);
}

.note {
  margin: 0.15rem 0 1.35rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 196, 180, 0.08);
  border: 1px solid rgba(0, 196, 180, 0.24);
  border-radius: 0.85rem;
}

.note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.note-label {
  margin-right: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.baseline {
  margin: 0.35rem 0 1.5rem;
  padding: 1.35rem 1.35rem 1.2rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: inset 3px 0 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article .baseline > p {
  margin: 0;
}

.article .checklist {
  margin: 1rem 0 0.15rem;
}

.article .checklist > li {
  position: relative;
  margin: 0.7rem 0;
  padding-left: 1.9rem;
}

.article .checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgba(0, 196, 180, 0.16);
}

.article .checklist > li::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.46rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.table-scroll {
  margin: 0.35rem 0 1.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
  overflow: hidden;
}

.hw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}

.hw-table th,
.hw-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.hw-table thead th {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 196, 180, 0.08);
}

.hw-table tbody th {
  letter-spacing: -0.02em;
}

.hw-table tr:last-child th,
.hw-table tr:last-child td {
  border-bottom: 0;
}

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

@media (max-width: 720px) {
  .hw-table thead {
    display: none;
  }

  .hw-table,
  .hw-table tbody,
  .hw-table tr,
  .hw-table th,
  .hw-table td {
    display: block;
    width: 100%;
  }

  .hw-table tr {
    padding: 1.05rem 1.05rem 1.15rem;
    border-bottom: 1px solid var(--line);
  }

  .hw-table tr:last-child {
    border-bottom: 0;
  }

  .hw-table tbody th,
  .hw-table td {
    padding: 0;
    border: 0;
  }

  .hw-table tbody th {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
  }

  .hw-table td + td {
    margin-top: 0.75rem;
  }

  .hw-table .col-label {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 0.2rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
  }
}

@media (min-width: 721px) {
  .table-scroll {
    overflow-x: auto;
  }

  .hw-table {
    min-width: 36rem;
  }
}

.article ul.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.35rem 0 1.45rem;
  padding: 0;
}

.article ul.compare > li {
  margin: 0;
  padding: 1.2rem 1.15rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ul.compare > li:first-child {
  box-shadow: inset 0 3px 0 var(--navy), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ul.compare > li:last-child {
  box-shadow: inset 0 3px 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ol.steps {
  list-style: none;
  counter-reset: step;
  margin: 0.35rem 0 1.55rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article ol.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 1.05rem 1.15rem 1.1rem 4.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ol.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.95rem;
  top: 1.02rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 196, 180, 0.14);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 0.82rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.article ul.warnings {
  margin: 0.2rem 0 1.45rem;
  padding: 0;
}

.article ul.warnings > li {
  position: relative;
  margin: 0.65rem 0;
  padding: 0.95rem 1.1rem 1rem 2.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  box-shadow: inset 3px 0 0 #c4a574;
}

.article ul.warnings > li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.2rem;
  width: 0.72rem;
  height: 0.62rem;
  background: #c4a574;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.article-pager {
  width: min(100% - var(--pad) * 2, 45rem);
  margin: 0.5rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.article-pager a {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.article-pager .pager-next {
  margin-left: auto;
}

.article-pager a:hover,
.article-pager a:focus-visible {
  color: var(--teal);
}

@media (min-width: 680px) {
  .article ul.compare {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .article ol.steps > li {
    padding: 3.55rem 1rem 1.05rem;
  }

  .article ol.steps > li::before {
    left: 1rem;
    top: 0.95rem;
  }
}

/* Article — mode cards, workflow steps, skill combinations */

.article .modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.35rem 0 1.55rem;
}

.article .mode {
  margin: 0;
  padding: 1.25rem 1.2rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: inset 0 3px 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article .mode p {
  margin: 0;
}

.article .mode strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.article .mode br {
  display: none;
}

.article ul.combos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0.35rem 0 1.45rem;
}

.article ul.combos > li {
  margin: 0;
  padding: 1.05rem 1.15rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  box-shadow: inset 3px 0 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ol.flow {
  list-style: none;
  counter-reset: flow;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.5rem 0 1.65rem;
  padding: 0.2rem 0 0.1rem;
}

.article ol.flow > li {
  counter-increment: flow;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0 1.2rem 2.9rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.article ol.flow > li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 196, 180, 0.16);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 0.72rem;
  letter-spacing: -0.03em;
  line-height: 1;
  z-index: 1;
}

.article ol.flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.88rem;
  top: 1.9rem;
  width: 2px;
  height: calc(100% - 1.9rem);
  background: rgba(0, 196, 180, 0.45);
}

@media (min-width: 720px) {
  .article ol.flow {
    flex-direction: row;
    align-items: flex-start;
    margin: 0.7rem 0 1.75rem;
    padding: 0.15rem 0 0.05rem;
  }

  .article ol.flow > li {
    flex: 1 1 0;
    text-align: center;
    padding: 2.6rem 0.3rem 0;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .article ol.flow > li::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .article ol.flow > li:not(:last-child)::after {
    left: calc(50% + 1.05rem);
    top: 0.88rem;
    width: calc(100% - 2.1rem);
    height: 2px;
  }
}

@media (min-width: 900px) {
  .article .modes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    width: min(58rem, calc(100vw - var(--pad) * 2 - 1.25rem));
    margin-top: 0.45rem;
    margin-bottom: 1.7rem;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .article .mode {
    padding: 1.3rem 1.2rem 1.4rem;
  }
}

/* Article — ownership paths and resource callout */

.article .paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 0.35rem 0 1.55rem;
}

.article .path {
  margin: 0;
  padding: 1.3rem 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: inset 0 3px 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article .path p {
  margin: 0;
}

.article .path strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.article .path-index {
  color: var(--teal);
  font-size: 1.45em;
  letter-spacing: -0.04em;
  margin-right: 0.2rem;
}

.article .path br {
  display: none;
}

.article .resource {
  margin: 0.2rem 0 1.5rem;
  padding: 1.3rem 1.35rem 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid rgba(0, 196, 180, 0.32);
  border-radius: 1.15rem;
  box-shadow: inset 3px 0 0 var(--teal), 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article .resource p {
  margin: 0;
}

.article .resource a {
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.article .resource a:hover,
.article .resource a:focus-visible {
  color: var(--navy);
}

@media (min-width: 960px) {
  .article .paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    width: min(58rem, calc(100vw - var(--pad) * 2));
    margin-top: 0.45rem;
    margin-bottom: 1.7rem;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .article .path {
    padding: 1.35rem 1.2rem 1.45rem;
  }
}

/* Article — defense checklists and verification callout */

.article ul.checklist.shields > li {
  padding-left: 2.15rem;
}

.article ul.checklist.shields > li::before {
  top: 0.16rem;
  width: 1.15rem;
  height: 1.32rem;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28' fill='none'%3E%3Cpath d='M12 1.5 3.2 5.1v7.3c0 5.4 3.6 9.6 8.8 11.3 5.2-1.7 8.8-5.9 8.8-11.3V5.1L12 1.5z' fill='%2300C4B4' fill-opacity='.16' stroke='%2300C4B4' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M8.1 13.3 10.8 16l5.4-5.6' stroke='%2300C4B4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.article ul.checklist.shields > li::after {
  content: none;
}

.article .takeaway {
  margin: 3.4rem 0 1.6rem;
  padding: 1.45rem 1.45rem 1.55rem 1.35rem;
  background: var(--card);
  border: 1px solid rgba(0, 196, 180, 0.36);
  border-radius: 1.15rem;
  box-shadow: inset 4px 0 0 var(--teal), 0 12px 28px rgba(10, 22, 40, 0.05);
}

.article .takeaway h2 {
  margin: 0 0 0.95rem;
}

.article .takeaway p {
  margin: 0;
}

/* Article — daily leverage examples and series close */

.article ul.examples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.35rem 0 1.55rem;
}

.article ul.examples > li {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: 0.8rem;
  align-items: start;
  margin: 0;
  padding: 1.15rem 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
}

.article ul.examples svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.18rem;
  color: var(--teal);
}

@media (min-width: 680px) {
  .article ul.examples {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
}

.series-end {
  width: min(100% - var(--pad) * 2, 45rem);
  margin: 2.75rem auto 0.15rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.series-end p {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.series-end a {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: var(--teal);
  text-decoration: none;
}

.series-end a:hover,
.series-end a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
