.research-hero {
  padding: clamp(3.3rem, 6vw, 6rem) 0;
  background: #122a40;
  color: #fff;
}
.research-hero .wrap {
  border-left: 2px solid #c5a16b;
  padding-left: clamp(1.15rem, 3vw, 3rem);
}
.research-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.8vw, 4.65rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 0.9rem 0 1.1rem;
}
.research-hero h1 em {
  font-style: normal;
  color: #e8c88e;
}
.research-hero .kicker {
  color: #e5c89b;
}
.research-hero p:last-of-type {
  color: #e0e7ec;
  max-width: 43rem;
  line-height: 1.8;
}
.hero-nav {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-nav a,
.dark-button {
  display: inline-block;
  border: 1px solid #8594a3;
  padding: 0.5rem 1rem;
  color: inherit;
  border-radius: 3px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hero-nav a:first-child,
.dark-button {
  background: #eed6ac;
  border-color: #eed6ac;
  color: var(--ink);
}
.research-section {
  padding-block: clamp(3rem, 5vw, 5.4rem);
}
.research-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  letter-spacing: -0.04em;
  margin: 0.55rem 0;
}
.deck,
.source,
.product > p,
#comparison-note,
.official p,
.method p {
  color: var(--muted);
}
.deck {
  max-width: 57rem;
}
.mode-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}
.segment {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  border: 0;
}
.segment legend,
.calculator label {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}
.segment label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.95rem;
  border: 1px solid #bdc8c9;
  background: #fff;
  padding: 0.48rem 0.78rem;
  border-radius: 3px;
}
.segment label:has(:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.segment label:focus-within {
  outline: 3px solid #a98246;
  outline-offset: 2px;
}
.segment input {
  margin: 0;
  accent-color: #997334;
}
.research-section h3 {
  font-size: 1.4rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.15rem 0;
}
.product {
  padding: clamp(1.05rem, 2vw, 1.7rem);
  background: white;
  border: 1px solid var(--rule);
  border-top: 3px solid #667e8c;
  border-radius: 4px;
}
.product:first-child {
  border-top-color: #aa894e;
}
.product:last-of-type {
  border-top-color: #658d83;
}
.product .tag {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: #745727;
}
.product h4 {
  margin: 0.3rem 0 0;
  font: 600 clamp(1.4rem, 2vw, 1.85rem)/1.5 var(--serif);
}
.product dl {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.product dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.product dt {
  font-size: 0.9rem;
  color: var(--muted);
}
.product dd {
  font-weight: 650;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem;
  margin-top: 1.3rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
}
.score span {
  font-size: 0.85rem;
  color: var(--muted);
}
.score strong {
  font:
    600 1.65rem/1.35 Georgia,
    serif;
}
.score small {
  font: 500 0.8rem/1 sans-serif;
}
.rating {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.rating li {
  display: grid;
  grid-template-columns: 5.1rem 1fr 1.6rem;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
}
.rating i {
  background: #e9edec;
  height: 5px;
}
.rating b {
  display: block;
  height: 100%;
  background: #8199a3;
}
.rating strong {
  text-align: right;
}
.takeaway {
  grid-column: 1/-1;
  border-left: 3px solid #b18e53;
  background: #eeeae0;
  padding: 0.9rem 1.15rem;
}
.source {
  font-size: 0.86rem;
}
.dark-button {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  margin-top: 1rem;
}
.dark-button:hover {
  background: #2b4861;
}
.method {
  margin-top: 1.5rem;
  border-block: 1px solid var(--rule);
  padding: 0.8rem 0;
}
.method summary {
  cursor: pointer;
  font-weight: 650;
}
.method > div {
  margin: 0.7rem 0;
}
.method li {
  margin: 0.5rem 0;
}
.method ul {
  padding-left: 1.3rem;
}
.print-only,
[hidden] {
  display: none !important;
}
.illustration {
  background: #eaf0ee;
}
.calculator {
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1.36fr);
  margin: 1.8rem 0 0;
  border: 1px solid #c7d3d1;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}
.calculator form,
.output {
  padding: clamp(1.1rem, 2.6vw, 2.4rem);
}
.calculator form {
  background: var(--ink);
  color: #f2f4f3;
}
.calculator label {
  margin-top: 1.05rem;
}
.calculator select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 2px;
  padding: 0.5rem;
}
.calculator select:disabled {
  opacity: 0.55;
}
.calculator form p {
  font-size: 0.89rem;
  color: #e1e8eb;
  margin-top: 1.1rem;
}
.output-head,
.values,
.axis {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.output-head {
  align-items: baseline;
}
.output-head span,
.axis,
.values small,
.official p {
  color: var(--muted);
}
.values {
  margin: 0.85rem 0;
  flex-wrap: wrap;
}
.values small {
  display: block;
}
.values strong {
  font:
    600 clamp(1.4rem, 2.85vw, 2.1rem)/1.4 Georgia,
    serif;
}
.output figure {
  margin: 1rem 0;
}
.output figcaption,
.axis {
  font-size: 0.81rem;
}
.output figcaption {
  font-weight: 650;
}
#curve {
  display: flex;
  align-items: end;
  gap: 2%;
  height: 95px;
  border-bottom: 1px solid #8d9a9d;
}
#curve i {
  flex: 1;
  background: #4c7183;
  border-radius: 2px 2px 0 0;
}
#curve i:last-child {
  background: #a48449;
}
.annual {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
th,
td {
  text-align: right;
  padding: 0.4rem 0.3rem;
  border-bottom: 1px solid #ddd;
}
th:first-child {
  text-align: left;
}
caption {
  text-align: left;
  font-weight: 650;
  margin-bottom: 0.45rem;
}
.official {
  border-top: 1px solid #b4c3bd;
  padding-top: 2.4rem;
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: start;
}
.official h3 {
  margin: 0.5rem 0;
}
.pipeline {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.pipeline li {
  border-left: 2px solid #c5aa7d;
  padding: 0 0 1.2rem 1rem;
}
.pipeline li:last-child {
  padding-bottom: 0;
}
.official .snapshot {
  margin-top: 0.8rem;
  font-weight: 600;
  color: #1d6154;
}
.client-view #brief {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
@media (max-width: 950px) {
  .research-section.wrap {
    width: 92%;
  }
  .product dl div {
    display: block;
  }
  .product dt {
    font-size: 0.82rem;
  }
  .cards {
    gap: 0.55rem;
  }
}
@media (max-width: 760px) {
  .cards,
  .official,
  .calculator {
    grid-template-columns: 1fr;
  }
  .product dl div {
    display: flex;
  }
  .official {
    gap: 1.5rem;
  }
  .mode-controls {
    align-items: start;
  }
  .output {
    min-width: 0;
  }
  .score .rating {
    max-width: 35rem;
  }
  .cards {
    gap: 0.8rem;
  }
  .mast nav a {
    display: inline-flex !important;
  }
  .mast nav {
    gap: 0.65rem;
  }
  .mast .mast-inner {
    gap: 0.4rem;
  }
  .mast .brand img {
    width: 30px;
  }
  .mast .brand strong {
    display: none;
  }
  .mast nav a {
    font-size: 0.85rem;
  }
  .deck {
    line-height: 1.75;
  }
}
@media (max-width: 420px) {
  .mast .wrap {
    width: 94%;
  }
  .mast .brand span {
    font-size: 1.15rem;
  }
  .mode-controls label {
    padding: 0.38rem 0.55rem;
  }
  .research-hero h1 {
    font-size: 2.18rem;
  }
  .hero-nav a {
    padding: 0.45rem 0.7rem;
  }
  .annual th,
  .annual td {
    padding: 0.3rem 0.12rem;
    font-size: 0.83rem;
  }
  .values {
    align-items: start;
  }
}
@media print {
  @page {
    size: A4 landscape;
    margin: 14mm;
  }
  body {
    color: black;
    background: white;
  }
  .mast,
  .research-hero,
  .illustration,
  footer,
  .mode-controls,
  #internal,
  #print,
  .skip,
  #compare > .kicker,
  #compare > h2,
  #compare > .deck,
  .rating,
  .score {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .print-only {
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .research-section {
    padding: 0;
  }
  .research-section.wrap {
    width: 100%;
  }
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }
  .product {
    break-inside: avoid;
  }
  .source {
    font-size: 10pt;
  }
}
.worked {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.worked article {
  border-left: 2px solid #ab8c56;
  padding-left: 0.9rem;
}
.worked h4 {
  margin: 0 0 0.4rem;
}
.worked > p {
  grid-column: 1/-1;
  font-size: 0.9rem;
}
@media (max-width: 760px) {
  .worked {
    grid-template-columns: 1fr;
  }
}
[data-aw-language] {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.35rem 0.55rem;
  background: transparent;
  border: 1px solid #a5b0b3;
  border-radius: 3px;
  color: var(--ink);
}
html[lang='en'] .rating li {
  grid-template-columns: minmax(5.2rem, 1.15fr) minmax(2rem, 0.8fr) 1.6rem;
}
html[lang='en'] .product dl div {
  gap: 0.25rem 0.6rem;
}
@media (max-width: 850px) {
  .mast .mast-inner {
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding-block: 0.65rem;
  }
  .mast nav {
    gap: 0.45rem 0.75rem;
    flex-wrap: wrap;
  }
  html[lang='en'] .mast .brand strong {
    display: none;
  }
}
@media (max-width: 560px) {
  html[lang='en'] .annual table {
    table-layout: fixed;
  }
  html[lang='en'] .annual th,
  html[lang='en'] .annual td {
    white-space: normal;
  }
  html[lang='en'] .research-hero h1 {
    font-size: clamp(1.85rem, 8.7vw, 2.65rem);
  }
}
