/* Hallmark · shape: app screen · genre: editorial · theme: Almanac (deal 1/3) · draw: 4cc78d
 * nav: masthead · signature: two snowmobiles on a shared scale · states: selection, filters, empty results, missing specifications
 * axes: cool sheet / grotesk / cobalt · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: mobile comparison, use aligned pairs and sticky column headers */
/* Hallmark · answered F19 · the catalog uses separate weights for product names, field labels, body copy and the Wintermotor wordmark */
/* Hallmark · waive 23 · one cobalt field beside the photograph · the catalog cover and comparison summary distinguish this technical edition */
/* Hallmark · waive 49b · model titles contain manufacturer variant codes · wrapping the exact modification preserves readable comparison columns on narrow screens */
@import url("./tokens.css");
@import url("./base.css");
@font-face {
  font-family: Golos;
  src: url("/assets/fonts/GolosText-cyrillic.woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Golos;
  src: url("/assets/fonts/GolosText-latin.woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F, U+20A0-20CF;
}
:root {
  --font-body: Golos, Arial, sans-serif;
  --font-display: var(--font-body);
  --font-outlier: ui-monospace, Menlo, monospace;
  --color-paper: #f6f7f8;
  --color-ink: #151d27;
  --color-muted: #52606b;
  --color-rule: #cbd2d7;
  --color-accent: #2346bf;
  --color-focus: #0077bd;
  --white: #fefeff;
  --photo-bg: #f0f3f5;
  --ice: #e7edf4;
  --blue-dark: #153393;
  --blue-pale: #eaf0ff;
  --blue-light: #c8d6ff;
  --dark: #172332;
  --lightline: rgb(255 255 255 / 0.45);
  --container: 1512px;
  --gutter: clamp(22px, 4.2vw, 72px);
  --gap: 20px;
  --tracking-display: -0.045em;
  --display-weight: 600;
  --text-md: 16px;
}
html {
  scroll-padding-top: 14px;
}
body {
  line-height: 1.45;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
select {
  cursor: pointer;
}
button,
input,
select {
  color: inherit;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  background: var(--ice);
  color: var(--color-muted);
  cursor: not-allowed;
}
.wrap {
  width: min(100%, var(--container));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  padding-block: 52px 72px;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  background: var(--white);
  padding: var(--space-xs);
  z-index: 10;
}
.mast {
  background: var(--white);
  border-bottom: 1px solid var(--color-rule);
}
.mast-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
}
.brand,
.brand:hover {
  text-decoration: none;
}
.wordmark {
  display: inline-block;
  font: italic 700 27px/0.98 var(--font-display);
  letter-spacing: -0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark span {
  color: var(--color-accent);
}
.mast nav {
  align-self: stretch;
  display: flex;
  gap: 32px;
}
.mast nav a {
  position: relative;
  display: grid;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.mast nav .here {
  color: var(--color-accent);
}
.here:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--color-accent);
}
.compare-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 550;
  font-size: 14px;
}
.compare-nav svg {
  color: var(--color-accent);
}
.compare-nav b,
.count {
  background: var(--blue-pale);
  color: var(--color-accent);
  padding: var(--space-2xs) var(--space-xs);
  font: 550 13px/1.2 var(--font-outlier);
}
.hero {
  color: var(--white);
  position: relative;
  background: var(--dark);
  isolation: isolate;
  overflow: hidden;
  max-width: 1800px;
  margin: auto;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 48%;
  z-index: -3;
}
.hero-panel {
  color: var(--white);
  position: absolute;
  inset: 0 auto 0 0;
  width: 51%;
  background-color: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: -1;
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: 376px;
  color: var(--white);
}
.hero-copy {
  width: 44%;
  padding-block: var(--space-lg) 32px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-muted);
  font-size: 13px;
}
.hero-crumb {
  color: var(--blue-light);
}
.hero h1 {
  font-size: clamp(52px, 5.1vw, 80px);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 20px 0 var(--space-md);
}
.hero p {
  max-width: 390px;
  font-size: 16px;
  color: var(--white);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.hero-link {
  font-size: 14px;
  border-bottom: 1px solid var(--lightline);
  color: var(--white);
}
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent);
  color: var(--white);
  font-weight: 550;
  font-size: 14px;
  border: 1px solid transparent;
  text-align: center;
}
.btn:hover {
  background: var(--blue-dark);
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn.inverse {
  background: var(--white);
  color: var(--blue-dark);
}
.btn.inverse:hover {
  background: var(--blue-pale);
}
.btn.quiet {
  color: var(--color-ink);
  background: var(--white);
  border-color: var(--color-rule);
}
.btn.quiet:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.crop-mark {
  position: absolute;
  inset: 18px 22px 18px auto;
  width: 20px;
  border-block: 1px solid var(--lightline);
  pointer-events: none;
}
.crop-mark:before,
.crop-mark:after {
  position: absolute;
  content: "";
  right: 0;
  height: 16px;
  border-right: 1px solid var(--lightline);
}
.crop-mark:after {
  bottom: 0;
}
footer {
  background: var(--dark);
  color: var(--white);
}
.footer-inner {
  padding-block: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
}
.footer-inner h2 {
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: var(--space-sm);
}
.footer-inner a,
.footer-inner p {
  display: block;
  color: var(--blue-light);
  font-size: 14px;
  line-height: 1.9;
}
.footer-inner .wordmark span {
  color: var(--blue-light);
}
@media (max-width: 760px) {
  .mast-inner {
    min-height: 61px;
    gap: var(--space-sm);
  }
  .mast nav {
    display: none;
  }
  .wordmark {
    font-size: 24px;
  }
  .hero-copy {
    width: 55%;
  }
  .hero-panel {
    width: 65%;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-image {
    width: 58%;
    object-position: 70% center;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  .hero-inner {
    min-height: 300px;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
}
@media (max-width: 540px) {
  .hero-image {
    position: relative;
    width: 100%;
    height: 165px;
    object-position: 65% 48%;
  }
  .hero-panel {
    top: 165px;
    width: 100%;
    clip-path: none;
  }
  .hero-inner {
    min-height: 0;
  }
  .hero-copy {
    padding: var(--space-md) 0 var(--space-lg);
    width: 100%;
  }
  .hero h1 {
    font-size: 42px;
    line-height: 1;
    margin: var(--space-xs) 0;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 br:after {
    content: " ";
  }
  .hero h1 {
    max-width: 100%;
  }
  .hero-actions {
    margin-top: var(--space-md);
    gap: var(--space-md);
  }
  .hero p {
    font-size: 15px;
  }
  .hero-crumb {
    font-size: 12px;
  }
  .crop-mark {
    height: 134px;
  }
  .compare-nav {
    font-size: 13px;
  }
  .footer-inner {
    display: grid;
  }
  .hero-crumb a {
    color: inherit;
  }
}
.catalog {
  padding-block: var(--space-lg) 56px;
}
.filters {
  background: var(--white);
  border: 1px solid var(--color-rule);
  padding: 20px var(--space-lg) var(--space-lg);
}
.filter-head,
.results-head,
.table-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
}
.filter-head {
  position: relative;
  flex-wrap: wrap;
}
.filter-head h2,
.results-head h2,
.table-toolbar h2 {
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.2;
}
.filter-head h2 {
  font-size: 21px;
  letter-spacing: -0.04em;
}
.filter-head h2 svg {
  color: var(--color-accent);
}
.more {
  margin-left: auto;
}
.more summary,
.change summary {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  color: var(--color-accent);
  font-weight: 550;
  font-size: 14px;
  list-style: none;
}
.more summary::-webkit-details-marker,
.change summary::-webkit-details-marker {
  display: none;
}
.more[open] summary svg {
  transform: rotate(180deg);
}
.extra-fields {
  position: absolute;
  z-index: 3;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, 100%);
  background: var(--white);
  border: 1px solid var(--color-rule);
  padding: 20px;
  box-shadow: none;
  display: grid;
  gap: var(--space-sm);
}
.filters:has(.more[open]) .filter-head {
  display: block;
}
.more[open] {
  margin: var(--space-sm) 0;
}
.more[open] .extra-fields {
  position: static;
  width: 100%;
  display: flex;
  box-shadow: none;
  padding: var(--space-sm) 0 0;
  border: none;
  align-items: end;
}
.extra-fields .field {
  flex: 1;
}
.filter-row {
  display: flex;
  align-items: end;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
}
.filter-row .field {
  flex: 1;
}
.select {
  position: relative;
  display: block;
}
.select svg {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-muted);
}
select,
input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--color-rule);
  border-radius: 2px;
  color: var(--color-ink);
  padding: var(--space-xs) 36px var(--space-xs) var(--space-sm);
  font-size: 14px;
  font-weight: 450;
}
select {
  appearance: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
select:hover,
input[type="search"]:hover {
  border-color: var(--color-muted);
}
.filter-row .btn {
  min-width: 132px;
}
.results-head {
  margin: 28px 0 var(--space-md);
}
.results-head .count {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  padding: var(--space-2xs) var(--space-xs);
  letter-spacing: 0;
  font-weight: 500;
}
.results-head .reset {
  margin-right: auto;
}
.sort {
  margin-left: auto;
}
.sort label {
  display: flex;
  align-items: center;
  color: var(--color-muted);
  gap: var(--space-xs);
  font-size: 13px;
}
.sort select {
  min-height: 36px;
  background: transparent;
  border: 0;
  color: var(--color-ink);
  padding-left: 0;
  padding-right: var(--space-lg);
  width: auto;
  font-weight: 550;
  font-size: 13px;
}
.sort .select svg {
  right: 1px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--color-rule);
  display: flex;
  flex-direction: column;
}
.photo-card,
.product-img,
.pair-model > a {
  background: var(--photo-bg);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.photo-card {
  height: clamp(185px, 17vw, 235px);
  border-bottom: 1px solid var(--color-rule);
}
.photo-card img,
.product-img img,
.pair-model img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.photo-card img {
  padding: var(--space-md) var(--space-md) var(--space-2xs);
}
.card-stamp {
  z-index: 1;
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 12px;
  color: var(--color-muted);
  background: var(--photo-bg);
  padding: var(--space-3xs) var(--space-xs);
  border-left: 2px solid var(--color-accent);
}
.card-body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card h3 {
  text-wrap: balance;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.card h3 a:hover {
  color: var(--color-accent);
}
.card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0 20px;
}
.card-specs dt {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-muted);
  font-size: 12px;
}
.card-specs dt svg {
  color: var(--color-muted);
}
dd {
  margin: 0;
}
.card-specs dd {
  margin-top: var(--space-2xs);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.card-foot {
  margin-top: auto;
  border-top: 1px solid var(--color-rule);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.card-foot strong {
  font-size: clamp(17px, 1.45vw, 22px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 40px;
  padding: var(--space-xs) var(--space-xs);
  border: 1px solid var(--color-rule);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--white);
}
.pick:hover,
.pick[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: var(--blue-pale);
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 28px;
}
.pager a,
.pager span {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
}
.pager a {
  border: 1px solid var(--color-rule);
  background: var(--white);
}
.pager a[aria-current="page"] {
  background: var(--color-accent);
  color: var(--white);
  border-color: var(--color-accent);
}
.guide {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  background: var(--ice);
}
.guide > div {
  padding: clamp(var(--space-lg), 4vw, 56px);
  align-self: center;
}
.guide h2,
.empty h2,
.empty h3 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}
.guide p,
.empty p {
  color: var(--color-muted);
  margin: var(--space-md) 0 var(--space-lg);
}
.guide img {
  height: 100%;
  max-height: 300px;
  min-height: 210px;
  width: 100%;
  object-fit: cover;
}
.reset,
.textlink {
  color: var(--color-accent);
  font-weight: 550;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.empty {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--color-rule);
}
.other-head {
  padding-top: 32px;
}
.other-head h1,
.compare-title h1,
.product-info h1 {
  font-size: clamp(38px, 4.2vw, 66px);
  margin-top: var(--space-md);
}
.compare {
  position: relative;
}
.compare-title {
  padding-right: 152px;
  margin-bottom: 28px;
}
.compare-title h1 {
  max-width: none;
}
.change {
  margin: -60px 0 var(--space-lg) auto;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
}
.change summary {
  min-height: 36px;
  justify-content: flex-end;
}
.change[open] {
  margin: 0 0 20px;
  width: 100%;
}
.pair-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: var(--space-md);
  align-items: end;
  padding-block: var(--space-md);
}
.chooser .textlink {
  display: inline-block;
  margin-top: var(--space-sm);
}
.compare-figures,
.comparison tr {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) repeat(2, minmax(0, 1fr));
}
.compare-figures {
  border: 1px solid var(--color-rule);
}
.fig-lead {
  background: var(--color-accent);
  color: var(--white);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
}
.fig-lead h2 {
  font-size: clamp(25px, 2.4vw, 38px);
}
.fig-lead p {
  font-size: 13px;
  max-width: 260px;
  color: var(--blue-light);
}
.big-compare {
  color: var(--white);
}
.pair-model {
  position: relative;
  min-width: 0;
  background: var(--photo-bg);
  border-left: 1px solid var(--color-rule);
  padding: var(--space-sm);
}
.pair-id {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
}
.letter {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  background: var(--blue-pale);
  font-weight: 600;
}
.pair-model > a {
  height: clamp(135px, 12vw, 200px);
}
.table-toolbar {
  padding: var(--space-lg) 0 var(--space-md);
}
.table-toolbar h2 {
  font-variant-numeric: tabular-nums;
  font-size: 24px;
}
.toggle {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 14px;
  font-weight: 500;
  min-height: 44px;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 38px;
  height: 24px;
}
.toggle > span {
  display: block;
  width: 36px;
  height: 21px;
  border-radius: 20px;
  background: var(--color-muted);
  padding: var(--space-2xs);
}
.toggle > span:after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.15s ease;
}
.toggle input:checked + span {
  background: var(--color-accent);
}
.toggle input:checked + span:after {
  transform: translateX(15px);
}
.toggle input:focus-visible + span {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.comparison {
  border-spacing: 0;
  width: 100%;
  display: block;
  text-align: left;
  border-bottom: 1px solid var(--color-rule);
}
.comparison thead,
.comparison tbody {
  display: block;
}
.comparison thead {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--dark);
  color: var(--white);
}
.comparison th,
.comparison td {
  padding: var(--space-md) 20px;
  overflow-wrap: anywhere;
  font-weight: 450;
  min-width: 0;
  line-height: 1.38;
}
.comparison thead th {
  font-size: 16px;
  font-weight: 550;
}
.comparison tbody tr {
  background: var(--white);
  border: 1px solid var(--color-rule);
  border-bottom: 0;
}
.comparison tbody th {
  color: var(--color-muted);
  font-size: 14px;
}
.comparison td {
  border-left: 1px solid var(--color-rule);
  font-variant-numeric: tabular-nums;
}
.bar {
  display: block;
  background: var(--ice);
  width: 100%;
  max-width: 240px;
  height: 4px;
  margin-top: var(--space-xs);
}
.bar i {
  display: block;
  background: var(--color-accent);
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--ratio));
}
.unreported {
  color: var(--color-muted);
}
.after-table {
  display: inline-block;
  margin-top: var(--space-lg);
}
.product-main {
  margin: var(--space-lg) 0 var(--space-xl);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(var(--space-lg), 5vw, 76px);
  align-items: center;
}
.product-img {
  height: clamp(260px, 31vw, 440px);
  padding: var(--space-lg);
  border: 1px solid var(--color-rule);
}
.product-info h1 {
  font-size: clamp(31px, 3.8vw, 56px);
}
.product-info p {
  margin: var(--space-md) 0;
  color: var(--color-muted);
}
.price {
  font-variant-numeric: tabular-nums;
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.product-info > span,
.no-photo {
  color: var(--color-muted);
  font-size: 14px;
}
.product-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: stretch;
  margin-top: var(--space-md);
  flex-wrap: wrap;
}
.product h2 {
  font-size: 30px;
}
.spec-list {
  margin: 20px 0;
}
.spec-list > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  border-top: 1px solid var(--color-rule);
  padding: var(--space-sm) 0;
}
.spec-list dt {
  color: var(--color-muted);
}
.spec-list dd {
  overflow-wrap: anywhere;
}
.tray {
  position: fixed;
  inset: auto 0 0;
  background: var(--dark);
  color: var(--white);
  z-index: 5;
  border-top: 2px solid var(--color-accent);
}
.tray-inner {
  max-width: var(--container);
  margin: auto;
  padding: var(--space-sm) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: space-between;
}
.tray-names {
  min-width: 0;
}
.tray-names strong {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.tray-names b {
  color: var(--blue-light);
  font-size: 13px;
}
.tray-names > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.tray-chip {
  min-height: 29px;
  font-size: 13px;
  padding: 0;
  color: var(--blue-light);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tray-chip span {
  margin-left: var(--space-2xs);
}
.tray-inner .btn {
  flex: none;
}
.has-tray {
  padding-bottom: 100px;
}
dialog {
  border: 1px solid var(--color-rule);
  background: var(--white);
  color: var(--color-ink);
  padding: var(--space-lg);
  max-width: min(440px, 92%);
}
dialog::backdrop {
  background: color-mix(in srgb, var(--dark) 60%, transparent);
}
dialog h2 {
  font-size: 25px;
  padding-right: 28px;
}
dialog [data-replace-list] {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.dismiss {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: var(--space-xs);
}
@media (min-width: 1900px) {
  .hero-inner {
    min-height: 425px;
  }
}
@media (max-width: 980px) {
  .cards {
    gap: var(--space-sm);
  }
  .card-body {
    padding: var(--space-md);
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row .field {
    min-width: 135px;
  }
  .filter-row .btn {
    min-width: 112px;
  }
  .guide > div {
    padding: var(--space-lg);
  }
}
@media (max-width: 760px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding-block: 28px 48px;
  }
  .filters {
    padding: var(--space-md);
  }
  .filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-row .field {
    min-width: 0;
  }
  .filter-row .btn {
    grid-column: 1/-1;
  }
  .more[open] .extra-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .extra-fields .field:last-child {
    grid-column: 1/-1;
  }
  .filter-head h2 {
    font-size: 19px;
  }
  .compare-title {
    padding: 0;
    margin-bottom: var(--space-xs);
  }
  .change {
    margin: 0 0 var(--space-sm) 0;
  }
  .change summary {
    justify-content: flex-start;
  }
  .compare-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fig-lead {
    display: none;
  }
  .pair-model:first-of-type {
    border-left: 0;
  }
  .comparison tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .comparison thead th:first-child {
    display: none;
  }
  .comparison tbody th {
    grid-column: 1/-1;
    padding: var(--space-xs) var(--space-sm) var(--space-2xs);
    font-size: 13px;
  }
  .comparison td {
    padding: var(--space-2xs) var(--space-sm) var(--space-sm);
    border-left: 0;
  }
  .comparison td + td {
    border-left: 1px solid var(--color-rule);
  }
  .comparison thead th {
    padding: var(--space-sm);
    font-size: 15px;
  }
  .comparison thead th:last-child {
    border-left: 1px solid var(--lightline);
  }
  .comparison thead a {
    display: block;
  }
  .pair-form {
    grid-template-columns: 1fr;
  }
  .product-main {
    gap: var(--space-md);
  }
  .product-info h1 {
    font-size: 30px;
  }
  .sort label {
    font-size: 0;
  }
  .guide h2 {
    font-size: 26px;
  }
}
@media (max-width: 540px) {
  .catalog {
    padding-block: var(--space-md) 32px;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }
  .photo-card {
    height: 190px;
  }
  .card-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card h3 {
    font-size: 22px;
  }
  .card-foot strong {
    font-size: 20px;
  }
  .filter-head h2 {
    font-size: 17px;
    gap: var(--space-xs);
  }
  .filter-head h2 svg {
    width: 18px;
  }
  .more summary {
    font-size: 12px;
    gap: var(--space-2xs);
  }
  .filters {
    padding: var(--space-sm);
  }
  .filter-row {
    gap: var(--space-xs);
  }
  .results-head {
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
  }
  .reset {
    order: 3;
    flex-basis: 100%;
  }
  .guide {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }
  .guide img {
    height: 160px;
    min-height: 0;
  }
  .product-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-img {
    height: 240px;
  }
  .product .spec-list {
    font-size: 14px;
  }
  .pair-model {
    padding: var(--space-xs);
  }
  .pair-model > a {
    height: 110px;
  }
  .pair-id {
    font-size: 11px;
    gap: var(--space-2xs);
  }
  .table-toolbar {
    gap: var(--space-xs);
    padding: var(--space-sm) 0 var(--space-xs);
  }
  .table-toolbar h2 {
    font-variant-numeric: tabular-nums;
    font-size: 18px;
  }
  .toggle {
    font-size: 13px;
    gap: var(--space-xs);
  }
  .comparison th,
  .comparison td {
    font-size: 15px;
  }
  .comparison thead th {
    font-size: 14px;
  }
  .empty {
    padding: var(--space-lg);
  }
  .tray-names > div {
    display: block;
  }
  .tray-chip {
    display: block;
    min-height: 22px;
    font-size: 11px;
  }
  .tray-inner {
    gap: var(--space-xs);
  }
  .tray-inner .btn {
    padding-inline: var(--space-xs);
    font-size: 13px;
  }
  .wordmark {
    font-size: 22px;
  }
  .mast-inner {
    min-height: 56px;
  }
}
:root {
  --field-edge: #84909a;
}
select,
input[type="search"] {
  border-color: var(--field-edge);
}
.mast nav a,
.btn {
  white-space: nowrap;
}
.mast nav {
  gap: clamp(var(--space-md), 2.4vw, 36px);
}
.tray-chip {
  min-height: 32px;
}
.metric {
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 1;
}
.fig-lead p {
  color: var(--white);
}
.chart-note {
  font-size: 12px;
  color: var(--color-muted);
  padding-top: var(--space-sm);
}
.same-message {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--color-rule);
}
.mobile-menu {
  display: none;
}
.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-xs);
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 800px) {
  .mast-inner {
    gap: var(--space-md);
  }
  .mast nav {
    display: none;
  }
  .mobile-menu {
    display: block;
    position: relative;
  }
  .mobile-menu[open] > div {
    position: absolute;
    z-index: 8;
    inset: auto auto auto 0;
    background: var(--white);
    border: 1px solid var(--color-rule);
    padding: var(--space-2xs);
    min-width: 145px;
  }
  .mobile-menu a {
    display: block;
    padding: var(--space-xs);
    font-size: 14px;
  }
  .mobile-menu[open] summary {
    color: var(--color-accent);
  }
}
@media (max-width: 540px) {
  .mast-inner {
    gap: var(--space-2xs);
  }
  .tray-chip {
    min-height: 28px;
  }
  .hero h1 {
    font-size: clamp(34px, 10.5vw, 41px);
  }
  .filter-head {
    gap: var(--space-xs);
  }
  .filter-head h2 {
    font-size: 16px;
  }
  .more summary {
    min-height: 32px;
  }
}
@media (max-width: 360px) {
  .compare-nav {
    gap: var(--space-2xs);
  }
  .mast-inner {
    padding-inline: var(--space-sm);
  }
  .filter-head {
    gap: var(--space-2xs);
  }
  .filter-head h2 {
    font-size: 15px;
  }
  .table-toolbar {
    flex-wrap: wrap;
  }
}
.sort select {
  border: 1px solid var(--field-edge);
  padding-inline: var(--space-xs) var(--space-lg);
  background: var(--white);
}
.sort .select svg {
  right: 6px;
}
.mobile-menu a {
  white-space: nowrap;
}
.price,
.metric,
.results-head h2,
.table-toolbar h2 {
  font-variant-numeric: tabular-nums;
}
.hero,
.hero-panel {
  color: var(--white);
}
.extra-fields {
  box-shadow: none;
}
.toggle > span {
  pointer-events: none;
}
.toggle input {
  z-index: 1;
  cursor: pointer;
  margin: 0;
}
@media (max-width: 760px) {
  .fig-lead {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    grid-column: 1/-1;
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  .fig-lead p {
    font-size: 12px;
  }
  .fig-lead p:last-child {
    margin-left: auto;
  }
  .fig-lead .metric {
    font-size: 22px;
    letter-spacing: -0.04em;
  }
}
