:root {
  --color-ink: #102b50;
  --color-text: #263a55;
  --color-muted: #697a91;
  --color-line: #dce3ec;
  --color-line-strong: #cbd5e1;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f9fc;
  --color-bg-blue: #eef4fb;
  --color-primary: #12365f;
  --color-primary-hover: #0b294c;
  --color-accent: #315f9d;
  --color-success: #166534;
  --color-success-bg: #edf8f0;
  --color-error: #a62b24;
  --color-error-bg: #fff3f1;
  --color-info: #1d4ed8;
  --color-info-bg: #eef4ff;
  --shadow-soft: 0 12px 30px rgba(16, 43, 80, 0.08);
  --site-width: 1440px;
  --content-width: 1360px;
  --reading-width: 880px;
  --article-list-width: 960px;
  --article-width: 720px;
  --viewport-gutter: 64px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "LINE Seed JP", "Hiragino Sans", "Yu Gothic UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

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

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(49, 95, 157, 0.42);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.container {
  width: min(var(--content-width), calc(100% - var(--viewport-gutter)));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-line-break {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--site-width), calc(100% - var(--viewport-gutter)));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-ink);
}

.site-brand__logo {
  width: 196px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-nav__link {
  position: relative;
  padding: 28px 0 25px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--color-primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle .bi {
  font-size: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button--primary {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.button--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.button--secondary,
.button--outline {
  color: var(--color-ink);
  background: #fff;
  border-color: var(--color-line-strong);
}

.button--secondary:hover,
.button--outline:hover {
  border-color: var(--color-primary);
}

.button--table {
  min-height: 31px;
  padding: 0 12px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 4px;
  font-size: 11px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.button-row--center {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

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

.home-hero {
  position: relative;
  min-height: 545px;
  overflow: hidden;
  background: #f9fafc;
}

.home-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 545px;
}

.home-hero__copy {
  width: min(720px, 60%);
  padding: 70px 0 84px;
}

.home-hero__copy h1 {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--color-ink);
  font-size: clamp(37px, 2.75vw, 42px);
  font-weight: 700;
  line-height: 1.35;
}

.home-hero__copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 0 0 30px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.85;
}

.feature-strip {
  position: relative;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 94px;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.feature-item > .bi {
  flex: 0 0 auto;
  color: var(--color-accent);
  font-size: 27px;
}

.feature-item div {
  display: flex;
  flex-direction: column;
}

.feature-item strong {
  color: var(--color-ink);
  font-size: 13px;
}

.feature-item span {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.5;
}

.product-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto auto;
  align-items: end;
  padding: 18px 20px;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-field label {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.2;
}

.filter-field select {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 12px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 5px;
  font-size: 13px;
}

.filter-check {
  display: flex;
  align-items: center;
  align-self: center;
  min-height: 42px;
  gap: 8px;
  color: var(--color-text);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.filter-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
}

.product-filters__reset {
  align-self: center;
  justify-self: end;
  min-height: 34px;
  padding: 0 4px;
  color: var(--color-primary);
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.product-filters__reset:hover {
  color: var(--color-primary-hover);
}

.product-filters__reset:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.product-filters__result {
  grid-column: 1 / -1;
  margin: -2px 0 -4px;
  color: var(--color-muted);
  font-size: 11px;
  text-align: right;
}

.filter-empty {
  margin: 22px 0 0;
  padding: 18px;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section--compact {
  padding: 10px 0 40px;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading--inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 10px;
  color: var(--color-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
}

.section-heading h2 > .bi {
  color: var(--color-accent);
  font-size: 27px;
}

.compare-table-wrap {
  --visible-products: 5;
  --compare-label-width: 140px;
  --compare-product-width: 196px;
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: calc(var(--compare-label-width) + (var(--visible-products) * var(--compare-product-width)));
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: var(--color-text);
  font-size: 12px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  text-align: center;
  vertical-align: middle;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-table thead th {
  width: 196px;
  padding-top: 14px;
  background: #fff;
  vertical-align: top;
}

.compare-table .compare-table__label {
  position: sticky;
  z-index: 3;
  left: 0;
  width: 118px;
  color: var(--color-ink);
  background: #f8fafc;
  font-weight: 700;
  text-align: left;
}

.compare-table__product-name {
  display: block;
  min-height: 40px;
  margin-top: 8px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.compare-table__brand {
  display: block;
  margin-top: 7px;
  color: var(--color-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table__visual {
  display: grid;
  width: 100%;
  height: 52px;
  margin: 4px auto 7px;
  place-items: center;
  color: #6f88a8;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 5px;
}

.compare-table__visual .bi {
  font-size: 26px;
}

.compare-table__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.compare-table__actions .button {
  width: 100%;
  padding-inline: 7px;
}

.button--amazon {
  color: #fff;
  background: #243752;
  border-color: #243752;
}

.amazon-product-image-link {
  display: grid;
  width: 100%;
  color: inherit;
  border-radius: 6px;
  place-items: center;
}

.amazon-product-image-link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.compare-table__product-image {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 92px;
  margin: 6px auto 10px;
  object-fit: contain;
  object-position: center;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  color: var(--color-primary);
  background: #eaf1f8;
  border: 1px solid #c8d6e6;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.boolean-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.boolean-mark--yes {
  color: var(--color-success);
}

.boolean-mark--no {
  color: var(--color-muted);
}

.source-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 14px auto 0;
  gap: 7px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-link-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  min-height: 130px;
  padding: 24px;
  gap: 17px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-link-card:hover {
  border-color: #9eb2ca;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.guide-link-card > .bi:first-child {
  color: var(--color-accent);
  font-size: 38px;
}

.guide-link-card > .bi:last-child {
  color: var(--color-primary);
}

.guide-link-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-link-card strong {
  color: var(--color-ink);
  font-size: 16px;
}

.guide-link-card small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.use-card-grid,
.reading-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.use-card,
.reading-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.use-card:hover,
.reading-card:hover {
  border-color: #9eb2ca;
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}

.use-card > img,
.reading-card > img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.use-card__body,
.reading-card__body {
  display: flex;
  flex-direction: column;
  min-height: 154px;
  padding: 18px;
}

.use-card__body strong,
.reading-card__body strong {
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.5;
}

.use-card__body small,
.reading-card__body small {
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}

.use-card__body b {
  margin-top: auto;
  padding-top: 14px;
  color: var(--color-primary);
  font-size: 12px;
}

.reading-card__body em {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 8px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 3px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.app-promo {
  background: #fff;
}

.app-promo__card {
  display: grid;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.app-promo__visual {
  display: grid;
  min-height: 360px;
  padding: 34px;
  place-items: center;
  background: transparent;
  border-right: 0;
}

.app-promo__image {
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 32px;
  box-shadow: 0 18px 42px rgba(16, 43, 80, 0.12);
}

.app-promo__content {
  align-self: center;
  padding: 46px 52px;
}

.app-promo__content .eyebrow {
  margin-bottom: 9px;
}

.app-promo__content h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(29px, 2.6vw, 38px);
  line-height: 1.3;
}

.app-promo__lead {
  margin: 8px 0 10px;
  color: var(--color-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.app-promo__description {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.app-promo__meta {
  display: flex;
  padding: 0;
  margin: 22px 0 26px;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.app-promo__meta li {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd8e7;
  border-radius: 999px;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.app-promo__meta .bi {
  color: var(--color-accent);
}

.site-footer {
  color: #fff;
  background: #102f55;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  width: min(var(--content-width), calc(100% - var(--viewport-gutter)));
  margin-inline: auto;
  padding: 58px 0 42px;
  gap: 54px;
}

.site-brand--footer {
  color: #fff;
}

.site-brand__logo--footer {
  width: 214px;
}

.site-footer__brand-column > p {
  margin: 22px 0 0;
  color: #cbd9e9;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer__brand-column > .site-footer__associate-disclosure {
  margin-top: 14px;
  color: #aebfd3;
  font-size: 10px;
  line-height: 1.7;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__nav h2 {
  margin: 0 0 8px;
  font-size: 14px;
}

.site-footer__nav a {
  color: #cbd9e9;
  font-size: 12px;
}

.site-footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom {
  padding: 17px 24px;
  color: #9fb2c8;
  background: #0d294a;
  font-size: 11px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-hero {
  padding: 64px 0 58px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-line);
}

.page-hero__inner {
  max-width: var(--reading-width);
  margin-inline: auto;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 15px;
  color: var(--color-ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  width: min(var(--reading-width), 100%);
  flex-wrap: wrap;
  margin: 0 auto 28px;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumb .bi {
  font-size: 9px;
}

.page-content {
  padding: 58px 0 86px;
}

.content-narrow {
  width: min(var(--reading-width), 100%);
  margin-inline: auto;
}

.compare-reading-guide {
  width: 100%;
  margin-inline: auto;
}

.compare-reading-guide__intro a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.compare-reading-guide__intro a:hover {
  color: var(--color-primary);
  text-decoration-thickness: 2px;
}

.container.content-narrow {
  width: min(var(--reading-width), calc(100% - var(--viewport-gutter)));
  margin-inline: auto;
}

.content-section + .content-section {
  margin-top: 58px;
}

.content-section h2 {
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 27px;
  line-height: 1.45;
}

.content-section h3 {
  margin: 32px 0 10px;
  color: var(--color-ink);
  font-size: 20px;
}

.content-section p {
  margin: 0 0 18px;
}

.content-section ul,
.content-section ol {
  margin: 14px 0 20px;
  padding-left: 1.5em;
}

.content-section li + li {
  margin-top: 8px;
}

.info-box {
  padding: 22px 24px;
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.definition-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 7px;
}

.definition-card .bi {
  color: var(--color-accent);
  font-size: 28px;
}

.definition-card h3 {
  margin: 12px 0 7px;
  font-size: 18px;
}

.definition-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 7px;
  -webkit-overflow-scrolling: touch;
}

.content-section .guide-table-hint {
  display: none;
  align-items: center;
  margin: -2px 0 10px;
  color: var(--color-muted);
  gap: 6px;
  font-size: 12px;
}

.guide-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.55;
}

.guide-table th,
.guide-table td {
  padding: 12px 14px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: middle;
}

.guide-table th:last-child,
.guide-table td:last-child {
  border-right: 0;
}

.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td {
  border-bottom: 0;
}

.guide-table thead th {
  color: var(--color-ink);
  background: var(--color-bg-soft);
  font-weight: 700;
  white-space: nowrap;
}

.guide-table tbody th {
  color: var(--color-ink);
  background: #fbfcfe;
  font-weight: 700;
  white-space: nowrap;
}

.content-section .guide-table-note {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.app-inline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  gap: 28px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 8px;
}

.app-inline-card > div {
  min-width: 0;
}

.app-inline-card .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.app-inline-card .eyebrow {
  color: #b8d1ee;
}

.app-inline-card h2 {
  color: #fff;
}

.app-inline-card p {
  margin-bottom: 0;
  color: #d9e5f3;
}

.app-inline-card + .page-next-links {
  margin-top: 28px;
}

.page-next-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.page-next-links__label {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-next-links__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.page-next-links .text-link {
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--color-line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--color-line-strong);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 22px 4px;
  gap: 18px;
  color: var(--color-ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary .bi {
  color: var(--color-accent);
  transition: transform 160ms ease;
}

.faq-item[open] summary .bi {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 44px 22px 4px;
  color: var(--color-muted);
}

.faq-item__answer p {
  margin: 0;
}

.faq-contact {
  margin-top: 58px;
  padding: 26px;
  background: var(--color-bg-soft);
  border-radius: 8px;
}

.legal-definition-list {
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.legal-definition-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.legal-definition-list dt {
  color: var(--color-muted);
}

.legal-definition-list dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
}

.legal-definition-list a {
  color: var(--color-accent);
  text-decoration: underline;
}

.contact-form-panel__intro {
  margin-bottom: 30px;
}

.contact-form-panel__intro p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-form__success {
  display: flex;
  align-items: flex-start;
  padding: 22px 24px;
  margin-bottom: 32px;
  color: var(--color-success);
  background: var(--color-success-bg);
  border: 1px solid #b9dcc2;
  border-radius: 8px;
  gap: 14px;
}

.contact-form__success > .bi {
  margin-top: 2px;
  font-size: 24px;
}

.contact-form__success h2 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.5;
}

.contact-form__success p {
  margin: 0;
}

.contact-form__error-summary {
  padding: 18px 20px;
  margin-bottom: 28px;
  color: var(--color-error);
  background: var(--color-error-bg);
  border-left: 4px solid var(--color-error);
  border-radius: 4px;
}

.contact-form__error-summary p {
  margin: 0;
}

.contact-form__error-summary ul {
  margin: 8px 0 0;
}

.contact-form {
  position: relative;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.contact-form__field {
  min-width: 0;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  color: var(--color-ink);
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form__required,
.contact-form__optional {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form__required {
  color: #fff;
  background: var(--color-primary);
}

.contact-form__optional {
  color: var(--color-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
}

.contact-form__control {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  line-height: 1.55;
}

.contact-form__control:focus {
  border-color: var(--color-accent);
  outline: 3px solid rgba(49, 95, 157, 0.18);
}

.contact-form__control[aria-invalid="true"] {
  border-color: var(--color-error);
}

.contact-form__textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form__feedback {
  padding: 9px 12px;
  margin: 8px 0 0;
  color: var(--color-info);
  background: var(--color-info-bg);
  border-radius: 4px;
  font-size: 13px;
}

.contact-form__feedback:empty {
  display: none;
}

.contact-form__field-error {
  margin: 7px 0 0;
  color: var(--color-error);
  font-size: 13px;
  font-weight: 700;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.contact-form__consent input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.contact-form__consent a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  margin-top: 30px;
  gap: 18px;
}

.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.product-card__image-wrap {
  position: relative;
  min-height: 270px;
  padding: 30px;
  background: var(--color-bg-soft);
}

.product-card__image-wrap .product-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
}

.product-card__image-wrap img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.product-card__image-wrap--amazon {
  display: grid;
  min-height: 270px;
  padding: 56px 30px 24px;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.product-card__image-wrap .product-card__image {
  width: 100%;
  max-width: 430px;
  height: 190px;
  object-fit: contain;
  object-position: center;
}

.product-card__visual {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: #6f88a8;
}

.product-card__visual > .bi {
  font-size: 76px;
  line-height: 1;
}

.product-card__visual > strong {
  color: var(--color-ink);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.product-card__visual > span:last-child {
  color: var(--color-muted);
  font-size: 12px;
}

.comparison-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 9px;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.product-card__body {
  padding: 26px;
}

.product-card__eyebrow {
  margin: 0 0 7px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: 23px;
  line-height: 1.4;
}

.product-card__body > p:not(.product-card__eyebrow, .product-card__note) {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.product-card__specs {
  margin: 0 0 14px;
  border-top: 1px solid var(--color-line);
}

.product-card__specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
}

.product-card__specs dt {
  color: var(--color-muted);
}

.product-card__specs dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
}

.product-card__note {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 11px;
}

.product-card__body > p.product-card__mac-note {
  min-height: 0;
  margin: 0 0 12px;
  padding: 12px 14px;
  color: var(--color-text);
  background: var(--color-bg-soft);
  border-left: 3px solid var(--color-accent);
  border-radius: 3px;
  font-size: 12px;
}

.product-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-card__links .button {
  flex: 1 1 180px;
}

.catalog-empty {
  margin: 0;
  padding: 24px;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 7px;
  text-align: center;
}

.catalog-endnotes {
  width: min(var(--content-width), 100%);
  margin: 28px auto 0;
}

.items-page .page-content {
  padding-bottom: 64px;
}

.catalog-endnotes p.source-note {
  justify-content: flex-start;
  margin: 0;
  text-align: left;
}

.catalog-endnotes p.catalog-endnotes__guide {
  margin: 16px 0 0;
}

.catalog-endnotes__guide a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
}

.catalog-endnotes__guide a:hover {
  text-decoration: underline;
}

.catalog-endnotes__guide .bi {
  font-size: 11px;
}

.catalog-policy-note {
  width: 100%;
  padding-top: 16px;
  margin: 24px 0 0;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  font-size: 12px;
  line-height: 1.8;
}

.catalog-policy-note p {
  margin: 0;
}

.catalog-policy-note p + p {
  margin-top: 3px;
}

.catalog-policy-note strong {
  color: #52657d;
}

.error-main {
  display: grid;
  min-height: 55vh;
  place-items: center;
  padding: 70px 0;
}

.error-panel {
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--color-accent);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
}

.error-panel h1 {
  margin: 18px 0 10px;
  color: var(--color-ink);
  font-size: 30px;
}

.error-panel > p:not(.error-code) {
  margin: 0 0 28px;
  color: var(--color-muted);
}

@media (min-width: 901px) {
  .home-hero,
  .home-hero__inner {
    min-height: 280px;
  }

  .home-hero__copy {
    padding: 22px 0 24px;
  }

  .home-hero__copy h1 {
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 1.25;
  }

  .home-hero__copy > p:not(.eyebrow) {
    margin-bottom: 20px;
    line-height: 1.65;
  }

  .feature-strip__grid {
    min-height: 72px;
  }

  .product-filters {
    position: relative;
    padding: 7px 18px 12px;
  }

  .filter-field select,
  .filter-check {
    min-height: 34px;
    height: 34px;
  }

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

  .home-page #compare.section {
    padding-top: 32px;
    padding-bottom: 8px;
  }

  .home-page #compare .section-heading {
    margin-bottom: 18px;
  }

  .compare-table th,
  .compare-table td {
    padding: 3px 8px;
    line-height: 1.35;
  }

  .compare-table thead th {
    padding-top: 6px;
  }

  .compare-table .product-badge {
    min-height: 16px;
    padding: 2px 6px;
    font-size: 8px;
  }

  .compare-table__product-name {
    min-height: 20px;
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.3;
  }

  .compare-table__brand {
    margin-top: 3px;
    font-size: 8px;
  }

  .compare-table__visual {
    height: 30px;
    margin: 2px auto 4px;
  }

  .compare-table__visual .bi {
    font-size: 19px;
  }

  .compare-table__actions {
    gap: 3px;
  }

  .compare-table__actions .button {
    min-height: 22px;
    padding-inline: 4px;
    font-size: 8px;
  }

  .compare-table__product-image {
    max-width: 150px;
    height: 70px;
    margin: 4px auto 6px;
  }

  .compare-table .button--table {
    min-height: 24px;
    padding-inline: 10px;
    font-size: 9px;
  }
}

@media (min-width: 901px) and (max-width: 1099px),
  (min-width: 641px) and (max-width: 680px) {
  .mobile-line-break {
    display: inline;
  }
}

@media (max-width: 1120px) {
  :root {
    --viewport-gutter: 48px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav__link {
    font-size: 12px;
  }

  .home-hero__copy {
    width: 60%;
  }

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

  .filter-check {
    justify-content: center;
  }

  .site-footer__inner {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.is-menu-open::before {
    position: fixed;
    z-index: 45;
    inset: var(--header-height) 0 0;
    background: rgba(16, 43, 80, 0.18);
    content: "";
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    z-index: 60;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    display: flex;
    width: min(360px, 88vw);
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-left: 1px solid var(--color-line);
    box-shadow: -14px 0 32px rgba(16, 43, 80, 0.12);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__link {
    padding: 17px 8px;
    border-bottom: 1px solid var(--color-line);
    font-size: 15px;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link.is-active {
    color: var(--color-accent);
    font-weight: 700;
  }

  .home-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-hero__image {
    position: relative;
    order: 2;
    width: 100%;
    height: 330px;
    object-position: 68% center;
  }

  .home-hero__inner {
    order: 1;
    min-height: 0;
  }

  .home-hero__copy {
    width: 100%;
    padding: 56px 0 44px;
  }

  .home-hero__copy h1 {
    max-width: 720px;
    font-size: 38px;
  }

  .feature-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 0;
    row-gap: 18px;
  }

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

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

  .guide-link-card {
    min-height: 108px;
  }

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

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

  .site-footer__brand-column {
    grid-column: 1 / -1;
  }

  .site-footer__nav:last-child {
    grid-column: auto;
  }

  .content-section .guide-table-hint {
    display: flex;
  }

}

@media (max-width: 640px) {
  :root {
    --viewport-gutter: 40px;
  }

  .site-brand__logo {
    width: 176px;
  }

  .home-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-hero__image {
    height: 245px;
    object-position: 70% center;
  }

  .home-hero__inner {
    width: calc(100% - var(--viewport-gutter));
  }

  .home-hero__copy {
    width: 100%;
    padding: 52px 0 38px;
  }

  .home-hero__copy h1 {
    margin-bottom: 16px;
    font-size: 29px;
    line-height: 1.45;
  }

  .mobile-line-break {
    display: inline;
  }

  .home-hero__copy > p:not(.eyebrow) {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .feature-strip__grid {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .feature-item span {
    font-size: 11px;
  }

  .product-filters {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 20px 16px;
  }

  .filter-check {
    width: 100%;
  }

  .product-filters__result {
    text-align: left;
  }

  .section {
    padding: 54px 0;
  }

  .section--compact {
    padding: 4px 0 24px;
  }

  .section-heading--inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .compare-table-wrap {
    --compare-product-width: 176px;
    width: calc(100vw - 20px);
    margin-left: -10px;
    border-radius: 6px;
  }

  .compare-table {
    font-size: 11px;
  }

  .compare-table thead th {
    width: 176px;
  }

  .compare-table .compare-table__label {
    width: 104px;
  }

  .source-note {
    text-align: left;
  }

  .catalog-endnotes {
    margin-top: 24px;
  }

  .items-page .page-content {
    padding-bottom: 48px;
  }

  .catalog-endnotes p.catalog-endnotes__guide {
    margin-top: 16px;
  }

  .catalog-policy-note {
    padding-top: 14px;
    margin-top: 20px;
  }

  .guide-link-card {
    grid-template-columns: 42px 1fr auto;
    padding: 20px 18px;
  }

  .guide-link-card > .bi:first-child {
    font-size: 31px;
  }

  .use-card-grid,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .use-card > img,
  .reading-card > img {
    height: 205px;
  }

  .use-card__body,
  .reading-card__body {
    min-height: 134px;
  }

  .app-promo__card {
    grid-template-columns: 1fr;
  }

  .app-promo__visual {
    min-height: 0;
    padding: 30px 20px 8px;
    border-right: 0;
  }

  .app-promo__image {
    width: 180px;
    border-radius: 26px;
  }

  .app-promo__content {
    padding: 24px 24px 30px;
    text-align: center;
  }

  .app-promo__content .eyebrow {
    text-align: center;
  }

  .app-promo__lead {
    font-size: 17px;
  }

  .app-promo__meta {
    justify-content: center;
  }

  .app-promo__content .button {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 46px 0 36px;
    gap: 34px 24px;
  }

  .site-footer__brand-column {
    grid-column: 1 / -1;
  }

  .site-footer__nav:last-child {
    grid-column: 1 / -1;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .page-hero {
    padding: 48px 0 42px;
  }

  .page-hero h1 {
    font-size: 29px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 14px;
  }

  .page-content {
    padding: 42px 0 64px;
  }

  .content-section + .content-section {
    margin-top: 44px;
  }

  .content-section h2 {
    font-size: 23px;
  }

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

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

  .app-inline-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-inline-card .button {
    width: 100%;
  }

  .app-inline-card + .page-next-links {
    margin-top: 24px;
  }

  .page-next-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
  }

  .page-next-links__list {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .faq-item summary {
    padding-block: 19px;
    font-size: 15px;
  }

  .faq-item__answer {
    padding-right: 4px;
    font-size: 14px;
  }

  .faq-contact {
    margin-top: 44px;
  }

  .legal-definition-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form__field--full {
    grid-column: auto;
  }

  .contact-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form__actions .button {
    width: 100%;
  }

  .product-card__image-wrap {
    min-height: 220px;
    padding: 24px;
  }

  .product-card__image-wrap img {
    height: 180px;
  }

  .product-card__image-wrap--amazon {
    min-height: 220px;
    padding: 52px 20px 20px;
  }

  .product-card__image-wrap .product-card__image {
    height: 165px;
  }

  .product-card__body {
    padding: 22px;
  }

  .error-code {
    font-size: 64px;
  }

  .error-panel h1 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .product-filters .filter-field {
    grid-column: 1 / -1;
  }
}

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

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

/* Catalog finder redesign */
.catalog-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
  gap: 12px;
}

.catalog-search-form__input {
  position: relative;
  display: block;
}

.catalog-search-form__input > .bi {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--color-primary);
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-search-form input {
  width: 100%;
  min-height: 50px;
  padding: 10px 18px 10px 52px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 7px;
  appearance: none;
}

.catalog-search-form input::placeholder {
  color: #7d8da2;
}

.catalog-search-form .button {
  min-height: 50px;
}

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

.catalog-shortcut {
  display: grid;
  min-height: 78px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-shortcut:hover {
  border-color: #b8c6d7;
  box-shadow: 0 8px 20px rgba(16, 43, 80, 0.08);
  transform: translateY(-1px);
}

.catalog-shortcut > .bi:first-child {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  border-radius: 8px;
  font-size: 23px;
}

.catalog-shortcut > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.catalog-shortcut strong {
  font-size: 13px;
  line-height: 1.45;
}

.catalog-shortcut small {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 10px;
  line-height: 1.45;
}

.catalog-shortcut > .bi:last-child {
  color: var(--color-muted);
  font-size: 11px;
}

.home-catalog-search {
  position: relative;
  z-index: 4;
}

.home-catalog-search__panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 43, 80, 0.09);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16, 43, 80, 0.13);
}

.home-catalog-search__form-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 15px 28px;
}

.home-catalog-search__form-row h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  white-space: nowrap;
}

.home-catalog-search .catalog-shortcuts {
  padding: 12px 28px 14px;
  border-top: 1px solid var(--color-line);
}

.catalog-page-hero {
  padding: 42px 0 30px;
  background: var(--color-bg-soft);
}

.catalog-page-hero__inner {
  max-width: none;
  margin-inline: auto;
  text-align: left;
}

.catalog-page-hero__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.catalog-page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.25;
}

.catalog-page-hero__heading > div:first-child > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--color-muted);
}

.catalog-page-hero__audience {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--color-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.catalog-page-hero__audience > .bi {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  border-radius: 8px;
  font-size: 22px;
}

.catalog-page-hero__audience span {
  display: flex;
  flex-direction: column;
}

.catalog-page-hero__audience strong {
  font-size: 13px;
}

.catalog-page-hero__audience small {
  color: var(--color-muted);
  font-size: 10px;
}

.catalog-search-form--hero {
  grid-template-columns: minmax(0, 1fr) 120px;
  margin-top: 22px;
}

.catalog-page-hero .catalog-shortcuts {
  margin-top: 16px;
}

.catalog-page-content {
  padding-top: 34px;
}

.catalog-applied {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: -4px 0 22px;
  gap: 12px;
  color: var(--color-muted);
  font-size: 12px;
}

.catalog-applied__label {
  flex: 0 0 auto;
  color: var(--color-text);
  font-weight: 700;
}

.catalog-applied__chips {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-applied__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  gap: 7px;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  border: 1px solid #d5e0ed;
  border-radius: 999px;
  line-height: 1.35;
}

.catalog-applied__chips a:hover {
  border-color: #9fb3cb;
}

.catalog-applied__chips .bi {
  font-size: 9px;
}

.catalog-applied__clear {
  flex: 0 0 auto;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.catalog-layout__sidebar {
  min-width: 0;
}

.catalog-facets {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 9px;
}

.catalog-facets > summary {
  display: none;
}

.catalog-facets__body {
  padding: 18px 18px 20px;
}

.catalog-facets__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  gap: 12px;
  border-bottom: 1px solid var(--color-line);
}

.catalog-facets__heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 17px;
}

.catalog-facets__heading a {
  color: var(--color-primary);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.catalog-facet-group {
  padding: 16px 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--color-line);
}

.catalog-facet-group legend {
  padding: 0;
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
}

.catalog-facet-option {
  display: grid;
  min-height: 30px;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 12px;
  cursor: pointer;
}

.catalog-facet-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-primary);
}

.catalog-facet-option small {
  color: var(--color-muted);
  font-size: 10px;
}

.catalog-facets__submit {
  width: 100%;
  margin-top: 18px;
}

.catalog-layout__results {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  min-height: 62px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 24px;
}

.catalog-toolbar .eyebrow {
  margin-bottom: 4px;
}

.catalog-toolbar h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1.3;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 9px;
}

.catalog-sort label {
  color: var(--color-muted);
  font-size: 11px;
  white-space: nowrap;
}

.catalog-sort select {
  min-width: 154px;
  height: 40px;
  padding: 0 34px 0 12px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-line-strong);
  border-radius: 6px;
  font-size: 12px;
}

.catalog-sort__submit {
  min-height: 40px;
  padding-inline: 14px;
}

.js .catalog-sort__submit {
  display: none;
}

.catalog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 9px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-card:hover {
  border-color: #bdcad9;
  box-shadow: 0 12px 28px rgba(16, 43, 80, 0.09);
  transform: translateY(-2px);
}

.catalog-card__media {
  position: relative;
  display: grid;
  min-height: 184px;
  padding: 30px 20px 18px;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.catalog-card__media img {
  width: 100%;
  height: 136px;
  object-fit: contain;
  object-position: center;
}

.catalog-card__comparison {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}

.catalog-card__fallback {
  color: #7288a5;
  font-size: 64px;
}

.catalog-card__body {
  display: flex;
  padding: 18px;
  flex: 1 1 auto;
  flex-direction: column;
}

.catalog-card__brand {
  margin: 0 0 4px;
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-card h2 {
  min-height: 52px;
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1.45;
}

.catalog-card__badges {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  gap: 5px;
}

.catalog-card__badges span {
  padding: 3px 7px;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.catalog-card__summary {
  min-height: 48px;
  margin: 10px 0 12px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.65;
}

.catalog-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 11px 0;
  margin: 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.catalog-card__facts div {
  min-width: 0;
  padding: 0 7px;
  border-right: 1px solid var(--color-line);
}

.catalog-card__facts div:first-child {
  padding-left: 0;
}

.catalog-card__facts div:last-child {
  padding-right: 0;
  border-right: 0;
}

.catalog-card__facts dt {
  color: var(--color-muted);
  font-size: 9px;
  line-height: 1.3;
}

.catalog-card__facts dt .bi {
  margin-right: 2px;
  color: var(--color-accent);
}

.catalog-card__facts dd {
  margin: 4px 0 0;
  color: var(--color-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.catalog-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  gap: 10px;
}

.catalog-card__price span {
  color: var(--color-muted);
  font-size: 10px;
}

.catalog-card__price strong {
  color: var(--color-ink);
  font-size: 15px;
  line-height: 1.35;
  text-align: right;
}

.catalog-card__checked {
  margin: 4px 0 12px;
  color: var(--color-muted);
  font-size: 9px;
  text-align: right;
}

.catalog-card__actions {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  margin-top: auto;
  gap: 8px;
}

.catalog-card__actions .button {
  min-height: 38px;
  padding-inline: 8px;
  font-size: 10px;
}

.catalog-no-results {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  padding: 44px 24px;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 9px;
  text-align: center;
}

.catalog-no-results > .bi {
  color: var(--color-accent);
  font-size: 34px;
}

.catalog-no-results h2 {
  margin: 12px 0 6px;
  color: var(--color-ink);
  font-size: 21px;
}

.catalog-no-results p {
  margin: 0 0 20px;
}

@media (min-width: 901px) {
  .home-page .home-hero,
  .home-page .home-hero__inner {
    min-height: 360px;
  }

  .home-page .home-hero__copy {
    padding: 46px 0 92px;
  }

  .home-catalog-search {
    margin-top: -42px;
  }

  .home-page #compare.section {
    padding-top: 58px;
  }
}

@media (max-width: 1180px) {
  .home-catalog-search__form-row {
    gap: 24px;
    padding-inline: 22px;
  }

  .home-catalog-search .catalog-shortcuts {
    padding-inline: 22px;
  }

  .catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

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

@media (max-width: 980px) {
  .home-catalog-search__form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .home-catalog-search__form-row h2 {
    white-space: normal;
  }

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

@media (max-width: 900px) {
  .catalog-page-hero__heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-page-hero__audience {
    justify-self: start;
  }

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

  .catalog-facets {
    position: static;
    border-radius: 8px;
  }

  .catalog-facets > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .catalog-facets > summary::-webkit-details-marker {
    display: none;
  }

  .catalog-facets > summary > .bi:last-child {
    transition: transform 160ms ease;
  }

  .catalog-facets[open] > summary > .bi:last-child {
    transform: rotate(180deg);
  }

  .catalog-facets__body {
    border-top: 1px solid var(--color-line);
  }
}

@media (max-width: 820px) {
  .home-page .home-hero__image {
    display: none;
  }

  .home-page .home-hero__copy {
    padding-bottom: 74px;
  }

  .home-catalog-search {
    margin-top: -34px;
  }
}

@media (max-width: 640px) {
  .home-page .home-hero__copy {
    padding: 42px 0 66px;
  }

  .home-page .home-hero__copy h1 {
    font-size: 28px;
  }

  .home-catalog-search {
    margin-top: -26px;
  }

  .home-catalog-search__panel {
    border-radius: 10px;
  }

  .home-catalog-search__form-row,
  .home-catalog-search .catalog-shortcuts {
    padding-inline: 16px;
  }

  .home-catalog-search__form-row {
    padding-block: 18px 14px;
  }

  .home-catalog-search__form-row h2 {
    font-size: 20px;
  }

  .catalog-search-form {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .catalog-search-form .button {
    width: 100%;
  }

  .catalog-shortcuts {
    gap: 9px;
  }

  .catalog-shortcut {
    min-height: 96px;
    grid-template-columns: 38px minmax(0, 1fr);
    align-content: center;
    padding: 12px;
    gap: 9px;
  }

  .catalog-shortcut > .bi:first-child {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .catalog-shortcut > .bi:last-child {
    display: none;
  }

  .catalog-shortcut strong {
    font-size: 12px;
  }

  .catalog-shortcut small {
    font-size: 9px;
  }

  .catalog-page-hero {
    padding: 38px 0 24px;
  }

  .catalog-page-hero h1 {
    font-size: 29px;
    line-height: 1.35;
  }

  .catalog-page-hero__heading > div:first-child > p:last-child {
    font-size: 13px;
  }

  .catalog-page-hero__audience {
    width: auto;
  }

  .catalog-page-hero .catalog-shortcuts {
    margin-top: 12px;
  }

  .catalog-page-content {
    padding-top: 28px;
  }

  .catalog-applied {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 18px;
    gap: 8px;
  }

  .catalog-applied__clear {
    align-self: flex-end;
  }

  .catalog-toolbar {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-sort {
    width: 100%;
  }

  .catalog-sort select {
    min-width: 0;
    flex: 1 1 auto;
  }

  .catalog-card-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card__media {
    min-height: 210px;
  }

  .catalog-card__media img {
    height: 160px;
  }

  .catalog-card h2,
  .catalog-card__summary {
    min-height: 0;
  }

  .catalog-card__body {
    padding: 18px;
  }

  .catalog-card__actions .button {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .catalog-shortcut {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .catalog-shortcut > .bi:first-child {
    width: 34px;
    height: 34px;
  }

  .catalog-card__facts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-card__facts div,
  .catalog-card__facts div:first-child,
  .catalog-card__facts div:last-child {
    display: grid;
    grid-template-columns: 76px 1fr;
    padding: 0;
    border: 0;
  }

  .catalog-card__facts dd {
    margin-top: 0;
  }
}
