/**
 * Travel rewards landings (/sell-airline-miles, /airline-gift-cards) — scoped under .cs-tr
 */
.cs-tr {
  --tr-navy: #0e2a6b;
  --tr-navy-deep: #071537;
  --tr-blue: #0F66E0;
  --tr-sky: #5cc3ff;
  --tr-orange: #ff8a00;
  --tr-green: #11a36a;
  --tr-red: #d6453d;
  --tr-ink: #0b1630;
  --tr-muted: #4a5568;
  --tr-line: rgba(14, 42, 107, 0.12);
  --tr-surface: #f3f7fd;
  --tr-white: #fff;
  --tr-radius: 18px;
  --tr-max: 1140px;
  --tr-font: Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--tr-ink);
  font-family: var(--tr-font);
  overflow-x: hidden;
  background: var(--tr-white);
}
.cs-tr *, .cs-tr *::before, .cs-tr *::after { box-sizing: border-box; }
.cs-tr a { text-decoration: none; }
.cs-tr__wrap { width: 100%; max-width: var(--tr-max); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons / chips ---------- */
.cs-tr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: 700 15px/1 var(--tr-font); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cs-tr-btn:hover { transform: translateY(-1px); }
.cs-tr-btn--primary { background: var(--tr-orange); color: #fff !important; box-shadow: 0 10px 24px rgba(255, 138, 0, .32); }
.cs-tr-btn--primary:hover { background: #ff7a00; box-shadow: 0 14px 28px rgba(255, 138, 0, .4); }
.cs-tr-btn--blue { background: var(--tr-blue); color: #fff !important; box-shadow: 0 10px 24px rgba(22, 119, 255, .28); }
.cs-tr-btn--ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.cs-tr-btn--ghost:hover { background: rgba(255,255,255,.18); }
.cs-tr-btn--outline { background: #fff; color: var(--tr-navy) !important; border: 1.5px solid var(--tr-line); }
.cs-tr-btn--outline:hover { border-color: var(--tr-blue); color: var(--tr-blue) !important; }
.cs-tr-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

.cs-tr-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px;
  border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.cs-tr-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tr-orange); box-shadow: 0 0 0 4px rgba(255,138,0,.25); }

.cs-tr-kicker { margin: 0 0 8px; color: var(--tr-blue); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-tr-title { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; font-weight: 800; color: var(--tr-ink); }
.cs-tr-sub { margin: 0 0 28px; max-width: 720px; color: var(--tr-muted); font-size: 16.5px; line-height: 1.65; }
.cs-tr-center { text-align: center; }
.cs-tr-center .cs-tr-sub { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.cs-tr-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--cs-sticky-offset, 84px) + 48px) 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(92,195,255,.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(255,138,0,.18), transparent 60%),
    linear-gradient(160deg, var(--tr-navy) 0%, var(--tr-navy-deep) 100%);
}
.cs-tr-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
.cs-tr-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.cs-tr-hero__title { margin: 0 0 18px; font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.07; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.cs-tr-hero__title em { font-style: normal; background: linear-gradient(90deg, var(--tr-sky), #a8e1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-tr-hero__lead { margin: 0 0 26px; max-width: 560px; color: rgba(255,255,255,.86); font-size: 17.5px; line-height: 1.6; }
.cs-tr-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cs-tr-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 600; }
.cs-tr-hero__trust li::before { content: "✓"; margin-right: 8px; color: var(--tr-sky); font-weight: 800; }

/* Boarding pass art */
.cs-tr-pass {
  position: relative; display: grid; grid-template-columns: 1fr 112px; border-radius: 22px; overflow: hidden;
  background: #fff; color: var(--tr-ink);
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-2.5deg);
  animation: cs-tr-float 6s ease-in-out infinite;
}
@keyframes cs-tr-float { 0%,100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .cs-tr-pass { animation: none; } }
.cs-tr-pass__main { padding: 22px 22px 20px; }
.cs-tr-pass__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tr-blue); }
.cs-tr-pass__route { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.cs-tr-pass__code { font-size: 34px; font-weight: 800; line-height: 1; color: var(--tr-navy); }
.cs-tr-pass__city { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--tr-muted); }
.cs-tr-pass__plane { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--tr-line) 0 6px, transparent 6px 12px); }
.cs-tr-pass__plane svg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); color: var(--tr-orange); background: #fff; padding: 2px; }
.cs-tr-pass__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-tr-pass__rows dt { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tr-muted); }
.cs-tr-pass__rows dd { margin: 3px 0 0; font-size: 15px; font-weight: 800; color: var(--tr-ink); }
.cs-tr-pass__rows dd.is-save { color: var(--tr-green); }
.cs-tr-pass__stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, var(--tr-orange), #ff6a00); color: #fff; padding: 16px 10px; text-align: center;
}
.cs-tr-pass__stub::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; border-left: 2px dashed rgba(255,255,255,.7); }
.cs-tr-pass__stub strong { font-size: 30px; line-height: 1; font-weight: 800; }
.cs-tr-pass__stub span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cs-tr-pass__bars { width: 70px; height: 34px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px); opacity: .9; }
.cs-tr-pass-chip {
  position: absolute; right: -6px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 14px; background: #fff; color: var(--tr-ink); font-size: 13px; font-weight: 700;
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}
.cs-tr-pass-chip b { color: var(--tr-green); }
.cs-tr-hero__media { position: relative; padding: 10px 6px 30px; }

/* ---------- Sections ---------- */
.cs-tr-section { padding: 72px 0; }
.cs-tr-section--soft { background: var(--tr-surface); }
.cs-tr-section--tight { padding: 48px 0; }

/* Answer box (featured-snippet target) */
.cs-tr-answer {
  margin-top: -36px; position: relative; z-index: 2;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px 26px; border-radius: var(--tr-radius); background: #fff;
  border: 1px solid var(--tr-line); box-shadow: 0 18px 40px rgba(14,42,107,.1);
}
.cs-tr-answer__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff4e5; color: var(--tr-orange); font-size: 26px; }
.cs-tr-answer h2 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.cs-tr-answer p { margin: 0; color: var(--tr-muted); font-size: 15.5px; line-height: 1.65; }
.cs-tr-answer strong { color: var(--tr-ink); }

/* ---------- Calculator ---------- */
.cs-tr-calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--tr-line); box-shadow: 0 24px 60px rgba(14,42,107,.1);
}
.cs-tr-calc__in { padding: 30px; }
.cs-tr-calc__out { padding: 30px; color: #fff; background: linear-gradient(160deg, var(--tr-navy), var(--tr-navy-deep)); }
.cs-tr-label { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tr-muted); }
.cs-tr-programs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; }
.cs-tr-programs input { position: absolute; opacity: 0; pointer-events: none; }
.cs-tr-programs label {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--tr-line); background: #fff;
  font-size: 13.5px; font-weight: 700; color: var(--tr-navy); cursor: pointer; transition: all .15s ease;
}
.cs-tr-programs label:hover { border-color: var(--tr-blue); }
.cs-tr-programs input:checked + label { background: var(--tr-blue); border-color: var(--tr-blue); color: #fff; box-shadow: 0 8px 18px rgba(22,119,255,.25); }
.cs-tr-programs input:focus-visible + label { outline: 3px solid rgba(22,119,255,.35); outline-offset: 2px; }
.cs-tr-miles-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cs-tr-miles-input {
  flex: 1; min-width: 0; height: 56px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--tr-line);
  font: 800 24px/1 var(--tr-font); color: var(--tr-ink); background: var(--tr-surface);
}
.cs-tr-miles-input:focus { outline: none; border-color: var(--tr-blue); background: #fff; }
.cs-tr-miles-unit { font-weight: 700; color: var(--tr-muted); }
.cs-tr-range { width: 100%; accent-color: var(--tr-blue); margin: 6px 0 4px; }
.cs-tr-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cs-tr-presets button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--tr-line); background: #fff; font: 700 12.5px var(--tr-font); color: var(--tr-muted); cursor: pointer; }
.cs-tr-presets button:hover { color: var(--tr-blue); border-color: var(--tr-blue); }
.cs-tr-calc__note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--tr-muted); }

.cs-tr-out__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cs-tr-out__big { margin: 0 0 4px; font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.05; color: #fff; }
.cs-tr-out__cpp { margin: 0 0 24px; font-size: 14px; color: rgba(255,255,255,.75); }
.cs-tr-bars { display: grid; gap: 14px; margin: 0 0 22px; }
.cs-tr-bar__top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; }
.cs-tr-bar__top span:last-child { font-variant-numeric: tabular-nums; }
.cs-tr-bar__track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.cs-tr-bar__fill { height: 100%; border-radius: inherit; transition: width .35s ease; }
.cs-tr-bar--flight .cs-tr-bar__fill { background: linear-gradient(90deg, var(--tr-sky), #a8e1ff); }
.cs-tr-bar--low .cs-tr-bar__fill { background: rgba(255,255,255,.45); }
.cs-tr-bar--broker .cs-tr-bar__fill { background: repeating-linear-gradient(45deg, #ff8a7a 0 8px, #d6453d 8px 16px); }
.cs-tr-bar__hint { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.62); }
.cs-tr-out__tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,138,0,.14); border: 1px solid rgba(255,138,0,.35); font-size: 14px; line-height: 1.55; }
.cs-tr-out__tip a { color: #ffc27a; font-weight: 800; text-decoration: underline; }
.cs-tr-out__exp { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- Options comparison ---------- */
.cs-tr-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cs-tr-opt {
  position: relative; display: flex; flex-direction: column; padding: 24px 20px 20px; border-radius: var(--tr-radius);
  background: #fff; border: 1px solid var(--tr-line); transition: transform .2s ease, box-shadow .2s ease;
}
.cs-tr-opt:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,42,107,.1); }
.cs-tr-opt--best { border: 2px solid var(--tr-orange); box-shadow: 0 18px 40px rgba(255,138,0,.15); }
.cs-tr-opt__flag { position: absolute; top: -12px; left: 18px; padding: 4px 10px; border-radius: 999px; background: var(--tr-orange); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cs-tr-opt__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--tr-surface); font-size: 22px; }
.cs-tr-opt h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.cs-tr-opt p { margin: 0 0 14px; color: var(--tr-muted); font-size: 14.5px; line-height: 1.6; }
.cs-tr-meter { display: grid; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tr-line); font-size: 12.5px; font-weight: 700; color: var(--tr-muted); }
.cs-tr-meter div { display: flex; justify-content: space-between; align-items: center; }
.cs-tr-dots { letter-spacing: 2px; font-size: 13px; }
.cs-tr-dots--good { color: var(--tr-green); }
.cs-tr-dots--mid { color: var(--tr-orange); }
.cs-tr-dots--bad { color: var(--tr-red); }
.cs-tr-opt .cs-tr-btn { margin-top: 16px; width: 100%; }

/* Risk list */
.cs-tr-risks { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cs-tr-risklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cs-tr-risklist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--tr-line); font-size: 15px; line-height: 1.55; color: var(--tr-muted); }
.cs-tr-risklist li b { display: block; color: var(--tr-ink); }
.cs-tr-risklist__x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fdecea; color: var(--tr-red); font-weight: 800; }
.cs-tr-quote { margin: 0; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--tr-navy), var(--tr-navy-deep)); color: #fff; }
.cs-tr-quote p { margin: 0 0 16px; font-size: 21px; line-height: 1.45; font-weight: 700; }
.cs-tr-quote p em { font-style: normal; color: #ffc27a; }
.cs-tr-quote small { color: rgba(255,255,255,.7); font-size: 13.5px; line-height: 1.5; display: block; }

/* ---------- Brand tiles ---------- */
.cs-tr-brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cs-tr-brand {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 14px 16px;
  border-radius: var(--tr-radius); background: #fff; border: 1px solid var(--tr-line); transition: transform .2s ease, box-shadow .2s ease;
}
.cs-tr-brand:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(14,42,107,.1); }
.cs-tr-brand__logo { display: grid; place-items: center; width: 100%; height: 64px; }
.cs-tr-brand__logo img { max-width: 120px; max-height: 56px; object-fit: contain; }
.cs-tr-brand__logo span { font-weight: 800; color: var(--tr-navy); }
.cs-tr-brand__name { font-size: 14.5px; font-weight: 800; color: var(--tr-ink); }
.cs-tr-stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.cs-tr-stock--live { background: #e7f8f0; color: var(--tr-green); }
.cs-tr-stock--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cs-tr-stock--soon { background: #fff4e5; color: #c46a00; }
.cs-tr-brand__acts { display: grid; gap: 6px; width: 100%; margin-top: 4px; }
.cs-tr-brand__acts a { font-size: 13px; font-weight: 800; padding: 9px 10px; border-radius: 10px; }
.cs-tr-brand__buy { background: var(--tr-blue); color: #fff !important; }
.cs-tr-brand__buy:hover { background: #0e62d6; }
.cs-tr-brand__sell { background: var(--tr-surface); color: var(--tr-navy) !important; }
.cs-tr-brand__sell:hover { background: #e5edf9; }

/* ---------- Alert form ---------- */
.cs-tr-alert {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 26px; color: #fff;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(92,195,255,.3), transparent 60%),
    linear-gradient(150deg, var(--tr-blue), var(--tr-navy));
  box-shadow: 0 30px 60px rgba(14,42,107,.25);
}
.cs-tr-alert h2 { margin: 0 0 10px; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; color: #fff; }
.cs-tr-alert p { margin: 0; color: rgba(255,255,255,.85); font-size: 15.5px; line-height: 1.6; }
.cs-tr-form { display: grid; gap: 12px; }
.cs-tr-form__row { display: flex; gap: 10px; }
.cs-tr-form select, .cs-tr-form input[type=email] {
  height: 52px; border-radius: 14px; border: 0; padding: 0 16px; font: 600 15px var(--tr-font); color: var(--tr-ink); background: #fff;
}
.cs-tr-form input[type=email] { flex: 1; min-width: 0; }
.cs-tr-form select { width: 100%; }
.cs-tr-form .cs-tr-btn { height: 52px; flex-shrink: 0; }
.cs-tr-form__fine { font-size: 12.5px; color: rgba(255,255,255,.7); }
.cs-tr-form__status { min-height: 20px; margin: 0; font-size: 14px; font-weight: 700; color: #fff; }
.cs-tr-form__done { margin: 0; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.14); font-weight: 700; }
.cs-tr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cs-tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Steps ---------- */
.cs-tr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: trstep; margin: 0; padding: 0; list-style: none; }
.cs-tr-steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--tr-radius); background: #fff; border: 1px solid var(--tr-line); }
.cs-tr-steps li::before {
  counter-increment: trstep; content: counter(trstep);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px;
  background: linear-gradient(150deg, var(--tr-blue), var(--tr-navy)); color: #fff; font-weight: 800;
}
.cs-tr-steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.cs-tr-steps p { margin: 0; color: var(--tr-muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Program table ---------- */
.cs-tr-table-wrap { overflow-x: auto; border-radius: var(--tr-radius); border: 1px solid var(--tr-line); background: #fff; }
.cs-tr-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.cs-tr-table th, .cs-tr-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--tr-line); }
.cs-tr-table thead th { background: var(--tr-surface); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tr-muted); }
.cs-tr-table tbody tr:last-child td { border-bottom: 0; }
.cs-tr-table td:first-child { font-weight: 800; color: var(--tr-ink); }
.cs-tr-table td a { font-weight: 700; color: var(--tr-blue); }

/* ---------- Stack / split ---------- */
.cs-tr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cs-tr-checks { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.cs-tr-checks li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--tr-muted); }
.cs-tr-checks li::before { content: "✓"; flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7f8f0; color: var(--tr-green); font-size: 12px; font-weight: 800; }
.cs-tr-stack { display: grid; gap: 10px; }
.cs-tr-stack__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--tr-line); font-weight: 700; }
.cs-tr-stack__row span:last-child { color: var(--tr-green); font-variant-numeric: tabular-nums; }
.cs-tr-stack__row--total { background: var(--tr-navy); color: #fff; border-color: var(--tr-navy); }
.cs-tr-stack__row--total span:last-child { color: #8ef0c3; font-size: 18px; }

/* ---------- FAQ ---------- */
.cs-tr-faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.cs-tr-faq details { border-radius: 14px; background: #fff; border: 1px solid var(--tr-line); overflow: hidden; }
.cs-tr-faq summary { position: relative; padding: 18px 54px 18px 20px; font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }
.cs-tr-faq summary::-webkit-details-marker { display: none; }
.cs-tr-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 600; color: var(--tr-blue); transition: transform .2s ease; }
.cs-tr-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cs-tr-faq details p { margin: 0; padding: 0 20px 18px; color: var(--tr-muted); font-size: 15px; line-height: 1.7; }

/* Related links */
.cs-tr-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.cs-tr-related a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--tr-line); font-size: 14px; font-weight: 700; color: var(--tr-navy); }
.cs-tr-related a:hover { border-color: var(--tr-blue); color: var(--tr-blue); }

/* Final CTA */
.cs-tr-final { text-align: center; padding: 64px 0; color: #fff; background: linear-gradient(160deg, var(--tr-navy), var(--tr-navy-deep)); }
.cs-tr-final h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; color: #fff; }
.cs-tr-final p { margin: 0 auto 26px; max-width: 620px; color: rgba(255,255,255,.82); font-size: 16.5px; line-height: 1.6; }
.cs-tr-final .cs-tr-cta-row { justify-content: center; }
.cs-tr-disclaimer { margin: 26px auto 0; max-width: 760px; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cs-tr-hero__grid, .cs-tr-calc, .cs-tr-risks, .cs-tr-alert, .cs-tr-split { grid-template-columns: 1fr; }
  .cs-tr-hero__media { max-width: 460px; }
  .cs-tr-options { grid-template-columns: repeat(2, 1fr); }
  .cs-tr-brands { grid-template-columns: repeat(3, 1fr); }
  .cs-tr-steps { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .cs-tr__wrap { padding: 0 16px; }
  .cs-tr-hero { padding: calc(var(--cs-sticky-offset, 64px) + 24px) 0 64px; }
  .cs-tr-section { padding: 52px 0; }
  .cs-tr-options { grid-template-columns: 1fr; }
  .cs-tr-brands { grid-template-columns: repeat(2, 1fr); }
  .cs-tr-calc__in, .cs-tr-calc__out, .cs-tr-alert { padding: 22px; }
  .cs-tr-answer { grid-template-columns: 1fr; padding: 20px; }
  .cs-tr-form__row { flex-direction: column; }
  .cs-tr-pass { grid-template-columns: 1fr 86px; }
  .cs-tr-pass__code { font-size: 26px; }
  .cs-tr-pass-chip { right: 4px; }
  .cs-tr-cta-row .cs-tr-btn { flex: 1 1 100%; }
}

/* Grid children must be allowed to shrink below their content width on phones. */
.cs-tr-hero__grid > *, .cs-tr-calc > *, .cs-tr-risks > *, .cs-tr-alert > *, .cs-tr-split > *, .cs-tr-answer > * { min-width: 0; }
@media (max-width: 991px) {
  .cs-tr-hero__grid, .cs-tr-calc, .cs-tr-risks, .cs-tr-alert, .cs-tr-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575px) {
  .cs-tr-programs label { padding: 8px 12px; font-size: 13px; }
  .cs-tr-miles-input { font-size: 20px; }
}

/* Inventory stats strip + verifying badge */
.cs-tr-stock--queue { background: #eaf2ff; color: var(--tr-blue); }
.cs-tr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.cs-tr-stats__item { padding: 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--tr-line); text-align: center; }
.cs-tr-stats__item strong { display: block; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--tr-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cs-tr-stats__item span { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--tr-muted); }
.cs-tr-stats__note { margin: 0 0 26px; text-align: center; font-size: 13px; color: var(--tr-muted); }
@media (max-width: 767px) { .cs-tr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Miles guides ---------- */
.cs-tr-prose { max-width: 820px; }
.cs-tr-prose .cs-tr-title { text-align: left; }
.cs-tr-prose p, .cs-tr-prose li { font-size: 16px; line-height: 1.7; color: var(--tr-muted); }
.cs-tr-prose p strong, .cs-tr-prose li strong { color: var(--tr-ink); }
.cs-tr-prose ul:not(.cs-tr-checks), .cs-tr-prose ol { margin: 0 0 18px; padding-left: 1.3em; }
.cs-tr-prose ol li { margin-bottom: 6px; }
.cs-tr-prose a { font-weight: 700; color: var(--tr-blue); }
.cs-tr-opt__flag--good { background: var(--tr-green); }
.cs-tr-opt__flag--ok { background: var(--tr-blue); }
.cs-tr-opt__flag--bad { background: var(--tr-red); }
.cs-tr-options .cs-tr-opt .cs-tr-opt__flag + h3 { margin-top: 6px; }

.cs-tr-stats--guide { margin: 22px 0 0; }
.cs-tr-options--auto { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.cs-tr-opt__link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--tr-blue); }
@media (max-width: 575px) { .cs-tr-options--auto { grid-template-columns: minmax(0, 1fr); } }
