:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-soft: #101319;
  --bg-elevated: #171b23;
  --panel: rgba(12, 14, 20, 0.84);
  --panel-strong: rgba(8, 10, 15, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text-main: #f4f6fb;
  --text-soft: #cdd5e2;
  --text-dim: #93a0b5;
  --brand: #ad132a;
  --brand-strong: #ff6d85;
  --accent: #ff9e55;
  --accent-rgb: 173, 19, 42;
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.48);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --max-width: 1180px;
  --header-height: 78px;
  --dock-height: 78px;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(var(--accent-rgb), 0.28), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #050608 0%, #090b10 42%, #0b0f15 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.55;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(180deg, rgba(7, 7, 10, 0.22), rgba(7, 7, 10, 0.55)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 38%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(20deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 52px);
}

body::after {
  background:
    radial-gradient(circle at 50% 100%, rgba(var(--accent-rgb), 0.18), transparent 40%),
    linear-gradient(180deg, rgba(6, 7, 10, 0) 0%, rgba(6, 7, 10, 0.34) 100%);
}

main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px) + 28px);
}

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

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

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

button {
  border: 0;
  background: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 850;
}

h2 {
  font-size: clamp(1.45rem, 3.5vw, 2.45rem);
  font-weight: 780;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 720;
}

p,
dd {
  margin: 0;
  color: var(--text-soft);
}

dl {
  margin: 0;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 22px);
}

.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;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--max-width), calc(100% - 24px));
  margin-inline: auto;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(15, 18, 24, 0.88), rgba(8, 10, 14, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb), 0.14), transparent 32%);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.eyebrow {
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.section-heading--compact {
  margin-bottom: 18px;
}

.section-heading--top-gap {
  margin-top: 28px;
}

.section-copy,
.page-banner__copy {
  max-width: 62ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff7f8;
  background: linear-gradient(135deg, #79101d, #b5162d);
  box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.3);
}

.button-secondary,
.button-ghost {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.button--small {
  min-height: 40px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link::after {
  content: "->";
}

.button:focus-visible,
.text-link:focus-visible,
.nav-link:focus-visible,
.mobile-dock__link:focus-visible,
.chip:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 109, 133, 0.94);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(8, 10, 14, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-copy span {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle-icon {
  width: 20px;
  height: 20px;
  overflow: visible;
}

.nav-toggle-icon path {
  fill: none;
  stroke: var(--text-main);
  stroke-width: 1.9;
  stroke-linecap: round;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon path:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  transform-origin: 12px 12px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-icon path:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
  transform-origin: 12px 12px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.84rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 14% 50%, rgba(var(--accent-rgb), 0.18), transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.hero-section,
.page-banner,
.detail-hero {
  padding: clamp(34px, 5vw, 56px) 0 12px;
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--accent-rgb), 0.2), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.hero-grid,
.page-banner__grid,
.detail-hero__grid,
.detail-layout,
.story-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.hero-copy,
.page-banner__copy-block,
.detail-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero-copy h1,
.page-banner__copy-block h1,
.detail-copy h1 {
  max-width: 14ch;
  text-wrap: balance;
}

.hero-lead,
.page-banner__copy {
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  color: #dde4ee;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2f8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge--accent {
  border-color: rgba(255, 109, 133, 0.28);
  background: rgba(var(--accent-rgb), 0.18);
  color: #ffd9df;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-metric {
  padding: 16px 18px;
}

.hero-metric strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-metric span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-panel,
.page-banner__card,
.detail-price-panel,
.preview-stage,
.detail-facts,
.insight-panel,
.related-panel,
.filters-panel,
.company-card,
.workflow-panel {
  padding: 24px;
}

.hero-panel,
.page-banner__card,
.detail-price-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  border-left: 3px solid rgba(255, 109, 133, 0.64);
}

.hero-panel__stack,
.banner-points {
  display: grid;
  gap: 12px;
}

.hero-feature,
.banner-point {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-feature strong,
.banner-point strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-frame--hero {
  min-height: 260px;
}

.media-frame--compact {
  min-height: 180px;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.family-card {
  display: grid;
  gap: 14px;
  min-height: 320px;
  padding: 22px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.family-card:hover,
.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.family-card__media {
  display: grid;
  place-items: center;
  min-height: 154px;
  margin: -22px -22px 2px;
  border-radius: 18px 18px 16px 16px;
  background:
    radial-gradient(circle at top, rgba(var(--accent-rgb), 0.2), transparent 42%),
    linear-gradient(180deg, #10131a, #0b0e14);
}

.family-card__media img {
  width: 100%;
  height: 154px;
  object-fit: cover;
}

.family-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.family-card__stats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #e3e7ee;
  font-size: 0.72rem;
  font-weight: 800;
}

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

.company-card {
  display: grid;
  gap: 12px;
}

.workflow-grid {
  margin-top: 22px;
}

.workflow-panel {
  display: grid;
  gap: 10px;
}

.workflow-panel--accent {
  background:
    linear-gradient(180deg, rgba(176, 20, 43, 0.24), rgba(176, 20, 43, 0.08)),
    linear-gradient(160deg, #9b1025 0%, #5f0c17 100%);
}

.filters-shell {
  position: relative;
}

.filters-panel {
  background:
    linear-gradient(180deg, rgba(12, 12, 15, 0.96), rgba(10, 10, 13, 0.98)),
    radial-gradient(circle at top left, rgba(var(--accent-rgb), 0.14), transparent 34%);
}

.filters-panel__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.filters-panel__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 8px;
  align-self: start;
}

.field--wide {
  grid-column: span 2;
}

.field span {
  color: #d6ddeb;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: rgba(201, 211, 223, 0.46);
}

.field input:hover,
.field select:hover,
.field input:focus-visible,
.field select:focus-visible {
  border-color: rgba(255, 109, 133, 0.36);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.chip {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #d9dfeb;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  border-color: rgba(255, 109, 133, 0.38);
  background: rgba(var(--accent-rgb), 0.18);
  color: #fff3f5;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: #ffdce2;
  font-size: 0.78rem;
  font-weight: 700;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 34px 0 18px;
}

.results-head__count {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-main);
  font-weight: 700;
}

.listing-grid {
  display: grid;
  gap: 16px;
}

.listing-grid--catalog {
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 380px);
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 109, 133, 0.4) rgba(255, 255, 255, 0.05);
}

.listing-grid--catalog::-webkit-scrollbar {
  height: 10px;
}

.listing-grid--catalog::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.listing-grid--catalog::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 109, 133, 0.42);
}

.listing-grid--catalog > * {
  scroll-snap-align: start;
}

.listing-grid--compact {
  grid-template-columns: 1fr;
}

.listing-card {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.listing-card__link {
  display: block;
  height: 100%;
}

.listing-card__media {
  position: relative;
  padding: 12px 12px 0;
}

.listing-card__status {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 8, 11, 0.82);
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 800;
}

.module-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 18% 16%, rgba(var(--accent-rgb), 0.18), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(128, 168, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #151a27, #0c1017 62%, #090c12 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.26);
}

.module-preview::before,
.module-preview::after,
.module-preview__glow,
.module-preview__floor {
  content: "";
  position: absolute;
  pointer-events: none;
}

.module-preview::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 38px);
  opacity: 0.7;
}

.module-preview::after {
  inset: -18% auto auto -30%;
  z-index: 1;
  width: 52%;
  height: 150%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 100%);
  transform: rotate(14deg) translateX(-160%);
  opacity: 0.45;
  animation: previewSweep 8s linear infinite;
}

.module-preview__glow {
  left: 10%;
  right: 10%;
  bottom: 12%;
  z-index: 0;
  height: 30%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), 0.32) 0%, rgba(var(--accent-rgb), 0.1) 42%, transparent 72%);
  filter: blur(18px);
}

.module-preview__floor {
  left: -10%;
  right: -10%;
  bottom: -14%;
  z-index: 0;
  height: 40%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), rgba(132, 168, 255, 0.1));
  transform: perspective(420px) rotateX(76deg);
  transform-origin: center top;
  opacity: 0.38;
}

.module-preview img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  transition: transform 0.55s ease, filter 0.4s ease;
}

.module-preview--scene img {
  object-fit: cover;
}

.module-preview--cutout img {
  object-fit: contain;
  padding: 7% 6% 11%;
  filter:
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 24px rgba(var(--accent-rgb), 0.14));
  transform-origin: center bottom;
  animation: previewFloat 6.6s ease-in-out infinite;
}

.module-preview--cutout[data-family="moto"] img {
  padding: 8% 8% 12%;
}

.listing-card:hover .module-preview--scene img,
.listing-card:focus-within .module-preview--scene img {
  transform: scale(1.05);
}

.listing-card:hover .module-preview--cutout img,
.listing-card:focus-within .module-preview--cutout img,
.preview-stage:hover .module-preview--cutout img {
  transform: translateY(-4px) scale(1.03);
  filter:
    drop-shadow(0 28px 34px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 32px rgba(var(--accent-rgb), 0.2));
}

.listing-card:hover .module-preview__glow,
.listing-card:focus-within .module-preview__glow,
.preview-stage:hover .module-preview__glow {
  opacity: 0.92;
  transform: scale(1.06);
}

.preview-stage__media .module-preview--cutout img {
  padding: 5% 5% 10%;
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes previewSweep {
  0% {
    transform: rotate(14deg) translateX(-160%);
  }

  100% {
    transform: rotate(14deg) translateX(320%);
  }
}

.listing-card__body {
  display: grid;
  gap: 14px;
  padding: 16px 18px 18px;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #e3e7ef;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__summary {
  color: #d3dae6;
  font-size: 0.92rem;
}

.listing-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.listing-card__facts div,
.price-box,
.fact-list div,
.highlight-card {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.listing-card__facts dt,
.price-box span,
.fact-list dt {
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.listing-card__facts dd,
.price-box strong,
.fact-list dd {
  margin-top: 6px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.listing-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-card__band,
.listing-card__tier-label,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
}

.listing-card__band {
  color: #ffd4db;
  border-color: rgba(255, 109, 133, 0.26);
  background: rgba(var(--accent-rgb), 0.15);
}

.catalog-slider {
  display: grid;
  gap: 14px;
}

.catalog-slider__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.catalog-slider__hint {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.catalog-slider__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-slider__controls .button[disabled] {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #b9c1cd;
  font-size: 0.8rem;
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

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

.detail-price-panel__note {
  max-width: 42ch;
  color: #d4dce9;
}

.detail-price-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-stage__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.preview-stage__media .module-preview {
  min-height: 280px;
}

.fact-list,
.highlight-list {
  display: grid;
  gap: 12px;
}

.insight-panel__lead {
  margin: 8px 0 18px;
  font-size: 0.98rem;
}

.highlight-card h3 {
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  gap: 8px;
  width: min(460px, calc(100% - 24px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(10, 10, 13, 0.94);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.mobile-dock__link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  color: var(--text-dim);
  font-size: 0.84rem;
  font-weight: 700;
}

.mobile-dock__link.is-active,
.mobile-dock__link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.28), rgba(255, 255, 255, 0.08));
  color: var(--text-main);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 901px) {
  main {
    padding-bottom: 40px;
  }

  .hero-grid,
  .page-banner__grid,
  .detail-hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  }

  .detail-layout,
  .story-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }

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

  .page-banner__grid--single {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-dock {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(10, 10, 13, 0.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 44px;
    padding-inline: 14px;
    border-radius: 14px;
  }

  .hero-metrics,
  .family-grid,
  .company-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 58px 0;
  }

  .section-heading--split,
  .results-head,
  .preview-stage__head,
  .filters-panel__foot,
  .catalog-slider__head {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filters-panel__grid {
    grid-template-columns: 1fr;
  }

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

  .hero-panel,
  .page-banner__card,
  .detail-price-panel,
  .preview-stage,
  .detail-facts,
  .insight-panel,
  .related-panel,
  .filters-panel,
  .company-card,
  .workflow-panel {
    padding: 20px;
  }

  .hero-copy h1,
  .page-banner__copy-block h1,
  .detail-copy h1 {
    max-width: 100%;
  }

  .listing-card__facts,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .chip-row::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100% - 18px));
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-actions .button,
  .detail-price-panel__actions .button {
    width: 100%;
  }

  .hero-badge {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .listing-card__media {
    padding: 10px 10px 0;
  }

  .listing-card__status {
    top: 18px;
    left: 18px;
    font-size: 0.7rem;
  }

  .mobile-dock {
    gap: 6px;
    width: calc(100% - 18px);
    padding: 8px;
  }

  .mobile-dock__link {
    min-height: 44px;
    font-size: 0.78rem;
  }
}

body[data-viewport="phone"] {
  --header-height: 70px;
  --dock-height: 74px;
}

body[data-viewport="phone"] main {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 12px);
  padding-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px) + 18px);
}

body[data-viewport="phone"] .site-header {
  padding-top: env(safe-area-inset-top, 0px);
}

body[data-viewport="phone"] .container {
  width: calc(100% - 14px);
}

body[data-viewport="phone"] .header-inner {
  min-height: var(--header-height);
  gap: 10px;
}

body[data-viewport="phone"] .brand {
  flex: 1;
  min-width: 0;
  gap: 10px;
}

body[data-viewport="phone"] .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

body[data-viewport="phone"] .brand-copy {
  min-width: 0;
}

body[data-viewport="phone"] .brand-copy strong {
  max-width: 22ch;
  font-size: 0.84rem;
  line-height: 1.05;
}

body[data-viewport="phone"] .brand-copy span {
  display: block;
  font-size: 0.62rem;
}

body[data-viewport="phone"] .nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

body[data-viewport="phone"] .hero-section,
body[data-viewport="phone"] .page-banner,
body[data-viewport="phone"] .detail-hero {
  padding: 22px 0 8px;
}

body[data-viewport="phone"] .section {
  padding: 38px 0;
}

body[data-viewport="phone"] .hero-grid,
body[data-viewport="phone"] .page-banner__grid,
body[data-viewport="phone"] .detail-hero__grid,
body[data-viewport="phone"] .detail-layout,
body[data-viewport="phone"] .story-grid {
  gap: 16px;
}

body[data-viewport="phone"] .hero-copy,
body[data-viewport="phone"] .page-banner__copy-block,
body[data-viewport="phone"] .detail-copy {
  gap: 14px;
}

body[data-viewport="phone"] .hero-copy h1,
body[data-viewport="phone"] .page-banner__copy-block h1,
body[data-viewport="phone"] .detail-copy h1 {
  max-width: 100%;
  font-size: clamp(1.7rem, 8vw, 2.25rem);
}

body[data-viewport="phone"] .hero-lead,
body[data-viewport="phone"] .page-banner__copy,
body[data-viewport="phone"] .section-copy {
  font-size: 0.94rem;
}

body[data-viewport="phone"] .hero-actions,
body[data-viewport="phone"] .detail-price-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-viewport="phone"] .hero-actions .button,
body[data-viewport="phone"] .detail-price-panel__actions .button {
  width: 100%;
  min-height: 46px;
  padding: 12px;
}

body[data-viewport="phone"] .hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-viewport="phone"] .hero-metric:last-child {
  grid-column: 1 / -1;
}

body[data-viewport="phone"] .hero-metric {
  padding: 14px;
}

body[data-viewport="phone"] .hero-metric strong {
  font-size: 1.1rem;
}

body[data-viewport="phone"] .hero-metric span {
  font-size: 0.8rem;
}

body[data-viewport="phone"] .hero-panel,
body[data-viewport="phone"] .page-banner__card,
body[data-viewport="phone"] .detail-price-panel,
body[data-viewport="phone"] .preview-stage,
body[data-viewport="phone"] .detail-facts,
body[data-viewport="phone"] .insight-panel,
body[data-viewport="phone"] .related-panel,
body[data-viewport="phone"] .filters-panel,
body[data-viewport="phone"] .company-card,
body[data-viewport="phone"] .workflow-panel {
  padding: 16px;
  border-radius: 20px;
}

body[data-viewport="phone"] .media-frame--hero {
  min-height: 180px;
}

body[data-viewport="phone"] .media-frame--compact {
  min-height: 148px;
}

body[data-viewport="phone"] .family-card {
  min-height: 0;
  padding: 16px;
}

body[data-viewport="phone"] .family-card__media {
  min-height: 132px;
  margin: -16px -16px 0;
}

body[data-viewport="phone"] .family-card__media img {
  height: 132px;
}

body[data-viewport="phone"] .filters-shell {
  position: static;
}

body[data-viewport="phone"] .filters-panel__grid {
  gap: 10px;
}

body[data-viewport="phone"] .field input,
body[data-viewport="phone"] .field select {
  min-height: 46px;
  padding: 11px 12px;
}

body[data-viewport="phone"] .chip-row {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

body[data-viewport="phone"] .chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.78rem;
  white-space: nowrap;
  scroll-snap-align: start;
}

body[data-viewport="phone"] .results-head {
  gap: 10px;
  margin: 22px 0 14px;
}

body[data-viewport="phone"] .results-head__count {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
}

body[data-viewport="phone"] .listing-grid {
  gap: 12px;
}

body[data-viewport="phone"] .listing-grid--catalog {
  grid-auto-columns: 84vw;
  padding-bottom: 10px;
}

body[data-viewport="phone"] .listing-card__media {
  padding: 10px 10px 0;
}

body[data-viewport="phone"] .listing-card__status {
  top: 16px;
  left: 16px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.66rem;
}

body[data-viewport="phone"] .listing-card__body {
  gap: 12px;
  padding: 14px 14px 16px;
}

body[data-viewport="phone"] .listing-card__summary {
  font-size: 0.88rem;
}

body[data-viewport="phone"] .listing-card__facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-viewport="phone"] .listing-card__facts div:last-child {
  grid-column: 1 / -1;
}

body[data-viewport="phone"] .listing-card__facts div,
body[data-viewport="phone"] .price-box,
body[data-viewport="phone"] .fact-list div,
body[data-viewport="phone"] .highlight-card {
  padding: 11px 12px;
  border-radius: 14px;
}

body[data-viewport="phone"] .listing-card__foot {
  flex-direction: column;
  align-items: stretch;
}

body[data-viewport="phone"] .listing-card__band,
body[data-viewport="phone"] .listing-card__tier-label,
body[data-viewport="phone"] .pill {
  justify-content: center;
}

body[data-viewport="phone"] .pill-row {
  gap: 8px;
}

body[data-viewport="phone"] .price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-viewport="phone"] .price-grid .price-box:last-child {
  grid-column: 1 / -1;
}

body[data-viewport="phone"] .preview-stage__media .module-preview {
  min-height: 200px;
}

body[data-viewport="phone"] .catalog-slider {
  gap: 10px;
}

body[data-viewport="phone"] .catalog-slider__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-viewport="phone"] .module-preview--cutout img {
  padding: 8% 7% 12%;
}

@media (prefers-reduced-motion: reduce) {
  .module-preview::after,
  .module-preview--cutout img {
    animation: none;
  }

  .module-preview img {
    transition: none;
  }
}

body[data-viewport="phone"] .fact-list,
body[data-viewport="phone"] .highlight-list {
  gap: 10px;
}

body[data-viewport="phone"] .mobile-dock {
  gap: 6px;
  width: calc(100% - 14px);
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  padding: 8px;
  border-radius: 18px;
}

body[data-viewport="phone"] .mobile-dock__link {
  min-height: 42px;
  font-size: 0.74rem;
}
