/* WhatImplantsCost.com
   Editorial design system. No frameworks, no webfonts, no external calls.
   Type: serif display (Iowan Old Style / Palatino / Georgia stack) for
   headlines, system sans for body and data. Palette: pale lavender-grey paper,
   near-black plum ink, deep violet accent. See STYLE_GUIDE.md at the
   experiment root. Fleet design system as rolled out 2026-11-27: accent
   masthead band, carded sections and tables, deep footer band. */

:root {
  --paper: #f6f5f2;
  --paper-deep: #eceaf2;
  --ink: #24222a;
  --ink-soft: #4a4753;
  --muted: #74707f;
  --line: #d8d4e2;
  --line-strong: #aca5bf;
  --accent: #5a439a;        /* slate */
  --accent-deep: #42306f;
  --accent-bright: #d9d2ee; /* light tint, for text on the accent band */
  --tint: #e6e1f2;          /* tint for cards and bands */
  --tint-soft: #efecf7;     /* faintest tint, zebra rows */
  --th-bg: #ddd6ee;         /* table header tint */
  --footer-bg: #272233;     /* deep footer band */
  --footer-soft: #b3aebd;
  --good: #2e5e3a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 72rem;
  --measure: 42rem;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(36, 34, 42, 0.06), 0 2px 8px rgba(36, 34, 42, 0.06);
  --shadow-md: 0 2px 4px rgba(36, 34, 42, 0.07), 0 10px 28px rgba(36, 34, 42, 0.12);
  --shadow-lg: 0 4px 8px rgba(36, 34, 42, 0.08), 0 18px 44px rgba(36, 34, 42, 0.18);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(36, 34, 42, 0.025) 1px, transparent 1.1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
::selection { background: #c4bce0; }

/* ---------- Masthead: solid accent band, cream wordmark ---------- */
.masthead {
  background: var(--accent);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 5;
}
.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
  text-decoration: none;
  margin-right: auto;
}
.wordmark em { font-style: italic; color: var(--accent-bright); }
.brandmark {
  width: 28px;
  height: 28px;
  box-sizing: content-box;
  padding: 3px;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  vertical-align: -9px;
  margin-right: 0.55rem;
}
.masthead nav { font-size: 0.95rem; color: #e0e5e9; }
.masthead nav a {
  color: var(--paper);
  opacity: 0.92;
  text-decoration: none;
  margin-left: 1.4rem;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.masthead nav a:hover { opacity: 1; border-bottom-color: var(--paper); }
.dateline {
  margin: 0 auto;
  padding: 0.42rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e5e9;
  background: var(--accent-deep);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.25rem 3rem;
}
article { max-width: var(--measure); }
article.wide { max-width: 100%; }
.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
h1 {
  font-family: var(--serif);
  font-size: 2.9rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 3rem 0 0.7rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: none; padding-top: 0; }
h3 { font-family: var(--serif); font-size: 1.2rem; margin: 1.8rem 0 0.4rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }
.lede {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 1.4rem;
}
a { color: var(--accent-deep); text-underline-offset: 2px; }
strong { color: var(--ink); }
ul, ol { max-width: var(--measure); padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }
.byline {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
  margin: 1.2rem 0 1.6rem;
  max-width: var(--measure);
}

/* ---------- Hero: parallax photo banner, cream panel ---------- */
.hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  min-height: 34rem;
  display: flex;
  align-items: center;
  margin: 0 0 2.4rem;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  position: absolute;
  left: 0;
  top: -40px;
  width: 100%;
  height: calc(100% + 80px);
  object-fit: cover;
  display: block;
  will-change: transform;
}
.hero-panel {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 36rem;
  margin: 2rem;
  padding: 2.3rem 2.5rem;
}
.hero-panel h1 { font-size: 3.3rem; margin: 0 0 0.9rem; }
.hero-panel .lede { margin-bottom: 0; }

/* ---------- Section band (tinted) ---------- */
.band {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 1.9rem 1.9rem 1.3rem;
  margin: 2.6rem 0;
}
.band h2 { border-top: none; padding-top: 0; margin-top: 0; }
.band .markets { margin-bottom: 0.7rem; }

/* ---------- Pull quote / key figure ---------- */
.keyfig {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 1.6rem 0;
  max-width: 100%;
}
.keyfig div {
  background: #fff;
  flex: 1 1 10rem;
  padding: 1.1rem 1.2rem;
}
.keyfig .n {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-deep);
  display: block;
}
.keyfig .l { font-size: 0.85rem; color: var(--muted); display: block; margin-top: 0.35rem; }

/* ---------- Tables: carded wrapper, tinted header, zebra ---------- */
.tablewrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 1.2rem 0 0.6rem;
}
table.prices {
  border-collapse: collapse;
  width: 100%;
  background: transparent;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}
table.prices caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1rem 1.1rem 0.5rem;
}
table.prices th {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--th-bg);
  border-bottom: 2px solid var(--accent);
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
}
table.prices td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
  vertical-align: top;
}
table.prices tbody tr:last-child td { border-bottom: none; }
table.prices tbody tr:nth-child(even) td { background: var(--tint-soft); }
table.prices td.num, table.prices th.num { text-align: right; }
table.prices td.rate { font-weight: 700; color: var(--accent-deep); }
table.prices .src { font-size: 0.85rem; color: var(--muted); }
.tablesource { font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 1.4rem; max-width: none; }

/* ---------- Notes, cards ---------- */
.rule-note {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  max-width: var(--measure);
}
.rule-note p { margin: 0; }
.verdict {
  background: var(--tint);
  border: 1px solid #c9c0dd;
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  max-width: var(--measure);
}
.verdict p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; margin: 0; }

/* ---------- Footer: deep band, cream text ---------- */
footer.site {
  background: var(--footer-bg);
  color: #f8f8f5;
  margin-top: 3rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1.25rem 2.6rem;
  font-size: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
footer.site p { max-width: none; }
footer.site strong { color: #fff; }
footer.site a { color: var(--accent-bright); }
footer.site .fineprint { color: var(--footer-soft); font-size: 0.82rem; }
.hero-photo {
  display: block;
  width: 100%;
  height: clamp(15rem, 36vw, 26rem);
  object-fit: cover;
  margin: 0 0 1.8rem;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.photocredit { font-size: 0.82rem; color: var(--muted); }
footer.site .photocredit { color: var(--footer-soft); }

/* ---------- Site family (footer) ---------- */
.family { grid-column: 1 / -1; border-top: 1px solid rgba(246, 245, 242, 0.18); padding-top: 1.1rem; }
.family-head { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #d9d2ee; margin: 0 0 0.6rem; }
.family ul { list-style: none; margin: 0; padding: 0; max-width: none; }
.family li { margin: 0.35rem 0; }
.family a { font-weight: 600; }
@media (min-width: 700px) {
  .family ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .family li { margin: 0; }
}

@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  .lede { font-size: 1.15rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.55rem; }
  main { padding-top: 1.5rem; }
  .hero { min-height: 0; border-radius: 16px; }
  .hero-panel { margin: 1rem; padding: 1.4rem 1.3rem; }
  .hero-panel h1 { font-size: 2.15rem; }
  .band { padding: 1.3rem 1.15rem 0.9rem; border-radius: 16px; }
}

/* ---------- Claim form (claim.html) ---------- */
.claim-form { max-width: var(--measure); margin: 1.5rem 0 2rem; }
.claim-form .field { margin-bottom: 1.15rem; }
.claim-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.claim-form input[type="text"],
.claim-form input[type="email"],
.claim-form input[type="tel"],
.claim-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.claim-form textarea { min-height: 7rem; line-height: 1.5; }
.claim-form input:focus,
.claim-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.claim-form .hint { font-size: 0.85rem; color: var(--muted); margin: 0.35rem 0 0; }
.claim-form .field.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.claim-form .field.check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; flex: none; }
.claim-form .field.check label { font-weight: 400; margin: 0; }
.claim-form button {
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  min-height: 48px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.claim-form button:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.claim-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* QA fix 2026-11-26: keep checked dates on one line */
td[data-label="Checked"] { white-space: nowrap; }

/* ---------- Market picker cards (homepage, added 2026-11-26) ---------- */
.markets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.4rem 0 0.6rem;
}
@media (min-width: 700px) {
  .markets { grid-template-columns: 1fr 1fr; }
}
.market-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.45rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.market-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.market-card .mname {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  display: block;
}
.market-card .mfig {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--accent);
  display: block;
  margin-top: 0.45rem;
}
.market-card .mlabel { font-size: 0.88rem; color: var(--ink-soft); display: block; margin-top: 0.3rem; }
.market-card .mgo { font-size: 0.85rem; font-weight: 600; color: var(--accent-deep); display: block; margin-top: 0.55rem; }
.market-card .mgo::after { content: " \2192"; }

/* ---------- Market gate (homepage, added 2026-11-27) ---------- */
.mg-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem 1.2rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: var(--tint-soft);
  border-bottom: 1px solid var(--line);
}
.mg-bar strong { color: var(--ink); }
.mg-change {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 1.1rem;
  min-height: 44px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.18s ease;
}
.mg-change:hover { background: var(--accent-deep); }
.mg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 34, 42, 0.38);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1rem 1rem;
  overflow-y: auto;
  z-index: 60;
}
.mg-panel-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
}
.mg-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 30rem;
  width: 100%;
  padding: 1.5rem 1.6rem 1.3rem;
}
.mg-panel-row .mg-panel { margin: 0; }
.mg-head {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 2.2rem 0.5rem 0;
  padding: 0;
  border: none;
}
.mg-sub { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 1rem; max-width: none; }
.mg-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
}
.mg-close:hover { border-color: var(--line-strong); color: var(--ink); }
.mg-primary {
  font: inherit;
  font-weight: 600;
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin: 0 0 1.1rem;
  transition: background 0.18s ease;
}
.mg-primary:hover { background: var(--accent-deep); }
.mg-label { display: block; font-weight: 600; font-size: 0.92rem; margin: 0 0 0.35rem; color: var(--ink); }
.mg-select, .mg-zip {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.mg-select { margin-bottom: 1.1rem; }
.mg-row { display: flex; gap: 0.6rem; margin-bottom: 0.9rem; }
.mg-row .mg-zip { flex: 1; width: auto; min-width: 0; }
.mg-gobtn {
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  min-height: 44px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  flex: none;
  transition: background 0.18s ease;
}
.mg-gobtn:hover { background: var(--accent-deep); }
.mg-select:focus, .mg-zip:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.mg-zipmsg { font-size: 0.92rem; color: var(--accent-deep); margin: 0 0 0.9rem; max-width: none; }
.mg-fine { font-size: 0.8rem; color: var(--muted); margin: 0; max-width: none; }

/* ---------- Phone tables (640px and under) ----------
   Wide price tables (six columns or more) carry class "stack" plus a
   data-label on every cell: each row becomes a card, the first cell
   (class "head") is the card title, the rest are labeled lines.
   Narrower tables stay tables but size to their content: no forced
   full width, tighter padding, headers may wrap. A price figure
   never splits; a range wraps between its figures. */
@media (max-width: 640px) {
  .tablewrap:has(> table.stack) {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  table.prices.stack { background: transparent; }
  table.prices.stack thead { display: none; }
  table.prices.stack tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 0.9rem;
  }
  table.prices.stack tbody tr:nth-child(even) td { background: transparent; }
  table.prices.stack td {
    overflow-wrap: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 0.8rem;
    text-align: right;
  }
  table.prices.stack td:last-child { border-bottom: none; }
  table.prices.stack td::before {
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    flex: 0 0 auto;
  }
  table.prices.stack td.head {
    display: block;
    text-align: left;
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 700;
    background: var(--th-bg);
    border-bottom: 2px solid var(--accent);
  }
  table.prices.stack td.head::before { content: none; }
  table.prices.stack td.num { text-align: right; }

  table.prices:not(.stack) { width: auto; font-size: 0.95rem; }
  table.prices:not(.stack) th { white-space: normal; padding: 0.45rem 0.5rem; }
  table.prices:not(.stack) td { padding: 0.45rem 0.5rem; overflow-wrap: break-word; }
  table.prices:not(.stack) td.rate { white-space: normal; }
}

/* ---------- Email list signup (homepage, added 2026-11-27) ---------- */
.subscribe {
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1.7rem 1.7rem;
  margin: 1.6rem 0;
  max-width: 48rem;
}
.subscribe h2 { margin-top: 0; border-top: none; padding-top: 0; }
.subscribe > p { margin: 0 0 1rem; }
.subscribe-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.subscribe-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-end;
}
.subscribe-fields .field { flex: 1 1 12rem; }
.subscribe-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.subscribe-form input[type="email"],
.subscribe-form select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  min-height: 44px;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.subscribe-form input:focus,
.subscribe-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.subscribe-form button {
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  min-height: 48px;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.subscribe-form button:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.subscribe-msg { margin: 0.8rem 0 0; font-size: 0.95rem; }
.subscribe-msg:empty { margin: 0; }
.subscribe-msg.ok { color: var(--good, #2e5e3a); font-weight: 600; }
.subscribe-msg.err { color: #9c2b1b; font-weight: 600; }
@media (max-width: 700px) {
  .subscribe-fields { flex-direction: column; align-items: stretch; }
  .subscribe { padding: 1.3rem 1.2rem 1.4rem; }
}

/* ---------- Reduced motion: no parallax travel, no transitions ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .market-card:hover, .claim-form button:hover, .subscribe-form button:hover { transform: none; }
  .hero-media img { transform: none !important; }
}

/* price table filters */
.filterbar{display:flex;flex-wrap:wrap;gap:.5rem .9rem;align-items:end;margin:.4rem 0 .7rem;padding:.6rem .7rem;background:var(--paper);border:1px solid var(--line);border-radius:.5rem;max-width:100%}
.filterbar .tf-field{display:flex;flex-direction:column;gap:.2rem;font-size:.82rem;font-weight:600;color:var(--ink);min-width:0}
.filterbar select,.filterbar input{font:inherit;font-size:.9rem;font-weight:400;padding:.32rem .45rem;border:1px solid var(--line);border-radius:.35rem;background:#fff;color:var(--ink);max-width:11.5rem}
.filterbar input{width:7.5rem}
.filterbar .tf-count{font-size:.82rem;color:var(--muted);align-self:center}
.filterbar .tf-reset{font:inherit;font-size:.82rem;padding:.34rem .6rem;border:1px solid var(--line);border-radius:.35rem;background:var(--paper);color:var(--accent-deep);cursor:pointer}
