:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #171717;
  --muted: #6f6a62;
  --border: #e8e0d6;
  --accent: #dc1018;
  --hero: #171717;
  --green: #098445;
  --accent-shadow: rgba(220, 16, 24, 0.18);
  --accent-soft: #fff1f2;
  --shadow: 0 14px 34px rgba(23, 23, 23, 0.07);
}

body.program-velocity {
  --bg: #f5f3ff;
  --accent: #6f35d8;
  --hero: #151055;
  --green: #1d8fd1;
  --accent-shadow: rgba(111, 53, 216, 0.24);
  --accent-soft: #ede9fe;
}

body.program-everyday,
body.program-rewards {
  --bg: #f7f4ef;
  --accent: #f47b20;
  --hero: #172412;
  --green: #0d8b62;
  --accent-shadow: rgba(244, 123, 32, 0.2);
  --accent-soft: #ffedd5;
}

body.program-flybuys {
  --bg: #f3f8ff;
  --accent: #0057b8;
  --hero: #072b61;
  --green: #f36f21;
  --accent-shadow: rgba(0, 87, 184, 0.22);
  --accent-soft: #dbeafe;
}

body.program-calculator {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f5f5b;
  --border: #dedbd4;
  --accent: #111111;
  --hero: #111111;
  --green: #087a45;
  --accent-shadow: rgba(17, 17, 17, 0.16);
  --accent-soft: #f1f0ed;
}

html { scrollbar-gutter: stable; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--hero);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  color: var(--hero);
  line-height: 1;
  white-space: nowrap;
}

.nav-links a.active { color: var(--accent); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-toggle,
.nav-menu-button,
.nav-scrim,
.drawer-brand {
  display: none;
}

.nav-links .drawer-brand {
  display: none !important;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 64px;
}

.offer-page {
  width: min(1180px, calc(100% - 40px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  gap: 0;
  max-width: 1040px;
  margin-bottom: 30px;
}

h1 {
  max-width: 960px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  max-width: 840px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--hero);
  font-weight: 850;
  line-height: 1;
}

.offer-hero {
  display: grid;
  gap: 0;
  max-width: 1040px;
  margin-bottom: 30px;
  padding: 0;
}

.offer-hero .lead {
  max-width: 840px;
}

.rate-line {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--hero);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  color: var(--hero);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.offer-list {
  display: grid;
  gap: 18px;
}

.offer-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.offer-thumb {
  width: 100%;
  aspect-ratio: 1.46;
  border-radius: 6px;
  object-fit: cover;
  background: var(--accent-soft);
}

.offer-thumb.no-image {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.offer-thumb.skeleton {
  background: linear-gradient(90deg, var(--accent-soft), #fff, var(--accent-soft));
  background-size: 220% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to { background-position: -220% 0; }
}

.offer-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.offer-card h3 {
  margin: 0;
  color: var(--hero);
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.14;
  letter-spacing: 0;
}

.offer-card h3 a:hover {
  color: var(--accent);
}

.deal-summary {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.value-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--hero);
  font-size: 12px;
  font-weight: 900;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.offer-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--border);
}

.article-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--hero);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.article-link:hover {
  border-color: var(--hero);
}

.sidebar-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: static;
  margin-top: 0;
}

.side-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.side-panel h2 {
  margin: 0 0 10px;
  color: var(--hero);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.side-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.calculator-shell {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.calculator-card {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: visible;
}

.calculator-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(128px, 160px) minmax(104px, auto) minmax(132px, auto);
  gap: 10px;
  align-items: end;
}

.field-label {
  display: grid;
  gap: 7px;
  color: var(--hero);
  font-size: 13px;
  font-weight: 900;
}

.search-field {
  position: relative;
}

.calculator-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.calculator-form .btn,
.calculator-form .alert-trigger {
  min-height: 46px;
}

.calculator-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  max-height: 330px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.16);
}

.search-options[hidden],
.search-options:empty {
  display: none;
}

.search-option {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--hero);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.search-option small {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-option:hover,
.search-option.active {
  background: var(--hero);
  color: #fff;
}

.search-option:hover small,
.search-option.active small {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.result-list {
  display: grid;
  gap: 14px;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.3fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.result-rank {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.result-source {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-value {
  color: var(--hero);
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 900;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.result-points-main,
.result-points-unit {
  display: block;
}

.result-points-unit {
  margin-top: 3px;
  font-size: 18px;
}

.result-card h2 {
  margin: 0;
  color: var(--hero);
  font-size: 23px;
  line-height: 1.16;
}

.result-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.result-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--hero);
  font-size: 12px;
  font-weight: 900;
}

.result-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.result-action.secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--hero);
}

.calculator-empty {
  padding: 28px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,0.7);
}

.alert-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--hero);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px var(--accent-shadow);
  white-space: nowrap;
}

.alert-trigger:hover {
  opacity: 0.9;
}

.alert-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(17, 17, 17, 0.24);
}

.modal-header {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 24px 10px;
}

.modal-title {
  flex: 1;
}

.modal-title .brand {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

.modal-close {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 8px 24px 24px;
}

.signup-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-msg {
  min-height: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px var(--accent-shadow);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--hero);
  font-size: 12px;
  font-weight: 850;
}

.card h2 {
  margin: 16px 0 8px;
  color: var(--hero);
  font-size: 22px;
  letter-spacing: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 12px;
  color: var(--hero);
  font-size: 26px;
  letter-spacing: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 14px 24px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.footer-top {
  display: contents;
}

.footer-note {
  grid-column: 1;
  margin: 0;
  padding-top: 5px;
  line-height: 1.5;
}

.footer-note span + span::before {
  content: " · ";
}

.footer-actions {
  display: flex;
  grid-column: 2;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--hero);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-link {
  width: 36px;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.contact-link {
  padding: 0 12px;
  font-weight: 800;
}

.social-link:hover,
.contact-link:hover {
  border-color: var(--hero);
  transform: translateY(-1px);
}

.footer-newsletter {
  display: contents;
}

.newsletter-copy {
  display: grid;
  grid-column: 1;
  gap: 3px;
  padding-top: 3px;
}

.newsletter-title {
  color: var(--hero);
  font-weight: 900;
}

.newsletter-copy p {
  margin: 0;
  line-height: 1.45;
}

.newsletter-control {
  display: grid;
  grid-column: 2;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.footer-newsletter > div:last-child {
  grid-column: 2;
}

.newsletter-control input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.newsletter-control input:focus {
  border-color: var(--hero);
  outline: none;
}

.newsletter-control button {
  border: 0;
  border-radius: 8px;
  background: var(--hero);
  color: white;
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  min-width: 84px;
}

.newsletter-control button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.newsletter-message {
  min-height: 18px;
  margin: 7px 0 0;
  font-size: 12px;
}

.newsletter-message.success { color: var(--green); }
.newsletter-message.error { color: #b42318; }

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 2px;
  font-size: 12px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--hero);
  text-decoration: underline;
}

.legal-page {
  max-width: 820px;
}

.legal-document {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.legal-section {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.legal-section h2 {
  margin: 0 0 8px;
  color: var(--hero);
  font-size: 22px;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.article-page {
  max-width: 860px;
}

.article-body {
  margin-top: 34px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-body h1 {
  margin: 0 0 18px;
  color: var(--hero);
  font-size: clamp(36px, 6vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.article-body h2 {
  margin: 28px 0 10px;
  color: var(--hero);
  font-size: 22px;
  line-height: 1.2;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.article-body p {
  margin: 12px 0 0;
}

.article-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.article-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 940px) {
  .site-header {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 0 18px;
    backdrop-filter: none;
  }

  .site-header > .brand {
    min-height: 64px;
  }

  .nav-menu-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
  }

  .nav-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--hero);
  }

  .nav-links {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(82vw, 320px);
    margin: 0;
    padding: 18px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    box-shadow: 18px 0 44px rgba(17, 17, 17, 0.18);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    overflow-y: auto;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .nav-links a.active::after {
    left: -18px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 4px;
    height: auto;
    border-radius: 0 999px 999px 0;
  }

  .drawer-brand {
    display: inline-flex !important;
    min-height: 56px !important;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--hero) !important;
    color: var(--hero) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
  }

  .nav-links .drawer-brand {
    display: inline-flex !important;
  }

  .drawer-brand::after {
    display: none !important;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgba(17, 17, 17, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle:checked ~ .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .grid,
  .highlight,
  .sidebar-stack,
  .content-layout,
  .calculator-form,
  .result-card {
    grid-template-columns: 1fr;
  }

  .result-action {
    width: 100%;
  }

  .footer-top,
  .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-note,
  .footer-actions,
  .newsletter-copy,
  .footer-newsletter > div:last-child,
  .footer-legal {
    grid-column: 1;
  }

  .footer-note,
  .newsletter-copy {
    padding-top: 0;
  }

  .footer-actions {
    justify-content: flex-start;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .newsletter-control {
    grid-template-columns: 1fr;
  }

  .newsletter-control button {
    min-height: 42px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 38px;
  }

  h1 { font-size: 44px; }
  .lead { font-size: 17px; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .alert-trigger { width: 100%; }
  .modal-header,
  .modal-body { padding-left: 18px; padding-right: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .offer-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .offer-thumb {
    max-height: 190px;
  }
  .offer-meta span + span::before {
    margin-right: 8px;
  }
}

/* Qantas tracker styles consolidated from qantas.html. */
body.program-qantas {
  --bg:        #f6f3ee;
  --surface:   #ffffff;
  --surface2:  #f0ece5;
  --surface3:  #161616;
  --border:    rgba(22,22,22,0.08);
  --border2:   rgba(22,22,22,0.15);
  --text:      #161616;
  --muted:     #706d68;
  --accent:    #e1081f;
  --accent-dark: #9f0616;
  --gold:      #b8872d;
  --gold-dim:  rgba(184,135,45,0.12);
  --green:     #087a45;
  --mono:      'DM Mono', monospace;
  --serif:     'Playfair Display', Georgia, serif;
}
body.program-qantas * { box-sizing: border-box; margin: 0; padding: 0; }
body.program-qantas { background: var(--bg); color: var(--text); font-family: var(--mono); font-size: 13px; min-height: 100vh; line-height: 1.6; }
body.program-qantas::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events: none; z-index: 0; opacity: 0.15; }
body.program-qantas .page-shell { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px 60px; }
body.program-qantas header { padding: 34px 0 30px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
body.program-qantas .header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
body.program-qantas .logo-area { border-left: 6px solid var(--accent); padding-left: 18px; }
body.program-qantas .logo-area h1 { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); line-height: 1.05; }
body.program-qantas .logo-area h1 span { color: var(--accent); }
body.program-qantas .logo-area p { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
body.program-qantas .meta-bar { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--muted); flex-shrink: 0; margin-top: 6px; }
body.program-qantas .meta-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
body.program-qantas .tabs { display: inline-flex; align-items: center; gap: 4px; background: var(--surface3); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 4px; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(22,22,22,0.08); }
body.program-qantas .tab-btn { border: 0; background: transparent; color: rgba(255,255,255,0.68); border-radius: 5px; padding: 8px 14px; font-family: var(--mono); font-size: 12px; cursor: pointer; transition: background 0.15s, color 0.15s; }
body.program-qantas .tab-btn:hover { color: var(--text); }
body.program-qantas .tabs .tab-btn:hover { color: var(--accent); }
body.program-qantas .tab-btn.active { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
body.program-qantas .tab-panel { display: none; }
body.program-qantas .tab-panel.active { display: block; }
body.program-qantas .controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
body.program-qantas .search-wrap { position: relative; flex: 1; min-width: 200px; }
body.program-qantas .search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
body.program-qantas input[type="text"] { width: 100%; background: var(--surface); border: 1px solid var(--border2); color: var(--text); padding: 9px 12px 9px 36px; border-radius: 6px; font-family: var(--mono); font-size: 13px; outline: none; transition: border-color 0.15s; }
body.program-qantas input[type="text"]:focus { border-color: var(--accent); }
body.program-qantas input[type="text"]::placeholder { color: var(--muted); }
body.program-qantas select { background: var(--surface); border: 1px solid var(--border2); color: var(--text); padding: 9px 32px 9px 12px; border-radius: 6px; font-family: var(--mono); font-size: 13px; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7870' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color 0.15s; }
body.program-qantas select:focus { border-color: var(--accent); }
body.program-qantas .table-wrap { background: var(--surface); border: 1px solid var(--border2); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 36px rgba(22,22,22,0.08); }
body.program-qantas .table-scroll { max-height: 650px; overflow-y: auto; }
body.program-qantas .table-scroll::-webkit-scrollbar { width: 6px; }
body.program-qantas .table-scroll::-webkit-scrollbar-track { background: var(--surface2); }
body.program-qantas .table-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
body.program-qantas table { width: 100%; border-collapse: collapse; table-layout: fixed; }
body.program-qantas thead { position: sticky; top: 0; background: #222222; border-bottom: 3px solid var(--accent); z-index: 2; }
body.program-qantas .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 36px 0 14px; }
body.program-qantas .section-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
body.program-qantas .section-head p { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
body.program-qantas .marketplace-controls { margin-bottom: 14px; }
body.program-qantas .marketplace-table { table-layout: fixed; }
body.program-qantas .marketplace-table td { padding: 14px 16px; }
body.program-qantas .marketplace-table td:nth-child(1) { background: #fff; padding: 14px 16px; }
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(4),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(4) { text-align: center; }
body.program-qantas .shopping-table td:nth-child(2),
body.program-qantas .shopping-table td:nth-child(3),
body.program-qantas .shopping-table td:nth-child(4),
body.program-qantas .shopping-table td:nth-child(5),
body.program-qantas .shopping-table td:nth-child(6) { text-align: right; }
body.program-qantas .shopping-table th:nth-child(2),
body.program-qantas .shopping-table th:nth-child(3),
body.program-qantas .shopping-table th:nth-child(4),
body.program-qantas .shopping-table th:nth-child(5),
body.program-qantas .shopping-table th:nth-child(6) { text-align: right; }
body.program-qantas .marketplace-table .img-thumb,
body.program-qantas .marketplace-table .no-img { width: 72px; height: 48px; object-fit: contain; border-radius: 6px; }
body.program-qantas .gift-card-product { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; }
body.program-qantas .gift-card-product .img-thumb,
body.program-qantas .gift-card-product .no-img { width: 72px; height: 48px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
body.program-qantas .gift-card-product .no-img { display: grid; place-items: center; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.04em; }
body.program-qantas .gift-card-product .no-img::after { content: "Card"; }
body.program-qantas .gift-type { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--surface2); color: var(--muted); border-radius: 999px; padding: 2px 8px; font-size: 10px; margin-top: 6px; }
body.program-qantas .promo-text { color: var(--green); font-size: 11px; margin-top: 4px; }
body.program-qantas .offer-line { color: var(--text); font-size: 12px; line-height: 1.45; }
body.program-qantas .offer-line + .offer-line { color: var(--muted); margin-top: 3px; }
body.program-qantas .case-details { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.45; }
body.program-qantas .case-details strong { color: var(--text); font-weight: 800; }
body.program-qantas .wine-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
body.program-qantas .wine-badge { display: inline-flex; align-items: center; border: 1px solid var(--border); background: var(--surface2); color: var(--muted); border-radius: 999px; padding: 2px 7px; font-size: 10px; line-height: 1.3; font-weight: 800; }
body.program-qantas .wine-badge.new { background: rgba(8,122,69,0.1); border-color: rgba(8,122,69,0.24); color: var(--green); }
body.program-qantas .wine-badge.value { background: rgba(225,8,31,0.08); border-color: rgba(225,8,31,0.2); color: var(--accent-dark); }
body.program-qantas .case-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
body.program-qantas .case-pill { display: inline-flex; align-items: center; max-width: 100%; border: 1px solid var(--border); background: var(--surface2); color: var(--muted); border-radius: 999px; padding: 2px 7px; font-size: 10px; line-height: 1.3; }
body.program-qantas .modal-case-list { display: grid; gap: 8px; margin-top: 10px; }
body.program-qantas .modal-case-list div { border: 1px solid var(--border); background: var(--bg); border-radius: 6px; padding: 8px 10px; font-size: 12px; color: var(--text); }
body.program-qantas .head-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
body.program-qantas .wine-adjustments { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
body.program-qantas .adjust-toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
body.program-qantas .adjust-toggle input { position: absolute; opacity: 0; pointer-events: none; }
body.program-qantas .toggle-shell { width: 36px; height: 20px; border: 1px solid var(--border2); border-radius: 999px; background: #d9dee6; position: relative; transition: background 0.15s, border-color 0.15s; }
body.program-qantas .toggle-shell::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,0.2); transition: transform 0.15s; }
body.program-qantas .adjust-toggle input:checked + .toggle-shell { background: var(--gold); border-color: var(--gold-dark); }
body.program-qantas .adjust-toggle input:checked + .toggle-shell::after { transform: translateX(16px); }
body.program-qantas .info-dot { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--border2); color: var(--muted); font-size: 10px; font-weight: 800; }
body.program-qantas .adjust-note { width: 100%; text-align: right; color: var(--muted); font-size: 11px; }
body.program-qantas .marketplace-intro { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin: -2px 0 14px; color: var(--muted); font-size: 13px; }
body.program-qantas .marketplace-intro a { color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; }
body.program-qantas .marketplace-intro.wine-intro { align-items: center; }
body.program-qantas .wine-intro .wine-adjustments { flex: 0 0 auto; max-width: 100%; }
body.program-qantas .marketplace-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
body.program-qantas .summary-pill { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 12px; min-width: 0; }
body.program-qantas .summary-pill span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
body.program-qantas .summary-pill strong { display: block; margin-top: 4px; font-size: 22px; line-height: 1; font-weight: 850; color: var(--text); letter-spacing: -0.03em; }
body.program-qantas .summary-pill small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.program-qantas .segmented { display: inline-flex; background: var(--surface); border: 1px solid var(--border2); border-radius: 7px; padding: 3px; gap: 3px; }
body.program-qantas .segmented button { border: 0; border-radius: 5px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 800; padding: 7px 10px; cursor: pointer; }
body.program-qantas .segmented button.active { background: #071421; color: #fff; }
body.program-qantas .top-ever-panel { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
body.program-qantas .top-ever-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: #f8fafc; }
body.program-qantas .top-ever-head h3 { font-size: 15px; font-weight: 850; letter-spacing: -0.02em; }
body.program-qantas .top-ever-head span { color: var(--muted); font-size: 11px; }
body.program-qantas .top-ever-table { width: 100%; table-layout: fixed; }
body.program-qantas .top-ever-table thead { position: static; }
body.program-qantas .top-ever-table td:nth-child(n+2),
body.program-qantas .top-ever-table th:nth-child(n+2) { text-align: right; }
body.program-qantas th { padding: 11px 14px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.68); font-weight: 400; white-space: nowrap; cursor: pointer; user-select: none; transition: color 0.15s; overflow: hidden; text-overflow: ellipsis; }
body.program-qantas th:hover { color: #fff; }
body.program-qantas th.sorted { color: #fff; }
body.program-qantas th .sort-arrow { display: inline-block; margin-left: 4px; opacity: 0.4; font-size: 9px; }
body.program-qantas th.sorted .sort-arrow { opacity: 1; }
body.program-qantas tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; cursor: pointer; }
body.program-qantas tbody tr:last-child { border-bottom: none; }
body.program-qantas tbody tr:hover { background: #fff7f7; }
body.program-qantas td { padding: 12px 14px; vertical-align: middle; }
body.program-qantas .td-brand { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
body.program-qantas .td-name { font-family: var(--serif); font-size: 14px; color: var(--text); line-height: 1.3; }
body.program-qantas .pts { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--gold); white-space: nowrap; }
body.program-qantas .pts-label { font-size: 10px; color: var(--muted); margin-top: 2px; }
body.program-qantas .price { font-size: 14px; color: var(--text); white-space: nowrap; }
body.program-qantas .img-thumb { width: 80px; height: 120px; object-fit: contain; border-radius: 4px; background: #ffffff; }
body.program-qantas .no-img { width: 80px; height: 120px; background: #ffffff; border-radius: 3px; }
body.program-qantas .state-msg { text-align: center; padding: 60px 24px; color: var(--muted); }
body.program-qantas .spinner { width: 28px; height: 28px; border: 2px solid var(--border2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 0 auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
body.program-qantas footer.site-footer {
  width: calc(100% - 38px);
  margin-top: 40px;
  margin-right: 19px;
  margin-left: 19px;
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
}
body.program-qantas .count-badge:empty {
  display: none;
}
body.program-qantas .site-footer .contact-link,
body.program-qantas .site-footer .newsletter-control button {
  min-height: 38px;
}
body.program-qantas .site-footer .newsletter-control input {
  min-height: 38px;
}
body.program-qantas .count-badge { background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-size: 11px; color: var(--muted); margin-left: auto; }
body.program-qantas .signup-section { display: grid; grid-template-columns: 1fr; max-width: 600px; gap: 24px; margin-top: 48px; }
body.program-qantas .signup-box { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: 8px; padding: 28px; box-shadow: 0 10px 24px rgba(22,22,22,0.06); }
body.program-qantas .signup-box h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
body.program-qantas .signup-box p { font-size: 12px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
body.program-qantas .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
body.program-qantas .form-row label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
body.program-qantas .form-row input,
body.program-qantas .form-row select { width: 100%; background: var(--bg); border: 1px solid var(--border2); color: var(--text); padding: 9px 12px; border-radius: 6px; font-family: var(--mono); font-size: 13px; outline: none; }
body.program-qantas .form-row input:focus,
body.program-qantas .form-row select:focus { border-color: var(--accent); }
body.program-qantas .form-row select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7870' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }
body.program-qantas .btn-submit { width: 100%; background: var(--accent); color: white; border: none; padding: 10px; border-radius: 6px; font-family: var(--mono); font-size: 13px; cursor: pointer; margin-top: 4px; transition: opacity 0.15s; }
body.program-qantas .btn-submit:hover { opacity: 0.85; }
body.program-qantas .form-msg { font-size: 12px; margin-top: 10px; text-align: center; min-height: 18px; }
body.program-qantas .form-msg.success { color: var(--green); }
body.program-qantas .form-msg.error { color: var(--accent); }
body.program-qantas .modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.program-qantas .modal-overlay.open { display: flex; }
body.program-qantas .modal {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border2);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
body.program-qantas .modal-header {
  display: flex;
  gap: 20px;
  padding: 24px 24px 0;
  align-items: flex-start;
}
body.program-qantas .modal-img {
  width: 80px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  flex-shrink: 0;
}
body.program-qantas .modal-title { flex: 1; }
body.program-qantas .modal-title .brand { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
body.program-qantas .modal-title h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text); }
body.program-qantas .modal-close {
  background: none; border: none; cursor: pointer; font-size: 20px;
  color: var(--muted); line-height: 1; padding: 0; flex-shrink: 0;
}
body.program-qantas .modal-close:hover { color: var(--text); }
body.program-qantas .modal-body { padding: 20px 24px 24px; }
body.program-qantas .modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
body.program-qantas .modal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
body.program-qantas .modal-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
body.program-qantas .modal-card-value { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--text); }
body.program-qantas .modal-card-value.gold { color: var(--gold); }
body.program-qantas .modal-card-value.red { color: var(--accent); }
body.program-qantas .modal-card-value.green { color: var(--green); }
body.program-qantas .modal-card-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
body.program-qantas .modal-section { margin-bottom: 16px; }
body.program-qantas .modal-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
body.program-qantas .modal-description { font-size: 13px; color: var(--text); line-height: 1.7; }
body.program-qantas .modal-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
body.program-qantas .history-chart-wrap { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
body.program-qantas .history-chart { width: 100%; height: 180px; display: block; }
body.program-qantas .history-summary { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
body.program-qantas .modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
body.program-qantas .modal-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  transition: background 0.15s;
}
body.program-qantas .modal-btn:hover { background: var(--surface2); }
body.program-qantas .modal-btn.primary { background: var(--accent); color: white; border-color: var(--accent); }
body.program-qantas .modal-btn.primary:hover { opacity: 0.85; }
body.program-qantas .history-loading { text-align: center; padding: 20px; color: var(--muted); font-size: 13px; }
body.program-qantas .verdict-section { margin-bottom: 16px; }
body.program-qantas .verdict-box {
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
body.program-qantas .verdict-box.worth-it { background: rgba(26,122,64,0.08);  border: 1px solid rgba(26,122,64,0.2); }
body.program-qantas .verdict-box.borderline { background: rgba(154,111,26,0.08); border: 1px solid rgba(154,111,26,0.2); }
body.program-qantas .verdict-box.skip-it { background: rgba(192,57,43,0.08);  border: 1px solid rgba(192,57,43,0.2); }
body.program-qantas .verdict-badge {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
body.program-qantas .verdict-badge.worth-it { color: var(--green); }
body.program-qantas .verdict-badge.borderline { color: var(--gold); }
body.program-qantas .verdict-badge.skip-it { color: var(--accent); }
body.program-qantas .verdict-reason { font-size: 13px; color: var(--text); line-height: 1.5; }
body.program-qantas .verdict-loading { text-align: center; padding: 14px; color: var(--muted); font-size: 13px; }
body.program-qantas .verdict-score { font-size: 11px; color: var(--muted); margin-top: 4px; }
@media (max-width: 700px) {
body.program-qantas .page-shell { padding: 0 12px 40px; }
body.program-qantas header { padding: 24px 0 20px; }
body.program-qantas .logo-area h1 { font-size: 22px; }
body.program-qantas .tabs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.program-qantas .tab-btn { width: 100%; padding: 9px 8px; }
body.program-qantas .controls { gap: 8px; }
body.program-qantas .search-wrap { min-width: 100%; }
body.program-qantas select { width: 100%; }
body.program-qantas .wine-table th:nth-child(1),
body.program-qantas .wine-table td:nth-child(1),
body.program-qantas .wine-table th:nth-child(3),
body.program-qantas .wine-table td:nth-child(3),
body.program-qantas .wine-table th:nth-child(5),
body.program-qantas .wine-table td:nth-child(5),
body.program-qantas .wine-table th:nth-child(6),
body.program-qantas .wine-table td:nth-child(6),
body.program-qantas .wine-table th:nth-child(8),
body.program-qantas .wine-table td:nth-child(8) { display: none; }
body.program-qantas .wine-table th:nth-child(2),
body.program-qantas .wine-table td:nth-child(2) { width: auto; }
body.program-qantas .wine-table th:nth-child(4),
body.program-qantas .wine-table td:nth-child(4) { width: 100px; text-align: right; padding-right: 16px; }
body.program-qantas .wine-table th:nth-child(7),
body.program-qantas .wine-table td:nth-child(7) { width: 100px; text-align: right; padding-right: 16px; }
body.program-qantas .wine-table td:nth-child(4) .pts,
body.program-qantas .wine-table td:nth-child(4) .pts-label,
body.program-qantas .wine-table td:nth-child(7) .pts,
body.program-qantas .wine-table td:nth-child(7) .pts-label { text-align: right; display: block; }
body.program-qantas .marketplace-table:not(.shopping-table) col:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(3) { display: none; }
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(4),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(4) { text-align: right; }
body.program-qantas th,
body.program-qantas td { padding: 10px 6px; }
body.program-qantas .pts { font-size: 13px; }
body.program-qantas .pts-label { font-size: 9px; white-space: nowrap; }
body.program-qantas .td-name { font-size: 12px; }
body.program-qantas .td-brand { font-size: 9px; }
body.program-qantas .signup-section { margin-top: 24px; }
body.program-qantas .signup-box { padding: 20px 16px; }

}
body.program-qantas {
  --bg: #f5f7fa;
  --hero: #06111f;
  --hero2: #0b2035;
  --surface2: #edf1f6;
  --surface3: #071421;
  --border: rgba(10,24,40,0.08);
  --border2: rgba(10,24,40,0.14);
  --text: #111827;
  --muted: #667085;
  --accent: #e4002b;
  --accent-dark: #a90020;
  --gold: #f5c45d;
  --gold-dark: #b8872d;
  --gold-dim: rgba(245,196,93,0.16);
  --green: #00875a;
  --mono: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
body.program-qantas {
  background: var(--bg);
  font-size: 16px;
  line-height: normal;
}
body.program-qantas::before {
  background: radial-gradient(circle at 18% 0%, rgba(245,196,93,0.08), transparent 32%),
    linear-gradient(180deg, rgba(6,17,31,0.06), transparent 360px);
  opacity: 1;
}
body.program-qantas .page-shell {
  max-width: 1220px;
  padding-bottom: 64px;
}
body.program-qantas .brand-hero {
  margin: 18px 0 18px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6,17,31,0.98), rgba(9,32,55,0.96));
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(5,18,32,0.24);
}
body.program-qantas .brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06111f 0%, rgba(6,17,31,0.96) 32%, rgba(6,17,31,0.56) 58%, rgba(6,17,31,0.18) 100%),
    url('assets/brand/hero-cabin.png') right center / auto 100% no-repeat;
  opacity: 0.98;
  pointer-events: none;
}
body.program-qantas .brand-hero > .header-top { display: none; }
body.program-qantas .brand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
body.program-qantas .brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
body.program-qantas .pj-monogram {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(245,196,93,0.72);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
body.program-qantas .brand-word {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.program-qantas .brand-tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}
body.program-qantas .nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 700;
}
body.program-qantas .nav-pill {
  border: 1px solid rgba(245,196,93,0.65);
  color: var(--gold);
  border-radius: 6px;
  padding: 9px 14px;
}
body.program-qantas .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 38px 24px 34px;
  position: relative;
  z-index: 1;
}
body.program-qantas .hero-grid::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245,196,93,0.15), transparent 64%);
  pointer-events: none;
}
body.program-qantas .rebrand-logo {
  border-left: 0;
  padding-left: 0;
  position: relative;
  z-index: 1;
}
body.program-qantas .trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
body.program-qantas .star {
  color: #1fdf7a;
  font-size: 20px;
  line-height: 1;
}
body.program-qantas .rebrand-logo h1 {
  font-family: var(--mono);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.05;
  max-width: 760px;
}
body.program-qantas .rebrand-logo p {
  font-size: 17px;
  color: rgba(255,255,255,0.76);
  margin-top: 18px;
  max-width: 560px;
  letter-spacing: 0;
  text-transform: none;
}
body.program-qantas .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
body.program-qantas .hero-btn {
  border-radius: 6px;
  border: 1px solid rgba(245,196,93,0.6);
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
}
body.program-qantas .hero-btn.primary {
  background: linear-gradient(180deg, #ffd87a, #f5b93e);
  color: #071421;
  border-color: transparent;
}
body.program-qantas .deal-card {
  align-self: end;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 18px;
  backdrop-filter: blur(16px);
}
body.program-qantas .deal-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}
body.program-qantas .deal-card h2 {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}
body.program-qantas .deal-card p {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
body.program-qantas .hero-deal-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
body.program-qantas .hero-deal-mini {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}
body.program-qantas .hero-deal-mini img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  display: block;
}
body.program-qantas .hero-deal-mini span {
  display: block;
  padding: 8px 9px;
  color: rgba(255,255,255,0.84);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.program-qantas .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
body.program-qantas .stat {
  background: rgba(6,17,31,0.62);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 12px;
}
body.program-qantas .stat-value {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
body.program-qantas .stat-label {
  color: rgba(255,255,255,0.68);
  font-size: 11px;
  margin-top: 4px;
}
body.program-qantas .tabs {
  gap: 6px;
  background: #081727;
  border: 1px solid rgba(8,23,39,0.16);
  padding: 5px;
  margin-bottom: 18px;
  box-shadow: 0 12px 32px rgba(5,18,32,0.16);
}
body.program-qantas .tracker-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}
body.program-qantas .overview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.07);
  min-width: 0;
}
body.program-qantas .overview-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.program-qantas .overview-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}
body.program-qantas .overview-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
body.program-qantas .tab-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 18px 48px rgba(15,23,42,0.08);
  margin-bottom: 24px;
}
body.program-qantas .tab-btn {
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
}
body.program-qantas .tab-btn.active {
  background: var(--gold);
  color: #071421;
}
body.program-qantas .controls {
  background: #f8fafc;
  border: 1px solid rgba(10,24,40,0.07);
  border-radius: 10px;
  padding: 12px;
}
body.program-qantas input[type="text"],
body.program-qantas select {
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
body.program-qantas input[type="text"]:focus,
body.program-qantas select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(245,196,93,0.18);
}
body.program-qantas .table-wrap {
  border: 1px solid var(--border);
  box-shadow: none;
  border-radius: 10px;
}
body.program-qantas thead {
  background: #071421;
  border-bottom-color: var(--gold);
}
body.program-qantas th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
body.program-qantas tbody tr:hover { background: #fffaf0; }
body.program-qantas tbody tr:nth-child(even) { background: rgba(248,250,252,0.52); }
body.program-qantas tbody tr:nth-child(even):hover { background: #fffaf0; }
body.program-qantas .section-head h2 {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.program-qantas .section-head p,
body.program-qantas .td-brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}
body.program-qantas .td-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
body.program-qantas .pts {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
}
body.program-qantas .price {
  font-weight: 700;
}
body.program-qantas .signup-box {
  border-top-color: var(--gold);
  box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}
body.program-qantas .signup-box h3 {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
}
body.program-qantas .btn-submit,
body.program-qantas .modal-btn.primary {
  background: #071421;
  border-color: #071421;
  font-weight: 800;
}
body.program-qantas .modal-title h2,
body.program-qantas .modal-card-value,
body.program-qantas .verdict-badge {
  font-family: var(--mono);
  font-weight: 800;
}
@media (max-width: 700px) {
body.program-qantas .brand-hero { margin-top: 10px; }
body.program-qantas .brand-hero::before {
    background:
      linear-gradient(180deg, rgba(6,17,31,0.98) 0%, rgba(6,17,31,0.92) 48%, rgba(6,17,31,0.78) 100%),
      url('assets/brand/hero-cabin.png') center bottom / auto 72% no-repeat;
  }
body.program-qantas .brand-nav { padding: 16px; align-items: flex-start; }
body.program-qantas .brand-word { font-size: 14px; letter-spacing: 0.12em; }
body.program-qantas .brand-tag { font-size: 9px; }
body.program-qantas .pj-monogram { width: 40px; height: 40px; font-size: 22px; }
body.program-qantas .nav-links { display: none; }
body.program-qantas .hero-grid { grid-template-columns: 1fr; padding: 26px 16px 24px; }
body.program-qantas .rebrand-logo h1 { font-size: 35px; }
body.program-qantas .rebrand-logo p { font-size: 15px; }
body.program-qantas .stats-row { grid-template-columns: 1fr; }
body.program-qantas .tracker-overview { grid-template-columns: 1fr; }
body.program-qantas .marketplace-summary { grid-template-columns: 1fr; }
body.program-qantas .marketplace-intro { flex-direction: column; gap: 8px; }
body.program-qantas .hero-deal-strip { grid-template-columns: 1fr; }
body.program-qantas .deal-card { display: none; }
body.program-qantas .tab-panel { padding: 12px; border-radius: 10px; }
body.program-qantas .controls { padding: 10px; }
body.program-qantas .head-stack { align-items: flex-start; width: 100%; }
body.program-qantas .wine-adjustments { justify-content: flex-start; gap: 10px; }
body.program-qantas .adjust-note { text-align: left; }
body.program-qantas .marketplace-table:not(.shopping-table) col:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(3),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(3) { display: none; }
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(2),
body.program-qantas .marketplace-table:not(.shopping-table) th:nth-child(4),
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(4) { text-align: right; }
body.program-qantas .top-ever-table col:nth-child(3),
body.program-qantas .top-ever-table th:nth-child(3),
body.program-qantas .top-ever-table td:nth-child(3) { display: none; }

}
body.program-qantas {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #091326;
  --muted: #667085;
  --border: #e6eaf0;
  --border2: #d3d9e3;
  --accent: #dc1018;
  --accent-dark: #b90d14;
  --hero: #07183d;
  --gold: #f6b93b;
  --gold-dark: #b96a00;
  --green: #098445;
  --shadow-soft: 0 16px 45px rgba(7, 24, 61, 0.08);
}
body.program-qantas {
  background: var(--bg);
  color: var(--text);
}
body.program-qantas::before {
  display: none;
}
body.program-qantas .page-shell {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 58px 0 64px;
}
body.program-qantas .brand-hero {
  margin: 0 0 30px;
  padding: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
  box-shadow: none;
  border-radius: 0;
}
body.program-qantas .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-height: 72px;
  margin-bottom: 0;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
body.program-qantas .site-header .brand {
  display: inline-flex;
  align-items: center;
  color: var(--hero);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: normal;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
body.program-qantas .brand-hero::before,
body.program-qantas .hero-grid::after {
  display: none;
}
body.program-qantas .brand-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
body.program-qantas .brand-mark {
  color: var(--hero);
}
body.program-qantas .pj-monogram { display: none; }
body.program-qantas .brand-word {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hero);
}
body.program-qantas .brand-tag {
  display: none;
}
body.program-qantas .nav-links {
  display: flex;
  align-items: stretch;
  margin-left: auto;
  gap: 24px;
  color: var(--hero);
  font-size: 14px;
  font-weight: 800;
}
body.program-qantas .nav-links a,
body.program-qantas .nav-links span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  color: var(--hero);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
body.program-qantas .nav-links a.active,
body.program-qantas .nav-links span:first-child {
  color: var(--accent);
}
body.program-qantas .nav-links a.active::after,
body.program-qantas .nav-links span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}
body.program-qantas .nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 17px 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--hero);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(7, 24, 61, 0.2);
}
body.program-qantas .nav-pill::after {
  display: none;
}
body.program-qantas .hero {
  display: grid;
  gap: 0;
  max-width: 1040px;
  margin-bottom: 30px;
}
body.program-qantas .hero .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: normal;
  text-transform: uppercase;
}
body.program-qantas .hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
body.program-qantas .hero h1 span {
  display: block;
  color: var(--accent);
}
body.program-qantas .hero .lead {
  max-width: 840px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
body.program-qantas .hero-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 0 30px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 0;
}
body.program-qantas .rebrand-logo .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: normal;
  text-transform: uppercase;
}
body.program-qantas .rebrand-logo h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 960px;
  color: var(--text);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}
body.program-qantas .rebrand-logo h1 span {
  display: block;
  color: var(--accent);
}
body.program-qantas .trust-line { display: none; }
body.program-qantas .star {
  display: none;
}
body.program-qantas .rebrand-logo p {
  max-width: 840px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
body.program-qantas .hero-actions {
  margin-top: 34px;
}
body.program-qantas .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #cbd3df;
  background: #fff;
  color: var(--hero);
  font-weight: 850;
  line-height: 1;
}
body.program-qantas .hero-btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(220, 16, 24, 0.24);
}
body.program-qantas .deal-card { display: none; }
body.program-qantas .deal-card::before {
  content: "";
  position: absolute;
  left: 48%;
  bottom: 72px;
  width: 58px;
  height: 190px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(90deg, #120b1a, #27304c 45%, #0b0810);
  transform: translateX(-50%);
  box-shadow: 0 -54px 0 -17px var(--accent);
}
body.program-qantas .deal-card::after {
  content: "Points";
  position: absolute;
  right: 11%;
  bottom: 102px;
  width: 230px;
  min-height: 138px;
  padding: 62px 28px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--hero), #132d69);
  color: white;
  transform: rotate(5deg);
  box-shadow: 0 20px 40px rgba(7, 24, 61, 0.22);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}
body.program-qantas .deal-eyebrow,
body.program-qantas .deal-card h2,
body.program-qantas .deal-card p,
body.program-qantas .hero-deal-strip {
  display: none;
}
body.program-qantas .stats-row {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  z-index: 2;
}
body.program-qantas .stat {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(230,234,240,0.9);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(7, 24, 61, 0.08);
}
body.program-qantas .stat-value {
  color: var(--hero);
  font-size: 25px;
}
body.program-qantas .stat-label {
  color: var(--muted);
}
body.program-qantas .tracker-overview {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 28px;
}
body.program-qantas .tracker-overview,
body.program-qantas .signup-section {
  display: none;
}
body.program-qantas .overview-card,
body.program-qantas .tab-panel,
body.program-qantas .signup-box,
body.program-qantas .top-ever-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
body.program-qantas .overview-card {
  padding: 26px;
}
body.program-qantas .overview-card span {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
body.program-qantas .overview-card strong {
  font-size: 32px;
  color: var(--text);
}
body.program-qantas .overview-card small {
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}
body.program-qantas .tabs {
  width: min(1180px, calc(100% - 40px));
  justify-content: flex-start;
  gap: 26px;
  margin: 0 auto 18px;
  padding: 0 18px;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  background: #fff;
  box-shadow: none;
}
body.program-qantas .tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 0 18px;
  border-radius: 0;
  color: var(--hero);
  background: transparent;
  line-height: 1;
}
body.program-qantas .tab-btn:hover {
  color: var(--accent);
}
body.program-qantas .tab-btn.active {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}
body.program-qantas .tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}
body.program-qantas .tab-panel {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
  padding: 18px;
  margin-bottom: 22px;
}
body.program-qantas .tracker-shell {
  width: 100%;
  margin: 0 0 64px;
}
body.program-qantas .tracker-shell > .tabs,
body.program-qantas .tracker-shell > .tab-panel {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
body.program-qantas .tracker-shell > .tabs {
  margin-bottom: 0;
}
body.program-qantas .tracker-shell > .tab-panel {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
body.program-qantas .wine-table th,
body.program-qantas .marketplace-table th {
  color: var(--muted);
}
body.program-qantas .wine-table th:hover,
body.program-qantas .marketplace-table th:hover,
body.program-qantas .wine-table th.sorted,
body.program-qantas .marketplace-table th.sorted {
  color: var(--muted);
}
body.program-qantas .wine-table th.sorted .sort-arrow,
body.program-qantas .marketplace-table th.sorted .sort-arrow {
  color: var(--accent);
  opacity: 1;
}
body.program-qantas .marketplace-table:not(.shopping-table) .modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  flex: 0 0 auto;
}
body.program-qantas .section-head {
  margin: 0 0 14px;
}
body.program-qantas .section-head h2 {
  font-size: 23px;
  letter-spacing: -0.04em;
}
body.program-qantas .controls,
body.program-qantas .marketplace-summary .summary-pill {
  border-radius: 16px;
  background: #f8fafc;
}
body.program-qantas .alert-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--hero);
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 24, 61, 0.16);
  white-space: nowrap;
}
body.program-qantas .alert-trigger:hover {
  background: #102a64;
}
body.program-qantas .alert-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
body.program-qantas .alert-modal {
  max-width: 560px;
  border-radius: 22px;
  overflow: hidden;
}
body.program-qantas .alert-modal .modal-header {
  padding: 24px 24px 10px;
  align-items: center;
}
body.program-qantas .alert-modal .modal-title h2 {
  font-size: 24px;
  letter-spacing: -0.04em;
}
body.program-qantas .alert-modal .modal-body {
  padding-top: 8px;
}
body.program-qantas .alert-modal .signup-box {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
body.program-qantas .alert-modal .signup-box h3 {
  display: none;
}
body.program-qantas .alert-modal .signup-box p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
body.program-qantas .table-wrap {
  border-radius: 16px;
  overflow: hidden;
}
body.program-qantas thead {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}
body.program-qantas th {
  color: var(--muted);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
body.program-qantas th:hover,
body.program-qantas th.sorted {
  color: var(--hero);
}
body.program-qantas tbody tr:hover,
body.program-qantas tbody tr:nth-child(even):hover {
  background: #fff8f8;
}
body.program-qantas .td-name {
  color: var(--hero);
  font-size: 14px;
  font-weight: 850;
}
body.program-qantas .pts {
  color: var(--hero);
}
body.program-qantas .modal {
  border-radius: 22px;
}
@media (max-width: 940px) {
body.program-qantas .brand-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
  }
body.program-qantas .nav-links {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
  }
body.program-qantas .nav-links a,
body.program-qantas .nav-links span {
    padding: 10px 0 14px;
    white-space: nowrap;
  }
body.program-qantas .nav-pill {
    margin: 0 0 6px;
    margin-left: auto;
  }
body.program-qantas .hero-grid {
    grid-template-columns: 1fr;
  }
body.program-qantas .tracker-overview {
    grid-template-columns: 1fr 1fr;
  }

}
@media (max-width: 620px) {
body.program-qantas .page-shell {
  width: min(100% - 24px, 1180px);
  padding: 38px 0 40px;
}
body.program-qantas .brand-nav {
    padding: 16px 20px;
  }
body.program-qantas .hero-grid {
    width: min(100% - 24px, 1180px);
    padding-top: 40px;
  }
body.program-qantas .tracker-shell {
    width: min(100% - 24px, 1180px);
  }
body.program-qantas .deal-card {
    display: none;
  }
body.program-qantas .rebrand-logo h1 {
    color: var(--text);
    background: none;
    font-size: 44px;
    line-height: 1;
    letter-spacing: 0;
  }
body.program-qantas .tracker-overview {
    grid-template-columns: 1fr;
  }
body.program-qantas .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 16px 16px 0 0;
  }
body.program-qantas .tab-btn {
    min-height: 42px;
    padding: 8px 10px;
    white-space: normal;
    line-height: 1.2;
  }
body.program-qantas .tab-btn.active::after {
    display: none;
  }
body.program-qantas .section-head {
    display: grid;
    gap: 8px;
  }
body.program-qantas .section-head h2 {
    font-size: 20px;
  }
body.program-qantas .meta-bar {
    width: 100%;
    margin-top: 0;
    justify-content: flex-start;
  }
body.program-qantas .marketplace-intro,
body.program-qantas .marketplace-intro.wine-intro {
    display: grid;
    gap: 12px;
  }
body.program-qantas .wine-adjustments {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
body.program-qantas .adjust-toggle {
    min-height: 38px;
  }
body.program-qantas .controls,
body.program-qantas .marketplace-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
body.program-qantas .controls .search-wrap,
body.program-qantas .controls select,
body.program-qantas .controls .alert-trigger {
    width: 100%;
    min-width: 0;
  }
body.program-qantas .alert-trigger {
    min-height: 46px;
  }
body.program-qantas .table-wrap {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
body.program-qantas .table-scroll {
    max-height: none;
    overflow: visible;
  }
body.program-qantas .wine-table,
body.program-qantas .marketplace-table,
body.program-qantas .top-ever-table {
    display: block;
  }
body.program-qantas .wine-table colgroup,
body.program-qantas .marketplace-table colgroup,
body.program-qantas .top-ever-table colgroup,
body.program-qantas .wine-table thead,
body.program-qantas .marketplace-table thead,
body.program-qantas .top-ever-table thead {
    display: none;
  }
body.program-qantas .wine-table tbody,
body.program-qantas .marketplace-table tbody,
body.program-qantas .top-ever-table tbody,
body.program-qantas .wine-table tr,
body.program-qantas .marketplace-table tr,
body.program-qantas .top-ever-table tr,
body.program-qantas .wine-table td,
body.program-qantas .marketplace-table td,
body.program-qantas .top-ever-table td {
    display: block;
    width: 100%;
  }
body.program-qantas .wine-table tr,
body.program-qantas .marketplace-table tr,
body.program-qantas .top-ever-table tr {
    margin: 0 0 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15,23,42,0.07);
    overflow: hidden;
  }
body.program-qantas .wine-table tr:hover,
body.program-qantas .marketplace-table tr:hover,
body.program-qantas .top-ever-table tr:hover,
body.program-qantas tbody tr:nth-child(even),
body.program-qantas tbody tr:nth-child(even):hover {
    background: #fff;
  }
body.program-qantas .wine-table td,
body.program-qantas .marketplace-table td,
body.program-qantas .top-ever-table td {
    padding: 10px 12px;
    border: 0;
    text-align: left !important;
    width: 100% !important;
  }
body.program-qantas .wine-table td:nth-child(1) {
    display: none;
  }
body.program-qantas .wine-table td:nth-child(n+3),
body.program-qantas .marketplace-table td:nth-child(n+2),
body.program-qantas .top-ever-table td:nth-child(n+2) {
    border-top: 1px solid var(--border);
  }
body.program-qantas .wine-table td:nth-child(3),
body.program-qantas .wine-table td:nth-child(4),
body.program-qantas .wine-table td:nth-child(5),
body.program-qantas .wine-table td:nth-child(6),
body.program-qantas .wine-table td:nth-child(7),
body.program-qantas .wine-table td:nth-child(8),
body.program-qantas .wine-table td:nth-child(9),
body.program-qantas .marketplace-table td:nth-child(n+2),
body.program-qantas .top-ever-table td:nth-child(n+2) {
    display: grid;
    grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }
body.program-qantas .wine-table td:nth-child(3)::before { content: "Points per $"; }
body.program-qantas .wine-table td:nth-child(4)::before { content: "Cents per point"; }
body.program-qantas .wine-table td:nth-child(5)::before { content: "Per bottle"; }
body.program-qantas .wine-table td:nth-child(6)::before { content: "Pack price"; }
body.program-qantas .wine-table td:nth-child(7)::before { content: "Points"; }
body.program-qantas .wine-table td:nth-child(8)::before { content: "Rating"; }
body.program-qantas .wine-table td:nth-child(9)::before { content: "Competitor"; }
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(2)::before { content: "Points per $"; }
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(3)::before { content: "Offer"; }
body.program-qantas .marketplace-table:not(.shopping-table) td:nth-child(4)::before { content: ""; }
body.program-qantas .sale-table td:nth-child(2)::before { content: "Points per $"; }
body.program-qantas .sale-table td:nth-child(3)::before { content: "Cents per point"; }
body.program-qantas .sale-table td:nth-child(4)::before { content: "Price"; }
body.program-qantas .sale-table td:nth-child(5)::before { content: "Points"; }
body.program-qantas .sale-table td:nth-child(6)::before { content: ""; }
body.program-qantas .shopping-table:not(.sale-table) td:nth-child(2)::before { content: "Points per $"; }
body.program-qantas .shopping-table:not(.sale-table) td:nth-child(3)::before { content: "Status"; }
body.program-qantas .shopping-table:not(.sale-table) td:nth-child(4)::before { content: "Offers"; }
body.program-qantas .shopping-table:not(.sale-table) td:nth-child(5)::before { content: ""; }
body.program-qantas .top-ever-table td:nth-child(2)::before { content: "Points per $"; }
body.program-qantas .top-ever-table td:nth-child(3)::before { content: "Best tracked"; }
body.program-qantas .top-ever-table td:nth-child(4)::before { content: "Current"; }
body.program-qantas .wine-table td:nth-child(n+3)::before,
body.program-qantas .marketplace-table td:nth-child(n+2)::before,
body.program-qantas .top-ever-table td:nth-child(n+2)::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
body.program-qantas .wine-table td:nth-child(n+3) > *,
body.program-qantas .marketplace-table td:nth-child(n+2) > *,
body.program-qantas .top-ever-table td:nth-child(n+2) > * {
    justify-self: end;
    text-align: right;
  }
body.program-qantas .wine-table .pts,
body.program-qantas .wine-table .pts-label,
body.program-qantas .marketplace-table .pts,
body.program-qantas .marketplace-table .pts-label,
body.program-qantas .top-ever-table .pts,
body.program-qantas .top-ever-table .pts-label {
    text-align: right;
  }
body.program-qantas .gift-card-product {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }
body.program-qantas .gift-card-product .img-thumb,
body.program-qantas .gift-card-product .no-img,
body.program-qantas .marketplace-table .img-thumb,
body.program-qantas .marketplace-table .no-img {
    width: 52px;
    height: 40px;
  }
body.program-qantas .wine-badges,
body.program-qantas .case-details {
    max-width: 100%;
  }
body.program-qantas .modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }
body.program-qantas .modal {
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }
body.program-qantas .modal-header {
    padding: 18px 16px 0;
    gap: 12px;
  }
body.program-qantas .modal-img {
    width: 54px;
    height: 82px;
  }
body.program-qantas .modal-title h2 {
    font-size: 17px;
  }
body.program-qantas .modal-body {
    padding: 16px;
  }
body.program-qantas .modal-grid {
    grid-template-columns: 1fr;
  }
body.program-qantas .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
body.program-qantas .modal-btn,
body.program-qantas .marketplace-table:not(.shopping-table) .modal-btn {
    width: 100%;
  }

}

@media (max-width: 940px) {
  body.program-qantas .site-header {
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 64px;
    padding: 0 18px;
    backdrop-filter: none;
  }

  body.program-qantas .nav-menu-button {
    display: inline-flex;
  }

  body.program-qantas .nav-links {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(82vw, 320px);
    margin: 0;
    padding: 18px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    box-shadow: 18px 0 44px rgba(17, 17, 17, 0.18);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    overflow-y: auto;
  }

  body.program-qantas .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  body.program-qantas .nav-links a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--border);
  }

  body.program-qantas .nav-links a.active {
    padding-left: 10px;
    border-left: 4px solid var(--accent);
  }

  body.program-qantas .nav-links a.active::after {
    display: none;
  }

  body.program-qantas .drawer-brand {
    display: inline-flex !important;
  }

  body.program-qantas .nav-scrim {
    display: block;
  }
}

body.program-qantas .mobile-wine-summary {
  display: none;
}

@media (max-width: 620px) {
  body.program-qantas .wine-table tr {
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.06);
  }

  body.program-qantas .wine-table td {
    padding: 12px 14px;
  }

  body.program-qantas .wine-table td:nth-child(2) {
    display: block;
  }

  body.program-qantas .wine-table td:nth-child(3),
  body.program-qantas .wine-table td:nth-child(4),
  body.program-qantas .wine-table td:nth-child(5),
  body.program-qantas .wine-table td:nth-child(6),
  body.program-qantas .wine-table td:nth-child(7),
  body.program-qantas .wine-table td:nth-child(8),
  body.program-qantas .wine-table td:nth-child(9) {
    display: none;
  }

  body.program-qantas .td-name {
    font-size: 15px;
    line-height: 1.25;
  }

  body.program-qantas .mobile-wine-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  body.program-qantas .mobile-wine-summary span {
    display: block;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
  }

  body.program-qantas .mobile-wine-summary strong,
  body.program-qantas .mobile-wine-summary small {
    display: block;
    text-align: center;
  }

  body.program-qantas .mobile-wine-summary strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.program-qantas .mobile-wine-summary small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  body.program-qantas .wine-badges,
  body.program-qantas .case-details {
    display: none;
  }
}
