/* OutageReady — family preparedness for extended power outages */
:root {
  --ink: #1c2430;
  --ink-soft: #3d4654;
  --muted: #5c6570;
  --paper: #f6f2ea;
  --paper-deep: #ece6da;
  --card: #fffcf7;
  --line: #ddd5c6;
  --forest: #1f4a42;
  --forest-deep: #16352f;
  --forest-soft: #2d6a5e;
  --amber: #c45c26;
  --amber-deep: #9a4318;
  --amber-soft: #f3e2d4;
  --gold: #e8c17a;
  --focus: #1f4a42;
  --shadow: 0 10px 30px rgba(28, 36, 48, 0.08);
  --radius: 14px;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 0.15em; }
a:hover { color: var(--amber-deep); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 100;
  border-radius: 6px;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--forest-deep);
  color: #f6f2ea;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f6f2ea;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--gold); }
.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(246,242,234,0.3);
  color: #f6f2ea;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  color: #e8e2d6;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.disclosure-bar {
  background: var(--amber-soft);
  color: var(--ink);
  font-size: 0.92rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.disclosure-bar p { margin: 0; }
.disclosure-bar a { font-weight: 600; }

.disclosure-line {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin: 0.65rem 0 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.disclosure-line a {
  font-weight: 400;
  color: var(--muted);
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.75rem;
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(232,193,122,0.28), transparent 60%),
    linear-gradient(180deg, #e8efe9 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--forest);
  margin: 0 0 0.75rem;
}
.hero h1, .page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.lede, .page-hero .lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 0 1.6rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-affiliate {
  background: var(--amber);
  color: #fff;
  border: 0;
  font-size: 0.95rem;
}
.btn-affiliate:hover { background: var(--amber-deep); color: #fff; }
.btn-affiliate::after { content: " *"; font-weight: 400; }

/* Layout */
main { display: block; }
section { padding: 3rem 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-intro {
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 0 1.75rem;
}
.page-hero { padding: 2.5rem 0 1.5rem; }
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.breadcrumb a { color: var(--muted); }

.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 1.15rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card h2, .card h3 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.card p { margin: 0 0 1rem; color: var(--ink-soft); flex: 1; }
.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  color: var(--forest);
}
.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--forest);
}
.card-link:hover { color: var(--amber-deep); }

.note, .callout {
  background: #fff;
  border-left: 4px solid var(--forest);
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  margin: 1.25rem 0;
}
.callout-amber { border-left-color: var(--amber); background: var(--amber-soft); }
.note p, .callout p { margin: 0.4rem 0; }
.note p:first-child, .callout p:first-child { margin-top: 0; }
.note p:last-child, .callout p:last-child { margin-bottom: 0; }

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 16rem;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3.5rem;
}
.prose { max-width: 44rem; }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 2.2rem 0 0.7rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 1.6rem 0 0.5rem;
}
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.toc {
  position: sticky;
  top: 5.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
}
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.6rem; color: var(--muted); font-family: var(--sans); }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--forest); }

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 1rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--forest);
  flex: none;
}
.checklist label { cursor: pointer; }
.checklist-group {
  font-weight: 700;
  background: var(--paper-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: 0.7rem 1rem;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.98rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--forest-deep);
  color: #f6f2ea;
  font-weight: 600;
}
tr:nth-child(even) td { background: #faf7f1; }

.placeholder-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--amber-deep);
  border-bottom: 1px dashed var(--amber);
}
.placeholder-link:hover { color: var(--forest); }
.legend { font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d7d0c4;
  padding: 2.5rem 0 1.75rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}
.site-footer a { color: #e8c17a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.legal {
  border-top: 1px solid #3a4250;
  padding-top: 1.1rem;
  font-size: 0.88rem;
  color: #a8b0ba;
}
.legal p { margin: 0.4rem 0; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--forest-deep);
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-header { position: relative; }
  .hero { padding: 2.25rem 0 1.75rem; }
  section { padding: 2.2rem 0; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media print {
  .site-header, .disclosure-bar, .site-footer, .nav-toggle, .hero-actions, .toc { display: none !important; }
  body { background: #fff; }
  .checklist li { break-inside: avoid; }
}

/* Comparison table: stacks into cards on small screens */
.compare-table td .muted, .stock-out, .stock-pre, .stock-in { font-weight: 700; }
.stock-in { color: var(--forest); }
.stock-out { color: #a3261b; }
.stock-pre { color: var(--amber-deep); }
.updated { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 720px) {
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td { display: block; width: 100%; }
  .compare-table tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 0 0 1rem;
    background: var(--card);
    overflow: hidden;
  }
  .compare-table tr:nth-child(even) td { background: transparent; }
  .compare-table td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
  }
  .compare-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    font-size: 0.88rem;
  }
  .compare-table td:first-child { background: var(--forest-deep) !important; color: #f6f2ea; }
  .compare-table td:first-child::before { color: var(--gold); }
  .compare-table td:first-child a { color: #fff; }
}

/* Article layout: content left, table of contents right on wide screens */
@media (min-width: 901px) {
  .article-layout > .prose { grid-column: 1; grid-row: 1; min-width: 0; }
  .article-layout > .toc { grid-column: 2; grid-row: 1; }
}
.article-layout > .prose { min-width: 0; }

/* ===== Visual refresh (Nov 2026) ===== */
/* Homepage hero with image */
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.hero-media {
  margin: 0;
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(22, 53, 47, 0.28);
}
.hero-media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(232,193,122,0.55), rgba(31,74,66,0.18));
  z-index: -1;
}
.hero { position: relative; z-index: 0; }

/* Cards with images */
.card-media {
  margin: -1.35rem -1.25rem 1rem;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}
.card-media.wide img { aspect-ratio: 16 / 9; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .card-badge {
  position: absolute;
  left: 0.85rem;
  bottom: -20px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  background: #fff;
}
.card-media.has-badge { overflow: visible; }
.card-media.has-badge img { border-radius: var(--radius) var(--radius) 0 0; }
.card-media.has-badge + h3 { margin-top: 1.1rem; }
.card-icon-lg { width: 64px; height: 64px; margin-bottom: 1rem; }

/* Reusable page header image (category pages + guides). See GUIDES-LOG.md */
.page-hero--image .page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
}
.page-hero--image .page-hero-grid > div { min-width: 0; }
.page-hero-media { margin: 0; }
.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(22, 53, 47, 0.22);
}
.page-hero--image {
  background: linear-gradient(180deg, #e8efe9 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

/* Photo band */
.photo-band {
  position: relative;
  color: var(--ink);
  padding: 4.5rem 0;
  background: #eaf1f6 url("../images/neighborhood-snow-day.webp") 70% center / cover no-repeat;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,252,247,0.92) 0%, rgba(255,252,247,0.8) 50%, rgba(255,252,247,0.05) 85%);
}
.photo-band .wrap { position: relative; }
.photo-band h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.6rem;
  max-width: 22ch;
}
.photo-band p { max-width: 38rem; color: var(--ink-soft); }
.photo-band a { color: var(--amber-deep); font-weight: 700; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 52rem;
}
.stat {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(3px);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--forest);
  line-height: 1.1;
}
.stat span { font-size: 0.95rem; color: var(--ink-soft); }

/* "What can it run" visual checklist */
.run-grid {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.8rem;
}
.run-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.25rem 0.8rem;
  align-items: center;
  margin: 0;
}
.run-grid svg { width: 44px; height: 44px; grid-row: span 2; }
.run-grid .run-name { font-weight: 700; line-height: 1.25; }
.run-chip {
  justify-self: start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 7px;
  line-height: 1.3;
}
.run-yes { background: #dcefe6; color: #1f4a42; }
.run-maybe { background: #fbecd2; color: #8a5a10; }
.run-no { background: #f7dcd5; color: #9a3018; }

@media (max-width: 900px) {
  .hero-grid, .page-hero--image .page-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-media::before { inset: -8px -8px 8px 8px; }
  .stat-row { grid-template-columns: 1fr; }
}
@media print {
  .hero-media, .page-hero-media, .card-media, .photo-band { display: none; }
}
a.card-media { display: block; }

/* ===== Bright revision (Nov 25, 2026) ===== */
.hero { background: radial-gradient(900px 420px at 80% 0%, rgba(232,193,122,0.25), transparent 60%), linear-gradient(180deg, #f3f8f4 0%, #fffdf8 100%); }
.hero-inset {
  position: absolute;
  right: -10px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  box-shadow: 0 14px 34px rgba(22,53,47,0.2);
  max-width: 270px;
}
.hero-inset img { width: 70px; height: 70px; aspect-ratio: 1; border-radius: 10px; box-shadow: none; background: #fff; }
.hero-inset span { font-size: 0.86rem; line-height: 1.3; color: var(--ink-soft); }
.hero-inset strong { display: block; color: var(--ink); font-size: 0.95rem; }

.photo-strip { padding: 2rem 0 0.5rem; overflow: hidden; }
.strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 1rem;
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.strip-track figure { margin: 0; position: relative; scroll-snap-align: start; }
.strip-track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.strip-track figcaption {
  position: absolute; left: 0.7rem; bottom: 0.7rem;
  background: rgba(255,255,255,0.94); color: var(--ink);
  font-weight: 700; font-size: 0.88rem; padding: 0.3rem 0.7rem; border-radius: 999px;
}

.essentials { background: #fff; border-block: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product-tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1rem 0.9rem; text-decoration: none; color: var(--ink); font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--forest); }
.product-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }

.steps .step { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin: 2rem 0; }
.steps .step figure { margin: 0; }
.steps .step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.steps .step-rev figure { order: 2; }
.step-num {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--amber); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.6rem;
}
.step-body h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.step-body p { color: var(--ink-soft); max-width: 32rem; }

.gallery { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.gallery.g-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.g-3 { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery img[src*="prod-"] { object-fit: contain; background: #fff; }
.gallery figcaption, .inline-figure figcaption { font-size: 0.9rem; color: var(--muted); padding: 0.55rem 0.8rem; }
.inline-figure { margin: 1.5rem 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.inline-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.inline-figure img[src*="prod-"] { object-fit: contain; aspect-ratio: 16 / 9; background: #fff; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps .step { grid-template-columns: 1fr; gap: 1rem; }
  .steps .step-rev figure { order: 0; }
  .hero-inset { right: 8px; bottom: -22px; }
  .photo-band::before { background: rgba(255,252,247,0.86); }
}
@media (max-width: 600px) {
  .gallery.g-2, .gallery.g-3 { grid-template-columns: 1fr; }
  .strip-track { grid-auto-columns: 70%; }
}
@media print { .photo-strip, .essentials, .gallery, .inline-figure, .steps figure { display: none; } }
@media (max-width: 600px) { .hero-media figcaption { display: none; } }

/* Buy buttons (Roam + Amazon) */
.buy-btns { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.88rem; white-space: nowrap; }
.compare-table .buy-btns { flex-direction: column; align-items: flex-start; }
.btn-amazon { background: #f7c35f; color: #1c2430; border: 0; font-weight: 700; }
.btn-amazon:hover { background: #eeb33c; color: #1c2430; }
.btn-amazon::after { content: " *"; font-weight: 400; }
.buy-row { margin: 0.5rem 0; flex: 0 !important; }
