:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --paper-strong: #ebe6dc;
  --ink: #121918;
  --muted: #68716d;
  --line: rgba(18, 25, 24, 0.18);
  --lime: #d9ff67;
  --green: #1f7a5b;
  --yellow: #f3c84b;
  --orange: #ff6846;
  --agoda: #6548d8;
  --fliggy: #006fbd;
  --klook: #c83b31;
  --white: #fffdf8;
  --shadow: 0 28px 80px rgba(18, 25, 24, 0.1);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 2%, rgba(217, 255, 103, 0.52), transparent 30rem),
    radial-gradient(circle at 4% 34%, rgba(114, 87, 232, 0.08), transparent 27rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

.paper-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 25, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 25, 24, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.compare-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 160ms ease;
}

.compare-skip:focus {
  transform: translateY(0);
}

.compare-topbar,
.compare-hero,
.live-search,
.platform-strip,
.quote-section,
.decision-section,
.method-section,
.source-section,
.compare-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.compare-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.compare-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.compare-topbar > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 122, 91, 0.1);
}

.compare-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  min-height: min(820px, calc(100svh - 88px));
  padding: 100px 0 88px;
}

.eyebrow,
.section-index,
.verdict-card__label {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--green);
}

.compare-hero h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(4.1rem, 9vw, 8.8rem);
  font-weight: 620;
  letter-spacing: -0.082em;
  line-height: 0.88;
}

.compare-hero h1 span {
  display: inline-block;
  margin-top: 0.1em;
  padding: 0.04em 0.08em 0.11em;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0.1em 0 0 var(--lime);
}

.hero-lead {
  max-width: 700px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.82;
}

.trip-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.trip-facts span {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.56);
  font-size: 0.78rem;
  font-weight: 750;
}

.verdict-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.verdict-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.9;
}

.verdict-card::after {
  content: "?";
  position: absolute;
  top: -26px;
  right: 24px;
  color: var(--ink);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  transform: rotate(8deg);
}

.verdict-card__label {
  color: var(--lime);
}

.verdict-card h2 {
  margin: 70px 0 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.verdict-card > p:not(.verdict-card__label, .verdict-card__note) {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
  line-height: 1.75;
}

.verdict-card > p strong {
  color: var(--white);
}

.verdict-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.verdict-score div {
  padding: 18px 10px;
  background: var(--ink);
  text-align: center;
}

.verdict-score strong {
  display: block;
  color: var(--lime);
  font-size: 2rem;
}

.verdict-score span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 253, 248, 0.56);
  font-size: 0.68rem;
}

.verdict-card__note {
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.46);
  font-size: 0.76rem;
}

.live-search,
.platform-strip,
.quote-section,
.decision-section,
.method-section,
.source-section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

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

.live-search__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  max-width: 920px;
}

.live-search__controls {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.live-search__availability {
  max-width: 920px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  background: rgba(31, 122, 91, 0.055);
  font-size: 0.85rem;
  line-height: 1.8;
}

.live-search__form input[type="search"] {
  flex: 1 1 280px;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 10px 30px rgba(18, 25, 24, 0.04);
}

.live-search__form input[type="search"]:focus {
  border-color: rgba(31, 122, 91, 0.55);
  box-shadow: 0 0 0 4px rgba(217, 255, 103, 0.45);
}

.live-search__form button {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.live-search__form button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.live-search__form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.live-search__form input:disabled { opacity: 0.62; cursor: not-allowed; }
.live-search__form[aria-busy="true"] button:disabled { cursor: wait; }

.live-search__meta {
  margin-top: 16px;
  max-width: 920px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.live-search__meta code {
  font-size: 0.82em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--paper-strong);
}

.live-search__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.live-card {
  --platform: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-width: 0;
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 15px 46px rgba(18, 25, 24, 0.045);
}

.live-card--fliggy {
  --platform: var(--fliggy);
}

.live-card--agoda {
  --platform: var(--agoda);
}

.live-card--klook {
  --platform: var(--klook);
}

.live-card header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.live-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.live-card header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.live-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.live-card li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(18, 25, 24, 0.12);
}

.live-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.live-price {
  color: var(--platform);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.live-title {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.live-title a {
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 25, 24, 0.18);
}

.live-title a:hover {
  border-bottom-color: var(--platform);
  color: var(--platform);
}

.live-empty {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  border-bottom: 0 !important;
}

.live-card [data-live-open] {
  justify-self: start;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--platform);
  text-decoration: none;
}

.live-card [data-live-open]:hover {
  text-decoration: underline;
}

.live-search__help {
  margin-top: 28px;
  max-width: 920px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px dashed rgba(18, 25, 24, 0.2);
  background: rgba(217, 255, 103, 0.18);
}

.live-search__help p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.live-search__help p + p,
.live-search__help pre {
  margin-top: 12px;
}

.live-search__help pre {
  overflow-x: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.82rem;
  line-height: 1.55;
}

.live-search__help code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.section-intro {
  max-width: 780px;
}

.section-index {
  color: var(--green);
}

.section-intro h2,
.quote-heading h2,
.decision-copy h2,
.method-card h2,
.evidence-card h2 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 620;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-intro > p:last-child,
.quote-heading .section-intro > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.platform-card {
  --platform: var(--ink);
  display: grid;
  gap: 28px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 15px 46px rgba(18, 25, 24, 0.045);
}

.platform-card--agoda {
  --platform: var(--agoda);
}

.platform-card--fliggy {
  --platform: var(--fliggy);
}

.platform-card--klook {
  --platform: var(--klook);
}

.platform-card header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.platform-mark {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 12px;
  background: var(--platform);
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
}

.platform-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.platform-card header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.coverage {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-strong);
}

.coverage span {
  display: block;
  width: var(--coverage);
  height: 100%;
  border-radius: inherit;
  background: var(--platform);
}

.platform-card footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.platform-card footer strong {
  color: var(--platform);
  font-size: 1.8rem;
  letter-spacing: -0.06em;
}

.platform-card footer span {
  color: var(--muted);
  font-size: 0.72rem;
}

.quote-section {
  padding-bottom: 120px;
}

.quote-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.quote-controls {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.fx-reference {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.fx-reference__copy h3 {
  margin: 7px 0 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.fx-reference__copy > p:last-child {
  max-width: 650px;
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.76rem;
  line-height: 1.65;
}

.fx-rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.fx-rates div {
  min-width: 0;
  padding: 13px 14px;
  background: var(--ink);
}

.fx-rates dt {
  color: rgba(255, 253, 248, 0.48);
  font: 0.62rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.fx-rates dd {
  margin: 6px 0 0;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.fx-reference > a {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.filter-row button,
.visible-price-toggle {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
}

.filter-row button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.visible-price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.visible-price-toggle > span {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--paper-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.visible-price-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  transition:
    left 160ms ease,
    background-color 160ms ease;
}

.visible-price-toggle[aria-pressed="true"] > span::after {
  left: 17px;
  background: var(--green);
}

.filter-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.project-list {
  display: grid;
  gap: 26px;
  margin-top: 52px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 60px rgba(18, 25, 24, 0.06);
}

.project-card[hidden] {
  display: none;
}

.project-card__header {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.project-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 850;
}

.project-date {
  margin: 0 0 7px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.045em;
}

.project-card__header > div:nth-child(2) > p:last-child {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.project-type {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--line);
  gap: 1px;
}

.quote-cell {
  --platform: var(--ink);
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
}

.quote-cell--agoda {
  --platform: var(--agoda);
}

.quote-cell--fliggy {
  --platform: var(--fliggy);
}

.quote-cell--klook {
  --platform: var(--klook);
}

.quote-cell header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-cell header > span {
  color: var(--platform);
  font-size: 1rem;
  font-weight: 900;
}

.quote-cell header em {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
}

.quote-cell--visible header em {
  background: rgba(31, 122, 91, 0.11);
  color: var(--green);
}

.quote-cell--pending header em {
  background: rgba(243, 200, 75, 0.2);
  color: #745b0d;
}

.quote-cell--missing {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(18, 25, 24, 0.018),
      rgba(18, 25, 24, 0.018) 8px,
      transparent 8px,
      transparent 16px
    ),
    #f0ede6;
}

.quote-cell--missing header em {
  background: rgba(18, 25, 24, 0.07);
  color: var(--muted);
}

.quote-price {
  margin: 50px 0 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.quote-price small {
  color: var(--platform);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  vertical-align: top;
}

.quote-price span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0;
}

.quote-was {
  min-height: 1.25em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.quote-origin {
  margin: 6px 0 0;
  color: rgba(80, 87, 83, 0.76);
  font: 0.62rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.quote-empty {
  margin: 50px 0 0;
  color: rgba(18, 25, 24, 0.24);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.quote-cell h4 {
  margin: 24px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.quote-cell ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
  list-style: none;
}

.quote-cell li::before {
  content: "·";
  margin-right: 7px;
  color: var(--platform);
  font-weight: 900;
}

.quote-cell > p:not(.quote-price, .quote-was, .quote-origin, .quote-empty) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.quote-cell > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--platform);
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration: none;
}

.project-note {
  margin: 0;
  padding: 19px 30px;
  border-top: 1px solid var(--line);
  background: rgba(217, 255, 103, 0.28);
  font-size: 0.8rem;
  line-height: 1.65;
}

.decision-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.decision-copy {
  position: sticky;
  top: 30px;
}

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

.decision-grid article {
  min-height: 320px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.72);
}

.decision-grid span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 850;
}

.decision-grid h3 {
  margin: 100px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

.decision-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.decision-banner {
  grid-column: 2;
  padding: 28px 30px;
  border-radius: 18px;
  background: var(--lime);
}

.decision-banner p {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.decision-banner strong {
  display: block;
  margin-top: 9px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.method-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}

.method-card,
.evidence-card {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 22px;
}

.method-card {
  background: var(--ink);
  color: var(--white);
}

.method-card .section-index {
  color: var(--lime);
}

.method-card ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 42px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
  list-style: none;
}

.method-card li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 18px;
  background: var(--ink);
}

.method-card li > span {
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 850;
}

.method-card li p {
  margin: 0;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
}

.method-card li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
}

.method-card > button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 14px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.copy-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.72rem;
}

.method-card > button:disabled { opacity: 0.68; cursor: wait; }
.checklist-fallback { margin-top: 20px; border: 1px solid rgba(255, 253, 248, 0.22); border-radius: 10px; }
.checklist-fallback > summary { padding: 16px 18px; color: var(--white); font-size: 0.83rem; line-height: 1.7; cursor: pointer; }
.checklist-fallback > summary::marker { color: var(--lime); }
.checklist-fallback > p { margin: 0 18px 18px; color: rgba(255, 253, 248, 0.68); font-size: 0.78rem; line-height: 1.9; }
.checklist-fallback > label { display: block; margin: 0 18px 8px; color: rgba(255, 253, 248, 0.82); font-size: 0.76rem; }
.checklist-fallback > textarea { display: block; width: calc(100% - 36px); min-width: 0; min-height: 280px; margin: 0 18px 18px; padding: 14px; resize: vertical; border: 1px solid rgba(255, 253, 248, 0.28); border-radius: 6px; color: var(--white); background: rgba(0, 0, 0, 0.15); font: 0.86rem/1.8 ui-monospace, "SFMono-Regular", "PingFang SC", monospace; }
.checklist-fallback > textarea:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.evidence-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.evidence-card h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.evidence-card dl {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
}

.evidence-card dl div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.evidence-card dt {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 850;
}

.evidence-card dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.evidence-warning {
  margin: 22px 0 0;
  padding: 16px;
  border-left: 4px solid var(--yellow);
  background: rgba(243, 200, 75, 0.16);
  font-size: 0.78rem;
  line-height: 1.65;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.source-grid a {
  display: grid;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.source-grid a:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.source-grid span {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.source-grid strong {
  align-self: end;
  margin-top: 30px;
  font-size: 1.1rem;
}

.source-grid em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.compare-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0 60px;
  border-top: 1px solid var(--line);
}

.compare-footer p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.compare-footer p span:first-child {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.compare-footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.compare-footer a,
.compare-footer button {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 780;
  text-decoration: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.compare-page [hidden] { display: none !important; }

.compare-page :is(a, button):focus-visible {
  outline: 3px solid #47770d;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .fx-reference {
    grid-template-columns: 1fr;
  }

  .fx-reference > a {
    justify-self: start;
  }

  .compare-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 0;
  }

  .verdict-card {
    max-width: 640px;
  }

  .platform-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .quote-cell {
    min-height: 330px;
  }

  .quote-heading {
    grid-template-columns: 1fr;
  }

  .quote-controls {
    justify-items: start;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .decision-section {
    grid-template-columns: 1fr;
  }

  .decision-copy {
    position: static;
  }

  .decision-banner {
    grid-column: 1;
  }

  .method-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .fx-reference {
    gap: 20px;
    padding: 22px 18px;
  }

  .fx-rates {
    grid-template-columns: 1fr;
  }

  .compare-topbar,
  .compare-hero,
  .live-search,
  .platform-strip,
  .quote-section,
  .decision-section,
  .method-section,
  .source-section,
  .compare-footer {
    width: min(100% - 32px, 1240px);
  }

  .compare-topbar {
    min-height: 72px;
  }

  .compare-topbar > p {
    max-width: 150px;
    justify-content: flex-end;
    text-align: right;
  }

  .compare-hero {
    padding: 64px 0 72px;
  }

  .compare-hero h1 {
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .live-search,
  .platform-strip,
  .quote-section,
  .decision-section,
  .method-section,
  .source-section {
    padding: 72px 0;
  }

  .project-card__header {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .project-number {
    width: 42px;
    height: 42px;
  }

  .project-type {
    grid-column: 2;
    justify-self: start;
  }

  .quote-cell {
    padding: 22px 18px;
  }

  .project-note {
    padding: 17px 18px;
  }

  .decision-grid,
  .method-card ol,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .decision-grid article {
    min-height: 260px;
  }

  .decision-grid h3 {
    margin-top: 70px;
  }

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

@media (max-width: 420px) {
  .compare-topbar,
  .compare-hero,
  .live-search,
  .platform-strip,
  .quote-section,
  .decision-section,
  .method-section,
  .source-section,
  .compare-footer {
    width: min(100% - 24px, 1240px);
  }

  .compare-back {
    letter-spacing: 0.04em;
  }

  .compare-topbar > p {
    font-size: 0.58rem;
  }

  .verdict-card {
    padding: 24px 20px;
  }

  .verdict-score span {
    font-size: 0.6rem;
  }

  .platform-card {
    padding: 22px 18px;
  }

  .quote-price {
    font-size: 3.3rem;
  }

  .filter-row {
    width: 100%;
  }

  .filter-row button {
    flex: 1 1 auto;
  }

  .live-search__grid {
    grid-template-columns: 1fr;
  }

  .live-search__form button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .live-search__grid {
    grid-template-columns: 1fr;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
