body[data-page="topics"] {
  background: #05070d;
  background-image: none;
}

.topic-hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:linear-gradient(90deg, #080a11 0%, #080a11 52%, rgba(7, 22, 30, 0.94) 100%);
  isolation: isolate;
}

.topic-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 52%, rgba(62, 218, 255, 0.055)),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 100%);
  content: "";
  pointer-events: none;
}

.topic-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 580px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  gap: 58px;
}

.topic-hero-copy {
  min-width: 0;
  padding: 32px 0 38px;
}

.topic-eyebrow,
.topic-kicker {
  margin: 0 0 18px;
  color: #ff414d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.topic-eyebrow {
  letter-spacing: 2px;
}

.topic-kicker {
  color: #667085;
  letter-spacing: 1.7px;
}

.topic-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.topic-hero-copy > p:last-of-type {
  max-width: 650px;
  margin: 25px 0 0;
  color: #b9bec9;
  font-size: 19px;
  line-height: 1.65;
}

.topic-hero-inline-link,
.topic-hero-trial-note a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 3px;
}

.topic-hero-inline-link:hover,
.topic-hero-inline-link:focus-visible,
.topic-hero-trial-note a:hover,
.topic-hero-trial-note a:focus-visible {
  text-decoration-color: currentColor;
}

.topic-hero-trial-note {
  max-width: 650px;
  margin-top: 12px;
  color: #8f98a9;
  font-size: 12px;
  line-height: 1.55;
}

.topic-hero-actions {
  display: flex;
  margin-top: 42px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-cta-primary,
.topic-cta-secondary {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.topic-download-action {
  display: grid;
  min-height: 64px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  align-items: center;
  grid-template-columns: 22px auto;
  gap: 11px;
  line-height: 1.2;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.topic-download-action > svg {
  width: 22px;
  height: 22px;
}

.topic-download-action strong,
.topic-download-action small {
  display: block;
}

.topic-download-action strong {
  font-size: 14px;
  font-weight: 700;
}

.topic-download-action small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.72;
}

.topic-download-windows {
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  color: #04060b;
}

.topic-download-windows:hover,
.topic-download-windows:focus-visible {
  background: #e9edf4;
  transform: translateY(-2px);
}

.topic-download-mac {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #fff;
}

.topic-download-mac:hover,
.topic-download-mac:focus-visible {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.topic-cta-primary svg,
.topic-cta-secondary svg {
  width: 17px;
  height: 17px;
}

.topic-hero-media {
  position: relative;
  width: min(100%, 650px);
  min-width: 0;
  margin-left: auto;
}

.topic-workspace-visual {
  position: relative;
  min-height: 430px;
  padding: 30px 12px 34px 34px;
}

.topic-workspace-window {
  position: relative;
  min-height: 366px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(238, 242, 247, 0.92);
  color: #151923;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 52px rgba(47, 210, 255, 0.08);
}

.topic-workspace-bar {
  display: flex;
  height: 58px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(18, 24, 36, 0.1);
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.66);
}

.topic-workspace-bar > strong {
  font-size: 13px;
  font-weight: 700;
}

.topic-workspace-mark {
  display: inline-grid;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  place-items: center;
  background: #ef3842;
  color: #fff;
}

.topic-workspace-mark svg {
  width: 16px;
  height: 16px;
}

.topic-workspace-status {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 7px;
  color: #168367;
  font-size: 10px;
  font-weight: 700;
}

.topic-workspace-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20b486;
  box-shadow: 0 0 0 4px rgba(32, 180, 134, 0.12);
}

.topic-workspace-layout {
  display: grid;
  min-height: 308px;
  grid-template-columns: 104px minmax(0, 1fr);
}

.topic-workspace-nav {
  padding: 16px 10px;
  border-right: 1px solid rgba(18, 24, 36, 0.09);
  background: rgba(225, 230, 237, 0.72);
}

.topic-workspace-nav > span {
  display: grid;
  min-height: 38px;
  padding: 0 9px;
  border-radius: 6px;
  align-items: center;
  grid-template-columns: 15px 1fr;
  gap: 7px;
  color: #737b8b;
  font-size: 9px;
}

.topic-workspace-nav > span + span {
  margin-top: 6px;
}

.topic-workspace-nav > span.is-active {
  background: #151a24;
  color: #fff;
}

.topic-workspace-nav svg {
  width: 15px;
  height: 15px;
}

.topic-workspace-nav b {
  font-weight: 650;
}

.topic-workspace-main {
  min-width: 0;
  padding: 17px 20px 16px;
}

.topic-workspace-label {
  margin: 0;
  color: #697386;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.topic-workspace-source {
  display: grid;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 7px;
  align-items: center;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.topic-workspace-source img {
  width: 88px;
  height: 57px;
  border-radius: 5px;
  object-fit: cover;
}

.topic-workspace-source strong,
.topic-workspace-source span {
  display: block;
}

.topic-workspace-source strong {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.2;
}

.topic-workspace-source span {
  color: #737b8a;
  font-size: 8px;
  line-height: 1.55;
}

.topic-workspace-output-head {
  display: flex;
  margin-top: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topic-workspace-output-head > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #168367;
  font-size: 8px;
  font-weight: 700;
}

.topic-workspace-output-head svg {
  width: 11px;
  height: 11px;
}

.topic-workspace-outputs {
  display: grid;
  margin-top: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.topic-workspace-outputs > span {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 8px 7px 7px 27px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 6px;
  align-content: center;
  background: rgba(255, 255, 255, 0.72);
}

.topic-workspace-outputs > span.is-selected {
  border-color: rgba(239, 56, 66, 0.55);
  box-shadow: inset 3px 0 #ef3842;
}

.topic-workspace-outputs svg {
  position: absolute;
  top: 10px;
  left: 8px;
  width: 13px;
  height: 13px;
  color: #7a8392;
}

.topic-workspace-outputs .is-selected svg {
  color: #ef3842;
}

.topic-workspace-outputs strong,
.topic-workspace-outputs small {
  display: block;
}

.topic-workspace-outputs strong {
  font-size: 10px;
}

.topic-workspace-outputs small {
  margin-top: 2px;
  color: #7a8392;
  font-size: 7px;
}

.topic-workspace-progress {
  margin-top: 14px;
}

.topic-workspace-progress > div {
  display: flex;
  margin-bottom: 6px;
  justify-content: space-between;
  color: #5f6877;
  font-size: 8px;
}

.topic-workspace-progress > div strong {
  color: #252b36;
}

.topic-workspace-progress > i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(24, 31, 43, 0.1);
}

.topic-workspace-progress > i b {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: #ef3842;
}

.topic-float-status {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 194px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  align-items: center;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 10px;
  background: rgba(8, 12, 20, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topic-float-status > svg {
  width: 29px;
  height: 29px;
  padding: 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #60dcff;
}

.topic-float-status small,
.topic-float-status strong {
  display: block;
}

.topic-float-status small {
  color: #8c96a8;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}

.topic-float-status strong {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.2;
}

.topic-float-reading {
  top: 106px;
  right: -10px;
}

.topic-float-ready {
  bottom: 12px;
  left: 0;
}

.topic-float-ready > svg {
  color: #51d9a8;
}

.topic-library {
  padding: 112px 0 124px;
  background: #f4f6fa;
  color: #0c1018;
}

.topic-section-head {
  max-width: 780px;
}

.topic-section-head h2,
.topic-method h2,
.topic-outcomes h2,
.topic-outcomes-cta h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.topic-section-head > p:last-child {
  max-width: 730px;
  margin: 22px 0 0;
  color: #667085;
  font-size: 17px;
  line-height: 1.7;
}

.topic-library-summary,
.topic-related-row {
  display: block;
}

@media (min-width: 1025px) {
  .topic-library-summary,
  .topic-related-row {
    white-space: nowrap;
  }
}

.topic-related-cta {
  display: inline-block;
}

.topic-related-cta,
.topic-related-link {
  white-space: nowrap;
}

.topic-related-link {
  color: #b42332;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

html[lang]:not([lang="en"]) .topic-library-summary,
html[lang]:not([lang="en"]) .topic-related-row,
html[lang]:not([lang="en"]) .topic-related-cta,
html[lang]:not([lang="en"]) .topic-related-link {
  white-space: normal;
}

.topic-related-link:hover,
.topic-related-link:focus-visible {
  color: #861925;
}

.topic-filter-bar {
  display: flex;
  margin-top: 52px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d9dde5;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.topic-filters {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}

.topic-filters::-webkit-scrollbar {
  display: none;
}

.topic-filter {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #697386;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.topic-filter span {
  color: #9aa1ae;
  font-size: 11px;
}

.topic-filter:hover {
  color: #151922;
}

.topic-filter.is-active,
.topic-filter[aria-selected="true"] {
  border-color: #dfe3e9;
  background: #fff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
  color: #11141b;
}

.topic-filter.is-active span,
.topic-filter[aria-selected="true"] span {
  color: #e63a45;
}

.topic-results {
  min-width: max-content;
  margin: 0 0 10px;
  color: #8a93a3;
  font-size: 12px;
}

.topic-results strong {
  color: #232733;
}

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

.topic-card {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 18, 28, 0.04);
  color: #11141b;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.topic-card:focus-within {
  border-color: #cfd4dd;
  box-shadow: 0 20px 44px rgba(13, 18, 28, 0.1);
}

.topic-card[hidden] {
  display: none;
}

.topic-card-media {
  position: relative;
  aspect-ratio: 16 / 8.1;
  overflow: hidden;
  background: #161a22;
}

.topic-card-media-link {
  display: block;
  color: inherit;
}

.topic-card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(6, 8, 13, 0.1));
  content: "";
  pointer-events: none;
}

.topic-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.topic-card-media-link:hover .topic-card-media img {
  transform: scale(1.025);
}

.topic-card-media > span {
  display: none;
}

.topic-card-body {
  display: flex;
  padding: 21px 21px 20px;
  flex: 1;
  flex-direction: column;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.topic-card-body * {
  -webkit-user-select: text;
  user-select: text;
}

.topic-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6e7788;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.topic-card-meta svg {
  display: none;
}

.topic-card h3 {
  margin: 13px 0 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.28;
}

.topic-card h3 a {
  color: inherit;
  cursor: pointer;
  transition: color 160ms ease;
  -webkit-user-drag: none;
}

.topic-card h3 a:hover {
  color: #e63a45;
}

.topic-card h3 a:focus-visible {
  outline: 2px solid #ed3e49;
  outline-offset: 3px;
}

.topic-card p {
  margin: 12px 0 0;
  color: #697386;
  font-size: 14px;
  line-height: 1.55;
}

.topic-card-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 5px 8px;
  border: 1px solid #f0a38f;
  border-radius: 4px;
  align-items: center;
  gap: 6px;
  color: #aa3a1f;
  font-size: 11px;
  font-weight: 700;
}

.topic-card-status svg {
  width: 13px;
  height: 13px;
}

.topic-tags {
  display: flex;
  margin-top: auto;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 7px;
}

.topic-tags span {
  padding: 5px 8px;
  border: 1px solid #e2e5ea;
  border-radius: 4px;
  color: #687183;
  font-size: 10px;
  font-weight: 700;
}

.topic-method {
  padding: 112px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #080b12;
}

.topic-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr);
  gap: 90px;
}

.topic-method .topic-kicker,
.topic-outcomes-cta p {
  color: #ff525c;
}

.topic-method h2 {
  max-width: 520px;
  color: #fff;
}

.topic-method-head > p:last-child {
  max-width: 500px;
  margin: 23px 0 0;
  color: #8f98a9;
  font-size: 16px;
}

.topic-steps {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.topic-step {
  position: relative;
  display: grid;
  min-height: 150px;
  padding: 31px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 62px 1fr;
  gap: 22px;
}

.topic-step:not(:last-child)::before {
  position: absolute;
  z-index: 0;
  top: 67px;
  bottom: -23px;
  left: 14px;
  width: 9px;
  background: linear-gradient(180deg, rgba(255, 74, 84, 0.22), rgba(255, 82, 92, 0.82));
  clip-path: polygon(44% 0, 56% 0, 56% calc(100% - 7px), 100% calc(100% - 7px), 50% 100%, 0 calc(100% - 7px), 44% calc(100% - 7px));
  content: "";
  pointer-events: none;
}

.topic-step:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 68px;
  left: 15px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #72f0d0;
  box-shadow: 0 0 0 4px rgba(114, 240, 208, 0.09), 0 0 14px rgba(114, 240, 208, 0.72);
  content: "";
  pointer-events: none;
  animation: topic-step-dot 2.8s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.topic-step:nth-child(2)::after {
  animation-delay: -1.4s;
}

.topic-step > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 82, 92, 0.4);
  border-radius: 50%;
  background: #080b12;
  color: #ff4a54;
  font-size: 14px;
  font-weight: 700;
  place-items: center;
}

@keyframes topic-step-dot {
  0% {
    top: 68px;
    opacity: 0;
    transform: scale(0.72);
  }

  14%,
  78% {
    opacity: 1;
  }

  100% {
    top: calc(100% + 19px);
    opacity: 0;
    transform: scale(1);
  }
}

.topic-step h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
}

.topic-step p {
  max-width: 570px;
  margin: 10px 0 0;
  color: #8d96a7;
  font-size: 14px;
}

.topic-outcomes {
  padding: 0;
  background: #edf0f5;
  color: #0d1119;
}

.topic-outcomes-layout {
  display: grid;
  padding: 88px 0 76px;
  align-items: start;
  grid-template-columns: 1fr;
  gap: 30px;
}

.topic-outcomes h2 {
  width: 100%;
  max-width: none;
  font-size: 44px;
}

.topic-outcome-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 8px;
}

.topic-outcome-list > a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 60px;
  padding: 11px 12px;
  border: 1px solid #d7dce5;
  border-radius: 6px;
  align-items: center;
  grid-column: span 3;
  gap: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  color: #3c4350;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.topic-outcome-list > a.is-wide {
  min-height: 66px;
  grid-column: span 4;
}

.topic-outcome-list > a.is-compact {
  min-height: 54px;
  padding-inline: 10px;
  grid-column: span 2;
}

.topic-outcome-list > a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -42%;
  width: 28%;
  background: linear-gradient(100deg, transparent, rgba(237, 62, 73, 0.11), transparent);
  content: "";
  pointer-events: none;
  transform: skewX(-16deg);
  animation: topic-outcome-scan 7.2s ease-in-out infinite;
}

.topic-outcome-list > a:nth-child(3n + 2)::before {
  animation-delay: -2.4s;
}

.topic-outcome-list > a:nth-child(3n)::before {
  animation-delay: -4.8s;
}

.topic-outcome-list > a:hover,
.topic-outcome-list > a:focus-visible {
  border-color: rgba(237, 62, 73, 0.5);
  background: #fff;
  box-shadow: 0 12px 28px rgba(37, 45, 61, 0.12);
  color: #171c25;
  transform: translateY(-3px);
}

.topic-outcome-list > a:focus-visible {
  outline: 2px solid #ed3e49;
  outline-offset: 3px;
}

.topic-outcome-list > a > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.topic-outcome-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #ed3e49;
  transition: color 180ms ease, transform 180ms ease;
}

.topic-outcome-list .topic-outcome-arrow {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: #8a93a2;
}

.topic-outcome-list > a:hover > svg:first-child,
.topic-outcome-list > a:focus-visible > svg:first-child {
  transform: scale(1.12) rotate(-4deg);
}

.topic-outcome-list > a:hover .topic-outcome-arrow,
.topic-outcome-list > a:focus-visible .topic-outcome-arrow {
  color: #ed3e49;
  transform: translate(2px, -2px);
}

@keyframes topic-outcome-scan {
  0%,
  48% {
    left: -42%;
    opacity: 0;
  }

  55% {
    opacity: 1;
  }

  76%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

.topic-outcomes-cta {
  display: grid;
  margin-top: 4px;
  padding-top: 30px;
  border-top: 1px solid #d3d9e3;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  color: #0d1119;
}

.topic-outcomes-cta-copy {
  min-width: 0;
}

.topic-outcomes-cta p {
  margin: 0 0 8px;
  color: #ed3e49;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.topic-outcomes-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #0d1119;
  font-size: 32px;
  line-height: 1.12;
}

.topic-cta-actions {
  display: flex;
  margin: 0;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-cta-primary {
  background: #ef3842;
  box-shadow: 0 10px 24px rgba(239, 56, 66, 0.18);
  color: #fff;
}

.topic-cta-primary:hover {
  background: #d92f3a;
  transform: translateY(-2px);
}

.topic-cta-secondary {
  border: 1px solid #c7ced9;
  color: #2d3440;
}

.topic-cta-secondary:hover {
  border-color: #ed3e49;
  background: rgba(255, 255, 255, 0.76);
  color: #b42332;
}

@media (max-width: 1120px) {
  .topic-hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
    gap: 34px;
  }

  .topic-hero h1 {
    font-size: 62px;
  }

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

  .topic-method-grid {
    gap: 54px;
  }

  .topic-outcomes-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}

@media (max-width: 960px) {
  .topic-hero,
  .topic-hero-inner {
    min-height: 0;
  }

  .topic-hero-inner {
    padding: 62px 0 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .topic-hero-copy {
    max-width: 720px;
    padding: 0;
  }

  .topic-hero h1 {
    font-size: 58px;
  }

  .topic-hero-media {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .topic-library,
  .topic-method {
    padding: 88px 0;
  }

  .topic-section-head h2,
  .topic-method h2 {
    font-size: 46px;
  }

  .topic-outcomes h2 {
    max-width: none;
    font-size: 46px;
  }

  .topic-method-grid,
  .topic-outcomes-layout {
    grid-template-columns: 1fr;
  }

  .topic-outcomes-layout {
    padding: 76px 0 68px;
  }

  .topic-outcomes-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .topic-outcomes-cta h2 {
    font-size: 32px;
  }

  .topic-cta-actions {
    justify-content: flex-start;
  }

  .topic-method-head > p:last-child {
    max-width: 660px;
  }
}

@media (max-width: 680px) {
  .topic-related-cta {
    display: inline;
    white-space: normal;
  }

  .topic-related-link {
    white-space: normal;
  }

  .topic-hero-inner {
    padding: 42px 0 46px;
    gap: 30px;
  }

  .topic-eyebrow {
    margin-bottom: 13px;
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .topic-hero h1 {
    max-width: 100%;
    font-size: 43px;
    line-height: 1.06;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .topic-hero-copy > p:last-of-type {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .topic-hero-actions {
    margin-top: 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .topic-download-action {
    width: 100%;
    min-height: 60px;
    padding: 9px 14px;
  }

  .topic-hero-media {
    width: 100%;
  }

  .topic-workspace-visual {
    min-height: 350px;
    padding: 18px 0 26px 10px;
  }

  .topic-workspace-window {
    min-height: 306px;
  }

  .topic-workspace-bar {
    height: 50px;
    padding: 0 12px;
  }

  .topic-workspace-bar > strong {
    font-size: 11px;
  }

  .topic-workspace-mark {
    width: 27px;
    height: 27px;
  }

  .topic-workspace-status {
    font-size: 8px;
  }

  .topic-workspace-layout {
    min-height: 256px;
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .topic-workspace-nav {
    padding: 11px 6px;
  }

  .topic-workspace-nav > span {
    min-height: 36px;
    padding: 0;
    justify-content: center;
    grid-template-columns: 15px;
  }

  .topic-workspace-nav b {
    display: none;
  }

  .topic-workspace-main {
    padding: 13px 11px 11px;
  }

  .topic-workspace-source {
    padding: 7px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
  }

  .topic-workspace-source img {
    width: 64px;
    height: 50px;
  }

  .topic-workspace-source strong {
    margin-bottom: 3px;
    font-size: 10px;
  }

  .topic-workspace-source span {
    font-size: 7px;
  }

  .topic-workspace-source span:last-child {
    display: none;
  }

  .topic-workspace-output-head {
    margin-top: 11px;
  }

  .topic-workspace-outputs > span {
    min-height: 51px;
    padding: 7px 4px 6px 23px;
  }

  .topic-workspace-outputs svg {
    top: 9px;
    left: 7px;
    width: 11px;
    height: 11px;
  }

  .topic-workspace-progress {
    margin-top: 10px;
  }

  .topic-float-status {
    min-width: 166px;
    padding: 10px 11px;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
  }

  .topic-float-status > svg {
    width: 25px;
    height: 25px;
    padding: 6px;
  }

  .topic-float-status strong {
    font-size: 9px;
  }

  .topic-float-reading {
    top: 88px;
    right: -2px;
  }

  .topic-float-ready {
    bottom: 4px;
    left: 0;
  }

  .topic-library,
  .topic-method {
    padding: 70px 0;
  }

  .topic-section-head h2,
  .topic-method h2,
  .topic-outcomes h2,
  .topic-outcomes-cta h2 {
    font-size: 36px;
    line-height: 1.1;
  }

  .topic-section-head > p:last-child {
    margin-top: 17px;
    font-size: 15px;
  }

  .topic-filter-bar {
    margin-top: 36px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .topic-filter {
    min-height: 38px;
    padding: 0 11px;
    font-size: 11px;
  }

  .topic-results {
    margin: 0;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .topic-card {
    min-height: 390px;
  }

  .topic-card h3 {
    font-size: 19px;
  }

  .topic-method-grid,
  .topic-outcomes-layout {
    gap: 40px;
  }

  .topic-outcomes-layout {
    padding: 64px 0 58px;
    gap: 26px;
  }

  .topic-outcomes-cta {
    padding-top: 26px;
    gap: 22px;
  }

  .topic-outcomes-cta h2 {
    font-size: 29px;
  }

  .topic-step {
    min-height: 0;
    padding: 25px 0;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .topic-step:not(:last-child)::before {
    top: 57px;
    bottom: -17px;
    left: 12px;
  }

  .topic-step:not(:last-child)::after {
    top: 58px;
    left: 13px;
    animation-name: topic-step-dot-mobile;
  }

  .topic-step > span {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .topic-step h3 {
    font-size: 18px;
  }

  .topic-outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topic-outcome-list > a,
  .topic-outcome-list > a.is-compact {
    min-height: 76px;
    padding: 12px;
    grid-column: span 1;
    gap: 8px;
    font-size: 11px;
  }

  .topic-outcome-list > a.is-wide,
  .topic-outcome-list > a:last-child {
    min-height: 64px;
    grid-column: 1 / -1;
  }

  .topic-outcome-list .topic-outcome-arrow {
    width: 13px;
    height: 13px;
  }

  .topic-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@keyframes topic-step-dot-mobile {
  0% {
    top: 58px;
    opacity: 0;
    transform: scale(0.72);
  }

  14%,
  78% {
    opacity: 1;
  }

  100% {
    top: calc(100% + 13px);
    opacity: 0;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .topic-card-media img,
  .topic-download-action,
  .topic-cta-primary {
    transition: none;
  }

  .topic-step:not(:last-child)::after {
    animation: none;
    opacity: 1;
  }

  .topic-outcome-list > a,
  .topic-outcome-list svg {
    transition: none;
  }

  .topic-outcome-list > a::before {
    display: none;
    animation: none;
  }
}
