.nav-links a[aria-current="page"] { color: #b6efc2; }

.compat-hero {
  padding: 105px 0 100px;
  background: var(--navy);
  color: #fff;
}
.compat-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3.4rem, 5.6vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.compat-hero > .page-width > p:last-child {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 1.2rem;
  line-height: 1.7;
}
.display-check-strip {
  padding: 72px 0 80px;
  background: var(--cream);
  border-top: 1px solid rgba(8, 37, 62, .08);
}
.display-check-head { max-width: 820px; margin-bottom: 30px; }
.display-check-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--navy);
}
.display-check-intro {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}
.display-check-guidance {
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(50, 122, 78, .22);
  border-radius: 14px;
  background: var(--green-soft);
}
.display-check-guidance p {
  margin: 0;
  color: #496154;
  font-size: 1rem;
  line-height: 1.62;
}
.display-check-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(8, 37, 62, .06);
}
.display-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.display-check-grid label {
  display: block;
  margin: 0 0 7px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.display-check-grid select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #aebcc7;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.display-check-grid select:disabled {
  background: #f0f2ef;
  color: #9aa29d;
}
.display-check-grid select:focus {
  outline: 3px solid rgba(50, 122, 78, .2);
  border-color: var(--green);
}
.display-check-result {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.display-check-result.show { display: block; }
.display-check-status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.display-check-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 780;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.display-check-status {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
}
.display-check-meta {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  text-align: right;
}
.display-check-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 18px 0 22px;
}
.display-check-meter span {
  height: 9px;
  border-radius: 999px;
  background: #e4e8e5;
}
.display-check-result.is-level-0 .display-check-meter span.on { background: #c73535; }
.display-check-result.is-level-0 .display-check-status { color: #c73535; }
.display-check-result.is-level-1 .display-check-meter span.on { background: #d86a22; }
.display-check-result.is-level-1 .display-check-status { color: #d86a22; }
.display-check-result.is-level-2 .display-check-meter span.on { background: #c99700; }
.display-check-result.is-level-2 .display-check-status { color: #a67c00; }
.display-check-result.is-level-3 .display-check-meter span.on { background: #2f8f67; }
.display-check-result.is-level-3 .display-check-status { color: #2f8f67; }
.display-check-result.is-level-4 .display-check-meter span.on { background: var(--green); }
.display-check-result.is-level-4 .display-check-status { color: var(--green); }
.display-check-summary {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}
.display-check-verify {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--green-soft);
  color: #385344;
  line-height: 1.6;
}
.display-check-verify strong { display: block; margin-bottom: 5px; color: var(--navy); }
.display-check-submit {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.display-check-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.display-check-legend-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.display-check-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.display-check-legend-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbf9;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.display-check-legend-item[data-level="0"] {
  border-color: rgba(199, 53, 53, .22);
  background: #fdeaea;
}
.display-check-legend-item[data-level="0"] strong { color: #b12727; }
.display-check-legend-item[data-level="1"] {
  border-color: rgba(216, 106, 34, .24);
  background: #fff1e6;
}
.display-check-legend-item[data-level="1"] strong { color: #c05812; }
.display-check-legend-item[data-level="2"] {
  border-color: rgba(201, 151, 0, .24);
  background: #fff8e6;
}
.display-check-legend-item[data-level="2"] strong { color: #a67c00; }
.display-check-legend-item[data-level="3"] {
  border-color: rgba(47, 143, 103, .24);
  background: #e8f5ef;
}
.display-check-legend-item[data-level="3"] strong { color: #267652; }
.display-check-legend-item[data-level="4"] {
  border-color: rgba(50, 122, 78, .24);
  background: var(--green-soft);
}
.display-check-legend-item[data-level="4"] strong { color: var(--green); }
.display-check-legend-item.is-active {
  box-shadow: 0 0 0 2px currentColor;
}
.display-check-legend-item[data-level="0"].is-active { box-shadow: 0 0 0 2px #c73535; }
.display-check-legend-item[data-level="1"].is-active { box-shadow: 0 0 0 2px #d86a22; }
.display-check-legend-item[data-level="2"].is-active { box-shadow: 0 0 0 2px #c99700; }
.display-check-legend-item[data-level="3"].is-active { box-shadow: 0 0 0 2px #2f8f67; }
.display-check-legend-item[data-level="4"].is-active { box-shadow: 0 0 0 2px var(--green); }
.display-check-legend-item strong { display: block; margin-bottom: 4px; color: var(--navy); }
.display-check-legend-item small { color: var(--muted); line-height: 1.45; }
.display-check-feedback {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.display-check-feedback-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}
.display-check-feedback-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}
.display-check-feedback-checks {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.display-check-feedback-checks legend {
  padding: 0;
}
.display-check-feedback-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.45;
  cursor: pointer;
}
.display-check-feedback-option input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}
.display-check-feedback-unlisted {
  margin-bottom: 16px;
}
.display-check-feedback-grid input,
.display-check-feedback-grid select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #aebcc7;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.display-check-feedback-grid input:focus,
.display-check-feedback-grid select:focus {
  outline: 3px solid rgba(50, 122, 78, .2);
  border-color: var(--green);
}
.display-check-feedback--submitted {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
.display-check-feedback-success-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f5ef;
  color: #267652;
  font-size: .95rem;
  line-height: 1.5;
}
.display-check-feedback-comments {
  margin-bottom: 16px;
}
.display-check-feedback-comments label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 760;
}
.display-check-feedback-hint {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}
.display-check-feedback-comments textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid #d8ded9;
  border-radius: 12px;
  background: #fafbf9;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.display-check-feedback-comments textarea:focus {
  outline: 3px solid rgba(50, 122, 78, .2);
  border-color: var(--green);
  background: #fff;
}
.display-check-feedback-submit {
  margin-top: 4px;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.display-check-feedback-submit:hover,
.display-check-feedback-submit:focus-visible {
  border-color: #286844;
  background: #286844;
  color: #fff;
}
.display-check-feedback-submit:disabled {
  opacity: .65;
  cursor: wait;
}
.display-check-feedback-error {
  margin: 12px 0 0;
  color: #b12727;
  font-size: .92rem;
  line-height: 1.45;
}
.display-check-feedback-thanks {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  color: #267652;
  font-size: 1rem;
  line-height: 1.55;
}
.display-check-feedback-thanks:focus { outline: 3px solid rgba(50, 122, 78, .25); }
.compatibility-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 110px;
}
.compat-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 38px;
}
.compat-intro h2,
.research-heading h2,
.compat-cta h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.compat-intro > p,
.research-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.selector-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 16px 38px rgba(8, 37, 62, .08);
}
.selector-card label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 780;
}
.selector-card select {
  width: 100%;
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid #aebcc7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.selector-card select:focus {
  outline: 3px solid rgba(50, 122, 78, .2);
  border-color: var(--green);
}
.report {
  display: none;
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.report.show { display: block; }
.report-head { padding: 28px 30px; background: var(--navy); color: #fff; }
.report-label {
  margin: 0 0 10px;
  color: #99d8a8;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.report-head h2 { margin: 0 0 7px; font-size: 1.65rem; }
.report-head > p:last-child { margin: 0; color: rgba(255, 255, 255, .7); }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.status { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.status h3 { margin: 0 0 8px; font-size: 1rem; }
.status strong { color: var(--green); font-size: 1.28rem; }
.status p { margin: 10px 0 0; color: var(--muted); line-height: 1.58; }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.detail { padding: 20px 24px; border-bottom: 1px solid var(--line); line-height: 1.58; }
.detail:nth-child(odd) { border-right: 1px solid var(--line); }
.detail span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.recommendation { padding: 24px; background: var(--green-soft); }
.recommendation h3 { margin: 0 0 8px; }
.recommendation p { margin: 0; line-height: 1.62; }
.research-section { margin-top: 100px; }
.research-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 34px;
}
.compat-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 37, 62, .06);
}
table { width: 100%; min-width: 1080px; border-collapse: collapse; }
th, td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #e6efe8;
  color: var(--navy);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
td { font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7faf7; }
.compat-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 90px;
  padding: 55px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}
.compat-cta h2 { font-size: clamp(2.6rem, 4vw, 4.2rem); }
.compat-cta > div:last-child { align-self: end; }
.compat-cta > div:last-child p { margin: 0 0 24px; color: rgba(255, 255, 255, .72); font-size: 1.08rem; line-height: 1.65; }
.custom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 45px; }
.custom-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); }
.custom-grid span { color: var(--green); font-size: .86rem; font-weight: 850; letter-spacing: .12em; }
.custom-grid h3 { margin: 28px 0 10px; font-size: 1.2rem; }
.custom-grid p { margin: 0; color: var(--muted); line-height: 1.62; }
.custom-installation {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
  margin-top: 70px;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--green-soft);
}
.custom-installation h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.custom-installation > div:last-child p { margin: 0; color: #496154; font-size: 1.08rem; line-height: 1.7; }
.custom-installation > div:last-child p + p { margin-top: 16px; }
.custom-installation a { color: var(--green); font-weight: 760; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .compat-hero { padding: 75px 0; }
  .compat-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .display-check-strip { padding: 52px 0 60px; }
  .display-check-grid,
  .display-check-legend,
  .display-check-feedback-grid { grid-template-columns: 1fr; }
  .display-check-meta { max-width: none; text-align: left; }
  .compatibility-shell { width: calc(100% - 30px); padding: 52px 0 80px; }
  .compat-intro,
  .selector-card,
  .status-grid,
  .details,
  .research-heading,
  .compat-cta,
  .custom-grid,
  .custom-installation { grid-template-columns: 1fr; }
  .compat-intro,
  .research-heading,
  .compat-cta { gap: 28px; }
  .detail:nth-child(odd) { border-right: 0; }
  .research-section { margin-top: 75px; }
  .compat-cta { padding: 35px 25px; }
  .custom-installation { margin-top: 45px; padding: 30px 22px; }
}
