/* Help For Seniors - Black Friday offers, DESIGN B: classic editorial listicle. Serif reading text, red accents,
   numbered items with drawn illustrations. Senior-first sizes. Motion = transform/opacity only. */
:root {
  --red: #c8102e; --red-d: #9a0c23; --ink: #1c1c1f; --ink-2: #45474f; --muted: #6b6e78; --line: #e7e4de;
  --paper: #ffffff; --soft: #faf7f3; --gold: #f5b83d;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; --serif: "Lora", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 20px/1.75 var(--serif); color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
@media (max-width: 600px) { body { font-size: 19px; } }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }
.wrap--article { max-width: 760px; }
.wrap--wide { max-width: 960px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--red); }
.ad-note { margin: 0; padding: 8px 16px; text-align: center; font: 500 .82rem/1.4 var(--sans); background: var(--soft); color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* masthead */
.masthead { border-bottom: 3px solid var(--ink); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 900 1.2rem/1 var(--sans); text-decoration: none; letter-spacing: -.01em; }
.masthead__section { font: 700 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* article header */
.hero { padding-top: 38px; padding-bottom: 22px; text-align: left; }
.kicker { margin: 0 0 12px; font: 800 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.hero h1 { font-weight: 900; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem); margin-bottom: 14px; }
.dek { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--ink-2); margin-bottom: 14px; }
.byline { font: 600 .92rem/1 var(--sans); color: var(--muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }

/* lead illustration */
.lead-art { margin: 6px auto 30px; }
.lead-art svg { display: block; width: 100%; height: auto; border-radius: 24px; }
.la-ticket { animation: bob 6s ease-in-out infinite; }
.la-card--1 { animation: bob 7s ease-in-out -2s infinite; }
.la-card--2 { animation: bob 6.5s ease-in-out -4s infinite; }
.la-bag { animation: bob 8s ease-in-out -1s infinite; }
.la-confetti > * { transform-box: fill-box; transform-origin: center; animation: drift 5s ease-in-out infinite alternate; }
.la-confetti > *:nth-child(2n) { animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes drift { from { transform: translateY(0) rotate(0); } to { transform: translateY(10px) rotate(25deg); } }

/* body */
.body { padding-bottom: 30px; }
.intro { font-size: 1.12em; }
.intro::first-letter { float: left; font: 900 3.4em/.8 var(--sans); color: var(--red); margin: .08em .1em 0 0; }
.toc { margin: 26px 0 10px; padding: 20px 24px; background: var(--soft); border-left: 5px solid var(--red); border-radius: 0 14px 14px 0; }
.toc__title { margin: 0 0 8px; font: 800 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toc li { display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-weight: 600; }
.toc li a { color: var(--ink); text-decoration-color: rgba(200, 16, 46, .4); text-underline-offset: 4px; }
.toc li a:hover { color: var(--red); }
.toc li span { color: var(--muted); font-weight: 600; }

.part { scroll-margin-top: 16px; margin: 46px 0 6px; padding-top: 16px; border-top: 3px solid var(--ink); font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.part__note { color: var(--ink-2); font-style: italic; }

/* numbered items */
.item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .item { grid-template-columns: minmax(0, 1fr); gap: 12px; } .item__art { max-width: 200px; } }
.item__art { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease); }
.item:hover .item__art { transform: rotate(-2deg) scale(1.03); }
.item__art svg { width: 86%; height: auto; }
.item h3 { font-weight: 800; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); margin-bottom: 10px; }
.num { display: inline-grid; place-items: center; min-width: 38px; height: 38px; margin-right: 12px; padding: 0 8px; border-radius: 10px; background: var(--red); color: #fff; font: 900 1.1rem/1 var(--sans); vertical-align: 3px; }
.item p { margin-bottom: 14px; color: var(--ink-2); }
.gc { position: relative; display: block; width: 86%; aspect-ratio: 1.6; border-radius: 12px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 20px -14px rgba(0, 0, 0, .8); }
.gc i { position: absolute; left: 10%; top: 14%; width: 22%; height: 22%; border-radius: 4px; background: linear-gradient(135deg, #ffe9a6, #d8a032); }
.gc b { position: absolute; left: 10%; right: 8%; bottom: 12%; font: 800 .8rem/1.1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc em { position: absolute; right: 8%; top: 11%; font: 900 1.3rem/1 var(--sans); font-style: normal; }
.gc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 60%); background-size: 260% 100%; background-position: 130% 0; transition: background-position .9s var(--ease); }
.item:hover .gc::after { background-position: -130% 0; }
.fine { margin-top: 14px; font: 500 .85rem/1.5 var(--sans); color: var(--muted); }

/* button */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; border-radius: 12px; background: var(--red); color: #fff; font: 800 1.05rem/1.2 var(--sans); text-decoration: none; box-shadow: 0 5px 0 var(--red-d); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn::after { content: "\2192"; font-weight: 900; transition: transform .25s var(--ease); }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 var(--red-d); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-d); }
@media (max-width: 600px) { .item .btn { width: 100%; } }
.btn--sm { min-height: 46px; padding: 10px 18px; font-size: 1rem; }

/* safety */
.safety { margin: 36px 0 0; padding: 22px 26px; background: #fff8e8; border: 2px solid #f1d58f; border-radius: 16px; }
.safety h2 { font-size: 1.3rem; margin-bottom: 10px; }
.safety ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.safety li { margin-bottom: 6px; }

/* footer */
.foot { background: var(--ink); color: #c4c5cc; padding: 30px 0 26px; font: 400 .9rem/1.6 var(--sans); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 10px; }
.foot__links a { color: #fff; }
.foot__copy { color: #8d8f99; margin: 0; }

/* sticky bar */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 0; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 -10px 28px -14px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .4s var(--ease); font-family: var(--sans); }
.stickybar.is-on { transform: none; }
.stickybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.stickybar__text { font-size: 1rem; color: var(--ink); }
.stickybar__text b { color: var(--red); }
body.has-sticky .foot { padding-bottom: 90px; }

/* popup */
.pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; font-family: var(--sans); }
.pop[hidden] { display: none; }
.pop__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 24, .66); opacity: 0; transition: opacity .3s var(--ease); }
.pop.is-open .pop__backdrop { opacity: 1; }
.pop__card { position: relative; width: min(460px, 100%); padding: 40px 28px 24px; text-align: center; background: #fff; border-top: 8px solid var(--red); border-radius: 18px; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .7); opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pop.is-open .pop__card { opacity: 1; transform: none; }
.pop__card:focus { outline: none; }
.pop__x { position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 400 1.9rem/1 var(--sans); cursor: pointer; }
.pop__x:hover { border-color: var(--ink); }
.pop__ad { position: absolute; left: 16px; top: 16px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pop__art { display: block; width: 240px; max-width: 80%; height: auto; margin: 4px auto 14px; transform: rotate(-3deg); animation: popIn .8s .15s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: rotate(-12deg) scale(.7); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
.pop h2 { font-weight: 900; font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.2rem); margin-bottom: 10px; }
.pop p { font-family: var(--serif); color: var(--ink-2); margin-bottom: 20px; }
.pop__cta { width: 100%; min-height: 60px; font-size: 1.15rem; }
.pop__more { display: inline-block; margin-top: 14px; padding: 8px; color: var(--ink); font-weight: 700; }
body.has-pop { overflow: hidden; }

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
