:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #18211f;
  --muted: #64706d;
  --line: #d9dfdc;
  --teal: #0f766e;
  --teal-dark: #124e48;
  --amber: #d97706;
  --sage: #e3eee9;
  --shadow: 0 24px 70px rgba(22, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 100vw;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(246, 243, 238, 0.9);
  border-bottom: 1px solid rgba(217, 223, 220, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.site-footer div,
.quick-links,
.trust-row,
.term-list,
.cloud {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
}

.nav {
  justify-content: center;
  gap: 8px;
}

.nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta,
.search-row button,
.feature-card a,
.panel-link,
.cta-band a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 800;
  padding: 10px 16px;
}

.header-cta {
  justify-self: end;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.language-select {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  box-shadow: 0 8px 26px rgba(22, 34, 31, 0.05);
}

.language-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--sage);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
}

.language-select select {
  width: 48px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  padding: 0 2px;
  outline: 0;
  cursor: pointer;
}

.language-select:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(170px, 200px) minmax(430px, 0.82fr);
  gap: clamp(18px, 2vw, 30px);
  min-height: auto;
  align-items: center;
  padding: clamp(42px, 5.5vw, 76px) clamp(18px, 3vw, 40px) clamp(34px, 4vw, 52px) clamp(28px, 5.8vw, 84px);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.lede {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 19px);
}

.search-panel {
  max-width: 720px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
}

.search-row button {
  border: 0;
  cursor: pointer;
}

.quick-links {
  gap: 8px;
  margin-top: 12px;
}

.quick-links button,
.category-board button,
.cloud span,
.term-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.quick-links button,
.category-board button {
  cursor: pointer;
}

.quick-links button {
  padding: 7px 10px;
}

.quick-links button:hover,
.category-board button:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.trust-row {
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.trust-row span {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--sage);
}

.hero-paths {
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(217, 223, 220, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 46px rgba(22, 34, 31, 0.08);
}

.hero-paths-label {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-paths a {
  display: grid;
  gap: 2px;
  min-height: 68px;
  align-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-paths a:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.1);
}

.hero-paths strong {
  font-size: 14px;
  line-height: 1.2;
}

.hero-paths span:not(.hero-paths-label) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.hero-media,
.featured-carousel {
  overflow: hidden;
  border: 1px solid rgba(217, 223, 220, 0.95);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.featured-carousel {
  align-self: center;
  justify-self: end;
  width: min(100%, 620px);
  padding: 18px;
}

.carousel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.carousel-topline span {
  font-size: 13px;
  font-weight: 900;
  color: var(--teal-dark);
  text-transform: uppercase;
}

.carousel-topline a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.featured-track {
  position: relative;
  min-height: clamp(360px, 31vw, 455px);
}

.featured-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto auto;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.featured-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8faf8 100%);
  object-fit: contain;
  padding: clamp(8px, 1.4vw, 18px);
}

.featured-meta {
  margin-top: 6px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.featured-card strong {
  color: var(--ink);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.05;
}

.featured-action {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 850;
  padding: 9px 13px;
}

.carousel-controls {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.carousel-controls button {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.carousel-controls button.is-active {
  background: var(--teal);
}

.metrics,
.section,
.cta-band,
.site-footer {
  margin-inline: auto;
  width: min(1160px, calc(100% - 36px));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 32px;
}

.metrics article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.metrics span,
.section-heading p,
.split p,
.content-panel p,
.faq p,
.cta-band p,
.site-footer p,
.feature-card p,
.steps p {
  color: var(--muted);
}

.section {
  padding: clamp(44px, 7vw, 82px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.content-panel,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 24px;
}

.card-kicker {
  margin-bottom: 48px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p {
  flex: 1;
}

.feature-card a {
  align-self: flex-start;
  background: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: start;
}

.category-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-board button {
  display: grid;
  min-height: 168px;
  align-content: start;
  gap: 11px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.category-board button img {
  width: 100%;
  height: 112px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8faf8 100%);
  object-fit: contain;
  padding: 6px;
}

.category-board button span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.15;
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: var(--sage);
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: white;
  font-weight: 900;
}

.step-toggle {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.2;
  text-align: left;
  padding: 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.content-panel {
  padding: 26px;
}

.term-list,
.cloud {
  gap: 9px;
}

.term-list span,
.cloud span,
.cloud a {
  padding: 8px 11px;
}

.panel-link {
  margin-top: 10px;
}

.keyword-cloud {
  padding-top: 30px;
}

.seo-updates {
  border-top: 1px solid var(--line);
}

.update-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.update-board article,
.update-card {
  display: block;
  min-height: 154px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.update-card:hover {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.92);
}

.update-board strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.update-board span {
  color: var(--muted);
}

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.keyword-group {
  min-height: 214px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.keyword-group h3 {
  margin-bottom: 8px;
}

.keyword-group p {
  min-height: 48px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.cloud span,
.cloud a {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
}

.cloud a:hover {
  border-color: var(--teal);
  background: var(--sage);
  color: var(--teal-dark);
}

.faq details {
  padding: 18px 20px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin: 10px 0 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.cta-band p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band a {
  background: var(--amber);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

.site-footer div {
  gap: 14px;
  font-weight: 800;
}

.subpage-hero {
  padding: clamp(40px, 7vw, 86px) clamp(18px, 4vw, 56px) 30px;
}

.subpage-hero-inner,
.article-layout {
  width: min(1000px, 100%);
  margin-inline: auto;
}

.subpage-hero h1 {
  max-width: 920px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 26px clamp(18px, 4vw, 56px) 64px;
}

.article-body,
.side-rail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.article-body {
  padding: clamp(22px, 4vw, 36px);
}

.article-body h2 {
  margin-top: 30px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.article-body li + li {
  margin-top: 8px;
}

.qc-reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 34px;
}

.qc-reference-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.qc-reference-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.qc-reference-grid figcaption {
  padding: 9px 10px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.side-rail {
  align-self: start;
  padding: 18px;
  position: sticky;
  top: 86px;
}

.side-rail a {
  display: block;
  padding: 9px 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.inline-cta {
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: var(--sage);
}

.inline-cta a {
  display: inline-flex;
  margin-top: 10px;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-weight: 850;
  padding: 9px 14px;
}

.comparison-table {
  display: grid;
  margin: 18px 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr;
}

.comparison-table > div + div {
  border-top: 1px solid var(--line);
}

.comparison-table span,
.comparison-table strong {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  line-height: 1.45;
}

.comparison-table span:last-child,
.comparison-table strong:last-child {
  border-right: 0;
}

.comparison-table strong {
  background: var(--sage);
  color: var(--teal-dark);
}

@media (max-width: 920px) {
  .site-header {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex !important;
    flex-direction: column;
    flex: 0 0 42px;
    margin-left: auto;
  }

  .site-header .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 54px);
    min-width: 0;
  }

  .nav,
  .header-actions,
  .site-header > .header-cta {
    display: none !important;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(14px, 4vw, 48px);
    left: clamp(14px, 4vw, 48px);
    z-index: 30;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .site-header.is-menu-open .mobile-menu {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-links {
    display: grid;
    gap: 4px;
  }

  .mobile-menu-links a,
  .mobile-language-select,
  .mobile-menu-cta {
    min-height: 44px;
    align-items: center;
    border-radius: 8px;
  }

  .mobile-menu-links a {
    display: flex;
    padding: 10px 12px;
    color: var(--ink);
    font-weight: 800;
  }

  .mobile-menu-links a:hover {
    background: var(--sage);
    color: var(--teal-dark);
  }

  .mobile-language-select {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
  }

  .mobile-language-select select {
    min-height: 34px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    outline: 0;
  }

  .mobile-menu-cta {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero,
  .split,
  .two-column,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-paths {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .featured-carousel {
    justify-self: stretch;
    width: 100%;
  }

  .featured-track {
    min-height: clamp(360px, 64vw, 500px);
  }

  .featured-card {
    grid-template-rows: minmax(240px, 1fr) auto auto;
  }

  .hero-media img {
    height: auto;
  }

  .metrics,
  .feature-grid,
  .steps,
  .update-board {
    grid-template-columns: 1fr;
  }

  .category-board {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-band a {
    justify-self: start;
  }

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

  .comparison-table > div {
    grid-template-columns: 1fr;
  }

  .comparison-table span,
  .comparison-table strong {
    border-right: 0;
  }

  .comparison-table span + span,
  .comparison-table strong + strong {
    border-top: 1px solid var(--line);
  }

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

  .side-rail {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
    font-size: 14px;
    line-height: 1.1;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  .hero {
    width: min(100% - 24px, 520px);
    margin-inline: auto;
    padding: 22px 14px 24px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .lede {
    font-size: 16px;
  }

  .search-panel {
    margin-top: 18px;
    padding: 14px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    width: 100%;
    padding-inline: 13px;
  }

  .quick-links {
    gap: 7px;
  }

  .quick-links button {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
  }

  .trust-row {
    gap: 7px;
    margin-top: 14px;
    font-size: 13px;
  }

  .featured-carousel {
    padding: 12px;
  }

  .featured-track {
    min-height: 250px;
  }

  .featured-card {
    grid-template-rows: 145px auto auto;
  }

  .featured-card img {
    padding: 8px;
  }

  .featured-card strong {
    font-size: 22px;
  }

  .featured-action {
    width: 100%;
    justify-content: center;
  }

  .carousel-controls {
    margin-top: 12px;
  }

  .category-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 10px;
    overflow-x: visible;
    padding: 2px 0 10px;
    scroll-snap-type: none;
  }

  .category-board button {
    min-height: 132px;
    padding: 10px;
  }

  .category-board button img {
    height: 78px;
  }

  .cluster-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .metrics,
  .cta-band,
  .site-footer {
    width: min(100% - 24px, 520px);
  }

  .section {
    padding-block: 34px;
  }

  .metrics,
  #spreadsheet,
  .two-column,
  .keyword-cloud {
    display: none;
  }

  .seo-updates {
    display: block;
  }

  .seo-updates .section-heading p:not(.eyebrow) {
    display: none;
  }

  .seo-updates .section-heading {
    margin-bottom: 14px;
  }

  .seo-updates h2 {
    font-size: 26px;
  }

  .update-board {
    gap: 9px;
    margin-bottom: 12px;
  }

  .update-card,
  .update-board article {
    min-height: auto;
    padding: 14px;
  }

  .update-board strong {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .update-board span {
    font-size: 14px;
    line-height: 1.45;
  }

  #categories {
    gap: 16px;
  }

  #categories h2,
  #guide h2,
  #faq h2,
  .cta-band h2 {
    font-size: 26px;
  }

  #categories p:not(.eyebrow),
  #guide .section-heading p:not(.eyebrow),
  .steps p {
    display: none;
  }

  .step-item.is-open p {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
  }

  .steps {
    gap: 10px;
  }

  .steps li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .steps span {
    width: 34px;
    height: 34px;
  }

  .step-toggle {
    font-size: 16px;
    margin-bottom: 0;
    cursor: pointer;
    padding-right: 24px;
    position: relative;
  }

  .step-toggle::after {
    content: "+";
    position: absolute;
    top: 0;
    right: 0;
    color: var(--teal-dark);
    font-size: 20px;
    line-height: 1;
  }

  .step-item.is-open .step-toggle::after {
    content: "-";
  }

  .faq details {
    padding: 14px 15px;
  }

  .faq details + details {
    margin-top: 8px;
  }

  .faq summary {
    position: relative;
    padding-right: 28px;
    list-style: none;
  }

  .faq summary::-webkit-details-marker {
    display: none;
  }

  .faq summary::after {
    content: "+";
    position: absolute;
    top: 0;
    right: 0;
    color: var(--teal-dark);
    font-size: 20px;
    line-height: 1;
  }

  .faq details[open] summary::after {
    content: "-";
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    width: 100%;
  }

  .category-board {
    grid-template-columns: 1fr;
  }

  .qc-reference-grid {
    grid-template-columns: 1fr;
  }
}
