:root {
  color-scheme: light;
  --site-header-width: min(1280px, calc(100vw - 28px));
  --site-header-mobile-width: min(100% - 16px, 760px);
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f7f9fb;
  --ink: #202428;
  --muted: #65717c;
  --line: #d8dee5;
  --green: #0f766e;
  --green-soft: #e8f5f3;
  --lime: #92d82b;
  --lime-soft: #f3ffd8;
  --lime-marker: #ddf768;
  --gold: #586673;
  --blue: #2563a9;
  --danger: #a34135;
  --font-sans:
    system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Meiryo", sans-serif;
  --ease-soft: cubic-bezier(0.3, 0, 0.18, 1);
  --ease-shadow: cubic-bezier(0.24, 0, 0.18, 1);
  --ease-panel: cubic-bezier(0.28, 0, 0.18, 1);
  --shadow: 0 1px 2px rgba(25, 33, 43, 0.035), 0 8px 20px rgba(25, 33, 43, 0.045);
  --lift-shadow: 0 4px 12px rgba(25, 33, 43, 0.055), 0 28px 60px rgba(25, 33, 43, 0.105);
  --lift-shadow-soft: 0 3px 9px rgba(25, 33, 43, 0.045), 0 18px 44px rgba(25, 33, 43, 0.085);
  --hover-lift: -2px;
  --shadow-duration: 0.62s;
  --lift-duration: 0.42s;
  --image-duration: 0.68s;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition:
      opacity 0.24s var(--ease-soft),
      transform 0.24s var(--ease-soft);
  }

  body.is-page-exiting {
    opacity: 0;
    transform: translateY(4px);
  }
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(216, 222, 229, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 2px rgba(25, 33, 43, 0.04),
    0 14px 38px rgba(25, 33, 43, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.15);
}

.topbar .site-brand {
  position: relative;
  min-width: 0;
  padding-left: 42px;
  color: inherit;
  text-decoration: none;
}

.topbar .site-brand::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(37, 99, 169, 0.78)),
    #0f766e;
  box-shadow:
    0 10px 20px rgba(15, 118, 110, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  content: "";
  transform: translateY(-50%);
}

.topbar .site-brand::after {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-top: 0;
  border-left: 0;
  content: "";
  transform: translateY(-55%) rotate(45deg);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

img {
  max-width: 100%;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.24s var(--ease-soft),
    border-color 0.24s var(--ease-soft),
    box-shadow 0.42s var(--ease-shadow) 0.03s,
    color 0.24s var(--ease-soft),
    transform 0.24s var(--ease-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(232, 245, 243, 0.86);
  color: var(--green);
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.11), 0 12px 24px rgba(15, 118, 110, 0.18);
}

.app-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 24px 24px;
}

.diagnosis-tool-shell {
  width: min(calc(100vw - 32px), 2160px);
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.form-pane,
.result-pane {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.form-pane {
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
}

.result-pane {
  padding: 0;
  border: 0;
  background: transparent;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.form-result-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #b8d0c4;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.form-result-jump:hover,
.form-result-jump:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.diagnosis-form {
  display: grid;
  gap: 16px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

legend,
label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

legend {
  padding: 0 4px;
}

.segmented {
  display: grid;
  gap: 2px;
}

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

.segmented label,
.toggle-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 3px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.segmented label:has(input:checked),
.toggle-list label:has(input:checked) {
  color: var(--green);
}

.segmented input,
.toggle-list input {
  width: 15px;
  height: 15px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.measure-grid,
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.measure-grid label,
.choice-grid label {
  position: relative;
  min-width: 0;
}

input[type="number"],
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

input[type="number"] {
  padding-right: 42px;
}

.measure-grid small {
  position: absolute;
  right: 13px;
  bottom: 11px;
  color: var(--muted);
  font-weight: 800;
}

.toggle-list {
  display: grid;
  gap: 8px;
}

.install-grid {
  margin-bottom: 12px;
}

.preview-wrap {
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.window-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 10px solid #7d6a54;
  border-bottom-width: 14px;
  background: linear-gradient(180deg, #dce8ec, #f8fbfb);
  overflow: hidden;
}

.shade-fabric {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.16)),
    repeating-linear-gradient(0deg, rgba(46, 103, 88, 0.34) 0 2px, transparent 2px 16px),
    repeating-conic-gradient(from 30deg, rgba(187, 123, 36, 0.24) 0 60deg, rgba(46, 103, 88, 0.16) 0 120deg);
  background-size: auto, auto, 28px 24px;
}

.sill {
  position: absolute;
  left: -12px;
  right: -12px;
  bottom: -8px;
  height: 14px;
  background: #5f5041;
}

.result-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.result-block {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.result-block.wide {
  grid-column: auto;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 0 0 10px;
  line-height: 1.55;
}

li:last-child {
  margin-bottom: 0;
}

.result-block ul {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.result-block li {
  margin: 0;
  padding: 8px 10px;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: #fbfaf7;
}

.result-block li strong,
.result-block li span {
  display: block;
}

.result-block li strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.result-block li span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.search-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.search-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b8d0c4;
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.35;
}

.keyword-link::after {
  content: "検索";
  color: var(--blue);
  font-size: 12px;
  white-space: nowrap;
}

.match-panel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.match-panel p {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.match-list {
  display: grid;
  gap: 0;
  overflow-x: auto;
}

.table-filter-bar {
  display: grid;
  min-width: 1120px;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid #cfd9df;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 251, 0.96)),
    #fff;
  box-shadow: var(--shadow);
}

.table-filter-details {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.table-filter-summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.table-filter-summary::-webkit-details-marker {
  display: none;
}

.table-filter-summary .table-filter-head::after {
  content: "閉じる";
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #cbd8de;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.table-filter-details:not([open]) .table-filter-summary .table-filter-head::after {
  content: "開く";
}

.table-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.table-filter-head span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-filter-head strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}

.table-filter-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.table-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(170px, 1.35fr)
    minmax(84px, 0.62fr)
    minmax(94px, 0.78fr)
    minmax(118px, 0.95fr)
    minmax(118px, 0.95fr)
    minmax(132px, 1.08fr)
    minmax(118px, 0.95fr)
    minmax(118px, 0.95fr)
    minmax(112px, 0.9fr)
    64px;
  gap: 8px;
  align-items: end;
}

.table-filter-control {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.table-filter-control span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.table-filter-control input,
.table-filter-control select {
  width: 100%;
  min-height: 36px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.table-filter-control input {
  padding: 0 10px;
}

.table-filter-control select {
  padding: 0 30px 0 10px;
}

.table-filter-control input:focus,
.table-filter-control select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  outline: none;
}

.table-filter-reset {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.table-filter-reset:hover:not(:disabled),
.table-filter-reset:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.table-filter-reset:disabled {
  color: #a4adb5;
  cursor: default;
}

.comparison-table {
  display: grid;
  gap: 0;
  width: 100%;
}

.comparison-header,
.match-card {
  display: grid;
  grid-template-columns:
    54px
    minmax(190px, 1.8fr)
    minmax(72px, 0.58fr)
    minmax(82px, 0.7fr)
    minmax(76px, 0.66fr)
    minmax(78px, 0.72fr)
    minmax(90px, 0.82fr)
    minmax(82px, 0.76fr)
    minmax(70px, 0.64fr)
    minmax(72px, 0.58fr)
    minmax(72px, 0.58fr)
    minmax(108px, 0.82fr)
    minmax(88px, 0.7fr);
  min-width: 0;
}

.comparison-header {
  min-width: 1210px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--surface-strong);
  color: #3b4650;
  font-size: 12px;
  font-weight: 900;
}

.comparison-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.comparison-sort-button:hover,
.comparison-sort-button:focus-visible,
.comparison-sort-button[aria-pressed="true"] {
  color: var(--green);
  outline: none;
}

.comparison-sort-button:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.sort-mark {
  color: #8a99a5;
  font-size: 10px;
  line-height: 1;
}

.comparison-sort-button[aria-pressed="true"] .sort-mark {
  color: var(--green);
}

.comparison-header div,
.comparison-cell {
  min-width: 0;
  padding: 10px 8px;
  border-right: 1px solid var(--line);
}

.comparison-header div:last-child,
.comparison-cell:last-child {
  border-right: 0;
}

.match-card {
  min-width: 1210px;
  width: 100%;
  align-items: stretch;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: #fff;
  transition:
    background-color 0.26s var(--ease-soft),
    border-color 0.26s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.04s,
    transform var(--lift-duration) var(--ease-soft);
}

.match-card.is-best {
  border-color: var(--line);
  background: #fff;
}

.match-card.is-excluded {
  background: #fffafa;
}

.match-card.is-pinned {
  position: relative;
  z-index: 1;
  border-color: rgba(15, 118, 110, 0.38);
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.06), #fff 32%);
  box-shadow: inset 4px 0 0 var(--green), var(--shadow);
}

.match-card.is-detail-active {
  position: relative;
  z-index: 2;
  border-color: rgba(27, 94, 132, 0.42);
  background: linear-gradient(90deg, rgba(27, 94, 132, 0.08), #fff 30%);
  box-shadow: inset 4px 0 0 var(--blue), var(--lift-shadow-soft);
  transform: translateY(-1px);
}

.match-card:hover {
  border-color: #c3d1d8;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(-1px);
}

.match-card:last-child {
  border-radius: 0 0 8px 8px;
}

.match-head {
  margin-bottom: 6px;
}

.match-head h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.match-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.match-head h4 a {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.match-head h4 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.match-main {
  min-width: 0;
}

.comparison-cell {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.comparison-cell.is-condition-match {
  background: var(--green-soft);
  color: var(--green);
  box-shadow: inset 3px 0 0 var(--green);
}

.comparison-cell.is-condition-mismatch {
  background: #fff1f0;
  color: var(--danger);
  box-shadow: inset 3px 0 0 var(--danger);
}

.product-column {
  display: block;
}

.product-column.has-product-preview {
  cursor: zoom-in;
}

.product-column.has-product-preview:hover,
.product-column.has-product-preview:focus-within {
  background: #f8fbfc;
}

.product-cell-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.product-price-summary {
  display: grid;
  gap: 3px;
  margin: 8px 0;
  padding: 8px 10px;
  border: 1px solid rgba(154, 63, 18, 0.24);
  border-radius: 8px;
  background: #fff8ed;
  color: #8a330f;
}

.product-price-summary span {
  color: #9a3f12;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.product-price-summary strong {
  color: #8a330f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.product-price-summary small {
  color: #866552;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-row-button {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #c7d3d9;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.detail-row-button:hover,
.detail-row-button:focus-visible,
.detail-row-button[aria-expanded="true"] {
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.product-code {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.product-name {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: clip;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
}

.status-column {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.status-badge {
  display: block;
}

.status-column.is-status-include {
  color: var(--green);
}

.status-column.is-status-exclude {
  background: #fff1f0;
  color: var(--danger);
  box-shadow: inset 3px 0 0 var(--danger);
}

.price-column {
  display: grid;
  align-content: center;
  gap: 4px;
  color: #9a3f12;
}

.price-main {
  display: block;
  color: #8a330f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.price-sub {
  display: block;
  color: #866552;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.min-price-column .price-main {
  color: var(--green);
}

.min-price-column .price-sub {
  color: #4f6a65;
}

.pin-row-button {
  min-width: 36px;
  padding: 4px 6px;
  border: 1px solid #cfd9df;
  border-radius: 999px;
  background: #fff;
  color: #53616d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.pin-row-button:hover,
.pin-row-button:focus-visible,
.pin-row-button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.product-preview-popover {
  position: fixed;
  z-index: 200;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  width: min(360px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(216, 222, 229, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 14px rgba(25, 33, 43, 0.08), 0 26px 58px rgba(25, 33, 43, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 0.22s var(--ease-panel),
    transform 0.28s var(--ease-panel);
}

.product-preview-popover::before {
  position: absolute;
  left: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-left: 1px solid rgba(216, 222, 229, 0.95);
  border-bottom: 1px solid rgba(216, 222, 229, 0.95);
  background: rgba(255, 255, 255, 0.96);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.product-preview-popover.is-left::before {
  right: -7px;
  left: auto;
  border: 0;
  border-top: 1px solid rgba(216, 222, 229, 0.95);
  border-right: 1px solid rgba(216, 222, 229, 0.95);
}

.product-preview-popover.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-preview-image-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0 1px, transparent 1px 22px),
    #f8fbfc;
}

.product-preview-image-wrap img {
  display: block;
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.product-preview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.product-preview-label {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.product-preview-body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-preview-body span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.product-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(15, 23, 42, 0.28);
  opacity: 0;
  transition: opacity 0.26s var(--ease-soft);
}

.product-detail-backdrop.is-visible {
  opacity: 1;
}

.product-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 250;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(460px, calc(100vw - 28px));
  height: 100dvh;
  border-left: 1px solid rgba(216, 222, 229, 0.94);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -6px 0 18px rgba(15, 23, 42, 0.08), -34px 0 76px rgba(15, 23, 42, 0.19);
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.28s var(--ease-panel),
    transform 0.34s var(--ease-panel);
}

.product-detail-drawer.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.product-detail-topbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.product-detail-topbar span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-detail-close {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.product-detail-close:hover,
.product-detail-close:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.product-detail-content {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.product-detail-media {
  display: grid;
  place-items: center;
  min-height: 118px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0 1px, transparent 1px 20px),
    #f8fbfc;
}

.product-detail-media img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.product-detail-media span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-detail-intro {
  min-width: 0;
}

.product-detail-status {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.product-detail-status.is-exclude {
  background: #fff1f0;
  color: var(--danger);
}

.product-detail-intro h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.product-detail-intro p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.product-detail-primary,
.product-detail-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.product-detail-primary {
  background: var(--ink);
  color: #fff;
}

.product-detail-primary:hover,
.product-detail-primary:focus-visible {
  background: var(--green);
  outline: none;
}

.product-detail-pin {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  cursor: pointer;
}

.product-detail-pin:hover,
.product-detail-pin:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
  outline: none;
}

.product-detail-spec-grid {
  display: block;
  height: max-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-detail-spec {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  box-sizing: border-box;
  align-items: start;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.product-detail-spec:last-child {
  border-bottom: 0;
}

.product-detail-spec span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.product-detail-spec strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.product-detail-tags-wrap {
  margin-top: -2px;
}

.detail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag-list span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #41515d;
  font-size: 11px;
  font-weight: 900;
}

.product-detail-section {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-section.is-warning {
  border-color: #f0c2bd;
  background: #fffafa;
}

.product-detail-section h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
}

.product-detail-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.product-detail-section li,
.product-detail-section p {
  margin: 0;
  color: #4a5864;
  font-size: 13px;
  line-height: 1.55;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 10px;
}

.spec-item {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e2ddd4;
  border-radius: 8px;
  background: #fbfaf7;
}

.spec-item span,
.spec-item strong {
  display: block;
}

.spec-item span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.spec-item strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.empty-result {
  margin: 0;
  padding: 12px;
  border: 1px solid #e2c9bf;
  border-radius: 8px;
  background: #fff7f5;
  color: var(--danger);
  font-weight: 800;
}

.example-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.example-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.fit-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #d9bd8b;
  border-radius: 999px;
  background: #fff;
  color: #6c4514;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.product-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.review-page {
  background:
    linear-gradient(180deg, #f7f9fb 0, #fff 420px),
    #fff;
}

.review-page .topbar {
  max-width: 1240px;
}

.review-page .topbar h1 {
  font-size: clamp(24px, 3vw, 40px);
}

.review-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 52px;
}

.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 36px),
    #102f2e;
  box-shadow: 0 18px 44px rgba(18, 32, 44, 0.15);
}

.review-hero-copy,
.review-hero-panel,
.review-section,
.review-table-section,
.review-note-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.review-hero-copy {
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.review-hero-copy h2 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.review-hero-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.85;
}

.review-hero-copy .eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #bfe6de;
}

.review-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.review-score-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.review-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.review-verdict-label {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-verdict {
  margin-bottom: auto;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
}

.review-section,
.review-table-section {
  margin-bottom: 24px;
  padding: 24px;
}

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

.review-product-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    border-color 0.34s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.04s,
    transform var(--lift-duration) var(--ease-soft);
}

.review-product-card.is-pick {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.review-product-card:hover,
.review-product-card:focus-within {
  border-color: #b7cfd3;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(var(--hover-lift));
}

.review-product-media {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.06) 0 1px, transparent 1px 22px),
    #f8fbfc;
}

.review-product-media a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.review-product-media img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.review-product-body {
  min-width: 0;
}

.review-product-body h3 {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.25;
}

.review-product-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.review-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
}

.review-spec-list div {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: var(--surface-strong);
}

.review-spec-list dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.review-spec-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.review-comment {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.review-compare-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 32, 44, 0.045);
}

.review-compare-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  min-width: 860px;
  border-bottom: 1px solid var(--line);
}

.review-compare-row:last-child {
  border-bottom: 0;
}

.review-compare-row.is-head {
  background: var(--surface-strong);
  color: #3b4650;
  font-size: 12px;
  font-weight: 900;
}

.review-compare-row div {
  min-width: 0;
  padding: 12px 10px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.review-compare-row div:last-child {
  border-right: 0;
}

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

.review-note-grid article {
  padding: 22px;
}

.review-note-grid h2 {
  margin-bottom: 14px;
}

.review-note-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.review-note-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.exclude-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.exclude-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.exclude-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e2c9bf;
  border-radius: 8px;
  background: #fff;
}

.exclude-card h4 {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.35;
}

.exclude-card p {
  margin: 0 0 10px;
  font-size: 13px;
}

.exclude-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 800;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tags span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f4ece8;
  color: #7a493f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 28px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-note {
  margin: 0 0 6px;
  line-height: 1.7;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* 法務ページ */
.legal-body {
  max-width: 760px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(53, 43, 32, 0.06);
}

.legal-body section + section {
  margin-top: 18px;
}

.legal-body h2 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.legal-body p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-body ul {
  margin: 6px 0 12px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.content-shell,
.article-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 24px 30px;
}

.content-shell {
  display: grid;
  gap: 18px;
}

.intro-band,
.filter-summary,
.product-section,
.guide-block,
.article-body,
.article-side {
  min-width: 0;
  border: 1px solid rgba(132, 112, 91, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 28px;
}

.intro-band h2 {
  max-width: 820px;
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 42px);
}

.intro-band p {
  max-width: 840px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  background: var(--green);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--green);
  color: var(--green);
}

.filter-summary,
.product-section,
.guide-block {
  padding: 22px;
}

.filter-summary h2,
.guide-block h2 {
  margin-bottom: 14px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #bdd6cb;
  border-radius: 999px;
  background: #f5fbf8;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

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

.product-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    border-color 0.34s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.04s,
    transform var(--lift-duration) var(--ease-soft);
}

.product-card:hover,
.product-card:focus-within {
  border-color: #b7cfd3;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(var(--hover-lift));
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.product-image-link {
  display: block;
  margin-bottom: 14px;
}

.product-image,
.article-hero-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: var(--surface-strong);
  object-fit: cover;
}

.product-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.65;
}

.article-inline-product {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: center;
  margin: 36px 0;
  padding: 20px;
  border-radius: 8px;
  background: #f7faf8;
}

.article-inline-product .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.article-inline-product .product-image-link {
  margin: 0;
}

.article-inline-product .product-image {
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #fff;
  object-fit: contain;
}

.article-inline-product h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.article-inline-product p {
  margin: 0 0 10px;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  text-underline-offset: 3px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.is-conditional {
  background: #fff4de;
  color: #86520d;
}

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

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.article-shell-wide {
  grid-template-columns: minmax(0, 1fr);
}

.article-body {
  padding: 30px;
}

.article-body section + section {
  margin-top: 32px;
}

.article-body h2 {
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 2px solid #e5ecef;
  font-size: clamp(24px, 3vw, 34px);
}

.article-body p,
.article-body li,
.article-side li {
  line-height: 1.8;
}

.article-body p {
  color: var(--muted);
}

.article-photo {
  margin: 24px 0 30px;
}

.article-photo img {
  display: block;
  width: 100%;
  max-height: 460px;
  border-radius: 8px;
  background: var(--surface-strong);
  object-fit: cover;
}

.article-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.lead {
  font-size: 17px;
}

.text-marker {
  padding: 0 0.16em;
  background: linear-gradient(transparent 48%, #fff08a 48%);
  color: var(--ink);
  font-weight: 900;
}

.text-alert {
  color: #c62828;
  font-weight: 900;
}

.text-big {
  color: var(--ink);
  font-size: 1.14em;
  font-weight: 900;
}

.text-underline {
  color: var(--ink);
  font-weight: 900;
  text-decoration-line: underline;
  text-decoration-color: #f0b429;
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
}

.dialogue-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
}

.dialogue-line span:last-child {
  color: var(--ink);
}

.dialogue-speaker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.dialogue-a {
  background: #f1faf5;
}

.dialogue-a .dialogue-speaker {
  background: #dff2e8;
  color: #1f6b47;
}

.dialogue-b {
  background: #f2f8fd;
}

.dialogue-b .dialogue-speaker {
  background: #e1eff9;
  color: #245c84;
}

.article-note-card {
  margin: 14px 0;
  padding: 16px 18px;
  border-radius: 8px;
}

.article-note-card p {
  margin: 0;
}

.article-note-card p + p {
  margin-top: 8px;
}

.article-note-label {
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.4 !important;
}

.article-reader-voice {
  border: 1px solid #d8e8e4;
  background: #f5fbf8;
}

.article-reader-voice .article-note-label {
  color: var(--green);
}

.article-editor-note {
  border: 1px solid #d9e4ef;
  background: #f6f9fc;
}

.article-editor-note .article-note-label {
  color: var(--blue);
}

.article-scenario-line {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: #f5fbf8;
  color: var(--ink) !important;
  font-weight: 800;
}

.article-guidance-line {
  color: var(--muted);
}

.article-hero-image {
  max-height: 420px;
  margin: 20px 0 28px;
}

.ad-notice {
  padding: 12px 14px;
  border: 1px solid #e1c99e;
  border-radius: 8px;
  background: #fffaf1;
  color: #6c4514;
  font-size: 13px;
  font-weight: 800;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #bdd6cb;
  border-radius: 8px;
  background: #f5fbf8;
}

.article-related {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.article-related-heading {
  max-width: 620px;
  margin-bottom: 18px;
}

.article-related-heading h2 {
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
}

.article-related-lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related-card {
  display: grid;
  grid-template-rows: 136px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    border-color 0.34s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.04s,
    transform var(--lift-duration) var(--ease-soft);
}

.article-related-card:hover,
.article-related-card:focus-within {
  border-color: #b7cfd3;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(var(--hover-lift));
}

.article-related-media {
  display: block;
  min-width: 0;
  background: var(--surface-strong);
}

.article-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-related-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}

.article-related-category {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-related-copy h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.35;
}

.article-related-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-related-copy h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.article-related-copy p {
  display: -webkit-box;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-related-copy span {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #4b5964;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
}

.article-cta h3,
.article-cta p {
  margin-bottom: 0;
}

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

.inline-product-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.article-side {
  position: sticky;
  top: 16px;
  padding: 20px;
}

.article-side h2 {
  margin-bottom: 14px;
}

.article-side .primary-action {
  width: 100%;
  margin-top: 16px;
}

.article-page {
  background: #f4f7f8;
}

.article-page .topbar {
  max-width: 1280px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.article-page .topbar .eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.article-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  max-width: 1280px;
  min-height: 390px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3d3a;
  color: #fff;
  box-shadow: 0 18px 44px rgba(18, 32, 44, 0.15);
}

.article-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 64px);
}

.article-hero-copy .eyebrow {
  color: #a7e0d8;
}

.article-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
}

.article-hero-copy p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.article-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-hero-actions .primary-action {
  background: #fff;
  color: #0f3d3a;
}

.article-hero-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.article-hero-media {
  min-width: 0;
  margin: 0;
}

.article-hero-image {
  height: 100%;
  min-height: 390px;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.article-section-tabs {
  position: sticky;
  top: 82px;
  z-index: 42;
  display: flex;
  gap: 4px;
  max-width: 1280px;
  margin: 10px auto 22px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(210, 220, 226, 0.66);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 250, 0.68)),
    rgba(255, 255, 255, 0.76);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 14px 36px rgba(18, 32, 44, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  scrollbar-width: none;
}

.article-section-tabs::-webkit-scrollbar {
  display: none;
}

.article-section-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(31, 42, 47, 0.78);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.44s var(--ease-soft),
    border-color 0.44s var(--ease-soft),
    color 0.44s var(--ease-soft),
    transform 0.4s var(--ease-soft);
}

.article-section-tabs a:hover,
.article-section-tabs a:focus-visible {
  border-color: rgba(15, 118, 110, 0.15);
  background: rgba(232, 245, 243, 0.7);
  color: var(--green);
  transform: translateY(-1px);
  outline: none;
}

.article-page .article-shell {
  max-width: 1040px;
  padding-top: 0;
}

.article-page .article-body {
  border: 1px solid var(--line);
  background: #fff;
}

.article-section {
  scroll-margin-top: 88px;
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .diagnosis-tool-shell {
    width: auto;
    max-width: 1360px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .form-pane {
    position: static;
  }

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

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

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

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

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

  .site-nav {
    justify-content: flex-start;
  }

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

  .article-side {
    position: static;
  }

  .article-hero-panel {
    grid-template-columns: 1fr;
    margin-right: 14px;
    margin-left: 14px;
  }

  .article-index-hero {
    grid-template-columns: 1fr;
    margin-right: 14px;
    margin-left: 14px;
  }

  .diagnosis-hero {
    grid-template-columns: 1fr;
    margin-right: 14px;
    margin-left: 14px;
  }

  .diagnosis-hero-visual {
    order: -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px;
  }

  .article-index-hero-strip {
    min-height: 220px;
  }

  .article-index-featured {
    grid-template-columns: 1fr;
  }

  .article-index-featured-media {
    min-height: 220px;
  }

  .article-hero-media {
    order: -1;
  }

  .article-hero-image {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }

  .article-section-tabs {
    margin-right: 14px;
    margin-left: 14px;
  }

  .article-index-tabs {
    margin-right: 14px;
    margin-left: 14px;
  }
}

@media (max-width: 620px) {
  .topbar,
  .app-shell,
  .content-shell,
  .article-shell,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .diagnosis-tool-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .form-pane,
  .result-pane {
    padding: 16px;
  }

  .diagnosis-tool-shell .result-pane {
    order: -1;
  }

  .measure-grid,
  .choice-grid,
  .segmented,
  .result-grid,
  .search-panel,
  .match-panel,
  .example-panel,
    .exclude-panel,
    .preview-wrap,
    .guide-grid,
    .article-cta,
    .article-inline-product {
    grid-template-columns: 1fr;
  }

  .diagnosis-form,
  .measure-grid,
  .match-card,
  .table-filter-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .table-filter-bar {
    min-width: 0;
    padding: 10px;
  }

  .table-filter-details {
    gap: 8px;
  }

  .table-filter-head {
    align-items: center;
    flex-direction: row;
    gap: 6px;
  }

  .table-filter-head strong {
    font-size: 13px;
    line-height: 1.35;
  }

  .table-filter-count {
    white-space: normal;
  }

  .comparison-header {
    display: none;
  }

  .comparison-row,
  .match-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .match-card + .match-card {
    margin-top: 8px;
  }

  .comparison-cell {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-cell:last-child {
    border-bottom: 0;
  }

  .comparison-cell::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }

  .product-column {
    display: block;
  }

  .product-column::before {
    display: none;
  }

  .match-card a {
    min-height: 42px;
  }

  .product-detail-drawer {
    width: 100vw;
    border-left: 0;
  }

  .product-detail-content {
    padding: 14px;
  }

  .product-detail-hero,
  .product-detail-actions {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 150px;
  }

  .product-detail-media img {
    width: 132px;
    height: 132px;
  }

  .product-detail-spec {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }

  h1,
  h2,
  h3,
  p,
  li {
    line-break: anywhere;
    word-break: break-all;
  }

  .intro-band,
  .filter-summary,
  .product-section,
  .guide-block,
  .article-body,
  .article-side {
    padding: 18px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

  .preview-wrap {
    align-items: start;
  }

  .window-preview {
    max-width: 180px;
  }

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

/* 記事内テーブル */
.article-table {
  width: 100%;
  margin: 22px 0 26px;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
  font-size: 14px;
}

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

.article-table thead {
  background: #143d3a;
}

.article-table th {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.article-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.article-table td:first-child {
  width: 34%;
  color: #0f3d3a;
  font-weight: 900;
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .article-table {
    font-size: 13px;
  }

  .article-table th,
  .article-table td {
    padding: 10px;
  }

  .article-table td:first-child {
    width: 38%;
  }
}

/* 記事一覧ページ */
.article-index-page {
  background: #f4f7f8;
}

.diagnosis-page {
  background: #f4f7f8;
}

.article-index-page .topbar {
  max-width: 1280px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.diagnosis-page .topbar {
  max-width: 1280px;
  padding-top: 18px;
  padding-bottom: 14px;
}

.article-index-page .topbar .eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.diagnosis-page .topbar .eyebrow {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 14px;
}

.diagnosis-page .topbar h1 {
  font-size: 24px;
}

.diagnosis-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  max-width: 1280px;
  min-height: 360px;
  margin: 8px auto 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3d3a;
  color: #fff;
  box-shadow: 0 18px 44px rgba(18, 32, 44, 0.15);
}

.diagnosis-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 60px);
}

.diagnosis-hero-copy .eyebrow {
  color: #a7e0d8;
}

.diagnosis-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
}

.diagnosis-hero-copy p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.85;
}

.diagnosis-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.diagnosis-hero-actions .primary-action {
  background: #fff;
  color: #0f3d3a;
}

.diagnosis-hero-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.diagnosis-hero-visual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
}

.diagnosis-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.diagnosis-tool-shell {
  width: min(calc(100vw - 32px), 2160px);
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 920px) {
  .diagnosis-tool-shell {
    width: auto;
    max-width: 1360px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 620px) {
  .diagnosis-tool-shell {
    padding-right: 14px;
    padding-left: 14px;
  }
}

.diagnosis-page .form-pane,
.diagnosis-page .match-panel,
.diagnosis-page .search-panel,
.diagnosis-page .example-panel,
.diagnosis-page .related-articles-panel,
.diagnosis-page .preview-wrap {
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(18, 32, 44, 0.06);
}

.article-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  max-width: 1280px;
  min-height: 400px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0f3d3a;
  color: #fff;
  box-shadow: 0 18px 44px rgba(18, 32, 44, 0.15);
}

.article-index-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 64px);
}

.article-index-hero-copy .eyebrow {
  color: #a7e0d8;
}

.article-index-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
}

.article-index-hero-copy p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.85;
}

.article-index-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.article-index-hero-actions .primary-action {
  background: #fff;
  color: #0f3d3a;
}

.article-index-hero-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.article-index-hero-strip {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #d9e7e4;
  isolation: isolate;
}

.article-index-hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(15, 61, 58, 0.1), rgba(15, 61, 58, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

.article-index-hero-strip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroImageFade 18s infinite;
}

.article-index-hero-strip img:nth-child(1) {
  animation-delay: 0s;
}

.article-index-hero-strip img:nth-child(2) {
  animation-delay: 6s;
}

.article-index-hero-strip img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroImageFade {
  0%,
  7% {
    opacity: 0;
  }

  14%,
  33% {
    opacity: 1;
  }

  40%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-index-hero-strip img {
    animation: none;
  }

  .article-index-hero-strip img:first-child {
    opacity: 1;
  }
}

.article-index-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 4px;
  max-width: 1280px;
  margin: 0 auto 22px;
  padding: 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(18, 32, 44, 0.08);
}

.article-index-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.article-index-tabs a:hover,
.article-index-tabs a:focus-visible {
  border-bottom-color: var(--green);
  color: var(--green);
}

.article-index-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 34px;
}

.article-index-featured {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    border-color 0.38s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.05s,
    transform var(--lift-duration) var(--ease-soft);
}

.article-index-featured:hover,
.article-index-featured:focus-within {
  border-color: #c8d6dd;
  box-shadow: var(--lift-shadow);
  transform: translateY(-3px);
}

.article-index-featured-media {
  display: block;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface-strong);
}

.article-index-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.48s var(--ease-soft),
    transform var(--image-duration) var(--ease-soft);
}

.article-index-featured:hover .article-index-featured-media img,
.article-index-featured:focus-within .article-index-featured-media img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.article-index-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
}

.article-index-featured-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.18;
}

.article-index-featured-copy h2 a {
  color: var(--ink);
  text-decoration: none;
}

.article-index-featured-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.article-index-featured-copy .primary-action {
  align-self: flex-start;
  margin-top: 8px;
}

.article-index-group {
  margin: 30px 0 0;
  scroll-margin-top: 84px;
}

.article-index-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dce5e8;
}

.article-index-heading .eyebrow {
  margin: 0 0 4px;
}

.article-index-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.article-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.article-index-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    border-color 0.38s var(--ease-soft),
    box-shadow var(--shadow-duration) var(--ease-shadow) 0.05s,
    transform var(--lift-duration) var(--ease-soft);
}

.is-clickable-card {
  cursor: pointer;
}

.article-index-card:hover,
.article-index-card:focus-within {
  border-color: #c8d6dd;
  box-shadow: var(--lift-shadow);
  transform: translateY(-3px);
}

.article-index-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-strong);
}

.article-index-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.48s var(--ease-soft),
    transform var(--image-duration) var(--ease-soft);
}

.article-index-card:hover .article-index-card-media img,
.article-index-card:focus-within .article-index-card-media img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.03);
}

.article-index-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 18px;
}

.article-index-category {
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.article-index-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.article-index-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.article-index-card h3 a:hover {
  color: var(--green);
  text-decoration: underline;
}

.article-index-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-reveal {
    transition:
      opacity 0.48s ease,
      transform 0.48s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .motion-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(16px);
  }

  .motion-reveal.is-visible {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-index-featured,
  .article-index-card,
  .article-related-card,
  .product-card,
  .review-product-card,
  .maker-index-card,
  .product-preview-popover,
  .product-detail-backdrop,
  .product-detail-drawer,
  .site-nav a {
    transition: none;
  }

  .article-index-featured-media img,
  .article-index-card-media img {
    transition: none;
  }

  .article-index-featured:hover,
  .article-index-featured:focus-within,
  .article-index-card:hover,
  .article-index-card:focus-within,
  .article-related-card:hover,
  .article-related-card:focus-within,
  .product-card:hover,
  .product-card:focus-within,
  .review-product-card:hover,
  .review-product-card:focus-within,
  .maker-index-card:hover,
  .maker-index-card:focus-within,
  .site-nav a:hover,
  .site-nav a:focus-visible,
  .article-index-featured:hover .article-index-featured-media img,
  .article-index-featured:focus-within .article-index-featured-media img,
  .article-index-card:hover .article-index-card-media img,
  .article-index-card:focus-within .article-index-card-media img {
    transform: none;
  }
}

.article-index-target {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf1f3;
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
}

/* 記事内 商品スロット */
.article-product-slot {
  margin: 28px 0 8px;
  padding: 24px;
  background: linear-gradient(135deg, #fff8ec 0%, #fdf3e0 100%);
  border: 1px solid #ecd9b6;
  border-radius: 14px;
}

.article-product-slot h2 {
  margin: 4px 0 8px;
  font-size: 20px;
}

.article-product-slot-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.article-product-slot .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.product-tags span {
  padding: 3px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 700;
}

/* 診断結果の関連記事パネル */
.related-articles-panel {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--green-soft);
  border: 1px solid #b8d8cc;
  border-radius: 12px;
}

.related-articles-panel h3 {
  margin: 0 0 10px;
  color: var(--green);
}

.related-articles-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.related-articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-articles-list li {
  margin: 0;
}

.related-articles-list a {
  display: block;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.related-articles-list a:hover {
  transform: translateY(-1px);
  border-color: var(--green);
  color: var(--green);
}

/* モバイル微調整 */
@media (max-width: 720px) {
  .article-product-slot {
    padding: 18px 16px;
  }

  .article-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .article-cta .primary-action {
    text-align: center;
  }

  .topbar {
    padding: 18px 14px 12px;
  }

  .topbar h1 {
    font-size: 22px;
    line-height: 1.4;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .article-index-group {
    padding: 0 14px;
  }

  .article-index-grid {
    grid-template-columns: 1fr;
  }

  .article-index-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .article-index-hero-copy {
    padding: 24px 22px 26px;
  }

  .diagnosis-hero-copy {
    padding: 24px 22px 26px;
  }

  .article-index-hero-copy h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .diagnosis-hero-copy h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .article-index-hero-copy p {
    font-size: 14px;
  }

  .diagnosis-hero-copy p {
    font-size: 14px;
  }

  .article-index-hero-actions {
    flex-direction: column;
  }

  .diagnosis-hero-actions {
    flex-direction: column;
  }

  .article-index-hero-actions .primary-action,
  .article-index-hero-actions .secondary-action {
    width: 100%;
  }

  .diagnosis-hero-actions .primary-action,
  .diagnosis-hero-actions .secondary-action {
    width: 100%;
  }

  .article-index-tabs {
    padding: 0 10px;
  }

  .article-index-tabs a {
    min-height: 48px;
    padding: 0 10px;
    font-size: 13px;
  }

  .article-index-featured-copy {
    padding: 22px;
  }

  .article-index-featured-copy .primary-action {
    width: 100%;
  }

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

  .article-related {
    padding: 18px;
  }

  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .article-related-card {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .article-related-media {
    min-height: 100%;
  }

  .related-articles-list {
    grid-template-columns: 1fr;
  }

  .article-hero-image {
    width: 100%;
    height: auto;
  }

  .article-hero-copy {
    padding: 24px 22px 26px;
  }

  .article-hero-copy h1 {
    font-size: 28px;
    line-height: 1.18;
  }

  .article-hero-copy p {
    font-size: 14px;
  }

  .article-hero-actions {
    flex-direction: column;
  }

  .article-hero-actions .primary-action,
  .article-hero-actions .secondary-action {
    width: 100%;
  }

  .article-section-tabs {
    padding: 0 10px;
  }

  .article-section-tabs a {
    min-height: 48px;
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 920px) {
  .review-hero,
  .review-product-grid,
  .review-note-grid {
    grid-template-columns: 1fr;
  }

  .review-product-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .review-product-media {
    min-height: 116px;
  }

  .review-product-media img {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 620px) {
  .review-shell {
    padding: 8px 14px 36px;
  }

  .review-hero-copy,
  .review-hero-panel,
  .review-section,
  .review-table-section,
  .review-note-grid article {
    padding: 18px;
  }

  .review-hero-copy h2 {
    font-size: 30px;
    line-height: 1.14;
  }

  .review-hero-copy p {
    font-size: 14px;
  }

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

  .review-product-media {
    min-height: 150px;
  }

  .review-product-media img {
    width: 128px;
    height: 128px;
  }

  .review-spec-list {
    grid-template-columns: 1fr;
  }

  .review-product-card .product-link,
  .review-hero-panel .primary-action {
    width: 100%;
  }
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  max-width: 1280px;
  min-height: 510px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #102f2e;
  color: #fff;
  box-shadow: 0 18px 44px rgba(18, 32, 44, 0.16);
}

.story-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(30px, 5vw, 68px);
}

.story-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #bfe6de;
  font-size: 12px;
  font-weight: 900;
}

.story-hero-copy h2 {
  max-width: 820px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(38px, 5.7vw, 74px);
  line-height: 1.05;
}

.story-hero-copy p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.9;
}

.story-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.story-hero-actions .primary-action {
  background: #fff;
  color: #102f2e;
}

.story-hero-actions .secondary-action {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
}

.story-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  background: #dfe9e6;
}

.story-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.story-hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 300px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(18, 32, 44, 0.22);
}

.story-hero-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.story-hero-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.4;
}

.story-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 4px;
  max-width: 1280px;
  margin: 0 auto 24px;
  padding: 0 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(18, 32, 44, 0.08);
}

.story-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.story-tabs a:hover,
.story-tabs a:focus-visible {
  border-bottom-color: var(--green);
  color: var(--green);
}

.story-lead-panel,
.story-layout,
.story-check-section,
.story-compare-section,
.story-final-cta {
  max-width: 1120px;
  margin: 0 auto 24px;
}

.story-lead-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.story-lead-panel h2,
.story-main h2,
.story-check-copy h2,
.story-final-cta h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
}

.story-lead-panel p,
.story-main p,
.story-check-copy p,
.story-final-cta p {
  color: var(--muted);
  line-height: 1.9;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.story-main,
.story-product-card,
.story-check-section,
.story-compare-section,
.story-final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.story-main {
  min-width: 0;
  padding: 34px;
}

.story-large-text {
  max-width: 760px;
  color: var(--ink) !important;
  font-size: 19px;
  font-weight: 900;
}

.story-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.story-feature-strip div,
.story-match-grid article,
.story-check-list article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.story-feature-strip span,
.story-check-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.story-feature-strip strong,
.story-match-grid strong,
.story-check-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.story-feature-strip p,
.story-match-grid p,
.story-check-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.story-wide-photo {
  margin: 26px 0 30px;
}

.story-wide-photo img {
  display: block;
  width: 100%;
  max-height: 430px;
  border-radius: 8px;
  object-fit: cover;
}

.story-wide-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.story-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}

.story-product-card {
  position: sticky;
  top: 76px;
  min-width: 0;
  padding: 20px;
}

.story-badge {
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.story-product-image {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.story-product-image img {
  width: 144px;
  height: 144px;
  object-fit: contain;
}

.story-product-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.story-product-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.story-spec-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.story-spec-list div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.story-spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.story-spec-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.story-product-card .primary-action {
  width: 100%;
}

.story-card-note {
  margin: 12px 0 0;
  font-size: 11px !important;
}

.story-check-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 24px;
  padding: 30px;
}

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

.story-compare-section {
  padding: 30px;
}

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

.story-compare-grid article {
  min-width: 0;
  padding: 22px;
  border-radius: 8px;
}

.story-compare-grid h3 {
  font-size: 20px;
}

.story-compare-grid li {
  line-height: 1.8;
}

.story-good {
  border: 1px solid #b8d8cc;
  background: #f4fbf8;
}

.story-caution {
  border: 1px solid #ecd9b6;
  background: #fffaf1;
}

.story-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: center;
  padding: 30px;
}

.story-final-actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 920px) {
  .story-hero,
  .story-lead-panel,
  .story-layout,
  .story-check-section,
  .story-final-cta {
    grid-template-columns: 1fr;
  }

  .story-hero {
    margin-right: 14px;
    margin-left: 14px;
  }

  .story-hero-visual {
    order: -1;
  }

  .story-hero-visual img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

  .story-tabs {
    margin-right: 14px;
    margin-left: 14px;
  }

  .story-lead-panel,
  .story-layout,
  .story-check-section,
  .story-compare-section,
  .story-final-cta {
    margin-right: 14px;
    margin-left: 14px;
  }

  .story-product-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .story-hero-copy,
  .story-lead-panel,
  .story-main,
  .story-product-card,
  .story-check-section,
  .story-compare-section,
  .story-final-cta {
    padding: 20px;
  }

  .story-hero-copy h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .story-hero-copy p {
    font-size: 14px;
  }

  .story-hero-actions,
  .story-final-actions {
    grid-template-columns: 1fr;
  }

  .story-hero-actions .primary-action,
  .story-hero-actions .secondary-action,
  .story-final-actions .primary-action,
  .story-final-actions .secondary-action {
    width: 100%;
  }

  .story-tabs {
    padding: 0 10px;
  }

  .story-tabs a {
    min-height: 48px;
    padding: 0 10px;
    font-size: 13px;
  }

  .story-feature-strip,
  .story-match-grid,
  .story-check-list,
  .story-compare-grid {
    grid-template-columns: 1fr;
  }

  .story-hero-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
}

/* 記事ページ 商品紹介寄せレイアウト */
.article-page .article-shell {
  max-width: 1120px;
}

.article-page .article-body {
  counter-reset: articleSection;
  padding: 0;
  border: 0;
  background: transparent;
}

.article-story-hero-panel {
  height: 430px;
  min-height: 430px;
  background: #102f2e;
}

.article-story-hero-panel .article-hero-copy,
.article-story-hero-panel .article-hero-media {
  height: 100%;
  min-height: 0;
}

.article-story-hero-panel .article-hero-copy {
  padding: clamp(24px, 4vw, 44px);
}

.article-story-hero-panel .article-hero-copy h1 {
  max-width: 560px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  text-wrap: balance;
}

.article-story-hero-panel .article-hero-copy p {
  max-width: 560px;
}

.article-story-hero-panel .article-hero-media {
  position: relative;
  overflow: hidden;
  background: #dfe9e6;
}

.article-story-hero-panel .article-hero-image {
  height: 100%;
  min-height: 430px;
}

.article-hero-floating-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 310px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 36px rgba(18, 32, 44, 0.22);
}

.article-hero-floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.article-hero-floating-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
}

.article-hook-panel,
.article-momentum-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.article-page .ad-notice {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #7a8791;
  font-size: 12px;
}

.article-hook-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 20px;
  margin-bottom: 18px;
  padding: 28px;
}

.article-hook-copy h2 {
  margin: 0 0 10px;
  border: 0;
  padding: 0;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.18;
}

.article-hook-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.article-hook-list {
  min-width: 0;
  padding: 18px;
  border-radius: 8px;
  background: #f8fbfc;
}

.article-hook-list p {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.article-hook-list ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.article-hook-list li {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.55;
}

.article-hook-list a {
  color: inherit;
  text-decoration: none;
}

.article-hook-list a:hover {
  color: var(--green);
  text-decoration: underline;
}

.article-story-intro,
.article-section {
  margin: 0;
  padding: clamp(52px, 7vw, 88px) 0;
  border: 0;
  border-bottom: 1px solid rgba(216, 222, 229, 0.62);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.article-story-intro {
  padding-top: clamp(40px, 6vw, 70px);
}

.article-story-intro .lead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
}

.article-section {
  counter-increment: articleSection;
  scroll-margin-top: 88px;
}

.article-section + .article-section {
  margin-top: 0;
}

.article-body .article-section > h2 {
  display: block;
  max-width: 860px;
  margin: 0 auto 28px;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.article-body .article-section > h2::before {
  content: counter(articleSection, decimal-leading-zero);
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 12px;
  border-radius: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.article-body .article-section h3 {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: 21px;
}

.article-body .article-section p,
.article-body .article-section li,
.article-story-intro p {
  color: #52606b;
  font-size: 16px;
  line-height: 2;
}

.article-story-intro > p,
.article-section > p,
.article-section > ul,
.article-section > ol {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.article-story-intro > p + p,
.article-section > p + p {
  margin-top: 1.1em;
}

.article-body .article-section ul,
.article-body .article-section ol {
  padding-left: 1.35em;
}

.article-body .article-section li + li {
  margin-top: 6px;
}

.article-page .article-photo {
  margin: 42px 0 46px;
}

.article-momentum-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #f4fbf8 0%, #ffffff 100%);
}

.article-momentum-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.article-momentum-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.article-product-slot-story {
  margin: 0 0 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.article-product-slot-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.article-product-slot-story h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.article-product-slot-story .article-product-slot-note {
  margin: 0;
  text-align: left;
}

.article-product-slot-story .product-card {
  box-shadow: 0 8px 18px rgba(18, 32, 44, 0.05);
}

.article-product-slot-story .product-image {
  background: #fff;
  object-fit: contain;
}

.article-page .article-photo img {
  max-height: 520px;
  border-radius: 12px;
}

.article-page .article-related {
  margin-top: 0;
}

/* Single-product stories keep one editorial axis and let the product image lead. */
.product-review-page .article-story-intro,
.product-review-page .article-section {
  padding: clamp(36px, 4.8vw, 60px) 0;
}

.product-review-page .article-story-intro {
  padding-top: clamp(32px, 4vw, 50px);
}

.product-review-page .article-body .article-section > h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
}

.product-review-page .article-body .article-section > h2::before {
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 12px;
}

.product-review-page .article-body .article-section p,
.product-review-page .article-body .article-section li,
.product-review-page .article-story-intro p {
  color: #4f5b65;
  font-size: 15.5px;
  line-height: 1.82;
}

.product-review-page .article-story-intro > p + p,
.product-review-page .article-section > p + p {
  margin-top: 0.82em;
}

.product-review-page .text-marker {
  background: linear-gradient(transparent 56%, var(--lime-marker) 56%);
}

.product-review-page .article-story-intro > p,
.product-review-page .article-section > h2,
.product-review-page .article-section > p,
.product-review-page .article-section > ul,
.product-review-page .article-section > ol,
.product-review-page .article-story-intro > .article-table,
.product-review-page .article-section > .article-table,
.product-review-page .article-photo,
.product-review-page .article-inline-product,
.product-review-page .article-cta,
.product-review-page .article-related {
  width: min(100%, 860px);
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.product-review-page .article-story-intro > .article-table,
.product-review-page .article-section > .article-table {
  margin-top: 24px;
  margin-bottom: 8px;
}

.product-review-page .article-photo {
  margin-top: 30px;
  margin-bottom: 8px;
}

.product-review-page .article-inline-product {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 32px;
  margin-bottom: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 222, 229, 0.86);
  border-radius: 16px;
  background: #f5f5f7;
}

.product-review-page .article-inline-product .product-image-link {
  padding: clamp(18px, 4vw, 34px);
  background: #fff;
}

.product-review-page .article-inline-product .product-image {
  aspect-ratio: 16 / 10;
  max-height: 560px;
  border-radius: 10px;
  object-fit: contain;
}

.product-review-page .article-inline-product > div {
  padding: 24px clamp(20px, 4vw, 34px) 30px;
}

.product-review-page .article-inline-product h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
}

.product-review-page .article-inline-product p {
  max-width: 680px;
  margin-bottom: 14px;
}

.product-review-page .article-story-hero-panel .article-hero-media {
  background: #fff;
}

.article-product-hero-link {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 18px;
  place-items: center;
  background: #fff;
}

.product-review-page .article-story-hero-panel .article-hero-image {
  min-height: 0;
  object-fit: contain;
}

.article-product-hero-label {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.12);
}

@media (max-width: 920px) {
  .article-story-hero-panel {
    height: auto;
    min-height: 0;
  }

  .article-story-hero-panel .article-hero-image {
    min-height: 260px;
  }

  .article-hook-panel,
  .article-product-slot-heading,
  .article-momentum-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .article-page .article-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .article-hook-panel,
  .article-momentum-card,
  .article-product-slot-story {
    padding: 20px;
  }

  .article-story-intro,
  .article-section {
    padding: 40px 4px;
  }

  .article-body .article-section > h2 {
    margin-bottom: 22px;
    font-size: 30px;
  }

  .article-body .article-section > h2::before {
    margin-bottom: 10px;
  }

  .article-body .article-section p,
  .article-body .article-section li,
  .article-story-intro p {
    font-size: 15px;
    line-height: 1.95;
  }

  .product-review-page .article-inline-product .product-image {
    aspect-ratio: 4 / 3;
  }

  .article-product-hero-link {
    padding: 12px;
  }

  .article-story-hero-panel .article-hero-copy h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .product-review-page .article-story-hero-panel .article-hero-copy h1 {
    line-break: strict;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .article-hero-floating-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .article-momentum-card .secondary-action {
    width: 100%;
  }
}

/* KeeGo SEO landing */
.keego-seo-page {
  background: #f6f8fa;
}

.keego-seo-page main {
  padding-bottom: 42px;
}

.keego-photo-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  align-items: end;
  gap: clamp(22px, 4vw, 56px);
  width: min(1440px, calc(100vw - 28px));
  min-height: clamp(540px, calc(100svh - 118px), 760px);
  margin: 12px auto 24px;
  padding: clamp(24px, 4.4vw, 64px);
  overflow: hidden;
  border-radius: 14px;
  background: #0c1a1c;
  color: #fff;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 30px 84px rgba(18, 32, 44, 0.2);
  isolation: isolate;
}

.keego-photo-hero .home-photo-slideshow::after {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(4, 10, 12, 0.78), rgba(4, 10, 12, 0.34) 48%, rgba(4, 10, 12, 0.6)),
    linear-gradient(180deg, rgba(4, 10, 12, 0.22), rgba(4, 10, 12, 0.08) 38%, rgba(4, 10, 12, 0.72));
}

.keego-photo-hero .home-photo-slide {
  filter: saturate(1.02) contrast(1.05);
  object-position: center;
}

.keego-photo-copy,
.keego-photo-panel {
  position: relative;
  z-index: 3;
}

.keego-photo-copy {
  max-width: 720px;
}

.keego-photo-copy h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.keego-photo-copy h1 span {
  display: block;
}

.keego-photo-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 700;
  line-height: 1.82;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.26);
}

.keego-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keego-photo-actions .primary-action,
.keego-photo-actions .secondary-action {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}

.keego-photo-actions .primary-action:hover,
.keego-photo-actions .primary-action:focus-visible,
.keego-photo-actions .secondary-action:hover,
.keego-photo-actions .secondary-action:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.keego-photo-panel {
  align-self: end;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.keego-photo-panel .review-verdict-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.keego-photo-panel strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.keego-photo-panel > span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.keego-photo-product-grid {
  display: grid;
  gap: 10px;
}

.keego-photo-product-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.32s var(--ease-soft),
    background-color 0.32s var(--ease-soft),
    border-color 0.32s var(--ease-soft);
}

.keego-photo-product-card:hover,
.keego-photo-product-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.keego-photo-product-card img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
}

.keego-photo-product-card span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.keego-hero,
.keego-summary,
.keego-tension-focus,
.keego-answer-box,
.keego-difference,
.keego-breakdown,
.keego-picks,
.keego-table-section,
.keego-faq {
  max-width: 1240px;
  margin: 0 auto 22px;
}

.keego-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
  padding: 0 24px;
}

.keego-hero-copy,
.keego-hero-panel,
.keego-summary,
.keego-tension-focus,
.keego-answer-box,
.keego-difference,
.keego-breakdown,
.keego-picks,
.keego-table-section,
.keego-faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.keego-hero-copy {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(135deg, #0f3c39 0%, #153d52 100%);
  color: #fff;
}

.keego-hero-copy h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
}

.keego-hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.9;
}

.keego-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 26px;
}

.keego-hero-panel strong {
  display: block;
  font-size: 36px;
  line-height: 1.1;
}

.keego-hero-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.keego-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.7fr);
  gap: 22px;
  padding: 30px;
}

.keego-summary h2,
.keego-answer-box h2,
.keego-difference h2,
.keego-breakdown h2,
.keego-picks h2,
.keego-table-section h2,
.keego-faq h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
}

.keego-summary p {
  color: var(--muted);
  line-height: 1.9;
}

.keego-answer-box,
.keego-tension-focus,
.keego-difference,
.keego-breakdown,
.keego-picks,
.keego-table-section,
.keego-faq {
  padding: 28px;
}

.keego-answer-box {
  overflow: hidden;
}

.keego-choice-table {
  margin: 0;
}

.keego-choice-table td:nth-child(2) {
  min-width: 180px;
  color: var(--green);
  font-weight: 900;
}

.keego-choice-table td,
.keego-choice-table th {
  vertical-align: top;
}

.keego-tension-focus {
  display: grid;
  gap: 22px;
  scroll-margin-top: 92px;
  padding: clamp(22px, 3.2vw, 34px);
}

.keego-tension-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.keego-tension-lead h2 {
  max-width: 840px;
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
}

.keego-tension-lead p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.keego-price-proof {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e3d29a;
  border-radius: 8px;
  background: #fff8dc;
}

.keego-price-proof span {
  color: #6f5200;
  font-size: 12px;
  font-weight: 900;
}

.keego-price-proof strong {
  color: #1f2933;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.keego-price-proof p {
  color: #665b39;
  font-size: 12px;
  line-height: 1.65;
}

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

.keego-tension-benefits article,
.keego-flow-card,
.keego-exception-routes article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-tension-benefits article {
  padding: 18px;
}

.keego-tension-benefits span {
  display: block;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.keego-tension-benefits h3,
.keego-flow-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.keego-tension-benefits p,
.keego-flow-card p,
.keego-exception-routes p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

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

.keego-flow-card {
  position: relative;
  padding: 18px;
}

.keego-flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 18px;
  color: var(--green);
  content: "→";
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.keego-flow-card > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.keego-flow-card.is-primary {
  border-color: rgba(15, 118, 110, 0.34);
  background:
    linear-gradient(135deg, rgba(221, 247, 104, 0.3), rgba(255, 255, 255, 0.9)),
    #f8fbfc;
}

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

.keego-price-proof-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d8e2e7;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.keego-price-proof-card:hover,
.keego-price-proof-card:focus-visible {
  border-color: #b7cfd3;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(-2px);
}

.keego-price-proof-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.keego-price-proof-card strong {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.15;
}

.keego-price-proof-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

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

.keego-exception-routes article {
  padding: 16px;
}

.keego-exception-routes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.keego-feature-focus {
  max-width: 1240px;
  margin: 0 auto 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.keego-feature-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(243, 255, 216, 0.75), rgba(255, 255, 255, 0.92) 45%),
    #fff;
}

.keego-feature-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.keego-feature-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.keego-feature-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding-left: 1.2em;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.keego-feature-media {
  min-width: 0;
}

.keego-feature-media .product-image-link {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfc;
}

.keego-feature-media .product-image {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.keego-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.keego-feature-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-feature-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.keego-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.keego-feature-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.keego-feature-table-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfc;
}

.keego-feature-table-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.keego-feature-table-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.keego-feature-table {
  min-width: 980px;
  margin: 0;
}

.keego-feature-table th,
.keego-feature-table td {
  vertical-align: top;
}

.keego-feature-table th a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.45;
}

.keego-feature-table th a:hover {
  color: var(--green);
  text-decoration: underline;
}

.keego-feature-rank {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.keego-difference {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.keego-difference p {
  max-width: 940px;
  color: var(--muted);
  line-height: 1.9;
}

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

.keego-stat-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-stat-grid span {
  display: block;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.keego-stat-grid p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

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

.keego-pill-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-pill-panel h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.keego-pill-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keego-pill-panel span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #cdd7df;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.keego-pill-panel strong {
  color: var(--ink);
}

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

.keego-pick-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.keego-pick-card .status-pill {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0;
}

.keego-pick-card .product-image-link {
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-pick-card .product-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.keego-pick-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.keego-pick-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.keego-card-specs {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.keego-card-specs div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.keego-card-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.keego-card-specs dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

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

.keego-table {
  min-width: 1040px;
  margin: 0;
}

.keego-table th:first-child,
.keego-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

.keego-table a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.keego-product-name-link {
  display: block;
  min-width: 260px;
  max-width: 380px;
  color: var(--ink) !important;
  line-height: 1.45;
}

.keego-product-id {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.keego-faq {
  display: grid;
  gap: 12px;
}

.keego-faq details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.keego-faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.keego-faq p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.maker-index-list {
  max-width: 1240px;
  margin: 0 auto 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 32, 44, 0.06);
}

.maker-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.maker-index-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: 0 8px 22px rgba(18, 32, 44, 0.045);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.maker-index-card > * {
  min-width: 0;
  max-width: 100%;
}

.maker-index-card:hover,
.maker-index-card:focus-within {
  border-color: #b7cfd3;
  box-shadow: var(--lift-shadow-soft);
  transform: translateY(-3px);
}

.maker-index-card .product-image-link {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.maker-index-card .product-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.maker-index-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.maker-index-card h2 a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.maker-index-card h2 a:hover {
  color: var(--green);
}

.maker-index-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.maker-index-card .product-tags {
  min-width: 0;
  max-width: 100%;
}

.maker-index-card .product-tags span {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.maker-spec-table {
  min-width: 720px;
  margin: 0;
}

.maker-spec-table th {
  width: 180px;
  background: #f8fbfc;
  color: var(--ink);
}

@media (max-width: 980px) {
  .keego-photo-hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 720px;
  }

  .keego-photo-panel {
    max-width: 560px;
  }

  .keego-hero,
  .keego-summary,
  .keego-tension-lead,
  .keego-answer-box,
  .keego-feature-verdict,
  .keego-difference,
  .keego-breakdown {
    grid-template-columns: 1fr;
  }

  .keego-tension-benefits,
  .keego-decision-flow,
  .keego-price-proof-grid,
  .keego-exception-routes {
    grid-template-columns: 1fr;
  }

  .keego-flow-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -18px;
    left: 28px;
    content: "↓";
    transform: none;
  }

  .keego-feature-grid {
    grid-template-columns: 1fr;
  }

  .keego-feature-table-head {
    display: grid;
  }

  .keego-pick-grid {
    grid-template-columns: 1fr;
  }

  .maker-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .keego-photo-hero {
    width: min(100% - 16px, 760px);
    min-height: 690px;
    padding: 22px;
    border-radius: 12px;
  }

  .keego-photo-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .keego-photo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .keego-photo-actions .primary-action,
  .keego-photo-actions .secondary-action {
    justify-content: center;
  }

  .keego-photo-panel {
    padding: 16px;
  }

  .keego-photo-product-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .keego-photo-product-card img {
    width: 54px;
    height: 54px;
  }

  .keego-hero {
    padding: 0 14px;
  }

  .keego-summary,
  .keego-tension-focus,
  .keego-answer-box,
  .keego-feature-focus,
  .keego-difference,
  .keego-breakdown,
  .keego-picks,
  .keego-table-section,
  .keego-faq,
  .maker-index-list {
    margin-right: 14px;
    margin-left: 14px;
    padding: 20px;
  }

  .keego-hero-copy,
  .keego-hero-panel {
    padding: 20px;
  }

  .keego-hero-copy h1 {
    font-size: 33px;
  }

  .keego-stat-grid,
  .keego-feature-grid,
  .keego-pick-card {
    grid-template-columns: 1fr;
  }

  .keego-pick-card .product-image-link {
    width: 100%;
  }
}

/* Unified Dynamic Island style header */
.topbar {
  top: 12px;
  align-items: center;
  width: var(--site-header-width);
  max-width: var(--site-header-width);
  margin: 14px auto 0;
  padding: 7px;
  gap: 8px;
  border: 1px solid rgba(210, 220, 226, 0.66);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 250, 0.62)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.035),
    0 18px 48px rgba(18, 32, 44, 0.115),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  transition:
    background-color 0.56s var(--ease-soft),
    border-color 0.56s var(--ease-soft),
    box-shadow 0.68s var(--ease-shadow),
    transform 0.48s var(--ease-soft);
}

.article-page .topbar,
.article-index-page .topbar,
.diagnosis-page .topbar,
.keego-seo-page .topbar,
.review-page .topbar {
  width: var(--site-header-width);
  max-width: var(--site-header-width);
  padding: 7px;
}

.topbar:hover,
.topbar:focus-within {
  border-color: rgba(190, 207, 214, 0.84);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 250, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.055),
    0 24px 60px rgba(18, 32, 44, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.topbar .site-brand {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 4px 16px 4px 10px;
  border: 1px solid rgba(209, 222, 226, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 1px 2px rgba(18, 32, 44, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    background-color 0.52s var(--ease-soft),
    border-color 0.52s var(--ease-soft),
  box-shadow 0.62s var(--ease-shadow);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.topbar .site-brand:hover,
.topbar .site-brand:focus-visible {
  border-color: rgba(15, 118, 110, 0.24);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 2px 7px rgba(18, 32, 44, 0.055),
    0 12px 26px rgba(15, 118, 110, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  outline: none;
}

.topbar .site-brand::before {
  position: static;
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 0;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background:
    linear-gradient(30deg, transparent 42%, rgba(255, 255, 255, 0.42) 43% 57%, transparent 58%),
    linear-gradient(150deg, transparent 42%, rgba(255, 255, 255, 0.34) 43% 57%, transparent 58%),
    linear-gradient(90deg, rgba(13, 135, 123, 0.96), rgba(64, 125, 184, 0.86));
  box-shadow:
    0 8px 18px rgba(15, 118, 110, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  content: "";
  transform: none;
}

.topbar .site-brand::after {
  position: absolute;
  left: 28px;
  top: 50%;
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    -8px 0 0 rgba(255, 255, 255, 0.24),
    8px 0 0 rgba(255, 255, 255, 0.24),
    0 -7px 0 rgba(255, 255, 255, 0.18),
    0 7px 0 rgba(255, 255, 255, 0.18);
  content: "";
  transform: translateY(-50%);
}

.topbar .eyebrow {
  margin: 0 !important;
  color: #173133 !important;
  font-size: 13px !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

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

.topbar .site-nav {
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
  margin: -3px -2px;
  padding: 3px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar .site-nav::-webkit-scrollbar {
  display: none;
}

.topbar .site-nav a {
  min-height: 38px;
  padding: 0 13px;
  border-color: transparent;
  border-radius: 999px;
  color: rgba(31, 42, 47, 0.78);
  font-size: 13px;
  font-weight: 800;
  transition:
    background-color 0.5s var(--ease-soft),
    border-color 0.5s var(--ease-soft),
    box-shadow 0.62s var(--ease-shadow) 0.04s,
    color 0.5s var(--ease-soft),
    transform 0.46s var(--ease-soft);
}

.topbar .site-nav a:hover,
.topbar .site-nav a:focus-visible {
  border-color: rgba(15, 118, 110, 0.14);
  background: rgba(232, 245, 243, 0.68);
  color: var(--green);
  box-shadow: none;
  transform: translateY(-1px);
}

.topbar .site-nav a[aria-current="page"] {
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.92);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(15, 118, 110, 0.12),
    0 12px 26px rgba(15, 118, 110, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@media (max-width: 920px) {
  .topbar {
    top: 8px;
    align-items: stretch;
    flex-direction: column;
    width: var(--site-header-mobile-width);
    max-width: var(--site-header-mobile-width);
    padding: 7px;
    border-radius: 26px;
  }

  .article-page .topbar,
  .article-index-page .topbar,
  .diagnosis-page .topbar,
  .keego-seo-page .topbar,
  .review-page .topbar {
    width: var(--site-header-mobile-width);
    max-width: var(--site-header-mobile-width);
    padding: 7px;
  }

  .topbar .site-brand {
    justify-content: center;
    width: 100%;
    min-height: 40px;
  }

  .topbar .site-nav {
    justify-content: flex-start;
    width: 100%;
    margin: -3px -2px;
    padding: 3px 2px;
  }

  .topbar .site-nav a {
    min-height: 36px;
    padding: 0 12px;
  }
}

@media (max-width: 520px) {
  .topbar .eyebrow {
    font-size: 12px !important;
  }

  .topbar .site-brand::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}

.article-body .article-section {
  scroll-margin-top: 150px;
}

.article-index-tabs,
.story-tabs {
  top: 82px;
  z-index: 42;
  margin-top: 10px;
  padding: 6px;
  border: 1px solid rgba(210, 220, 226, 0.66);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 250, 0.68)),
    rgba(255, 255, 255, 0.76);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 14px 36px rgba(18, 32, 44, 0.095),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  scrollbar-width: none;
}

.article-index-tabs::-webkit-scrollbar,
.story-tabs::-webkit-scrollbar {
  display: none;
}

.article-index-tabs a,
.story-tabs a {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(31, 42, 47, 0.78);
  font-size: 13px;
  transition:
    background-color 0.44s var(--ease-soft),
    border-color 0.44s var(--ease-soft),
    color 0.44s var(--ease-soft),
    transform 0.4s var(--ease-soft);
}

.article-index-tabs a:hover,
.article-index-tabs a:focus-visible,
.story-tabs a:hover,
.story-tabs a:focus-visible {
  border-color: rgba(15, 118, 110, 0.15);
  background: rgba(232, 245, 243, 0.7);
  color: var(--green);
  transform: translateY(-1px);
  outline: none;
}

.article-index-group,
.keego-summary,
.keego-answer-box,
.keego-feature-focus,
.keego-difference,
.keego-breakdown,
.keego-picks,
.keego-table-section,
.keego-faq,
.story-section,
.content-shell section,
.legal-body section {
  scroll-margin-top: 150px;
}

.diagnosis-page .form-pane {
  top: 88px;
  max-height: calc(100vh - 106px);
}

.story-product-card {
  top: 94px;
}

@media (max-width: 920px) {
  .article-section-tabs {
    top: 136px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 6px;
    border-radius: 22px;
  }

  .article-section-tabs a {
    min-height: 36px;
    padding: 0 12px;
  }

  .article-body .article-section {
    scroll-margin-top: 194px;
  }

  .article-index-tabs,
  .story-tabs {
    top: 136px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 6px;
    border-radius: 22px;
  }

  .article-index-tabs a,
  .story-tabs a {
    min-height: 36px;
    padding: 0 12px;
  }

  .article-index-group,
  .keego-summary,
  .keego-answer-box,
  .keego-feature-focus,
  .keego-difference,
  .keego-breakdown,
  .keego-picks,
  .keego-table-section,
  .keego-faq,
  .story-section,
  .content-shell section,
  .legal-body section {
    scroll-margin-top: 194px;
  }

  .diagnosis-page .form-pane {
    top: 0;
    max-height: none;
  }

  .story-product-card {
    top: 0;
  }
}

@media (max-width: 520px) {
  .article-section-tabs,
  .article-index-tabs,
  .story-tabs {
    top: 132px;
  }
}

/* Homepage article card lift motion */
.article-index-featured,
.article-index-card {
  position: relative;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  transition:
    border-color 0.56s var(--ease-soft),
    box-shadow 0.82s var(--ease-shadow) 0.04s,
    transform 0.62s var(--ease-soft),
    background-color 0.52s var(--ease-soft);
}

.article-index-featured::after,
.article-index-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 18% 0%, rgba(15, 118, 110, 0.08), transparent 36%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.68s var(--ease-soft);
}

.article-index-featured > *,
.article-index-card > * {
  position: relative;
  z-index: 2;
}

.article-index-featured:hover,
.article-index-featured:focus-within,
.article-index-featured.is-card-hovered,
.article-index-card:hover,
.article-index-card:focus-within,
.article-index-card.is-card-hovered {
  border-color: rgba(157, 184, 192, 0.9);
  background-color: #fff;
  box-shadow:
    0 3px 9px rgba(15, 23, 42, 0.04),
    0 18px 42px rgba(18, 32, 44, 0.08),
    0 42px 82px rgba(18, 32, 44, 0.08);
  transform: translate3d(0, -5px, 0);
}

.article-index-featured:hover::after,
.article-index-featured:focus-within::after,
.article-index-featured.is-card-hovered::after,
.article-index-card:hover::after,
.article-index-card:focus-within::after,
.article-index-card.is-card-hovered::after {
  opacity: 1;
}

.article-index-featured-media,
.article-index-card-media {
  position: relative;
  z-index: 0;
}

.article-index-featured-media::after,
.article-index-card-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(15, 35, 37, 0.08)),
    radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.18), transparent 34%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.72s var(--ease-soft);
}

.article-index-featured:hover .article-index-featured-media::after,
.article-index-featured:focus-within .article-index-featured-media::after,
.article-index-featured.is-card-hovered .article-index-featured-media::after,
.article-index-card:hover .article-index-card-media::after,
.article-index-card:focus-within .article-index-card-media::after,
.article-index-card.is-card-hovered .article-index-card-media::after {
  opacity: 1;
}

.article-index-featured:hover .article-index-featured-media img,
.article-index-featured:focus-within .article-index-featured-media img,
.article-index-featured.is-card-hovered .article-index-featured-media img {
  filter: saturate(1.05) contrast(1.02) brightness(1.02);
  transform: scale(1.022);
}

.article-index-card:hover .article-index-card-media img,
.article-index-card:focus-within .article-index-card-media img,
.article-index-card.is-card-hovered .article-index-card-media img {
  filter: saturate(1.06) contrast(1.025) brightness(1.015);
  transform: scale(1.035);
}

.article-index-card h3 a,
.article-index-featured-copy h2 a {
  position: static;
  transition: color 0.38s var(--ease-soft);
}

.article-index-card h3 a::after,
.article-index-featured-copy h2 a::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  content: "";
}

.article-index-card h3 a:focus-visible,
.article-index-featured-copy h2 a:focus-visible {
  outline: none;
}

.article-index-card:focus-within,
.article-index-featured:focus-within {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  outline-offset: 3px;
}

.article-index-card:hover h3 a,
.article-index-card:focus-within h3 a,
.article-index-card.is-card-hovered h3 a,
.article-index-featured:hover h2 a,
.article-index-featured:focus-within h2 a,
.article-index-featured.is-card-hovered h2 a {
  color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  .article-index-featured,
  .article-index-card,
  .article-index-featured::after,
  .article-index-card::after,
  .article-index-featured-media::after,
  .article-index-card-media::after {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-index-featured,
  .article-index-card {
    transition:
      border-color 0.22s ease,
      box-shadow 0.24s ease,
      transform 0.24s ease;
  }

  .article-index-featured:hover,
  .article-index-featured:focus-within,
  .article-index-featured.is-card-hovered,
  .article-index-card:hover,
  .article-index-card:focus-within,
  .article-index-card.is-card-hovered {
    transform: translateY(-2px);
  }

  .article-index-featured-media img,
  .article-index-card-media img {
    transition: filter 0.22s ease;
  }

  .article-index-featured:hover .article-index-featured-media img,
  .article-index-featured:focus-within .article-index-featured-media img,
  .article-index-featured.is-card-hovered .article-index-featured-media img,
  .article-index-card:hover .article-index-card-media img,
  .article-index-card:focus-within .article-index-card-media img,
  .article-index-card.is-card-hovered .article-index-card-media img {
    transform: none;
  }
}

/* Home photo-led landing layout */
.home-page {
  background: #f2f5f6;
}

.home-page .article-index-hero.home-photo-hero {
  position: relative;
  display: block;
  width: min(1440px, calc(100vw - 28px));
  max-width: min(1440px, calc(100vw - 28px));
  min-height: clamp(560px, calc(100svh - 112px), 780px);
  margin: 12px auto 20px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #0d1d1f;
  color: #fff;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 30px 80px rgba(18, 32, 44, 0.18);
  isolation: isolate;
}

.diagnosis-page .diagnosis-hero.diagnosis-photo-hero {
  position: relative;
  display: block;
  width: min(1440px, calc(100vw - 28px));
  max-width: min(1440px, calc(100vw - 28px));
  height: clamp(320px, 44svh, 420px);
  min-height: 0;
  margin: 12px auto 30px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #0d1d1f;
  color: #fff;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.08),
    0 30px 80px rgba(18, 32, 44, 0.18);
  isolation: isolate;
}

.diagnosis-page .diagnosis-tool-shell {
  position: relative;
  z-index: 4;
}

.diagnosis-page .form-pane {
  top: 92px;
  max-height: calc(100vh - 112px);
}

.diagnosis-page .diagnosis-photo-copy {
  bottom: clamp(28px, 5vw, 56px);
  max-width: min(640px, calc(100% - 48px));
  transition:
    opacity 0.24s var(--ease-soft),
    transform 0.24s var(--ease-soft);
}

.diagnosis-page .diagnosis-photo-copy h1 {
  max-width: 620px;
  font-size: clamp(34px, 5vw, 62px);
}

.diagnosis-photo-copy h1 span {
  display: block;
}

.diagnosis-page .diagnosis-photo-actions {
  bottom: clamp(22px, 4vw, 44px);
  transition:
    opacity 0.24s var(--ease-soft),
    transform 0.24s var(--ease-soft);
}

.diagnosis-page.is-diagnosis-scrolled .diagnosis-photo-copy,
.diagnosis-page.is-diagnosis-scrolled .diagnosis-photo-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.home-photo-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0d1d1f;
}

.home-photo-slideshow::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 12, 14, 0.62), rgba(5, 12, 14, 0.16) 44%, rgba(5, 12, 14, 0.22)),
    linear-gradient(180deg, rgba(5, 12, 14, 0.24), rgba(5, 12, 14, 0.04) 34%, rgba(5, 12, 14, 0.62));
  content: "";
  pointer-events: none;
}

.home-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.98) contrast(1.04);
  transform: translate3d(0, 0, 0) scale(1.035);
  transition:
    opacity 0.92s var(--ease-soft),
    transform 5.4s linear;
  will-change: opacity;
}

.home-photo-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.075);
}

.home-photo-copy {
  position: absolute;
  left: clamp(24px, 4.2vw, 64px);
  bottom: clamp(38px, 7vw, 86px);
  z-index: 3;
  max-width: min(720px, calc(100% - 48px));
}

.home-photo-copy h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(40px, 5.8vw, 82px);
  line-height: 0.96;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.home-photo-copy h1 span {
  display: block;
}

.home-photo-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.75;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.26);
}

.home-photo-actions {
  position: absolute;
  right: clamp(20px, 3.8vw, 52px);
  bottom: clamp(28px, 5vw, 60px);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: min(520px, calc(100% - 48px));
}

.home-photo-actions .primary-action,
.home-photo-actions .secondary-action {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}

.home-photo-actions .primary-action:hover,
.home-photo-actions .primary-action:focus-visible,
.home-photo-actions .secondary-action:hover,
.home-photo-actions .secondary-action:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.home-page .article-index-tabs {
  width: min(1440px, calc(100vw - 28px));
  max-width: min(1440px, calc(100vw - 28px));
  margin-bottom: 26px;
}

.home-route-panel,
.diagnosis-route-panel {
  width: min(1440px, calc(100vw - 28px));
  max-width: min(1440px, calc(100vw - 28px));
  margin: 0 auto 24px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(199, 213, 219, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.035),
    0 18px 42px rgba(18, 32, 44, 0.055);
}

.home-route-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: stretch;
}

.home-route-copy h2,
.diagnosis-route-panel h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.28;
}

.home-route-copy p,
.diagnosis-route-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.home-route-card,
.diagnosis-route-links a {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(199, 213, 219, 0.92);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.54s var(--ease-soft),
    box-shadow 0.72s var(--ease-shadow) 0.04s,
    transform 0.56s var(--ease-soft);
}

.home-route-card:hover,
.home-route-card:focus-visible,
.diagnosis-route-links a:hover,
.diagnosis-route-links a:focus-visible {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow:
    0 3px 9px rgba(15, 23, 42, 0.035),
    0 20px 46px rgba(18, 32, 44, 0.08);
  transform: translateY(-3px);
}

.home-route-card span,
.diagnosis-route-links span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.home-route-card strong,
.diagnosis-route-links strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.home-route-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-page .article-index-shell {
  max-width: 1440px;
  padding-right: 14px;
  padding-left: 14px;
}

.home-page .article-index-featured,
.home-page .article-index-card {
  border: 0;
  background: #0d1d1f;
  color: #fff;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.05),
    0 18px 48px rgba(18, 32, 44, 0.1);
}

.home-page .article-index-featured {
  display: grid;
  height: clamp(420px, 48vw, 620px);
  min-height: 0;
  overflow: hidden;
}

.home-page .article-index-featured-media,
.home-page .article-index-featured-copy {
  grid-area: 1 / 1 / -1 / -1;
}

.home-page .article-index-featured-media {
  min-height: 100%;
}

.home-page .article-index-featured-media::after,
.home-page .article-index-card-media::after {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 14, 0.06), rgba(5, 12, 14, 0.18) 42%, rgba(5, 12, 14, 0.76)),
    linear-gradient(90deg, rgba(5, 12, 14, 0.34), rgba(5, 12, 14, 0.02) 58%);
}

.home-page .article-index-featured-copy {
  justify-content: flex-end;
  max-width: 760px;
  padding: clamp(28px, 5vw, 64px);
}

.home-page .article-index-featured-copy h2 a,
.home-page .article-index-featured-copy p,
.home-page .article-index-card h3 a,
.home-page .article-index-card p {
  color: #fff;
}

.home-page .article-index-featured-copy p,
.home-page .article-index-card p {
  color: rgba(255, 255, 255, 0.82);
}

.home-page .article-index-card {
  position: relative;
  display: block;
  min-height: 380px;
}

.home-page .article-index-card-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.home-page .article-index-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 22px;
}

.home-page .article-index-category {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-page .article-index-card h3 {
  max-width: 92%;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.32;
}

.home-page .article-index-card p:not(.article-index-category) {
  display: -webkit-box;
  max-width: 92%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-page .article-index-heading {
  border-bottom-color: rgba(173, 191, 198, 0.5);
}

.diagnosis-route-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.2fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  margin-top: -8px;
}

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

@media (max-width: 960px) {
  .home-page .article-index-hero.home-photo-hero {
    min-height: 680px;
  }

  .diagnosis-page .diagnosis-hero.diagnosis-photo-hero {
    height: 500px;
    min-height: 0;
  }

  .home-photo-actions {
    right: auto;
    left: clamp(24px, 4.2vw, 64px);
    justify-content: flex-start;
  }

  .home-photo-copy {
    bottom: 150px;
  }

  .home-route-panel,
  .diagnosis-route-panel {
    grid-template-columns: 1fr;
  }

  .home-route-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-page .article-index-hero.home-photo-hero {
    width: min(100% - 16px, 760px);
    max-width: min(100% - 16px, 760px);
    min-height: 620px;
    border-radius: 12px;
  }

  .diagnosis-page .diagnosis-hero.diagnosis-photo-hero {
    width: min(100% - 16px, 760px);
    max-width: min(100% - 16px, 760px);
    height: 560px;
    min-height: 0;
    border-radius: 12px;
  }

  .home-photo-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .diagnosis-page .diagnosis-photo-copy {
    bottom: 190px;
  }

  .diagnosis-page .diagnosis-photo-copy h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.02;
  }

  .diagnosis-page .diagnosis-photo-actions {
    bottom: 36px;
  }

  .home-photo-actions {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 48px);
  }

  .home-photo-actions .primary-action,
  .home-photo-actions .secondary-action {
    justify-content: center;
  }

  .home-page .article-index-card {
    min-height: 340px;
  }

  .home-route-panel,
  .diagnosis-route-panel {
    width: min(100% - 16px, 760px);
    max-width: min(100% - 16px, 760px);
    padding: 16px;
  }

  .diagnosis-route-links {
    grid-template-columns: 1fr;
  }
}

/* Shared card hover behavior */
.article-index-featured,
.article-index-card,
.article-related-card,
.product-card,
.review-product-card,
.maker-index-card,
.story-product-card {
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  transition:
    border-color 0.56s var(--ease-soft),
    box-shadow 0.82s var(--ease-shadow) 0.04s,
    transform 0.62s var(--ease-soft),
    background-color 0.52s var(--ease-soft);
}

.article-index-featured:hover,
.article-index-featured:focus-within,
.article-index-featured.is-card-hovered,
.article-index-card:hover,
.article-index-card:focus-within,
.article-index-card.is-card-hovered,
.article-related-card:hover,
.article-related-card:focus-within,
.article-related-card.is-card-hovered,
.product-card:hover,
.product-card:focus-within,
.product-card.is-card-hovered,
.review-product-card:hover,
.review-product-card:focus-within,
.review-product-card.is-card-hovered,
.maker-index-card:hover,
.maker-index-card:focus-within,
.maker-index-card.is-card-hovered,
.story-product-card:hover,
.story-product-card:focus-within,
.story-product-card.is-card-hovered {
  border-color: rgba(157, 184, 192, 0.9);
  box-shadow:
    0 3px 9px rgba(15, 23, 42, 0.04),
    0 18px 42px rgba(18, 32, 44, 0.08),
    0 42px 82px rgba(18, 32, 44, 0.08);
  transform: translate3d(0, -5px, 0);
}

.review-product-media img,
.maker-index-card .product-image,
.product-card .product-image {
  transition:
    filter 0.72s var(--ease-soft),
    transform 0.72s var(--ease-soft);
}

.review-product-card:hover .review-product-media img,
.review-product-card:focus-within .review-product-media img,
.review-product-card.is-card-hovered .review-product-media img,
.maker-index-card:hover .product-image,
.maker-index-card:focus-within .product-image,
.maker-index-card.is-card-hovered .product-image,
.product-card:hover .product-image,
.product-card:focus-within .product-image,
.product-card.is-card-hovered .product-image {
  filter: saturate(1.06) contrast(1.025) brightness(1.015);
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .article-index-featured,
  .article-index-card,
  .article-related-card,
  .product-card,
  .review-product-card,
  .maker-index-card,
  .story-product-card {
    transition:
      border-color 0.22s ease,
      box-shadow 0.24s ease,
      transform 0.24s ease;
  }

  .article-index-featured:hover,
  .article-index-featured:focus-within,
  .article-index-featured.is-card-hovered,
  .article-index-card:hover,
  .article-index-card:focus-within,
  .article-index-card.is-card-hovered,
  .article-related-card:hover,
  .article-related-card:focus-within,
  .article-related-card.is-card-hovered,
  .product-card:hover,
  .product-card:focus-within,
  .product-card.is-card-hovered,
  .review-product-card:hover,
  .review-product-card:focus-within,
  .review-product-card.is-card-hovered,
  .maker-index-card:hover,
  .maker-index-card:focus-within,
  .maker-index-card.is-card-hovered,
  .story-product-card:hover,
  .story-product-card:focus-within,
  .story-product-card.is-card-hovered {
    transform: translateY(-2px);
  }
}
