/* ═══════════════════════════════════════════════════════════
   TechForGrandma — site stylesheet (v2)
   Designed for readability: large type, high contrast, big tap targets.
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Fraunces:opsz,wght@9..144,600;9..144,800&display=swap');

:root {
  --bg: #FBF7F0;
  --paper: #FFFFFF;
  --ink: #1E1A16;
  --body: #2E2924;
  --muted: #5B5249;
  --line: #E4DCCF;
  --amber: #A85A14;          /* AA contrast with white */
  --amber-soft: #FCEBD6;
  --amber-bright: #E8A44A;
  --teal: #0F5C5B;
  --teal-soft: #E3F1EF;
  --rose: #A8323A;
  --rose-soft: #FBE9EA;
  --sage: #3F6B45;
  --sage-soft: #E9F2E7;
  --amz: #FFD814;
  --amz-edge: #F2C200;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30,26,22,.06), 0 6px 20px rgba(30,26,22,.06);
  --max: 1180px;
  --font: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.text-lg { font-size: 125%; }
html.text-xl { font-size: 140%; }
body { font-family: var(--font); background: var(--bg); color: var(--body); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--amber); }
:focus-visible { outline: 3px solid var(--amber-bright); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Top bar & header ───────────────────────────── */
.topbar { background: var(--ink); color: #F4ECDF; font-size: .82rem; text-align: center; padding: 8px 16px; }
.topbar a { color: var(--amber-bright); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 16px; padding: 12px 20px; max-width: var(--max); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.01em; line-height: 1; }
.logo-text span { color: var(--amber); }
.logo-sub { display: block; font-family: var(--font); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.header-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.textsize { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.textsize button { font: 700 .85rem var(--font); background: var(--paper); color: var(--ink); border: 0; padding: 7px 12px; cursor: pointer; min-height: 40px; }
.textsize button + button { border-left: 2px solid var(--ink); }
.textsize button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-textsize { display: none; }
.menu-btn { display: none; font: 700 .95rem var(--font); background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }

.site-nav { background: var(--paper); border-bottom: 3px solid var(--ink); }
.site-nav ul { list-style: none; padding: 0 12px; margin: 0 auto; max-width: var(--max); display: flex; flex-wrap: wrap; gap: 0; justify-content: space-between; }
.site-nav a { display: flex; align-items: center; gap: 6px; padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .84rem; border-radius: 10px 10px 0 0; border-bottom: 4px solid transparent; margin-bottom: -3px; }
.site-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 1180px) and (min-width: 761px) { .site-nav a svg { display: none; } }
.site-nav a:hover { background: var(--amber-soft); color: var(--ink); }
.site-nav a.active { border-bottom-color: var(--amber); color: var(--amber); }

/* ── Buttons ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--font); padding: 12px 22px; border-radius: 999px; text-decoration: none; min-height: 48px; border: 2px solid transparent; cursor: pointer; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--amber); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-amz { background: var(--amz); border-color: var(--amz-edge); color: #111; }
.btn-amz:hover { background: #F7CA00; color: #111; }
.btn-amz svg { width: 18px; height: 18px; }
.btn-sm { font-size: .88rem; padding: 8px 14px; min-height: 40px; }
.btn-block { width: 100%; }

/* ── Breadcrumb ─────────────────────────────────── */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 16px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }

/* ── Home hero ──────────────────────────────────── */
.hero { background: linear-gradient(180deg, var(--paper), var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 48px 20px 56px; max-width: var(--max); margin: 0 auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; }
.hero h1 em { color: var(--amber); font-style: italic; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; }
.hero-art img.hero-photo { aspect-ratio: 1000 / 820; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9rem; color: var(--muted); font-weight: 700; }
.trust-row span::before { content: '✓ '; color: var(--sage); }

/* ── Sections ───────────────────────────────────── */
.section { padding: 48px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head a.more { font-weight: 700; white-space: nowrap; }

/* ── Big "I want to…" tiles ─────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tile-photo { position: relative; display: block; margin: -20px -20px 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-photo .tile-icon { position: absolute; left: 12px; bottom: -1px; width: 44px; height: 44px; border-radius: 12px 12px 0 0; }
.tile-photo .tile-icon svg { width: 24px; height: 24px; }
.tile-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; }
.tile-icon svg { width: 30px; height: 30px; }
.tile h3 { font-size: 1.1rem; line-height: 1.25; }
.tile p { font-size: .9rem; color: var(--muted); }

/* ── Product image strip / cards ────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.prod-img { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); position: relative; }
.prod-img img { max-height: 100%; width: auto; object-fit: contain; }
.prod-badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.prod-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { font-size: 1rem; line-height: 1.3; color: var(--ink); }
.prod-body p { font-size: .88rem; color: var(--muted); flex: 1; }
.prod-body .btn { margin-top: 4px; }
.tier { font-size: .78rem; font-weight: 700; color: var(--sage); }

/* ── Article cards ──────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--amber); color: inherit; }
.card-art { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-art img { height: 100%; width: auto; max-width: 33%; object-fit: contain; }
.card-art.photo { padding: 0; position: relative; }
.card-pick { position: absolute; right: 12px; bottom: 12px; width: 72px; height: 72px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.18); display: grid; place-items: center; }
.card-art.photo .card-pick img { width: 100%; height: 100%; max-width: none; object-fit: contain; }
.card-art.photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.card-art.howto { justify-content: flex-start; align-items: flex-end; padding: 18px; }
.card-art.howto svg { width: 64px; height: 64px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.chip { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); }
.chip.howto { background: var(--teal-soft); color: var(--teal); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.card p { font-size: .92rem; color: var(--muted); flex: 1; }
.card-foot { font-size: .85rem; font-weight: 700; color: var(--amber); }

/* list-style links */
.link-list { list-style: none; padding: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; gap: 12px; align-items: center; padding: 14px 4px; text-decoration: none; color: var(--ink); font-weight: 700; }
.link-list a:hover { color: var(--amber); }
.link-list a::after { content: '→'; margin-left: auto; color: var(--amber); }

/* ── Budget / gift finder ───────────────────────── */
.budget { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.budget a { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); }
.budget a:hover { border-color: var(--amber); }
.budget strong { display: block; font-family: var(--display); font-size: 1.35rem; margin-bottom: 4px; }
.budget span { color: var(--muted); font-size: .92rem; }

/* ── Page hero (category hubs) ──────────────────── */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0 34px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--ink); margin: 10px 0 10px; }
.page-hero p { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.page-hero-photo { width: 340px; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-icon { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; }
.page-hero-icon svg { width: 60px; height: 60px; }

/* ── Article layout ─────────────────────────────── */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 8px; padding-bottom: 64px; }
.article-head { padding: 18px 0 8px; }
.article-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; color: var(--ink); margin: 12px 0 14px; }
.article-head .intro { font-size: 1.2rem; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.byline strong { color: var(--ink); }
.article-hero { margin: 22px 0 8px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px; min-height: 220px; overflow: hidden; }
.article-hero img { max-height: 220px; width: auto; max-width: 30%; object-fit: contain; }
.article-hero.photo { padding: 0; min-height: 0; display: block; }
.article-hero.photo img { display: block; width: 100%; height: 340px; max-width: none; max-height: none; object-fit: cover; object-position: center 30%; }
@media (max-width: 760px) { .article-hero.photo img { height: 210px; } }
.article-hero.howto { justify-content: flex-start; gap: 22px; padding: 28px; }
.article-hero.howto svg.big { width: 120px; height: 120px; flex-shrink: 0; }
.article-hero.howto .hero-steps { font-size: 1.05rem; color: var(--ink); }
.article-hero.howto .hero-steps strong { display: block; font-family: var(--display); font-size: 1.4rem; margin-bottom: 4px; }

.disclosure { font-size: .85rem; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; margin: 18px 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0 8px; }
.toc strong { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { padding-left: 1.3em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--amber); text-decoration: underline; }

.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1.2; color: var(--ink); margin-top: 1.9em; scroll-margin-top: 20px; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin-top: 1.5em; scroll-margin-top: 20px; }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); }
.prose ol { list-style: none; padding: 0; counter-reset: step; }
.prose ol > li { counter-increment: step; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 64px; margin-top: 10px; min-height: 58px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #fff; font-weight: 700; display: grid; place-items: center; }
.prose blockquote { background: var(--sage-soft); border: 1px solid #CFE0CC; border-left: 6px solid var(--sage); border-radius: 12px; padding: 14px 18px; }
.prose blockquote.warn { background: var(--rose-soft); border-color: #F0C9CC; border-left-color: var(--rose); }
.prose blockquote > * + * { margin-top: .6em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .04em; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }

/* ── Product pick card (inside articles) ────────── */
.pick { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 1.4em !important; box-shadow: var(--shadow); }
.pick.top { border-color: var(--ink); }
.pick-head { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 10px 18px; font-weight: 700; font-size: .9rem; }
.pick:not(.top) .pick-head { background: #F1EBE1; color: var(--ink); }
.pick-rank { background: var(--amber-bright); color: var(--ink); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.pick-main { display: grid; grid-template-columns: 210px 1fr; gap: 22px; padding: 20px; }
.pick-img { background: #fff; border-radius: 12px; display: grid; place-items: center; aspect-ratio: 1/1; padding: 8px; }
.pick-img img { max-height: 100%; width: auto; object-fit: contain; }
.pick h3 { font-size: 1.3rem; line-height: 1.25; color: var(--ink); margin: 0 0 4px; }
.pick .bestfor { font-size: .92rem; color: var(--sage); font-weight: 700; margin: 0 0 10px; }
.pick p.blurb { font-size: 1rem; margin: 0 0 12px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px; font-size: .92rem; }
.proscons ul { list-style: none; padding: 0; margin: 0; }
.proscons li { padding-left: 1.5em; position: relative; margin: 4px 0 !important; }
.proscons .pros li::before { content: '✓'; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.proscons .cons li::before { content: '✗'; position: absolute; left: 0; color: var(--rose); font-weight: 700; }
.proscons h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.proscons .pros h4 { color: var(--sage); }
.proscons .cons h4 { color: var(--rose); }
.pick-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ease { font-size: .85rem; color: var(--muted); }
.ease b { color: var(--ink); }
.meter { display: inline-block; width: 80px; height: 8px; background: var(--line); border-radius: 99px; vertical-align: middle; margin-left: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--sage); }

/* At-a-glance list */
.glance { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; margin-top: 1.4em !important; }
.glance-title { background: var(--ink); color: #fff; padding: 10px 18px; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.glance-row { display: grid; grid-template-columns: 34px 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.glance-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.glance-row:first-of-type { border-top: 0; }
.glance-num { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--amber); text-align: center; }
.glance-row img { width: 76px; height: 76px; object-fit: contain; background: #fff; }
.glance-row .label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.glance-row .name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.feats { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feats li { margin: 0 !important; font-size: .8rem; line-height: 1.3; font-weight: 600; color: var(--ink); background: #F1EBE1; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; overflow-wrap: anywhere; }
.pick .feats { margin: 0 0 12px; }
.pick .feats li { font-size: .85rem; }

/* Inline mini product */
.mini { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-top: 1.2em !important; }
.mini img { width: 90px; height: 90px; object-fit: contain; }
.mini .name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.mini .why { font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; font-size: 1.05rem; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.faq details p { padding-bottom: 12px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.side-card h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 12px 18px; }
.side-card .inner { padding: 16px 18px 18px; }
.side-card .inner > * + * { margin-top: 10px; }
.side-sticky { position: sticky; top: 20px; }
.side-prod img { margin: 0 auto; max-height: 180px; width: auto; }
.side-prod .name { font-weight: 700; color: var(--ink); text-align: center; line-height: 1.3; }

/* Newsletter */
.newsletter { background: var(--teal); color: #EAF5F3; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.newsletter h2 { font-family: var(--display); color: #fff; font-size: 1.7rem; line-height: 1.2; margin-bottom: 6px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; font: 1rem var(--font); padding: 12px 16px; border-radius: 999px; border: 2px solid transparent; min-height: 48px; }
.side-card form { display: flex; flex-direction: column; gap: 8px; }
.side-card input { font: 1rem var(--font); padding: 11px 14px; border-radius: 10px; border: 2px solid var(--line); }

/* Callout band */
.band { background: var(--amber-soft); border: 1px solid #F1D3AE; border-radius: 20px; padding: 26px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.band h2 { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
.band p { color: var(--body); }
.band .btn { margin-left: auto; }

/* Static pages */
.narrow { max-width: 760px; margin: 0 auto; padding: 16px 20px 64px; }
.narrow h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); line-height: 1.1; margin: 12px 0 18px; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: var(--ink); color: #CFC5B8; padding: 44px 0 26px; margin-top: 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #E9DFD2; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--amber-bright); }
.footer-logo { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer-logo span { color: var(--amber-bright); }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #A99E90; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-note a { display: inline; color: #E9DFD2; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1000px) {
  .tiles, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html { font-size: 106.25%; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; gap: 20px; }
  .hero-art { order: -1; max-width: 420px; }
  .menu-btn { display: inline-flex; }
  .head-ts { display: none; }
  .nav-textsize { display: flex; align-items: center; gap: 12px; padding: 6px 14px 12px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
  .header-row { padding: 10px 14px; }
  .logo-mark { width: 38px; height: 38px; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 12px 12px; }
  .site-nav a { border-radius: 10px; border-bottom: 0; margin: 0; padding: 14px; font-size: 1.05rem; }
  .site-nav a.active { background: var(--amber-soft); }
  .textsize button { padding: 6px 9px; }
  .logo-sub { display: none; }
  .logo-text { font-size: 1.3rem; }
  .cards, .cards.cols-2, .budget, .prod-grid.cols-3 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pick-main { grid-template-columns: minmax(0, 1fr); }
  .pick-img { max-width: 260px; margin: 0 auto; width: 100%; }
  .proscons { grid-template-columns: 1fr; }
  .glance-row { grid-template-columns: 26px 60px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .glance-row .label { letter-spacing: .04em; }
  .glance-buy { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .glance-row .glance-buy .live-price { justify-content: flex-start; text-align: left; }
  .glance-row img { width: 60px; height: 60px; }
  .mini { grid-template-columns: 70px minmax(0, 1fr); }
  .prose { overflow-wrap: break-word; }
  .pick-main { padding: 14px; }
  .mini img { width: 70px; height: 70px; }
  .mini .btn { grid-column: 1 / -1; }
  .newsletter { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-icon { display: none; }
  .page-hero-photo { width: 100%; order: -1; aspect-ratio: 16 / 8; border-radius: 16px; }
  .article-hero:not(.photo) img { max-width: 45%; max-height: 160px; }
  .article-hero img:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print { .site-header, .site-nav, .topbar, .sidebar, .site-footer, .newsletter { display: none !important; } }

/* ── Contact form ───────────────────────────────── */
.contact-form { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 24px; margin: 24px 0 32px; box-shadow: var(--shadow); }
.contact-form .field { margin: 0 0 18px; }
.contact-form label { display: block; font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.contact-form .hint { font-weight: 400; color: var(--muted); font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: #fff; border: 2px solid #CFC5B6; border-radius: 12px; padding: 12px 14px; min-height: 52px; }
.contact-form textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid var(--amber-bright); outline-offset: 1px; border-color: var(--ink); }
.contact-form [aria-invalid="true"] { border-color: var(--rose); background: var(--rose-soft); }
.field-error { color: var(--rose); font-weight: 700; font-size: .95rem; margin: 6px 0 0 !important; }
.field-error:empty { display: none; }
.btn-lg { font-size: 1.15rem; padding: 14px 30px; min-height: 56px; }
.contact-form button[disabled] { opacity: .7; cursor: wait; }
.form-status { margin: 14px 0 0 !important; font-weight: 700; }
.form-status.error { color: var(--rose); }
.form-status:empty { display: none; }
.form-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0 !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-thanks { background: #E6F2EA; border: 2px solid var(--sage); border-radius: 18px; padding: 24px; margin: 24px 0 32px; }
.contact-thanks h2 { margin-top: 0; }
@media (max-width: 760px) { .contact-form, .contact-thanks { padding: 18px; } .contact-form .btn-lg { width: 100%; } }

/* Live Amazon prices (filled by /assets/prices.js) */
.live-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.25; }
.live-price[hidden] { display: none; }
.lp-amount { font-size: 1.15rem; color: var(--ink); }
.lp-save { font-size: .78rem; font-weight: 700; color: #fff; background: var(--sage); border-radius: 999px; padding: 1px 8px; }
.lp-when { flex-basis: 100%; font-size: .74rem; color: var(--muted); }
.glance-buy .live-price { justify-content: flex-end; text-align: right; }
.side-prod .live-price { justify-content: center; text-align: center; width: 100%; }
.mini .live-price { margin-top: 4px; }
.price-note { display: block; margin-top: 6px; font-size: .85em; }
