:root {
  color-scheme: dark;
  --liberty-gold: #ce9134;
  --liberty-gold-light: #f2c66d;
  --liberty-ink: #0b0010;
  --liberty-panel: #1a0f2e;
  --liberty-copy: #e9e4eb;
  --liberty-muted: #c8b8cf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.liberty-rewards-page {
  margin: 0;
  background: var(--liberty-ink);
  color: var(--liberty-copy);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.7;
}
.liberty-page-head { background: #022045; border-bottom: 1px solid rgba(255,255,255,.16); }
.liberty-head-inner { width: min(1200px, calc(100% - 32px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.liberty-brand { display: inline-flex; align-items: center; min-width: 0; }
.liberty-brand img { display: block; width: min(190px, 42vw); height: auto; }
.liberty-head-inner nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; }
.liberty-head-inner a, .liberty-page-foot a { color: #fff; text-decoration: none; }
.liberty-head-inner nav a:hover, .liberty-page-foot a:hover { color: var(--liberty-gold-light); text-decoration: underline; }
.liberty-page-wrap { width: min(1060px, calc(100% - 32px)); margin: 24px auto 64px; }
.liberty-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; color: var(--liberty-muted); font-size: .92rem; }
.liberty-breadcrumb a, .liberty-article a { color: var(--liberty-gold-light); text-underline-offset: 3px; }
.liberty-article { max-width: 850px; margin: 0 auto; }
.liberty-kicker { margin: 0 0 8px; color: var(--liberty-gold-light); font-size: .86rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.liberty-article h1 { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.14; }
.liberty-date { margin: 14px 0 22px; color: var(--liberty-muted); font-size: .9rem; }
.liberty-lead { margin: 0 0 26px; font-size: 1.13rem; }
.liberty-panel { margin: 22px 0; padding: clamp(20px, 4vw, 30px); border: 1px solid rgba(206,145,52,.45); border-radius: 12px; background: linear-gradient(160deg, var(--liberty-panel), #11091c); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.liberty-panel h2 { margin: 0 0 14px; color: var(--liberty-gold-light); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; }
.liberty-panel p:last-child { margin-bottom: 0; }
.liberty-table-scroll { overflow-x: auto; margin: 14px 0 18px; }
.liberty-table-scroll table { width: 100%; min-width: 360px; border-collapse: collapse; text-align: left; }
.liberty-table-scroll caption { padding: 0 0 8px; color: var(--liberty-muted); text-align: left; }
.liberty-table-scroll th, .liberty-table-scroll td { padding: 11px 13px; border-bottom: 1px solid rgba(255,255,255,.14); }
.liberty-table-scroll th { color: #fff; background: rgba(206,145,52,.16); }
.liberty-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.liberty-field label { display: block; margin-bottom: 7px; color: #fff; font-weight: 750; }
.liberty-field input, .liberty-field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: #08040c; color: #fff; font: inherit; }
.liberty-field input:focus, .liberty-field select:focus, .liberty-calculate:focus-visible, a:focus-visible { outline: 3px solid var(--liberty-gold-light); outline-offset: 3px; }
.liberty-field small { display: block; margin-top: 7px; color: var(--liberty-muted); line-height: 1.45; }
.liberty-calculate { min-height: 46px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--liberty-gold); color: #160c12; font: inherit; font-weight: 800; cursor: pointer; }
.liberty-calculate:hover { background: var(--liberty-gold-light); }
.liberty-result { min-height: 3.5em; margin: 18px 0 8px !important; padding: 14px; border-left: 4px solid var(--liberty-gold); background: rgba(255,255,255,.06); color: #fff; }
.liberty-caution { padding: 13px; border-radius: 6px; background: rgba(206,145,52,.1); color: #f4dfbc; }
.liberty-source { color: var(--liberty-muted); font-size: .95rem; }
.liberty-return { margin: 26px 0 0; }
.liberty-page-foot { padding: 22px 16px; background: #022045; color: #fff; text-align: center; }
@media (max-width: 640px) {
  .liberty-head-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; gap: 12px; }
  .liberty-head-inner nav { justify-content: flex-start; gap: 14px; font-size: .92rem; }
  .liberty-fields { grid-template-columns: 1fr; }
  .liberty-panel { border-radius: 8px; }
  .liberty-calculate { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
