.cmp { color: #172543; background: transparent; line-height: 1.55; }
.cmp-inner { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.cmp-hero { background: #17254370; color: #fff; padding: clamp(56px, 9vw, 124px) 0; }
.cmp h1, .cmp h2, .cmp h3 { line-height: 1.1; letter-spacing: -.03em; }
.cmp h1 { font-size: clamp(2.25rem, 6vw, 5rem); max-width: 15ch; }
.cmp h2 { font-size: clamp(1.75rem, 3.6vw, 2.8rem); }
.cmp h3 { font-size: 1.35rem; }
.cmp p { max-width: 68ch; margin-block: 14px 0; }
.cmp-hero p { color: #e2e8f3; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.cmp-section { padding-block: clamp(26px, 5vw, 58px); }
.cmp-section + .cmp-section { border-top: 1px solid #d9dfe8; }
.cmp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); margin-top: 24px; }
.cmp-card { margin: 0; padding: clamp(10px, 2vw, 24px); border: 1px solid #d9dfe8; border-top: 3px solid #8d9bb0; border-radius: 14px; background: #ffffffe0; }
.cmp-card.cmp-graphy { border-top-color: #e97527; }
.cmp-card img { width: 100%; aspect-ratio: 16/10; object-fit: contain; }
.cmp-card figcaption { margin-top: 8px; font-weight: 650; }
.cmp-note { color: #44516a; font-size: .94rem; }
.cmp-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cmp-links a { padding: 12px 16px; border: 1px solid #172543; border-radius: 8px; color: #172543; text-decoration: none; font-weight: 650; }
.cmp-links a:hover { background: #172543; color: #fff; }
@media (max-width: 520px) { .cmp-card h3 { font-size: 1.1rem; } .cmp-card p, .cmp-card figcaption { overflow-wrap: anywhere; } }
.cmp-fallback-header { padding: 14px 20px; }
.gb-mounted .cmp-fallback-header { display: none; }
.cmp h1, .cmp h2 { font-weight: 700; }
.cmp h3 { font-weight: 650; }

/* Keep the hero readable if the moving background cannot run. */
html:not(:has(#graphy-liquid-bg)) .cmp-hero { background: #172543; }

.cmp h1.cmp-title {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  min-height: 2.4em;
  align-items: stretch;
  font-size: clamp(1.2rem, 5vw, 4.3rem);
  letter-spacing: -.045em;
}
.cmp-title-graphy, .cmp-title-thermo {
  display: flex;
  align-items: center;
  padding-block: .28em;
  overflow-wrap: anywhere;
}
.cmp-title-graphy {
  padding-right: .65em;
  border-right: 1px solid #c5cedd;
  color: #ffb377;
}
.cmp-title-thermo {
  padding-left: .72em;
  color: #f5f5f5;
}
.cmp-title-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: .28em .46em;
  border-radius: 50%;
  background: #172543;
  border: 1px solid #aeb9ca;
  color: #fff;
  font-size: .26em;
  line-height: 1;
  letter-spacing: 0;
}
.cmp-card:not(.cmp-graphy) img { filter: grayscale(1); }
.cmp-card:not(.cmp-graphy) { border-top-color: #737373; color: #242424; }
@media (max-width: 520px) {
  .cmp-title-graphy, .cmp-title-thermo { padding-inline: 0 .7em; }
  .cmp-title-thermo { padding-inline: .72em 0; }
  .cmp-title-vs { font-size: .57rem; }
}

.cmp-hero { padding-block: clamp(36px, 6vw, 86px); }
.cmp-title-graphy, .cmp-title-thermo { justify-content: center; text-align: center; }
.cmp-hero-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(12px, 2vw, 24px);
}
.cmp-hero-pair figure {
  margin: 0;
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(7px, 2vw, 30px);
}
.cmp-hero-pair img {
  width: 100%;
  height: clamp(114px, 25vw, 300px);
  object-fit: contain;
}
.cmp-hero-thermo { border-left: 1px solid #c5cedd6b; }
.cmp-hero-thermo img { filter: grayscale(1); }
.cmp-hero-thermo figcaption { color: #e0e3e9; font-size: .75rem; }
.cmp-hero p.cmp-hero-line {
  margin: clamp(14px, 3vw, 34px) auto 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  font-weight: 600;
  text-align: center;
}

.cmp-recovery svg { display: block; width: 100%; height: auto; }
.cmp-recovery .cmp-card p { margin-top: 4px; font-size: .9rem; }
.cmp-recovery-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cmp-recovery-controls button {
  padding: 9px 13px;
  min-height: 44px;
  border: 1px solid #8e99aa;
  border-radius: 8px;
  background: #fff;
  color: #172543;
  font-weight: 650;
  cursor: pointer;
}
.cmp-recovery-controls [data-recovery-replay],
.cmp-recovery-controls button[aria-pressed="true"] { background: #172543; color: #fff; }
.cmp-recovery .cmp-note a { text-decoration: underline; }

.cmp-cutaway-figure { margin: 22px 0 0; width: min(100%, 720px); }
.cmp-cutaway-figure svg { display: block; width: 100%; height: auto; }
.cmp-cutaway-figure figcaption { color: #435268; font-size: .85rem; margin-top: 6px; }
.cmp-cutaway-status { font-weight: 650; }
.cmp-cutaway-controls [data-play] { background: #172543; color: #fff; }
.cmp-cutaway .cmp-note a { text-decoration: underline; }

.cmp-cutaway-figure {
  width: min(100%, 780px);
  padding: clamp(8px, 1.5vw, 16px);
  border: 1px solid #d9dfe8;
  border-radius: 23px;
  background: #ffffffcb;
  box-shadow: 0 16px 42px #17254320;
}
.cmp-cutaway-figure figcaption { padding: 4px 6px 0; }
.cmp-cutaway-controls [data-play] {
  background: #172543;
  border-color: #172543;
  padding-inline: 20px;
}
.cmp-cutaway-controls [data-play]:hover { background: #304969; }
