/* Filterence — shared visual system */
:root {
  color-scheme: dark;
  --ink-950: #050914;
  --ink-925: #08101d;
  --ink-900: #0b1424;
  --ink-850: #101c2f;
  --ink-800: #16243a;
  --ink-750: #1c2c45;
  --line: rgba(180, 210, 228, 0.15);
  --line-strong: rgba(180, 210, 228, 0.28);
  --paper: #f8fbfc;
  --text: #f4f8fa;
  --text-soft: #b8c6d2;
  --text-muted: #8595a5;
  --navy-text: #112033;
  --aqua: #38d7ca;
  --aqua-light: #99eee7;
  --aqua-deep: #0ba79d;
  --coral: #ff7968;
  --coral-light: #ffb0a4;
  --amber: #f7bd5f;
  --green: #57d58b;
  --shadow-sm: 0 8px 24px rgba(0, 5, 13, 0.18);
  --shadow-md: 0 20px 60px rgba(0, 5, 13, 0.32);
  --shadow-glow: 0 0 0 1px rgba(56, 215, 202, 0.15), 0 24px 70px rgba(9, 150, 145, 0.13);
  --radius-sm: 0.625rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --container: 78rem;
  --container-wide: 96rem;
  --header-height: 4.75rem;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", Inter, ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--ink-950);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -5%, rgba(56, 215, 202, 0.12), transparent 29rem),
    radial-gradient(circle at 92% 12%, rgba(255, 121, 104, 0.08), transparent 31rem),
    linear-gradient(180deg, var(--ink-925), var(--ink-950));
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(167, 205, 224, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 205, 224, 0.025) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

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

button,
[role="button"] {
  cursor: pointer;
}

a {
  color: var(--aqua-light);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #c8fffa;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5.75rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.8vw, 3.25rem);
}

h3 {
  margin-bottom: 0.625rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

small {
  color: var(--text-muted);
}

::selection {
  background: var(--aqua);
  color: var(--ink-950);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--aqua-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--navy-text);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.container,
.shell {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container--wide,
.shell--wide {
  width: min(calc(100% - 2rem), var(--container-wide));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(3.75rem, 7vw, 7rem);
}

.section--compact {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.section--paper {
  background: var(--paper);
  color: var(--navy-text);
}

.section--paper h2,
.section--paper h3,
.section--paper h4 {
  color: var(--navy-text);
}

.section--paper .article p,
.section--paper .article li {
  color: #516477;
}

.section--paper .article a {
  color: #076c72;
}

.section--paper > .container > .eyebrow {
  color: #076c72;
}

.section--paper > .container > p > .button--secondary {
  border-color: var(--ink-800);
  background: var(--ink-900);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--aqua-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 1rem currentColor;
  content: "";
}

.lead {
  max-width: 46rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.section--paper .lead {
  color: #516477;
}

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

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 20, 0.88);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img,
.brand svg {
  width: 2.2rem;
  height: 2.2rem;
}

.brand:hover {
  color: var(--text);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.62rem 0.88rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.nav-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.14rem) rotate(45deg);
  transition: transform 180ms var(--ease);
}

[aria-expanded="true"] .nav-chevron {
  transform: translateY(0.15rem) rotate(225deg);
}

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: min(24rem, calc(100vw - 2rem));
  padding: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(11, 20, 36, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-link {
  display: grid;
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  color: var(--text);
  text-decoration: none;
  transition: background 160ms var(--ease);
}

.dropdown-link:hover {
  background: rgba(56, 215, 202, 0.08);
  color: var(--text);
}

.dropdown-link small {
  margin-top: 0.1rem;
  font-weight: 500;
}

.language-switcher {
  display: flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  gap: 0.1rem;
}

.language-switcher a {
  min-width: 2rem;
  padding: 0.26rem 0.5rem;
  border-radius: 99rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-switcher a[aria-current="true"] {
  background: var(--aqua);
  color: var(--ink-950);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.68rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.72rem;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin-block: 0.28rem;
  background: var(--text);
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.43rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.43rem) rotate(-45deg);
}

/* Buttons */
.button,
.btn {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--aqua);
  color: var(--ink-950);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(56, 215, 202, 0.16);
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button:hover,
.btn:hover {
  background: var(--aqua-light);
  color: var(--ink-950);
  box-shadow: 0 14px 40px rgba(56, 215, 202, 0.24);
  transform: translateY(-2px);
}

.button--secondary,
.btn--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  box-shadow: none;
}

.button--secondary:hover,
.btn--secondary:hover {
  border-color: rgba(56, 215, 202, 0.5);
  background: rgba(56, 215, 202, 0.08);
  color: var(--text);
}

.button--coral,
.btn--coral {
  background: var(--coral);
  color: var(--ink-950);
  box-shadow: 0 10px 30px rgba(255, 121, 104, 0.15);
}

.button--small,
.btn--small {
  min-height: 2.5rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
}

.button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

/* Hero search */
.hero {
  position: relative;
  display: grid;
  min-height: min(46rem, calc(100svh - var(--header-height)));
  padding-block: clamp(4.5rem, 9vw, 8rem);
  align-items: center;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(1px);
  pointer-events: none;
}

.hero::before {
  top: 10%;
  right: max(-12rem, -10vw);
  width: clamp(20rem, 38vw, 42rem);
  aspect-ratio: 1;
  border: 1px solid rgba(56, 215, 202, 0.15);
  background:
    radial-gradient(circle, transparent 22%, rgba(56, 215, 202, 0.055) 22.5%, transparent 23.5%),
    conic-gradient(from 35deg, transparent, rgba(56, 215, 202, 0.09), transparent 34%, rgba(255, 121, 104, 0.08), transparent 69%);
}

.hero::after {
  bottom: 12%;
  left: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 121, 104, 0.07);
  filter: blur(6rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 em {
  color: var(--aqua-light);
  font-style: normal;
}

.hero-copy .lead {
  margin-bottom: 2rem;
}

.search-panel,
.finder-panel {
  position: relative;
  z-index: 5;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid rgba(160, 211, 226, 0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 36, 58, 0.92), rgba(11, 20, 36, 0.96));
  box-shadow: var(--shadow-glow);
}

.search-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.search-box,
.search-field {
  position: relative;
  display: flex;
  min-height: 4rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  align-items: center;
  gap: 0.65rem;
  background: var(--paper);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.search-icon {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 1rem;
  color: #587083;
}

.search-box input,
.search-field input {
  width: 100%;
  min-width: 0;
  height: 3.85rem;
  padding: 0 0.25rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy-text);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 650;
}

.search-box input::placeholder,
.search-field input::placeholder {
  color: #718495;
  opacity: 1;
}

.search-box:focus-within,
.search-field:focus-within {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(56, 215, 202, 0.16);
}

.search-submit {
  min-height: 3rem;
  margin-right: 0.45rem;
  white-space: nowrap;
}

.search-help {
  display: flex;
  margin: 0.8rem 0 0;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.autocomplete,
.autocomplete-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  z-index: 30;
  max-height: min(24rem, 50vh);
  margin: 0;
  padding: 0.45rem;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 0.9rem;
  background: #101c2f;
  box-shadow: var(--shadow-md);
  list-style: none;
}

.autocomplete[hidden],
.autocomplete-results[hidden] {
  display: none;
}

.autocomplete-item,
.autocomplete a,
.autocomplete button,
.autocomplete-results .search-option {
  display: grid;
  width: 100%;
  padding: 0.78rem 0.85rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.autocomplete-item:hover,
.autocomplete-item[aria-selected="true"],
.autocomplete a:hover,
.autocomplete button:hover,
.autocomplete-results .search-option:hover,
.autocomplete-results .search-option[aria-selected="true"],
.autocomplete-results .search-option.is-active {
  background: rgba(56, 215, 202, 0.1);
  color: var(--text);
}

.autocomplete-item small,
.autocomplete a small,
.autocomplete button small,
.search-option__meta {
  display: block;
  margin-top: 0.08rem;
  color: var(--text-muted);
  font-weight: 500;
}

.popular-searches {
  display: flex;
  margin-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.popular-searches > span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.search-chip,
.chip {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.search-chip:hover,
.chip:hover {
  border-color: rgba(56, 215, 202, 0.45);
  background: rgba(56, 215, 202, 0.07);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 28rem;
  border: 1px solid rgba(56, 215, 202, 0.2);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(56, 215, 202, 0.08), transparent 45%),
    linear-gradient(330deg, rgba(255, 121, 104, 0.08), transparent 50%),
    rgba(16, 28, 47, 0.78);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  top: -14%;
  right: -10%;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(56, 215, 202, 0.18);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 13%, rgba(56, 215, 202, 0.08) 13.3% 13.7%);
  content: "";
}

.hero-visual-card {
  position: absolute;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(5, 9, 20, 0.84);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero-visual-card:first-child {
  top: 16%;
  left: 8%;
  width: 60%;
}

.hero-visual-card:nth-child(2) {
  right: 7%;
  bottom: 14%;
  width: 64%;
}

/* Trust, verification and status */
.trust-row,
.badge-row {
  display: flex;
  margin: 1.5rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}

.trust-badge,
.evidence-badge,
.status-badge,
.badge {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  align-items: center;
  gap: 0.38rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.trust-badge::before,
.evidence-badge::before,
.status-badge::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--aqua);
  content: "";
  box-shadow: 0 0 0.65rem rgba(56, 215, 202, 0.65);
}

.status-badge--verified,
.badge--verified,
.status--verified {
  border-color: rgba(87, 213, 139, 0.35);
  background: rgba(87, 213, 139, 0.09);
  color: #b9f6d1;
}

.status-badge--verified::before {
  background: var(--green);
}

.status-badge--warning,
.badge--warning,
.status--warning {
  border-color: rgba(247, 189, 95, 0.35);
  background: rgba(247, 189, 95, 0.09);
  color: #fbe0ad;
}

.status-badge--warning::before {
  background: var(--amber);
}

.status-badge--danger,
.badge--danger,
.status--danger {
  border-color: rgba(255, 121, 104, 0.38);
  background: rgba(255, 121, 104, 0.1);
  color: var(--coral-light);
}

.status-badge--danger::before {
  background: var(--coral);
}

.evidence-note,
.notice,
.callout {
  display: grid;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(56, 215, 202, 0.22);
  border-left: 3px solid var(--aqua);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  background: rgba(56, 215, 202, 0.055);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.notice--warning,
.callout--warning {
  border-color: rgba(247, 189, 95, 0.25);
  border-left-color: var(--amber);
  background: rgba(247, 189, 95, 0.055);
}

.notice--danger,
.callout--danger {
  border-color: rgba(255, 121, 104, 0.26);
  border-left-color: var(--coral);
  background: rgba(255, 121, 104, 0.06);
}

/* Cards and flexible grids */
.grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.auto-grid,
.card-grid,
.model-grid,
.part-grid,
.guide-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

.card,
.model-card,
.part-card,
.guide-card,
.result-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-direction: column;
  background: linear-gradient(145deg, rgba(22, 36, 58, 0.82), rgba(11, 20, 36, 0.95));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.card::before,
.model-card::before,
.part-card::before,
.guide-card::before,
.result-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), transparent 70%);
  content: "";
  opacity: 0.55;
}

.card:hover,
.model-card:hover,
.part-card:hover,
.guide-card:hover,
.result-card:hover {
  border-color: rgba(56, 215, 202, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-header {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-icon,
.category-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(56, 215, 202, 0.28);
  border-radius: 0.8rem;
  flex: 0 0 auto;
  place-items: center;
  background: rgba(56, 215, 202, 0.07);
  color: var(--aqua-light);
}

.card-icon svg,
.category-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.card p,
.model-card p,
.part-card p,
.guide-card p {
  color: var(--text-soft);
}

.card-meta,
.result-meta {
  display: flex;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.card-link {
  position: static;
  display: inline-flex;
  margin-top: auto;
  padding-top: 1rem;
  align-items: center;
  gap: 0.4rem;
  color: var(--aqua-light);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform 180ms var(--ease);
}

.card-link:hover::after {
  transform: translateX(0.25rem);
}

.brand-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.brand-pill {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-pill:hover {
  border-color: rgba(56, 215, 202, 0.35);
  background: rgba(56, 215, 202, 0.06);
  color: var(--text);
}

/* Breadcrumbs and page headings */
.breadcrumbs {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.35rem;
  color: #526579;
  content: "/";
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--aqua-light);
}

.page-header {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.page-header-grid {
  display: grid;
  align-items: end;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-header h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.8rem);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Model compatibility page */
.model-layout,
.detail-layout {
  display: grid;
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.65fr);
}

.content-stack {
  display: grid;
  gap: 1.25rem;
}

.panel,
.detail-panel,
.spec-panel,
.compatibility-panel {
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 28, 47, 0.78);
  box-shadow: var(--shadow-sm);
}

.panel > :last-child,
.detail-panel > :last-child,
.spec-panel > :last-child {
  margin-bottom: 0;
}

.sidebar,
.detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  display: grid;
  gap: 1rem;
}

.model-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.model-monogram,
.part-monogram {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(56, 215, 202, 0.3);
  border-radius: 1rem;
  flex: 0 0 auto;
  place-items: center;
  background: linear-gradient(145deg, rgba(56, 215, 202, 0.12), rgba(255, 121, 104, 0.07));
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.compatibility-list,
.part-list,
.seller-list,
.fact-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.compatibility-item,
.part-item,
.seller-item {
  display: grid;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.compatibility-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  place-items: center;
  background: rgba(87, 213, 139, 0.12);
  color: #a7f1c4;
  font-weight: 900;
}

.compatibility-item strong,
.part-item strong,
.seller-item strong {
  display: block;
  color: var(--text);
}

.compatibility-item small,
.part-item small,
.seller-item small {
  display: block;
  margin-top: 0.1rem;
}

.fact-list > div,
.spec-list > div {
  display: grid;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
  gap: 0.75rem;
  grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr);
}

.fact-list > div:last-child,
.spec-list > div:last-child {
  border-bottom: 0;
}

.fact-list dt,
.spec-list dt {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.fact-list dd,
.spec-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.source-box {
  padding: 1rem;
  border: 1px solid rgba(56, 215, 202, 0.2);
  border-radius: 0.8rem;
  background: rgba(56, 215, 202, 0.05);
}

.source-box a {
  overflow-wrap: anywhere;
}

.source-date {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Part and merchant page elements */
.part-hero {
  display: grid;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(56, 215, 202, 0.08), rgba(16, 28, 47, 0.94) 46%, rgba(255, 121, 104, 0.05));
  grid-template-columns: auto minmax(0, 1fr);
}

.part-reference {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  background: var(--ink-950);
  color: var(--aqua-light);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.seller-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.seller-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.seller-price {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  text-align: right;
}

.price-note,
.disclosure {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.compatibility-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.compatibility-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

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

.compatibility-table th,
.data-table th {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compatibility-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

/* Troubleshooting guides */
.guide-layout {
  display: grid;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.38fr);
}

.article,
.guide-content {
  max-width: 52rem;
}

.article > * + *,
.guide-content > * + * {
  margin-top: 1.25rem;
}

.article h2,
.guide-content h2 {
  margin-top: 3rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.article h3,
.guide-content h3 {
  margin-top: 2rem;
}

.article p,
.article li,
.guide-content p,
.guide-content li {
  color: var(--text-soft);
}

.article ul,
.article ol,
.guide-content ul,
.guide-content ol {
  padding-left: 1.25rem;
}

.guide-steps,
.steps {
  display: grid;
  margin: 2rem 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
  counter-reset: guide-step;
}

.guide-step,
.steps > li {
  position: relative;
  min-height: 4.5rem;
  padding: 1.05rem 1rem 1.05rem 4.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  counter-increment: guide-step;
}

.guide-step::before,
.steps > li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(56, 215, 202, 0.3);
  border-radius: 50%;
  place-items: center;
  background: rgba(56, 215, 202, 0.09);
  color: var(--aqua-light);
  content: counter(guide-step, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 900;
}

.guide-step strong,
.steps > li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.guide-step p:last-child,
.steps > li p:last-child {
  margin-bottom: 0;
}

.guide-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
}

.toc {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(16, 28, 47, 0.72);
}

.toc strong {
  display: block;
  margin-bottom: 0.65rem;
}

.toc ol,
.toc ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.4rem;
  list-style: none;
}

.toc a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 0.4rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  text-decoration: none;
}

.toc a:hover,
.toc a[aria-current="true"] {
  background: rgba(56, 215, 202, 0.07);
  color: var(--aqua-light);
}

.diagnostic-box {
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(255, 121, 104, 0.23);
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, rgba(255, 121, 104, 0.08), rgba(16, 28, 47, 0.8));
}

.diagnostic-options {
  display: grid;
  margin-top: 1rem;
  gap: 0.65rem;
}

.diagnostic-option {
  display: flex;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.diagnostic-option small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.guide-content .diagnostic-box h2,
.guide-content .notice h2 {
  margin-top: 0;
}

.guide-content .notice {
  grid-template-columns: 1fr;
}

/* Empty states and forms */
.no-results,
.empty-state,
.error-state {
  display: grid;
  min-height: 18rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  place-items: center;
  background: rgba(16, 28, 47, 0.5);
  text-align: center;
}

.no-results-inner,
.empty-state-inner {
  max-width: 34rem;
}

.empty-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 121, 104, 0.3);
  border-radius: 50%;
  place-items: center;
  background: rgba(255, 121, 104, 0.07);
  color: var(--coral-light);
  font-size: 1.5rem;
}

.no-results p,
.empty-state p {
  color: var(--text-soft);
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
  outline: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(56, 215, 202, 0.13);
}

.field-help,
.field-error {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.field-error {
  color: var(--coral-light);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050914;
}

.footer-main {
  display: grid;
  padding-block: clamp(3rem, 6vw, 5rem);
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(15rem, 1.4fr) repeat(3, minmax(8rem, 0.6fr));
}

.footer-brand p {
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-heading {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--aqua-light);
}

.footer-bottom {
  display: flex;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Utility classes */
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack--small {
  gap: 0.5rem;
}

.muted {
  color: var(--text-muted);
}

.text-soft {
  color: var(--text-soft);
}

.text-aqua {
  color: var(--aqua-light);
}

.text-coral {
  color: var(--coral-light);
}

.measure {
  max-width: 46rem;
}

.divider {
  height: 1px;
  margin-block: 1.25rem;
  border: 0;
  background: var(--line);
}

@media (max-width: 64rem) {
  .hero-grid {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 52rem) {
  :root {
    --header-height: 4.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - var(--header-height));
    padding: 0.75rem 1rem 1rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line-strong);
    background: rgba(5, 9, 20, 0.985);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .menu-open {
    overflow: hidden;
  }

  .primary-nav.is-open,
  .primary-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    display: grid;
    align-items: stretch;
  }

  .nav-link,
  .nav-trigger {
    width: 100%;
    min-height: 3rem;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: auto;
    margin: 0.25rem 0 0.5rem 0.75rem;
    padding: 0.35rem;
    border-left: 1px solid rgba(56, 215, 202, 0.35);
    border-radius: 0 0.7rem 0.7rem 0;
    background: rgba(16, 28, 47, 0.55);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item--dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-dropdown.is-open {
    display: block;
  }

  .language-switcher {
    width: fit-content;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

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

  .hero-visual {
    min-height: 22rem;
  }

  .page-header-grid,
  .model-layout,
  .detail-layout,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .detail-sidebar,
  .guide-aside {
    position: static;
  }

  .guide-aside {
    order: -1;
  }

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

@media (max-width: 40rem) {
  .container,
  .shell,
  .container--wide,
  .shell--wide {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 13.3vw, 3.75rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .hero {
    padding-block: 3.25rem;
  }

  .search-box,
  .search-field {
    display: grid;
    padding: 0.4rem;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-icon {
    margin-left: 0.55rem;
  }

  .search-box input,
  .search-field input {
    height: 3.15rem;
  }

  .search-submit {
    width: 100%;
    margin: 0;
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 19rem;
  }

  .hero-visual-card:first-child {
    top: 9%;
    left: 5%;
    width: 76%;
  }

  .hero-visual-card:nth-child(2) {
    right: 5%;
    bottom: 9%;
    width: 78%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .part-hero {
    grid-template-columns: 1fr;
  }

  .compatibility-item,
  .part-item {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .compatibility-item > :last-child,
  .part-item > :last-child {
    grid-column: 2;
  }

  .seller-item {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .seller-price {
    text-align: left;
  }

  .fact-list > div,
  .spec-list > div {
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 23.5rem) {
  .brand span {
    font-size: 0.95rem;
  }

  .trust-row,
  .badge-row {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-badge,
  .evidence-badge,
  .status-badge {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (min-width: 110rem) {
  :root {
    --container: 90rem;
    --container-wide: 112rem;
  }

  body {
    font-size: 1.08rem;
  }

  .hero-grid {
    gap: 8rem;
  }

  .card-grid,
  .model-grid,
  .part-grid,
  .guide-grid {
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  }
}

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

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

@media print {
  :root {
    color-scheme: light;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html,
  body {
    min-width: 0;
    background: #fff !important;
    color: #111 !important;
  }

  body::before,
  .site-header,
  .site-footer,
  .nav-toggle,
  .page-actions,
  .search-panel,
  .finder-panel,
  .hero-visual,
  .button,
  .btn,
  .no-print {
    display: none !important;
  }

  .container,
  .shell,
  .container--wide,
  .shell--wide {
    width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  dt,
  dd,
  a,
  small,
  .text-soft,
  .muted {
    color: #111 !important;
  }

  a[href]::after {
    color: #555;
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: 400;
  }

  .breadcrumbs a::after,
  .part-reference::after {
    content: "";
  }

  .section,
  .page-header {
    padding-block: 1rem;
  }

  .model-layout,
  .detail-layout,
  .guide-layout,
  .page-header-grid {
    display: block;
  }

  .sidebar,
  .detail-sidebar,
  .guide-aside {
    position: static;
    margin-top: 1rem;
  }

  .card,
  .model-card,
  .part-card,
  .guide-card,
  .result-card,
  .panel,
  .detail-panel,
  .spec-panel,
  .compatibility-panel,
  .part-hero,
  .guide-step,
  .steps > li {
    break-inside: avoid;
    border-color: #bbb !important;
    background: #fff !important;
  }

  .status-badge,
  .badge,
  .part-reference {
    border-color: #999 !important;
    background: #fff !important;
    color: #111 !important;
  }
}
