/* =========================================================
   R9 — design tokens
   Palette and table conventions matched to the reference site
   (template.css: link #4f7ba4 / hover #0B2A4C / rule #b9cadb /
   zebra #eaeaea / body ink #2c2c2c, Arial-based, compact sizes).
   ========================================================= */
:root {
  --red: #e2201f;
  --red-dark: #b81616;
  --charcoal: #3a3a3a;
  --ink: #2c2c2c;
  --muted: #666666;
  --muted-2: #8a8a8a;

  --link: #4f7ba4;
  --link-hover: #0b2a4c;
  --rule: #b9cadb;
  --border: #d6d6d6;
  --border-soft: #e4e4e4;
  --zebra: #eaeaea;
  --head-bg: #e6ecf1;
  --table-head-bg: #f4f4f4;
  --peach: #fce7da;
  --peach-border: #f3d3c0;
  --green-bar: #dceec9;
  --green-bar-border: #c1dba3;
  --paper: #ffffff;

  --up: #c0392b;
  --down: #1e7a44;
  --flat: #8a8a8a;

  --font-body: Arial, Helvetica, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--rule);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-weight: 700;
  font-size: 20px;
  color: var(--charcoal);
}
.brand__name span { color: var(--red); }
.brand__tagline { font-size: 10.5px; color: var(--muted-2); }

.main-nav { display: flex; align-items: center; }
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--link-hover);
  padding: 6px 11px;
  border-right: 1px solid var(--border-soft);
}
.main-nav a:last-child { border-right: none; }
.main-nav a:hover { color: var(--red); text-decoration: none; }
.main-nav a.is-active { color: var(--red); font-weight: 700; }
.main-nav a.is-disabled { color: var(--muted-2); cursor: default; }
.main-nav a.is-disabled:hover { color: var(--muted-2); }

.nav-divider { width: 1px; height: 16px; background: var(--border); margin: 0 4px; }
.nav-greeting { font-size: 13px; color: var(--charcoal); padding: 6px 10px; white-space: nowrap; }
.nav-logout-form { display: inline-flex; border-right: none; }
.nav-link-btn {
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--link-hover);
  background: none; border: 0; padding: 6px 11px; cursor: pointer;
}
.nav-link-btn:hover { color: var(--red); }
.nav-register-btn {
  background: var(--red); color: #fff !important; border-radius: var(--radius-sm);
  padding: 7px 14px !important; margin-left: 4px; font-weight: 700 !important;
  border-right: none !important;
}
.nav-register-btn:hover { background: var(--red-dark); color: #fff !important; text-decoration: none !important; }
.nav-register-btn[data-active="1"] { background: var(--red-dark); }

.header-tagline {
  font-weight: 700;
  color: var(--red);
  font-size: 14px;
  text-align: right;
  max-width: 400px;
  line-height: 1.35;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--head-bg);
  color: var(--link-hover);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--rule); border-color: var(--rule); }

/* =========================================================
   Disclaimer bars
   ========================================================= */
.disclaimer-bar {
  background: var(--peach);
  border-bottom: 1px solid var(--peach-border);
  padding: 8px 0;
}
.disclaimer-bar p {
  margin: 0; font-size: 11.5px; color: #6b4a34; line-height: 1.5; text-align: left;
}
.disclaimer-bar.is-footer {
  background: var(--green-bar);
  border-top: 1px solid var(--green-bar-border);
  border-bottom: 0;
}
.disclaimer-bar.is-footer p { color: #33481f; }

/* =========================================================
   Page toolbar
   ========================================================= */
.page-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 18px 0 14px;
}
.page-toolbar h1 {
  font-size: 17px; margin: 0; color: var(--link-hover);
  font-weight: 700;
}
.page-toolbar .as-of { font-size: 12px; color: var(--muted); font-weight: 400; }
.page-toolbar .as-of b { color: var(--ink); }
.badge-stale {
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: #92640a; background: #fef3d8; border: 1px solid #f6dfa0;
  padding: 2px 7px; border-radius: 3px; margin-left: 6px;
}

.filter-box {
  display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 10px; background: var(--paper);
  min-width: 220px;
}
.filter-box svg { color: var(--muted-2); flex-shrink: 0; }
.filter-box input {
  border: 0; outline: 0; background: transparent; font-size: 13px;
  font-family: var(--font-body); flex: 1; color: var(--ink);
}
.filter-box input::placeholder { color: var(--muted-2); }

/* =========================================================
   Main layout: table + sidebar
   ========================================================= */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  padding-bottom: 40px;
  align-items: start;
}

/* =========================================================
   Price table — plain, KKBang-style: grey header, thin
   borders, light zebra, no pills/badges. Kept as a real
   <table> at every breakpoint; wrapped in a horizontally
   scrolling strip so it never collapses into stacked cards.
   ========================================================= */
.table-scroll {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.price-table th, .price-table td {
  border: 1px solid var(--border-soft);
  padding: 7px 12px;
  font-size: 12.5px;
  white-space: nowrap;
}
.price-table thead th {
  background: var(--table-head-bg);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}
.price-table thead tr.sub-row th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 700;
}
.price-table thead th.num, .price-table thead th.center { text-align: center; }

.price-table td.product {
  font-weight: 700; color: var(--ink);
  vertical-align: middle;
  position: sticky; left: 0;
  background: inherit;
  box-shadow: 1px 0 0 var(--border-soft);
}
.price-table td.port { color: var(--charcoal); }
.price-table td.num { text-align: right; }
.price-table td.price { font-weight: 700; }
.price-table td.location { color: var(--charcoal); }

.price-table tbody tr.row-even { background: var(--peach); }
.price-table tbody tr.row-odd { background: var(--paper); }
.price-table tbody tr:hover { background: #f2f6fa; }
.price-table tbody tr:hover td.product { background: #f2f6fa; }

.price-table td.price-gate { text-align: center; }
.price-table td.price-gate a {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--link-hover); padding: 4px 12px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--paper);
}
.price-table td.price-gate a:hover { color: var(--red); border-color: var(--red); text-decoration: none; }

.price-table th.center { text-align: center; }
.price-table td.view-details-cell { text-align: center; }
.view-details-link {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--link-hover); padding: 4px 12px;
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--head-bg);
}
.view-details-link:hover { color: var(--paper); background: var(--link-hover); border-color: var(--link-hover); text-decoration: none; }
.view-details-link.is-locked { color: var(--muted); background: var(--paper); }
.view-details-link.is-locked:hover { color: var(--red); border-color: var(--red); background: var(--paper); }

.change-up { color: var(--up); font-weight: 700; white-space: nowrap; }
.change-down { color: var(--down); font-weight: 700; white-space: nowrap; }
.change-nc { color: var(--flat); }

.muted-cell { color: var(--muted-2); }

.no-results {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.no-results.is-visible { display: block; }
.no-results strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }

/* =========================================================
   Sidebar — plain bordered info boxes (Address / Subscribe),
   matching the reference site's right column treatment.
   ========================================================= */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.info-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--paper);
}
.info-box h3 {
  margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--link-hover);
  padding-bottom: 6px; border-bottom: 2px solid var(--rule);
}
.info-box p { margin: 0; font-size: 12.5px; line-height: 1.9; color: var(--ink); text-align: left; }
.info-box p a { color: var(--ink); }
.info-box p a:hover { color: var(--red); }

.subscribe-box .field { margin-bottom: 10px; }
.subscribe-box label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 3px;
}
.subscribe-box input {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 8px; font-size: 12.5px; font-family: var(--font-body);
  color: var(--ink);
}
.subscribe-box button {
  margin-top: 4px;
  background: #e9e9e9; color: var(--ink); border: 1px solid var(--border);
  font-weight: 700; font-size: 12.5px;
  padding: 7px 16px; border-radius: var(--radius-sm);
  cursor: pointer;
}
.subscribe-box button:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* =========================================================
   Mobile ticker — fixed-height, auto-scrolling price list.
   Hidden on desktop/tablet; shown in place of the plain table
   below the mobile breakpoint so every column stays visible
   without any horizontal scrolling.
   ========================================================= */
.mobile-ticker {
  display: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mobile-ticker__head, .mobile-ticker__row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.62fr 0.62fr 0.95fr;
  gap: 4px;
  align-items: center;
}
.mobile-ticker__head {
  background: var(--table-head-bg);
  color: var(--ink);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
}
.mobile-ticker__head .num { text-align: right; }
.mobile-ticker__viewport {
  height: 340px;
  overflow: hidden;
  position: relative;
  background: var(--paper);
}
.mobile-ticker__viewport::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.95));
  pointer-events: none;
}
.mobile-ticker__track {
  animation: mobile-ticker-scroll 90s linear infinite;
}
.mobile-ticker__track.is-paused { animation-play-state: paused; }
@keyframes mobile-ticker-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.mobile-ticker__row {
  padding: 6px 10px;
  font-size: 11px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-ticker__row:nth-child(even) { background: var(--peach); }
.mobile-ticker__row .num { text-align: right; white-space: nowrap; }
.mt-product { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-location { color: var(--charcoal); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-price { font-weight: 700; }
.mt-week, .mt-month { color: var(--muted); }
.mt-price-gate { grid-column: span 3; text-align: center; }
.mt-price-gate a { font-size: 11.5px; font-weight: 700; }

.mobile-ticker--with-details .mobile-ticker__head,
.mobile-ticker--with-details .mobile-ticker__row {
  grid-template-columns: 1.1fr 0.68fr 0.5fr 0.5fr 0.78fr 0.56fr;
}
.mt-details { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .mobile-ticker__track { animation: none; }
}

/* =========================================================
   Empty state
   ========================================================= */
.empty-state { padding: 70px 0; text-align: center; }
.empty-state h2 { font-size: 19px; color: var(--link-hover); }
.empty-state p { color: var(--muted); max-width: 420px; margin: 10px auto 0; }
.empty-state a { font-weight: 700; }

/* =========================================================
   Solvent detail card (View Details page)
   ========================================================= */
.detail-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; margin: 22px 0 4px; }
.detail-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--paper); margin: 14px 0 40px; overflow: hidden;
}
.detail-card__head {
  background: var(--head-bg); padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px;
}
.detail-card__head h1 { margin: 0; font-size: 20px; color: var(--link-hover); }
.detail-card__head .as-of { font-size: 12px; color: var(--muted); }
.detail-card__body { display: flex; gap: 26px; padding: 22px; flex-wrap: wrap; }
.detail-card__photo { flex: 0 0 220px; }
.detail-card__photo img {
  width: 220px; height: 220px; object-fit: cover;
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
}
.detail-card__photo .no-photo {
  width: 220px; height: 220px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border); border-radius: var(--radius-md);
  color: var(--muted-2); font-size: 12px; text-align: center; padding: 10px;
}
.detail-grid {
  flex: 1 1 320px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px 18px;
}
.detail-item dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted-2); margin: 0 0 3px; }
.detail-item dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.detail-item dd .pill {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px;
  border-radius: 999px; text-transform: uppercase; letter-spacing: .02em;
}
.pill--pass { background: var(--green-bar); color: var(--down); border: 1px solid var(--green-bar-border); }
.pill--fail { background: var(--peach); color: var(--up); border: 1px solid var(--peach-border); }
.pill--yes { background: var(--green-bar); color: var(--down); border: 1px solid var(--green-bar-border); }
.pill--no { background: var(--table-head-bg); color: var(--muted); border: 1px solid var(--border-soft); }
.detail-card__foot { padding: 14px 22px; border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--muted); }

/* =========================================================
   Form feedback messages (subscribe box + contact page)
   ========================================================= */
.form-message {
  margin: 0 0 10px; padding: 8px 10px; font-size: 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--green-bar-border); background: var(--green-bar); color: #23532f;
}
.form-message--error { background: var(--peach); border-color: var(--peach-border); color: #8a2c11; }
.field-optional { font-weight: 400; color: var(--muted); text-transform: none; }
.field-errors { list-style: none; margin: 4px 0 0; padding: 0; color: var(--red); font-size: 11.5px; }

/* =========================================================
   Contact page
   ========================================================= */
.page-heading {
  padding: 26px 0 4px;
}
.page-heading h1 { font-size: 22px; color: var(--link-hover); margin: 0 0 6px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; max-width: 640px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 22px 0 48px;
  align-items: start;
}

.contact-form-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 22px;
}
.contact-form-box h2 { margin: 0 0 16px; font-size: 16px; color: var(--link-hover); }
.contact-form .field { margin-bottom: 14px; }
.contact-form label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 10px; font-size: 13px; font-family: var(--font-body); color: var(--ink);
  resize: vertical;
}
.contact-form button {
  margin-top: 4px;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  font-weight: 700; font-size: 13px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  cursor: pointer;
}
.contact-form button:hover { background: var(--red-dark); border-color: var(--red-dark); }

.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-sidebar .info-box p { line-height: 2.1; }
.contact-sidebar .info-box p a { font-weight: 600; }

.contact-map {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
}
.contact-map h3 {
  margin: 0; font-size: 15px; font-weight: 700; color: var(--link-hover);
  padding: 14px 16px 10px; border-bottom: 2px solid var(--rule);
}
.contact-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.contact-map__link {
  display: block; text-align: center; font-size: 11.5px; font-weight: 700;
  padding: 8px; border-top: 1px solid var(--border-soft); color: var(--link);
}
.contact-map__link:hover { color: var(--red); }

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

/* =========================================================
   Auth pages (login / register / verify OTP)
   ========================================================= */
.auth-layout {
  display: flex; justify-content: center;
  padding: 40px 0 60px;
}
.auth-box {
  width: 100%; max-width: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 26px 26px 22px;
}
.auth-box h1 { margin: 0 0 4px; font-size: 20px; color: var(--link-hover); }
.auth-box .auth-subtitle { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.auth-form .field { margin-bottom: 14px; }
.auth-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px;
}
.auth-form input {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 10px; font-size: 13px; font-family: var(--font-body); color: var(--ink);
}
.auth-form input:focus { outline: 2px solid var(--rule); outline-offset: 0; border-color: var(--link); }
.auth-form button[type="submit"] {
  width: 100%; margin-top: 6px;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  font-weight: 700; font-size: 13.5px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  cursor: pointer;
}
.auth-form button[type="submit"]:hover { background: var(--red-dark); border-color: var(--red-dark); }
.auth-links { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--muted); }
.auth-links a { font-weight: 700; }

.otp-hint { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.otp-hint strong { color: var(--ink); }
.otp-resend { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }
.otp-resend button {
  font: inherit; font-size: 12px; font-weight: 700; color: var(--link);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.otp-resend button:hover { color: var(--red); }
.otp-resend button:disabled { color: var(--muted-2); cursor: default; }

/* =========================================================
   Sidebar ad slots (Google AdSense)
   ========================================================= */
.ad-slot { display: block; width: 100%; min-height: 150px; }
.ad-slot--placeholder {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border); border-radius: var(--radius-md);
  background: #fafafa; color: var(--muted-2);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}

/* =========================================================
   About page
   ========================================================= */
.about-hero { padding-top: 30px; max-width: 760px; }
.about-hero .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.about-hero h1 { font-size: 25px; line-height: 1.35; color: var(--link-hover); margin: 0 0 12px; }
.about-hero .lede { font-size: 14px; line-height: 1.75; color: var(--charcoal); margin: 0; max-width: none; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 26px 0 8px;
}
.about-stat {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--head-bg); padding: 16px 18px;
}
.about-stat__num { display: block; font-size: 24px; font-weight: 800; color: var(--link-hover); }
.about-stat__label { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

.about-section { padding: 34px 0 0; }
.about-section h2 { font-size: 18px; color: var(--link-hover); margin: 0 0 14px; }
.about-section__intro { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

.about-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.about-list li {
  font-size: 13px; line-height: 1.6; color: var(--charcoal); padding-left: 18px; position: relative;
}
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--red);
}
.about-list + p.about-footnote { margin: 14px 0 0; font-size: 11.5px; font-style: italic; color: var(--muted); }

.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--paper); padding: 18px;
}
.about-card__tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--red); background: var(--peach);
  border: 1px solid var(--peach-border); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.about-card h3 { font-size: 15px; color: var(--ink); margin: 0 0 8px; }
.about-card p { font-size: 12.5px; line-height: 1.75; color: var(--charcoal); margin: 0; }

.about-section--split {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start;
}
.about-section--split p { font-size: 13px; line-height: 1.75; color: var(--charcoal); }
.about-note {
  border: 1px solid var(--green-bar-border); background: var(--green-bar);
  border-radius: var(--radius-md); padding: 16px 18px;
}
.about-note h3 { margin: 0 0 8px; font-size: 13.5px; color: #23532f; }
.about-note p { margin: 0; font-size: 12px; line-height: 1.7; color: #2a4a2f; }
.about-note a { color: #1e7a44; font-weight: 700; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span {
  border: 1px solid var(--rule); background: var(--head-bg); color: var(--link-hover);
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}

.about-cta {
  margin: 40px 0 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; border: 1px solid var(--rule); background: var(--head-bg);
  border-radius: var(--radius-md); padding: 22px 26px;
}
.about-cta h2 { margin: 0 0 4px; font-size: 17px; color: var(--link-hover); }
.about-cta p { margin: 0; font-size: 12.5px; color: var(--muted); }
.about-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.about-cta__btn {
  display: inline-block; font-weight: 700; font-size: 12.5px; padding: 10px 18px;
  border-radius: var(--radius-sm); background: var(--red); color: #fff; border: 1px solid var(--red);
}
.about-cta__btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; }
.about-cta__btn--ghost { background: transparent; color: var(--link-hover); border-color: var(--rule); }
.about-cta__btn--ghost:hover { background: var(--paper); color: var(--red); border-color: var(--red); }

@media (max-width: 900px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .about-section--split { grid-template-columns: 1fr; }
}

/* =========================================================
   Unsubscribe page
   ========================================================= */
.unsub-box {
  max-width: 480px; margin: 50px auto 70px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--paper); padding: 34px 30px;
}
.unsub-box h1 { font-size: 19px; color: var(--link-hover); margin: 0 0 10px; }
.unsub-box p { font-size: 13px; line-height: 1.7; color: var(--charcoal); margin: 0 0 18px; }
.unsub-box form { margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--paper); border-top: 4px solid var(--rule); }
.site-footer .container { padding: 20px; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .brand__mark { width: 22px; height: 22px; }
.footer-brand span { font-weight: 700; color: var(--charcoal); font-size: 12.5px; }
.footer-links { display: flex; gap: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 11.5px; color: var(--muted-2); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; }
  .header-tagline { display: none; }
}

@media (max-width: 760px) {
  .header-row { gap: 12px; justify-content: space-between; width: 100%; }
  .nav-toggle { display: inline-flex; }

  /* Nav collapses into a toggleable dropdown panel instead of wrapping. */
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px -8px rgba(0,0,0,0.15);
    flex-direction: column;
    padding: 4px 0;
    z-index: 50;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .main-nav a:last-child { border-bottom: none; }
  .site-header .container { position: relative; }

  .page-toolbar { flex-direction: column; align-items: flex-start; }
  .filter-box { width: 100%; }

  /* Desktop table is replaced by the fixed-height mobile ticker. */
  .table-scroll { display: none; }
  .mobile-ticker { display: block; }

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

  .detail-card__body { flex-direction: column; }
  .detail-card__photo, .detail-card__photo img, .detail-card__photo .no-photo { width: 100%; }
}