* {
  box-sizing: border-box;
}

:root[data-theme="light"] {
  --bg: #f6fbf8;
  --surface: #ffffff;
  --surface-warm: #edf7f2;
  --surface-hi: #e4f2ec;
  --fg: #07130f;
  --fg-2: #07130f;
  --muted: #5d7068;
  --meta: #7c8f87;
  --border: #d5e4dd;
  --border-soft: #aebfb7;
  --accent: #008a61;
  --accent-on: #ffffff;
  --accent-hover: #05734f;
  --success: #008a61;
  --focus-ring: 0 0 0 2px #008a61;
  --elev-raised:
    rgba(6, 26, 28, 0.08) 0 0 0 1px,
    rgba(6, 26, 28, 0.08) 0 8px 24px,
    rgba(255, 255, 255, 0.8) 0 1px 0 inset;
  --elev-result:
    rgba(6, 26, 28, 0.12) 0 0 0 1px,
    rgba(6, 26, 28, 0.12) 0 16px 44px,
    rgba(0, 138, 97, 0.06) 0 0 80px inset;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--fg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-feature-settings: "ss03", "cv11";
  line-height: var(--leading-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 78% at 50% 0%, rgba(54, 244, 164, 0.1), transparent 62%),
    radial-gradient(55% 45% at 82% 22%, rgba(16, 38, 32, 0.62), transparent 66%),
    linear-gradient(180deg, rgba(54, 244, 164, 0.06), transparent 34%),
    linear-gradient(90deg, rgba(54, 244, 164, 0.03), transparent 45%, rgba(54, 244, 164, 0.04));
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

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

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

.app-shell {
  min-height: 100vh;
}

.styleguide-page {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.styleguide-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
}

.content-shell,
.container,
.home-shell {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding-inline: var(--container-gutter-desktop);
}

.site-nav,
.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 70px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

:root[data-theme="light"] .site-nav,
:root[data-theme="light"] .home-header {
  background: rgba(246, 251, 248, 0.88);
}

.site-nav {
  width: 100%;
  max-width: none;
  padding-inline: max(var(--container-gutter-desktop), calc((100vw - var(--container-max)) / 2 + var(--container-gutter-desktop)));
}

.nav-brand,
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.nav-brand img,
.home-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 5px;
}

.shell-marketing .nav-brand span,
.shell-tool .nav-brand span {
  letter-spacing: -0.01em;
}

.nav-links,
.home-nav,
.nav-cta,
.home-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-links a,
.nav-menu summary,
.nav-menu-panel a,
.home-nav > a,
.home-menu summary,
.home-menu-panel a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: color var(--motion-fast) var(--ease-standard);
}

.nav-links a:hover,
.nav-menu summary:hover,
.nav-menu[open] summary,
.nav-menu summary[aria-current="page"],
.nav-menu-panel a:hover,
.nav-menu-panel a[aria-current="page"],
.home-nav > a:hover,
.home-menu summary:hover,
.home-menu-panel a:hover,
.nav-links a[aria-current="page"],
.home-nav a[aria-current="page"],
.home-menu-panel a[aria-current="page"] {
  color: var(--fg);
}

.nav-menu,
.home-menu {
  position: relative;
}

.nav-menu summary,
.home-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 6px;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker,
.home-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after,
.home-menu summary::after {
  content: none;
  display: none;
}

.nav-menu-panel,
.home-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: auto;
  z-index: 90;
  display: grid;
  width: max-content;
  min-width: max(220px, 100%);
  max-width: min(320px, calc(100vw - 32px));
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--elev-raised);
}

.nav-menu-panel a,
.home-menu-panel a {
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.nav-menu-panel a:hover,
.home-menu-panel a:hover {
  background: var(--surface-warm);
}

.language-menu summary {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu-panel {
  min-width: 230px;
  max-height: min(520px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.language-menu-panel a {
  justify-content: space-between;
}

.language-menu-panel a[aria-current="page"]::after {
  content: "✓";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.btn,
.primary-button,
.secondary-button,
.mini-cta,
.table-link,
.web-app-open,
.theme-filter-clear,
.pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 17px;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard),
    background var(--motion-base) var(--ease-standard);
}

.btn:hover,
.primary-button:hover,
.secondary-button:hover,
.mini-cta:hover,
.table-link:hover,
.web-app-open:hover,
.theme-filter-clear:hover,
.pagination-button:hover {
  transform: translateY(-1px);
  border-color: var(--border-soft);
}

.primary-button,
.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on);
}

.secondary-button,
.btn-ghost {
  background: var(--surface);
}

.nav-cta .primary-button {
  padding-inline: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.od-hero .hero-actions,
.detector-page-hero .sample-row {
  justify-content: center;
}

.content-area,
.home-content,
.listing-content,
.chrome-extension-content {
  padding-block: var(--space-12) var(--space-16);
}

.content-shell {
  padding-block-end: var(--space-16);
}

.hero-panel,
.top-data-hero,
.home-hero,
.chrome-extension-hero {
  padding-block: clamp(72px, 9vw, 132px) var(--space-12);
}

.od-hero {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
  text-align: center;
  padding-block: clamp(86px, 11vw, 150px) clamp(48px, 7vw, 86px);
  background:
    radial-gradient(60% 72% at 50% 0%, rgba(54, 244, 164, 0.09), transparent 64%),
    radial-gradient(42% 42% at 78% 32%, rgba(16, 38, 32, 0.55), transparent 70%);
}

.detector-page-hero {
  min-height: min(760px, calc(100vh - 70px));
  align-content: center;
}

.leaderboard-hero {
  padding-bottom: var(--space-10);
}

.content-hub-hero,
.extension-hero {
  max-width: none;
}

.hero-grid,
.top-data-hero-copy,
.home-hero-inner {
  display: grid;
  gap: var(--space-6);
}

.top-data-hero-copy,
.home-hero-inner,
.listing-hero,
.chrome-extension-hero .home-hero-inner {
  max-width: 960px;
}

.od-hero > p,
.od-hero .home-hero-subtitle {
  margin-inline: auto;
}

.hero-panel h1,
.top-data-hero h1,
.home-hero h1,
.section-heading h2,
.power-section > h2,
.related-panel h2 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: var(--leading-tight);
  letter-spacing: 0;
}

.hero-panel h1,
.top-data-hero h1,
.home-hero h1 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(50px, 8vw, var(--text-4xl));
  font-weight: 330;
  letter-spacing: var(--tracking-display);
}

.section-heading h2,
.power-section > h2,
.related-panel h2 {
  font-size: clamp(32px, 4.6vw, var(--text-3xl));
}

.hero-panel p,
.top-data-hero p,
.home-hero-subtitle,
.section-heading p,
.power-section > p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
}

.eyebrow,
.power-kicker,
.chrome-screenshot-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detect-shell,
.detector-form,
.home-detector-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
  width: min(100%, 840px);
  padding: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--elev-raised);
}

.detector-form input,
.home-detector-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--fg);
  padding: 14px 16px;
  font-weight: 700;
}

.detector-form input::placeholder {
  color: var(--meta);
}

.detector-form button,
.home-detector-form button {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-on);
  padding-inline: 20px;
  font-weight: 800;
}

.detector-form.is-loading button {
  opacity: 0.78;
}

.sample-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.sample-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--fg);
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 700;
}

.analysis-status,
[data-analysis-status] {
  color: var(--meta);
  font-size: var(--text-sm);
}

.detector-result {
  margin-top: var(--space-8);
}

.home-store-report,
.web-report-module,
.comparison-table,
.table-shell,
.content-card,
.home-info-card,
.home-link-card,
.article-card,
.related-panel,
.legal-card,
.workflow-step,
.chrome-screenshot-feature,
.chrome-permission-grid article,
.theme-feature-card,
.theme-store-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(2, 9, 10, 0.82);
  box-shadow: var(--elev-raised);
}

:root[data-theme="light"] .home-store-report,
:root[data-theme="light"] .web-report-module,
:root[data-theme="light"] .comparison-table,
:root[data-theme="light"] .table-shell,
:root[data-theme="light"] .content-card,
:root[data-theme="light"] .home-info-card,
:root[data-theme="light"] .home-link-card,
:root[data-theme="light"] .article-card,
:root[data-theme="light"] .related-panel,
:root[data-theme="light"] .legal-card,
:root[data-theme="light"] .workflow-step,
:root[data-theme="light"] .chrome-screenshot-feature,
:root[data-theme="light"] .chrome-permission-grid article,
:root[data-theme="light"] .theme-feature-card,
:root[data-theme="light"] .theme-store-card {
  background: rgba(255, 255, 255, 0.92);
}

.home-store-report {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
  box-shadow: var(--elev-result);
}

.web-report-header {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: var(--space-5);
}

.web-report-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--surface-warm), var(--surface));
}

.web-report-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.web-report-visual-fallback {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-5);
  color: var(--fg);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.web-report-visual-fallback span,
.web-report-label,
.landing-panel-label,
.top-data-hero-stats dt,
.table-filter-note strong {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.web-report-visual-fallback strong {
  display: block;
  color: var(--fg);
  font-size: var(--text-xl);
  line-height: 1.1;
}

.web-report-main {
  display: grid;
  align-content: start;
  gap: var(--space-5);
}

.web-report-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.web-report-favicon,
.web-app-logo,
.rank-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  color: var(--fg);
  font-weight: 800;
}

.web-report-favicon img,
.web-app-logo img,
.rank-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-report-title-row h2,
.web-module-title h3,
.web-app-copy h4,
.home-info-card h3,
.home-link-card h3,
.article-card h3,
.workflow-step h3,
.chrome-screenshot-copy h3,
.theme-feature-card h3,
.theme-store-card h3 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.08;
}

.web-report-title-row h2 {
  font-size: clamp(30px, 5vw, var(--text-3xl));
}

.web-report-domain {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.web-report-meta-grid,
.web-snapshot-grid,
.landing-storefront-grid,
.top-data-hero-stats,
.home-card-grid,
.related-grid,
.article-grid,
.theme-category-grid,
.theme-store-grid,
.featured-theme-grid,
.app-stack-grid,
.chrome-flow-grid,
.chrome-permission-grid {
  display: grid;
  gap: var(--space-4);
}

.web-report-meta-grid,
.web-snapshot-grid,
.landing-storefront-grid,
.top-data-hero-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card-grid.four-up,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-grid,
.theme-category-grid,
.theme-store-grid,
.featured-theme-grid,
.app-stack-grid,
.chrome-flow-grid,
.chrome-permission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-report-meta,
.web-snapshot-card,
.top-data-hero-stats div {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-4);
}

.web-report-value,
.web-snapshot-card strong,
.top-data-hero-stats dd {
  display: block;
  margin: 6px 0 0;
  color: var(--fg);
  font-size: var(--text-lg);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.web-theme-link {
  width: fit-content;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent);
  padding: 7px 10px;
  font-size: var(--text-sm);
  font-weight: 800;
}

.web-theme-link.is-chip,
.web-theme-link.is-disabled {
  color: var(--muted);
}

.landing-result-tabs,
.web-app-filter-bar,
.app-category-tabs,
.theme-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.landing-result-tab,
.web-app-filter-chip,
.category-tab,
.theme-filter-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 12px;
  font-size: var(--text-sm);
  font-weight: 800;
  white-space: nowrap;
}

.landing-result-tab.is-active,
.web-app-filter-chip.is-active,
.category-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.landing-result-pane {
  display: none;
}

.landing-result-pane.is-visible {
  display: block;
}

.web-report-module {
  padding: var(--space-5);
}

.web-module-title,
.section-heading {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.web-module-title {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: var(--space-4);
}

.web-app-count,
.web-app-category {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.web-app-list {
  display: grid;
  gap: var(--space-3);
}

.web-app-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  padding: var(--space-3);
}

.web-app-copy h4 {
  color: var(--fg);
}

.web-app-category {
  color: var(--muted);
}

.web-app-open:not(.is-disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 20%, transparent);
}

.web-app-open:not(.is-disabled):hover,
.web-app-open:not(.is-disabled):focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--accent-on);
}

.web-app-open.is-disabled {
  border-color: var(--border);
  background: transparent;
  color: var(--muted);
  cursor: default;
  opacity: 0.5;
}

.web-empty-state {
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--muted);
  padding: var(--space-4);
}

.lb-card,
.feature-card,
.article-card,
.faq-card,
.content-hub-card,
.cat-card,
.news-hub-feature,
.news-feed-item,
.how-step,
.cross-link-card,
.faq-item,
.legal-card,
.chrome-screenshot-feature,
.theme-grid-card,
.app-grid-card,
.store-list-row,
.web-app-row,
.web-snapshot-card,
.theme-store-card {
  transition:
    transform var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    background var(--motion-base) var(--ease-standard);
  will-change: transform;
}

.lb-card:hover,
.feature-card:hover,
.article-card:hover,
.faq-card:hover,
.content-hub-card:hover,
.cat-card:hover,
.news-hub-feature:hover,
.news-feed-item:hover,
.how-step:hover,
.cross-link-card:hover,
.faq-item:hover,
.legal-card:hover,
.chrome-screenshot-feature:hover,
.theme-grid-card:hover,
.app-grid-card:hover,
.store-list-row:hover,
.web-app-row:hover,
.web-snapshot-card:hover,
.theme-store-card:hover,
.lb-card:focus-within,
.feature-card:focus-within,
.article-card:focus-within,
.faq-card:focus-within,
.content-hub-card:focus-within,
.cat-card:focus-within,
.news-hub-feature:focus-within,
.news-feed-item:focus-within,
.how-step:focus-within,
.cross-link-card:focus-within,
.faq-item:focus-within,
.legal-card:focus-within,
.chrome-screenshot-feature:focus-within,
.theme-grid-card:focus-within,
.app-grid-card:focus-within,
.store-list-row:focus-within,
.web-app-row:focus-within,
.web-snapshot-card:focus-within,
.theme-store-card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  box-shadow:
    0 20px 52px color-mix(in srgb, var(--accent) 14%, transparent),
    var(--elev-raised);
}

@media (prefers-reduced-motion: reduce) {
  .lb-card,
  .feature-card,
  .article-card,
  .faq-card,
  .content-hub-card,
  .cat-card,
  .news-hub-feature,
  .news-feed-item,
  .how-step,
  .cross-link-card,
  .faq-item,
  .legal-card,
  .chrome-screenshot-feature,
  .theme-grid-card,
  .app-grid-card,
  .store-list-row,
  .web-app-row,
  .web-snapshot-card,
  .theme-store-card {
    transition: border-color var(--motion-fast) var(--ease-standard), background var(--motion-fast) var(--ease-standard);
    will-change: auto;
  }

  .lb-card:hover,
  .feature-card:hover,
  .article-card:hover,
  .faq-card:hover,
  .content-hub-card:hover,
  .cat-card:hover,
  .news-hub-feature:hover,
  .news-feed-item:hover,
  .how-step:hover,
  .cross-link-card:hover,
  .faq-item:hover,
  .legal-card:hover,
  .chrome-screenshot-feature:hover,
  .theme-grid-card:hover,
  .app-grid-card:hover,
  .store-list-row:hover,
  .web-app-row:hover,
  .web-snapshot-card:hover,
  .theme-store-card:hover,
  .lb-card:focus-within,
  .feature-card:focus-within,
  .article-card:focus-within,
  .faq-card:focus-within,
  .content-hub-card:focus-within,
  .cat-card:focus-within,
  .news-hub-feature:focus-within,
  .news-feed-item:focus-within,
  .how-step:focus-within,
  .cross-link-card:focus-within,
  .faq-item:focus-within,
  .legal-card:focus-within,
  .chrome-screenshot-feature:focus-within,
  .theme-grid-card:focus-within,
  .app-grid-card:focus-within,
  .store-list-row:focus-within,
  .web-app-row:focus-within,
  .web-snapshot-card:focus-within,
  .theme-store-card:focus-within {
    transform: none;
  }
}

.landing-json-card pre {
  overflow: auto;
  max-height: 420px;
  margin: var(--space-3) 0 0;
  color: var(--fg);
  font-size: var(--text-sm);
}

.power-section,
.home-section {
  margin-top: var(--space-12);
}

.leaderboard-section,
.home-section.articles {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 34%),
    rgba(2, 9, 10, 0.78);
  box-shadow: var(--elev-raised);
  padding: var(--space-8);
}

:root[data-theme="light"] .leaderboard-section,
:root[data-theme="light"] .home-section.articles {
  background: rgba(255, 255, 255, 0.92);
}

.od-template-content-hub .home-section.articles {
  margin-top: 0;
}

.od-template-leaderboard .top-data-hero,
.od-template-content-hub .content-hub-hero,
.od-template-extension .extension-hero {
  min-height: min(720px, calc(100vh - 70px));
  align-content: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(680px 520px at 72% 8%, rgba(54, 244, 164, 0.12), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 72%);
}

.od-template-leaderboard .top-data-hero h1,
.od-template-content-hub .content-hub-hero h1,
.od-template-extension .extension-hero h1 {
  max-width: 13ch;
}

.od-template-leaderboard .top-data-hero h1 em,
.od-template-content-hub .content-hub-hero h1 em,
.od-template-extension .extension-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.od-template-leaderboard .top-data-hero-stats {
  margin-top: var(--space-4);
}

.od-template-leaderboard .top-data-hero-stats div {
  min-height: 112px;
  align-content: space-between;
}

.od-template-leaderboard .leaderboard-section {
  padding: clamp(28px, 4vw, 56px);
}

.od-template-leaderboard .leaderboard-section .section-heading {
  margin-bottom: var(--space-5);
}

.od-template-leaderboard .leaderboard-section .section-heading h2,
.od-template-content-hub .articles .section-heading h2,
.od-template-extension .home-section .section-heading h2 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 330;
  line-height: var(--leading-tight);
}

.od-entry-panel,
.od-template-leaderboard .power-section:not(.leaderboard-section),
.od-template-content-hub .home-section:not(.articles),
.od-template-extension .home-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(2, 9, 10, 0.74);
  box-shadow: var(--elev-raised);
  padding: clamp(28px, 4vw, 56px);
}

:root[data-theme="light"] .od-entry-panel,
:root[data-theme="light"] .od-template-leaderboard .power-section:not(.leaderboard-section),
:root[data-theme="light"] .od-template-content-hub .home-section:not(.articles),
:root[data-theme="light"] .od-template-extension .home-section {
  background: rgba(255, 255, 255, 0.92);
}

.content-category-grid,
.news-feature-grid,
.extension-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.od-template-extension .extension-surface-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-category-card,
.news-feature-card,
.extension-surface-card {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-5);
  color: var(--fg);
}

.content-category-card h3,
.news-feature-card h3,
.extension-surface-card h3 {
  margin: var(--space-4) 0 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 430;
  line-height: var(--leading-tight);
}

.content-category-card p,
.news-feature-card p,
.extension-surface-card p {
  margin: var(--space-3) 0 0;
  color: var(--muted);
}

.content-category-meta,
.news-feature-meta,
.extension-surface-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-category-card:hover,
.news-feature-card:hover,
.extension-surface-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.article-list {
  display: grid;
  gap: var(--space-4);
}

.article-list .article-card {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  padding: var(--space-4);
}

.article-list .article-card-media {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.article-list .article-card h3,
.article-list .article-card p {
  padding-inline: 0;
}

.article-list .article-card p {
  padding-bottom: 0;
}

.article-card-arrow,
.news-item-arrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
  white-space: nowrap;
}

.news-list {
  display: grid;
  gap: var(--space-3);
}

.news-item {
  display: grid;
  grid-template-columns: minmax(82px, auto) minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-4);
}

.news-date {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-date strong {
  display: block;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1;
}

.news-item h3 {
  margin: 0;
  color: var(--fg);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 430;
}

.news-item p {
  margin: var(--space-2) 0 0;
  color: var(--muted);
}

.extension-install-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.extension-install-strip div {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-4);
}

.extension-install-strip dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.extension-install-strip dd {
  margin: var(--space-2) 0 0;
  color: var(--fg);
  font-weight: 800;
}

.od-entry-cta {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  text-align: center;
}

.od-entry-cta h2 {
  max-width: 760px;
  color: var(--fg);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 330;
  line-height: var(--leading-tight);
}

.od-entry-cta p {
  max-width: 620px;
  color: var(--muted);
}

.od-entry-cta .related-grid {
  width: 100%;
  text-align: left;
}

.ranking-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(168px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.store-filter-bar {
  grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.ranking-filter-bar label,
.store-filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-filter-bar select,
.ranking-filter-bar input,
.store-filter-bar select,
.store-filter-bar input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  padding: 12px 13px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: none;
}

.ranking-filter-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-3) var(--space-4);
}

.ranking-filter-feedback p {
  margin: 0;
  color: var(--fg);
  font-weight: 800;
}

.ranking-category-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.ranking-category-toolbar h3 {
  flex: 0 0 auto;
  margin: 0;
  color: var(--fg);
}

.ranking-category-toolbar .app-category-tabs {
  flex: 1;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.comparison-table {
  overflow: hidden;
  padding: var(--space-4);
}

.table-scroll,
.comparison-table {
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: var(--fg);
}

.theme-ranking-table .data-table {
  min-width: 760px;
}

.app-ranking-table .data-table {
  min-width: 900px;
}

.store-ranking-table .data-table {
  min-width: 1040px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--fg);
  font-size: var(--text-base);
}

.data-table td span,
.data-table td small,
.theme-note {
  color: var(--muted);
}

.table-filter-note {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-3);
}

.table-filter-note span {
  color: var(--muted);
}

.top-app-description-cell {
  max-width: 280px;
}

.top-app-description-cell span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mini-cta,
.table-link {
  width: fit-content;
  min-width: 116px;
  margin: 0 0 8px;
  padding: 9px 12px;
  font-size: var(--text-sm);
}

.table-link {
  border-color: transparent;
  color: var(--accent);
  padding-inline: 0;
}

.rank-cell,
.app-cell,
.store-cell {
  min-width: 0;
}

.app-cell,
.store-cell {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.top-app-name {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.top-app-icon {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 900;
}

.top-app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-cell strong,
.store-cell strong {
  display: block;
}

.store-cell span,
.app-cell span {
  display: block;
  color: var(--muted);
  font-size: var(--text-sm);
}

.pill-list,
.store-app-list,
.example-store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill,
.store-app-list span,
.example-store-list a {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  padding: 5px 8px;
  font-size: var(--text-xs);
  font-weight: 800;
}

.example-store-list a {
  color: var(--fg);
}

.pagination-row,
.store-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.home-info-card,
.home-link-card,
.related-panel,
.legal-card,
.workflow-step,
.theme-feature-card,
.theme-store-card {
  padding: var(--space-5);
}

.home-info-card p,
.home-link-card p,
.related-grid span,
.workflow-step p,
.chrome-screenshot-copy p,
.theme-feature-card p,
.theme-store-card p,
.article-card p {
  margin: var(--space-3) 0 0;
  color: var(--muted);
}

.related-panel {
  padding: var(--space-6);
}

.related-grid a {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-4);
  color: var(--fg);
  font-weight: 800;
}

.related-grid span {
  display: block;
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-4);
}

.faq-list summary {
  color: var(--fg);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: var(--space-3) 0 0;
}

.article-grid {
  align-items: stretch;
}

.article-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: var(--space-4);
  overflow: hidden;
  min-width: 0;
  transition:
    transform var(--motion-base) var(--ease-standard),
    border-color var(--motion-base) var(--ease-standard),
    background var(--motion-base) var(--ease-standard);
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--surface-warm);
}

.article-card-media {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border);
  background: var(--surface-warm);
}

.article-card-media img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.article-card h3,
.article-card p {
  padding-inline: var(--space-5);
}

.article-card h3 {
  font-size: clamp(22px, 2.4vw, var(--text-xl));
  font-weight: 430;
}

.article-card p {
  padding-bottom: var(--space-5);
}

.chrome-hero-media,
.chrome-screenshot-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--elev-raised);
}

.chrome-screenshot-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
}

.chrome-screenshot-feature.is-reversed {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.chrome-screenshot-feature.is-reversed .chrome-screenshot-copy {
  order: 2;
}

.chrome-screenshot-feature-list {
  display: grid;
  gap: var(--space-5);
}

.chrome-screenshot-media img,
.chrome-hero-media img {
  width: 100%;
  height: auto;
}

.chrome-store-note {
  color: var(--meta);
  font-size: var(--text-sm);
}

.site-footer,
.home-footer {
  display: block;
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding: var(--space-8) var(--container-gutter-desktop);
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer .footer-grid,
.home-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(128px, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.site-footer .footer-brand,
.home-footer .footer-brand {
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 800;
}

.site-footer p {
  margin: var(--space-2) 0 0;
  max-width: 260px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.footer-col strong {
  color: var(--fg);
  font-size: var(--text-sm);
  font-weight: 760;
}

.footer-col a {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.35;
}

.site-footer a:hover {
  color: var(--fg);
}

@media (max-width: 1080px) {
  .site-footer,
  .home-footer {
    padding-inline: var(--container-gutter-tablet);
  }

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

.od-template-article {
  background:
    radial-gradient(72% 44% at 50% 0%, rgba(54, 244, 164, 0.08), transparent 66%),
    var(--bg);
}

.od-template-article .content-shell {
  width: min(100%, var(--container-max));
  margin: 0 auto;
}

.od-article-shell {
  display: grid;
  gap: var(--space-8);
}

.od-article-hero {
  padding: clamp(84px, 10vw, 150px) var(--container-gutter-desktop) clamp(44px, 6vw, 76px);
  text-align: left;
}

.od-article-hero .container {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.od-article-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 360;
  line-height: 0.96;
  letter-spacing: 0;
}

.od-article-subtitle,
.od-article-opening {
  max-width: 780px;
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.od-article-opening {
  color: var(--fg);
  font-size: clamp(17px, 1.5vw, 20px);
  opacity: 0.82;
}

.od-article-layout {
  display: grid;
  gap: var(--space-6);
  width: min(calc(100% - 2 * var(--container-gutter-desktop)), 980px);
  margin: 0 auto clamp(54px, 8vw, 96px);
}

.od-article-body,
.od-template-article .article-next-step-cta {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-warm) 88%, transparent));
  box-shadow: var(--elev-raised);
}

.od-article-body {
  padding: clamp(28px, 4vw, 54px);
}

.od-article-body > *:first-child {
  margin-top: 0;
}

.od-article-body > *:last-child {
  margin-bottom: 0;
}

.od-article-body p,
.od-article-body li,
.od-article-body dd {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.od-article-body p,
.od-article-body ul,
.od-article-body ol,
.od-article-body blockquote,
.od-article-body table,
.od-article-body figure,
.od-article-body .definition-box,
.od-article-body .example-analysis-card,
.od-article-body .checklist-graphic,
.od-article-body .faq-list,
.od-article-body .related-grid,
.od-article-body .article-flow-chart,
.od-article-body .framework-orbit {
  margin-block: var(--space-5);
}

.od-article-body h2,
.od-article-body h3 {
  color: var(--fg);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.od-article-body h2 {
  margin: clamp(42px, 6vw, 72px) 0 var(--space-4);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 360;
  line-height: 1.02;
}

.od-article-body h3 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 520;
  line-height: 1.12;
}

.od-article-body a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.od-article-body strong {
  color: var(--fg);
}

.od-article-body .toc-list {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-warm) 72%, transparent);
}

.od-article-body .toc-list li {
  color: var(--muted);
}

.od-article-body .comparison-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-spacing: 0;
  background: color-mix(in srgb, var(--surface-warm) 78%, transparent);
  -webkit-overflow-scrolling: touch;
}

.od-article-body .comparison-table th,
.od-article-body .comparison-table td {
  min-width: 160px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.od-article-body .comparison-table tr:last-child td {
  border-bottom: 0;
}

.od-article-body .comparison-table th {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.od-article-body .definition-box,
.od-article-body .example-analysis-card,
.od-article-body .visual-brief-card,
.od-article-body .quote-pull,
.od-article-body .ai-citable-list,
.od-article-body .checklist-list,
.od-article-body .checklist-graphic,
.od-article-body .framework-orbit,
.od-article-body .article-flow-chart,
.od-article-body .answer-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-warm) 76%, transparent);
  padding: var(--space-5);
}

.od-article-body .definition-box,
.od-article-body .answer-box {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--border));
}

.od-article-body .quote-pull {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 420;
  line-height: 1.16;
}

.od-article-body .article-image-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--elev-raised);
}

.od-article-body .article-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.od-article-body .article-image-card figcaption,
.od-article-body .framework-orbit figcaption {
  margin: 0;
  padding: var(--space-3) var(--space-4);
  color: var(--meta);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.od-article-body .visual-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.od-article-body .article-flow-chart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.od-article-body .article-flow-chart div {
  display: grid;
  place-items: center;
  flex: 1 1 128px;
  min-height: 64px;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--fg);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 760;
  text-align: center;
}

.od-article-body .article-flow-chart span {
  color: var(--accent);
  font-weight: 800;
}

.od-article-body .framework-orbit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.od-article-body .framework-center,
.od-article-body .framework-node {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--fg);
  background: var(--surface);
  text-align: center;
}

.od-article-body .framework-center {
  grid-column: span 2;
  min-height: 132px;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 760;
}

.od-article-body .framework-orbit figcaption {
  grid-column: 1 / -1;
  padding: 0;
}

.od-article-body .example-analysis-card,
.od-article-body .checklist-graphic {
  display: grid;
  gap: var(--space-4);
}

.od-article-body .example-chip-row,
.od-article-body .related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.od-article-body .example-chip-row span,
.od-article-body .related-grid a {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.od-article-body .example-chip-row span {
  padding: 7px 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
}

.od-article-body .example-analysis-card dl {
  display: grid;
  grid-template-columns: minmax(128px, 0.34fr) minmax(0, 1fr);
  gap: var(--space-3);
  margin: 0;
}

.od-article-body .example-analysis-card dt {
  color: var(--fg);
  font-weight: 800;
}

.od-article-body .checklist-graphic ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.od-article-body .checklist-graphic li {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3) 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--muted);
}

.od-article-body .checklist-graphic li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 14px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.od-article-body .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.od-article-body .related-grid a {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  color: var(--fg);
  text-decoration: none;
}

.od-article-body .related-grid span {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.od-article-body .faq-list {
  display: grid;
  gap: var(--space-3);
}

.od-article-body .faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-warm) 72%, transparent);
}

.od-article-body .faq-list summary {
  cursor: pointer;
  padding: var(--space-4);
  color: var(--fg);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 760;
  list-style: none;
}

.od-article-body .faq-list summary::-webkit-details-marker {
  display: none;
}

.od-article-body .faq-list p {
  margin: 0;
  padding: 0 var(--space-4) var(--space-4);
}

.od-template-article .article-next-step-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: var(--space-5);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.od-template-article .article-next-step-cta h2 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 380;
  line-height: 1;
}

.od-template-article .article-next-step-cta p {
  max-width: 680px;
  margin: var(--space-3) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.od-template-article .article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.od-template-article .article-cta-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--accent);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 800;
  text-align: center;
}

.od-template-detector .hero {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
  min-height: min(780px, calc(100vh - 70px));
  align-content: center;
  padding-block: clamp(82px, 12vw, 150px) clamp(54px, 8vw, 92px);
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(54, 244, 164, 0.09), transparent 62%),
    radial-gradient(72% 58% at 82% 28%, rgba(16, 38, 32, 0.52), transparent 64%);
}

.hero-eyebrow-row {
  display: flex;
  justify-content: center;
}

.od-template-detector .hero h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, var(--text-4xl));
  font-weight: 330;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
}

.hero-lead {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  line-height: 1.55;
}

.hero-form.detector-form {
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 760px);
  gap: var(--space-3);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-form .detect-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 8px;
}

.detect-prefix {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding-inline: var(--space-3);
  border-right: 1px solid var(--border);
  color: var(--meta);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 800;
}

.detect-input {
  width: 100%;
}

.detector-form .detect-submit {
  min-height: 48px;
  border-radius: var(--radius-sm);
}

.detect-hint {
  margin: 0;
  color: var(--meta);
  font-size: var(--text-sm);
}

.detect-samples,
.hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.detect-samples {
  margin-top: var(--space-1);
}

.detect-sample-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.detect-sample-row .detect-samples {
  margin-top: 0;
  justify-content: flex-start;
}

.dot,
.pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(54, 244, 164, 0.62);
}

.pulse {
  animation: pulse 2.4s infinite var(--ease-standard);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(54, 244, 164, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(54, 244, 164, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(54, 244, 164, 0);
  }
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.trust-stats,
.how-section {
  margin-top: var(--space-12);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 42%),
    rgba(2, 9, 10, 0.78);
  box-shadow: var(--elev-raised);
  padding: var(--space-8);
}

:root[data-theme="light"] .trust-stats,
:root[data-theme="light"] .how-section {
  background: rgba(255, 255, 255, 0.92);
}

.trust-grid,
.how-grid {
  display: grid;
  gap: var(--space-4);
}

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

.trust-stat,
.how-step {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-5);
}

.trust-num {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, var(--text-2xl));
  font-weight: 430;
  line-height: 1;
}

.trust-label {
  margin-top: var(--space-3);
  color: var(--fg);
  font-weight: 850;
}

.trust-sub {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.section-head {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.section-head h2 {
  max-width: 860px;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, var(--text-3xl));
  font-weight: 430;
  line-height: var(--leading-tight);
}

.section-head p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-lg);
}

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

.how-step {
  display: grid;
  gap: var(--space-3);
}

.how-step-num {
  color: rgba(54, 244, 164, 0.34);
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 330;
  line-height: 0.9;
}

.how-step h3 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.08;
}

.how-step p {
  margin: 0;
  color: var(--muted);
}

.how-mock {
  margin-top: var(--space-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: var(--space-3);
}

.how-mock-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-warm);
  color: var(--fg);
  padding: 10px 12px;
  font-weight: 800;
}

.cross-link-card {
  min-height: 100%;
}

.cross-link-card h3 {
  margin: 0;
  color: var(--fg);
  font-size: var(--text-lg);
}

.cross-link-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--accent);
  font-weight: 900;
}

.cross-link-arrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-item summary {
  list-style: none;
}

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

.od-fidelity-page {
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-warm: #f3f7f6;
  --surface-hi: #eef4f2;
  --fg: #101417;
  --fg-2: #101417;
  --muted: #68736f;
  --meta: #6f7a76;
  --border: #d9e2df;
  --border-soft: #c5d0cc;
  --accent: #21863f;
  --accent-on: #ffffff;
  --accent-hover: #176d34;
  --elev-raised:
    rgba(15, 23, 42, 0.06) 0 0 0 1px,
    rgba(15, 23, 42, 0.04) 0 2px 4px,
    rgba(15, 23, 42, 0.05) 0 12px 40px;
  background:
    radial-gradient(760px 520px at 78% 9%, rgba(33, 134, 63, 0.08), transparent 66%),
    var(--bg);
  color: var(--muted);
}

.od-fidelity-page::before {
  opacity: 0;
}

.od-fidelity-page .site-nav {
  background: rgba(248, 250, 249, 0.88);
}

.od-fidelity-page .content-shell {
  max-width: none;
  padding-inline: 0;
}

.od-fidelity-page .hero,
.od-fidelity-page .od-prototype-section,
.od-fidelity-page .od-result-section,
.od-fidelity-page .od-footer {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--container-gutter-desktop);
}

.od-fidelity-page .hero {
  min-height: min(820px, calc(100vh - 70px));
  background:
    radial-gradient(640px 420px at 50% 0%, rgba(33, 134, 63, 0.08), transparent 66%),
    radial-gradient(780px 520px at 84% 32%, rgba(33, 134, 63, 0.07), transparent 66%);
}

.od-fidelity-page .hero h1 {
  max-width: 100%;
  color: var(--fg);
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 330;
  overflow-wrap: anywhere;
}

.od-fidelity-page .hero-lead {
  max-width: 760px;
}

.od-fidelity-page .hero-form .detect-shell,
.od-fidelity-page .sample-chip,
.od-fidelity-page .how-step,
.od-fidelity-page .lb-card,
.od-fidelity-page .cross-link-card,
.od-fidelity-page .faq-list details {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.od-fidelity-page .detector-form .detect-submit,
.od-fidelity-page .primary-button {
  background: var(--fg);
  color: var(--bg);
}

.od-fidelity-page .secondary-button {
  color: var(--fg);
}

.od-fidelity-page .od-prototype-section,
.od-fidelity-page .od-result-section {
  margin-top: 0;
  padding-block: var(--section-y-desktop);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.od-fidelity-page .od-result-section[hidden] {
  display: none !important;
}

.od-fidelity-page .hero-result-section {
  width: 100%;
  margin-top: var(--space-8);
  padding: 0;
}

.od-fidelity-page .hero-result-section .detector-result {
  margin-top: 0;
  text-align: left;
}

.od-fidelity-page .detect-sample-row {
  width: min(100%, 760px);
  margin-inline: auto;
}

.od-fidelity-page .sample-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.92);
  color: var(--fg);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  box-shadow: 0 10px 30px rgba(16, 20, 23, 0.04);
}

.od-fidelity-page .sample-chip:hover,
.od-fidelity-page .sample-chip:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.od-fidelity-page .section-head {
  margin-bottom: var(--space-12);
}

.od-fidelity-page .section-head:not(.left) {
  justify-items: center;
  text-align: center;
}

.od-fidelity-page .section-head h2 {
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 330;
  letter-spacing: var(--tracking-display);
}

.od-fidelity-page .section-head p {
  max-width: 760px;
  font-size: var(--text-lg);
}

.od-fidelity-page .how-grid,
.od-fidelity-page .leaderboards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.od-fidelity-page .how-step {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  gap: var(--space-5);
}

.od-fidelity-page .how-step-num {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.od-fidelity-page .how-step h3 {
  font-size: clamp(34px, 4vw, var(--text-2xl));
  font-weight: 330;
}

.od-fidelity-page .how-step p {
  font-size: var(--text-lg);
  line-height: 1.55;
}

.od-fidelity-page .how-mock {
  display: grid;
  min-height: 210px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-warm);
}

.od-fidelity-page .how-mock-card {
  max-width: 86%;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
}

.od-fidelity-page .leaderboards-section {
  background:
    radial-gradient(640px 500px at 88% 0%, rgba(33, 134, 63, 0.07), transparent 72%),
    transparent;
}

.od-fidelity-page .lb-card {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.od-fidelity-page .lb-head {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.od-fidelity-page .lb-title {
  color: var(--fg);
  font-size: clamp(32px, 4vw, var(--text-2xl));
  font-weight: 330;
}

.od-fidelity-page .lb-count {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.od-fidelity-page .lb-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.od-fidelity-page .lb-row {
  display: grid;
  grid-template-columns: 32px 44px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.od-fidelity-page .lb-row:last-child {
  border-bottom: 0;
}

.od-fidelity-page .lb-rank,
.od-fidelity-page .lb-value {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.od-fidelity-page .lb-value {
  grid-column: 3;
}

.od-fidelity-page .lb-avatar,
.od-fidelity-page .lb-logo-wrap {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-hi);
  color: var(--fg);
  font-weight: 900;
}

.od-fidelity-page .lb-logo-wrap {
  overflow: hidden;
  padding: 3px;
}

.od-fidelity-page .lb-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 4px);
  object-fit: cover;
}

.od-fidelity-page .lb-name {
  min-width: 0;
  overflow: visible;
  color: var(--fg);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
}

.od-fidelity-page .cross-link-card {
  align-content: start;
  gap: var(--space-5);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}

.od-fidelity-page .cross-link-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
}

.od-fidelity-page .cross-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.5;
}

.od-fidelity-page .cross-link-arrow {
  width: fit-content;
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--accent);
  padding: 10px 14px;
}

.od-fidelity-page .faq-list {
  display: block;
  max-width: none;
  border-top: 1px solid var(--border);
}

.od-fidelity-page .faq-list details {
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.od-fidelity-page .faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  color: var(--fg);
  font-size: clamp(24px, 3vw, var(--text-xl));
  font-weight: 430;
}

.od-fidelity-page .faq-list summary::after {
  content: "+";
  color: var(--meta);
  font-weight: 400;
}

.od-fidelity-page .faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 0 var(--space-6);
  color: var(--muted);
  font-size: var(--text-lg);
}

.od-fidelity-page .cta {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  width: min(calc(100% - 2 * var(--container-gutter-desktop)), 960px);
  margin-bottom: clamp(48px, 6vw, 80px);
  padding: clamp(40px, 4.8vw, 56px) var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(560px 220px at 50% 0%, rgba(33, 134, 63, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--elev-raised);
  text-align: center;
}

.od-fidelity-page .cta h2 {
  max-width: 640px;
  color: var(--fg);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 330;
  line-height: var(--leading-tight);
}

.od-fidelity-page .cta p {
  max-width: 560px;
  color: var(--muted);
  font-size: var(--text-base);
}

.od-fidelity-page .cta .hero-actions {
  margin-top: var(--space-2);
}

.od-fidelity-page .cta .primary-button,
.od-fidelity-page .cta .secondary-button {
  min-width: 160px;
  justify-content: center;
}

.od-fidelity-page .od-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(0, 2fr);
  align-items: start;
  margin-top: 0;
}

@media (max-width: 1080px) {
  .content-shell,
  .container,
  .home-shell {
    padding-inline: var(--container-gutter-tablet);
  }

  .site-nav {
    padding-inline: var(--container-gutter-tablet);
  }

  .nav-links,
  .home-nav {
    gap: var(--space-3);
  }

  .ranking-filter-bar,
  .store-filter-bar {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ranking-filter-bar label,
  .store-filter-bar label {
    min-width: 190px;
  }

  .home-card-grid.four-up,
  .article-grid,
  .related-grid,
  .trust-grid,
  .content-category-grid,
  .news-feature-grid,
  .extension-surface-grid,
  .od-template-extension .extension-surface-grid,
  .extension-install-strip,
  .theme-category-grid,
  .theme-store-grid,
  .featured-theme-grid,
  .app-stack-grid,
  .chrome-flow-grid,
  .chrome-permission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .od-fidelity-page .hero,
  .od-fidelity-page .od-prototype-section,
  .od-fidelity-page .od-result-section,
  .od-fidelity-page .od-footer {
    padding-inline: var(--container-gutter-tablet);
  }

  .od-fidelity-page .hero-result-section {
    padding: 0;
  }

  .od-fidelity-page .how-grid,
  .od-fidelity-page .leaderboards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .home-nav,
  .nav-cta,
  .home-header-actions {
    display: none;
  }
}

@media (max-width: 760px) {
  .content-shell,
  .container,
  .home-shell,
  .site-nav {
    padding-inline: var(--container-gutter-phone);
  }

  .site-nav,
  .home-header {
    min-height: 66px;
  }

  .nav-links,
  .home-nav,
  .nav-cta,
  .home-header-actions,
  .nav-cta .primary-button,
  .home-header-actions .primary-button {
    display: none;
  }

  .hero-panel,
  .top-data-hero,
  .home-hero,
  .chrome-extension-hero {
    padding-block: 56px var(--space-8);
  }

  .hero-panel h1,
  .top-data-hero h1,
  .home-hero h1 {
    font-size: 48px;
  }

  .detect-shell,
  .detector-form,
  .home-detector-form {
    grid-template-columns: 1fr;
  }

  .hero-form .detect-shell {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: var(--space-3);
  }

  .hero-form .detect-shell > *,
  .detect-input,
  .detector-form .detect-submit {
    min-width: 0;
    width: 100%;
  }

  .detect-prefix {
    display: none;
  }

  .web-report-header,
  .web-report-meta-grid,
  .web-snapshot-grid,
  .landing-storefront-grid,
  .top-data-hero-stats,
  .home-card-grid.four-up,
  .article-grid,
  .related-grid,
  .trust-grid,
  .how-grid,
  .theme-category-grid,
  .theme-store-grid,
  .featured-theme-grid,
  .app-stack-grid,
  .chrome-flow-grid,
  .chrome-permission-grid,
  .chrome-screenshot-feature,
  .chrome-screenshot-feature.is-reversed {
    grid-template-columns: 1fr;
  }

  .article-list .article-card,
  .news-item {
    grid-template-columns: 1fr;
  }

  .article-card-arrow,
  .news-item-arrow {
    white-space: normal;
  }

  .chrome-screenshot-feature.is-reversed .chrome-screenshot-copy {
    order: 0;
  }

  .ranking-category-toolbar {
    display: grid;
  }

  .site-footer,
  .home-footer {
    padding-inline: var(--container-gutter-tablet);
  }

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

  .od-fidelity-page .hero,
  .od-fidelity-page .od-prototype-section,
  .od-fidelity-page .od-result-section,
  .od-fidelity-page .od-footer {
    padding-inline: var(--container-gutter-phone);
  }

  .od-fidelity-page .od-prototype-section,
  .od-fidelity-page .od-result-section {
    padding-block: var(--section-y-phone);
  }

  .od-fidelity-page .cta {
    width: calc(100% - 2 * var(--container-gutter-phone));
    margin-bottom: var(--space-8);
    padding: var(--space-8) var(--space-5);
  }

  .od-fidelity-page .cta h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .od-fidelity-page .cta .hero-actions {
    width: 100%;
  }

  .od-fidelity-page .cta .primary-button,
  .od-fidelity-page .cta .secondary-button {
    width: 100%;
    min-width: 0;
  }

  .od-fidelity-page .hero-result-section {
    padding: 0;
  }

  .detect-sample-row {
    display: grid;
    justify-items: center;
  }

  .hero-points {
    display: grid;
    justify-items: center;
    text-align: center;
  }

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

  .od-fidelity-page .section-head {
    margin-bottom: var(--space-8);
  }

  .od-fidelity-page .how-step,
  .od-fidelity-page .lb-card,
  .od-fidelity-page .cross-link-card {
    padding: var(--space-5);
  }

  .od-fidelity-page .lb-row {
    grid-template-columns: 28px 38px minmax(0, 1fr);
  }

  .od-fidelity-page .lb-value {
    grid-column: 3;
  }

  .od-fidelity-page .od-footer {
    grid-template-columns: 1fr;
  }
}

/* Open Design entry page fidelity repairs */
.od-template-leaderboard .content-shell,
.od-template-content-hub .content-shell {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.od-template-leaderboard .container,
.od-template-content-hub .container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--container-gutter-desktop);
}

.od-template-leaderboard .leaderboard-hero,
.od-template-content-hub .content-hub-hero {
  padding: clamp(72px, 10vw, 142px) 0 clamp(44px, 7vw, 92px);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 244, 164, 0.12), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 100%);
}

.od-template-leaderboard .leaderboard-hero h1,
.od-template-content-hub .content-hub-hero h1 {
  max-width: 1060px;
  margin: var(--space-4) auto var(--space-5);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(68px, 11vw, 152px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.od-template-leaderboard .hero-lead,
.od-template-content-hub .hero-lead {
  max-width: 840px;
  margin: 0 auto var(--space-6);
  color: var(--muted);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.45;
}

.top-index-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 980px;
  margin: var(--space-8) auto 0;
}

.top-index-meta span {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  text-align: left;
}

.top-index-meta strong,
.od-card-meta,
.news-date,
.news-tag-row,
.cat-card-meta {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-index-meta em {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--fg);
  font-style: normal;
  font-size: var(--text-sm);
}

.od-template-leaderboard .filter-section {
  padding: var(--space-7) 0 var(--space-5);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.od-template-leaderboard .ranking-panel .container {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface) 78%, transparent));
  box-shadow: var(--elev-raised);
}

.od-template-leaderboard .ranking-panel .section-head {
  margin-bottom: var(--space-6);
}

.ranking-controls {
  display: grid;
  gap: var(--space-4);
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-warm) 82%, transparent);
}

.od-template-leaderboard .filter-row {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.od-template-leaderboard .filter-row label {
  display: grid;
  flex: 1 0 170px;
  gap: 8px;
  min-width: 170px;
}

.od-template-leaderboard .store-filter-bar {
  flex-wrap: wrap;
  overflow-x: visible;
  padding-bottom: 0;
}

.od-template-leaderboard .store-filter-bar label {
  flex: 1 1 150px;
  min-width: 150px;
}

.od-template-leaderboard .filter-row label span {
  color: var(--meta);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.od-template-leaderboard .filter-row input,
.od-template-leaderboard .filter-row select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--fg);
  padding: 0 14px;
}

.filter-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-warm) 72%, transparent);
}

.filter-status-row h2 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  line-height: 1.2;
}

.filter-status-row p {
  margin: 0;
  color: var(--fg);
  font-weight: 700;
}

.theme-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.theme-filter-chips span,
.category-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.category-tab.is-active,
.category-tab:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.category-filter-row {
  flex-wrap: nowrap;
}

.od-template-leaderboard .leaderboard-section,
.od-template-leaderboard .grid-section,
.od-template-content-hub .topic-section,
.od-template-content-hub .articles,
.od-template-content-hub .feed-section,
.od-template-leaderboard .cta-section,
.od-template-content-hub .cta-section {
  padding: clamp(58px, 8vw, 108px) 0;
}

.section-head.left {
  max-width: 920px;
  margin-bottom: var(--space-8);
  text-align: left;
}

.section-head h2 {
  margin: var(--space-3) 0 var(--space-4);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
}

.od-filter-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-warm) 70%, transparent);
}

.od-filter-note strong {
  color: var(--accent);
}

.themes-grid,
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.theme-grid-card,
.app-grid-card,
.store-list-row,
.cat-card,
.od-template-content-hub .content-hub-card,
.news-feature,
.news-item {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--elev-raised);
}

.theme-grid-card,
.app-grid-card {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
}

.theme-grid-card h3,
.app-grid-card h3 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
}

.theme-grid-card p,
.app-grid-card p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.theme-grid-card p strong,
.app-grid-card p strong {
  color: var(--fg);
}

.od-card-meta,
.od-card-stats,
.od-card-chips,
.od-card-actions,
.app-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.od-card-meta,
.od-card-stats,
.od-card-chips,
.od-card-actions {
  flex-wrap: wrap;
}

.od-card-stats span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
}

.od-card-stats strong {
  color: var(--fg);
}

.od-card-stats em {
  color: var(--meta);
  font-style: normal;
  font-size: var(--text-xs);
}

.od-card-chips span,
.store-apps span {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: var(--surface-warm);
  font-size: var(--text-xs);
  font-weight: 700;
}

.app-card-head {
  align-items: flex-start;
}

.app-card-head .top-app-icon {
  flex: 0 0 auto;
}

.stores-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: 0;
  list-style: none;
}

.store-list-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 1.4fr) minmax(150px, 1fr) minmax(140px, 0.9fr) minmax(180px, 1.2fr) minmax(140px, auto);
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

.store-rank {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
}

.store-main,
.store-signal,
.store-actions {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.store-main strong,
.store-signal strong {
  overflow-wrap: anywhere;
  color: var(--fg);
  font-size: var(--text-lg);
  line-height: 1.1;
}

.store-main em,
.store-signal em {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-style: normal;
  font-size: var(--text-sm);
}

.store-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.store-actions {
  justify-items: start;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.cat-card {
  display: grid;
  gap: var(--space-4);
  min-height: 280px;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
}

.cat-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--accent);
  background: var(--surface-warm);
  font-family: var(--font-mono);
  font-weight: 800;
}

.cat-card-name {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.cat-card-desc {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.od-template-content-hub .articles-list {
  display: grid;
  gap: var(--space-4);
}

.od-template-content-hub .content-hub-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: var(--space-5);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  color: inherit;
}

.article-cover {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  aspect-ratio: 16 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--accent-on);
  background: color-mix(in srgb, var(--accent) 82%, #000 18%);
  font-size: var(--text-xs);
  font-weight: 800;
}

.article-body,
.news-body,
.news-feature-body {
  display: grid;
  align-content: center;
  gap: var(--space-3);
  min-width: 0;
}

.article-title,
.news-title {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-excerpt,
.news-excerpt {
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.45;
}

.article-action,
.article-arrow,
.news-arrow,
.news-meta {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.article-arrow,
.news-arrow {
  align-self: center;
  justify-self: end;
  font-size: 28px;
}

.feed {
  display: grid;
  gap: var(--space-5);
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  gap: var(--space-6);
  min-width: 0;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
}

.news-feature-cover {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-warm);
  aspect-ratio: 16 / 10;
}

.news-feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list {
  display: grid;
  gap: var(--space-3);
}

.news-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  min-width: 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
}

.od-template-content-hub .hub-card-media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-warm);
  aspect-ratio: 16 / 9;
}

.od-template-content-hub .hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.od-template-content-hub .hub-card-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--accent-on);
  background: color-mix(in srgb, var(--accent) 82%, #000 18%);
  font-size: var(--text-xs);
  font-weight: 800;
}

.od-template-content-hub .hub-card-body,
.news-hub-body,
.news-feed-body {
  display: grid;
  align-content: center;
  gap: var(--space-3);
  min-width: 0;
}

.od-template-content-hub .hub-card-title,
.news-feed-title {
  display: block;
  max-width: 100%;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.35vw, 40px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.od-template-content-hub .hub-card-excerpt,
.news-feed-excerpt {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
}

.od-template-content-hub .hub-card-action,
.od-template-content-hub .hub-card-arrow,
.news-feed-arrow,
.news-hub-meta {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.od-template-content-hub .hub-card-arrow,
.news-feed-arrow {
  align-self: center;
  justify-self: end;
  font-size: 28px;
}

.news-hub-feed {
  display: grid;
  gap: var(--space-5);
}

.news-hub-feature {
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  gap: var(--space-6);
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--elev-raised);
}

.news-hub-cover {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-warm);
  aspect-ratio: 16 / 10;
}

.news-hub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feed-list {
  display: grid;
  gap: var(--space-3);
}

.news-feed-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: var(--space-5);
  align-items: center;
  min-width: 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--elev-raised);
}

.news-feed-date,
.news-feed-tag {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
}

.od-template-legal .content-shell {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.od-template-legal .home-shell {
  margin: 0;
}

.od-template-legal main {
  width: min(100%, var(--container-max));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--container-gutter-desktop) var(--space-12);
}

.od-template-legal .legal-content {
  display: grid;
  gap: var(--space-8);
}

.od-template-legal .legal-hero,
.od-template-legal .legal-card,
.od-template-legal .contact-card,
.od-template-legal .legal-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 244, 164, 0.12), transparent 56%),
    color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--elev-raised);
}

.od-template-legal .legal-hero {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  margin: 0;
  padding: clamp(56px, 8vw, 108px) clamp(24px, 5vw, 72px);
  text-align: center;
}

.od-template-legal .legal-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(54px, 9vw, 118px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.od-template-legal .legal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.od-template-legal .legal-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.od-template-legal .legal-card,
.od-template-legal .contact-card {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  min-height: 220px;
  padding: clamp(24px, 3vw, 36px);
}

.od-template-legal .legal-card h2,
.od-template-legal .contact-card h2,
.od-template-legal .legal-cta h2 {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1;
}

.od-template-legal .legal-card p,
.od-template-legal .contact-card p,
.od-template-legal .legal-cta p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.od-template-legal .contact-card span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.od-template-legal .legal-cta {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}

.od-template-leaderboard .cta-panel,
.od-template-content-hub .cta-panel {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-width: 1040px;
  padding: clamp(44px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 244, 164, 0.16), transparent 54%),
    var(--surface);
  text-align: center;
  box-shadow: var(--elev-raised);
}

.od-template-leaderboard .cta-panel h2,
.od-template-content-hub .cta-panel h2 {
  max-width: 820px;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.od-template-leaderboard .cta-panel p,
.od-template-content-hub .cta-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-lg);
}

/* Detector theme-token repairs */
:root[data-theme="light"] .od-fidelity-page {
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-warm: #f4f8f6;
  --surface-hi: #edf5f1;
  --fg: #0b0f12;
  --muted: #636a70;
  --meta: #77817c;
  --border: #d8dfdc;
  --border-soft: #c7d1cd;
}

:root[data-theme="dark"] .od-fidelity-page {
  --bg: #050806;
  --surface: #0b100d;
  --surface-warm: #101812;
  --surface-hi: #142017;
  --fg: #f5faf7;
  --muted: #a8b6ae;
  --meta: #7f9489;
  --border: rgba(180, 220, 198, 0.22);
  --border-soft: rgba(180, 220, 198, 0.34);
  color-scheme: dark;
}

:root[data-theme="dark"] .od-fidelity-page .site-nav {
  background: rgba(4, 8, 6, 0.84);
}

:root[data-theme="dark"] .od-fidelity-page .hero,
:root[data-theme="dark"] .od-fidelity-page .od-prototype-section,
:root[data-theme="dark"] .od-fidelity-page .od-result-section,
:root[data-theme="dark"] .od-fidelity-page .od-footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 244, 164, 0.12), transparent 52%),
    var(--bg);
}

:root[data-theme="dark"] .od-fidelity-page .hero-form .detect-shell,
:root[data-theme="dark"] .od-fidelity-page .sample-chip,
:root[data-theme="dark"] .od-fidelity-page .how-step,
:root[data-theme="dark"] .od-fidelity-page .lb-card,
:root[data-theme="dark"] .od-fidelity-page .cross-link-card,
:root[data-theme="dark"] .od-fidelity-page .faq-list details,
:root[data-theme="dark"] .od-fidelity-page .cta {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: var(--border);
}

:root[data-theme="dark"] .od-fidelity-page .hero-form .detect-prefix,
:root[data-theme="dark"] .od-fidelity-page .hero-form .detect-input,
:root[data-theme="dark"] .od-fidelity-page .section-head p,
:root[data-theme="dark"] .od-fidelity-page .how-step p,
:root[data-theme="dark"] .od-fidelity-page .cross-link-card p,
:root[data-theme="dark"] .od-fidelity-page .faq-list p,
:root[data-theme="dark"] .od-fidelity-page .cta p,
:root[data-theme="dark"] .od-fidelity-page .od-footer p,
:root[data-theme="dark"] .od-fidelity-page .od-footer a {
  color: var(--muted);
}

:root[data-theme="dark"] .od-fidelity-page .hero h1,
:root[data-theme="dark"] .od-fidelity-page .section-head h2,
:root[data-theme="dark"] .od-fidelity-page .how-step h3,
:root[data-theme="dark"] .od-fidelity-page .cross-link-card h3,
:root[data-theme="dark"] .od-fidelity-page .faq-list summary,
:root[data-theme="dark"] .od-fidelity-page .cta h2,
:root[data-theme="dark"] .od-fidelity-page .od-footer strong,
:root[data-theme="dark"] .od-fidelity-page .od-footer span {
  color: var(--fg);
}

@media (max-width: 980px) {
  .top-index-meta,
  .themes-grid,
  .apps-grid,
  .cats-grid,
  .od-template-legal .legal-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-list-row {
    grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr);
  }

  .store-apps,
  .store-actions {
    grid-column: 2 / -1;
  }

  .od-template-content-hub .content-hub-card,
  .news-feature,
  .news-hub-feature {
    grid-template-columns: 1fr;
  }

  .od-article-layout {
    width: min(calc(100% - 2 * var(--container-gutter-tablet)), 920px);
  }

  .od-article-body .related-grid,
  .od-template-article .article-next-step-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .od-template-leaderboard .container,
  .od-template-content-hub .container,
  .od-template-article .container {
    padding-inline: var(--container-gutter-phone);
  }

  .od-template-leaderboard .leaderboard-hero h1,
  .od-template-content-hub .content-hub-hero h1,
  .od-article-hero h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .top-index-meta,
  .themes-grid,
  .apps-grid,
  .cats-grid,
  .od-template-legal .legal-layout {
    grid-template-columns: 1fr;
  }

  .od-template-legal main {
    padding-inline: var(--container-gutter-phone);
  }

  .filter-status-row,
  .od-filter-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-filter-chips {
    margin-left: 0;
  }

  .site-footer,
  .home-footer {
    padding-inline: var(--container-gutter-phone);
  }

  .site-footer .footer-grid,
  .home-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .od-article-hero {
    padding: 56px 0 var(--space-8);
  }

  .od-article-hero .container,
  .od-article-hero h1,
  .od-article-subtitle,
  .od-article-opening {
    max-width: 100%;
  }

  .od-article-hero h1 {
    overflow-wrap: break-word;
  }

  .od-article-layout {
    width: min(calc(100% - 2 * var(--container-gutter-phone)), 920px);
    max-width: calc(100vw - 2 * var(--container-gutter-phone));
    gap: var(--space-5);
  }

  .od-article-body {
    padding: var(--space-5);
  }

  .od-article-body h2 {
    font-size: clamp(30px, 11vw, 46px);
  }

  .od-article-body .visual-brief-grid,
  .od-article-body .framework-orbit,
  .od-article-body .checklist-graphic ul,
  .od-article-body .example-analysis-card dl {
    grid-template-columns: 1fr;
  }

  .od-article-body .framework-center {
    grid-column: auto;
  }

  .od-article-body .article-flow-chart span {
    display: none;
  }

  .od-template-article .article-next-step-cta {
    padding: var(--space-5);
  }

  .od-template-article .article-cta-strip {
    grid-template-columns: 1fr;
  }

  .od-template-article .article-cta-strip b {
    display: none;
  }

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

  .store-apps,
  .store-actions {
    grid-column: auto;
  }

  .od-template-content-hub .content-hub-card,
  .news-item,
  .news-feed-item {
    grid-template-columns: 1fr;
  }

  .article-arrow,
  .news-arrow,
  .hub-card-arrow,
  .news-feed-arrow {
    justify-self: start;
  }
}
