/* =========================================================================
   Keystone CPA · funnel system (system B: the prospect's own funnel brand)
   "Ledger paper": porcelain paper ground, Keystone navy ink, the gold of their
   "Tax planning made easy" tagline used only for marks and large accents.
   Display: Newsreader (editorial authority). Text: Figtree (clean, friendly).
   ========================================================================= */

:root {
  --bg: #f6f5f1;
  --bg-2: #efede6;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #0f1b33;
  --ink-2: #45506a;
  --ink-3: #636c80;
  --line: rgba(15, 27, 51, 0.11);
  --line-soft: rgba(15, 27, 51, 0.065);
  --navy: #23407a;
  --navy-2: #2d5196;
  --navy-deep: #172c57;
  --navy-soft: rgba(35, 64, 122, 0.08);
  --gold: #a8823e;
  --gold-deep: #8a6a2f;
  --gold-soft: rgba(168, 130, 62, 0.14);
  --on-navy: #ffffff;
  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 32px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.05), 0 8px 24px -14px rgba(15, 27, 51, 0.18);
  --shadow-md: 0 2px 4px rgba(15, 27, 51, 0.04), 0 28px 60px -30px rgba(15, 27, 51, 0.32);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  background: var(--bg);
}
/* one continuous page canvas: soft navy bloom at the top + faint ledger rules that fade out.
   Sections stay transparent on top of it, so there are no seams between them. */
body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% -8%, rgba(35, 64, 122, 0.10), transparent 70%),
    radial-gradient(40% 40% at 88% 4%, rgba(168, 130, 62, 0.08), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(15, 27, 51, 0.035) 39px 40px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
}
body { position: relative; }
img, svg, video { display: block; max-width: 100%; }
iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.section { padding-block: clamp(72px, 10vw, 112px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 72px); }

/* ------------------------------- Type ---------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.25; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.55; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--ink-2); line-height: 1.6; margin: 20px auto 0; max-width: 58ch; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 72px); }
.hl { color: var(--navy); font-style: italic; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 1.04rem; letter-spacing: 0.005em;
  padding: 18px 36px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn-primary { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: var(--on-navy); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 16px 36px -14px rgba(35, 64, 122, 0.55); }
.btn-primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%); background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22), transparent 70%); transition: transform 0.75s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 22px 44px -16px rgba(35, 64, 122, 0.6); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn .ar { transition: transform 0.35s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn-lg { font-size: 1.1rem; padding: 20px 44px; }

/* ------------------------------- Hero ---------------------------------- */
.hero { text-align: center; padding-top: clamp(72px, 11vw, 120px); padding-bottom: clamp(56px, 8vw, 88px); }
.hero h1 { max-width: 20ch; margin-inline: auto; }
.hero .eyebrow { margin-bottom: 22px; }

/* ----------------------- Countdown (ring tiles) ------------------------ */
.cd-wrap { margin: clamp(36px, 5vw, 48px) auto 0; }
.cd-when { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.cd-when .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(192, 57, 43, 0); } }
.countdown { display: flex; justify-content: center; gap: clamp(10px, 2vw, 18px); }
.cd-tile {
  position: relative; width: clamp(74px, 15vw, 104px); aspect-ratio: 1; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.cd-ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.cd-ring circle { fill: none; stroke-width: 3; }
.cd-ring .trk { stroke: var(--navy-soft); }
.cd-ring .prg { stroke: var(--navy); stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--ease); }
.cd-in { position: relative; text-align: center; line-height: 1; }
.cd-num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); font-variant-numeric: tabular-nums; color: var(--ink); }
.cd-lab { display: block; margin-top: 6px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hero-cta { margin-top: clamp(36px, 5vw, 44px); }

/* --------------------- Pillars (editorial columns) --------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 26px; box-shadow: var(--shadow-md); overflow: hidden; }
.pillar { position: relative; text-align: center; padding: clamp(32px, 4vw, 48px) clamp(22px, 3vw, 36px) clamp(34px, 4vw, 48px); transition: background 0.4s var(--ease); }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, var(--line), transparent); }
.pillar:hover { background: var(--surface-2); }
.pillar .pn { display: block; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); margin-bottom: 18px; }
.pillar .pi { width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; color: var(--navy); background: var(--navy-soft); transition: transform 0.5s var(--ease), background 0.5s var(--ease); }
.pillar:hover .pi { transform: translateY(-3px) rotate(-3deg); background: rgba(35, 64, 122, 0.13); }
.pillar .pi svg { width: 26px; height: 26px; }
.pillar .pk { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.pillar h3 { font-size: clamp(1.18rem, 1.7vw, 1.36rem); line-height: 1.26; margin-bottom: 12px; }
.pillar p { margin: 0 auto; font-size: 0.98rem; color: var(--ink-2); line-height: 1.55; max-width: 30ch; text-align: center; }

/* ----------------------------- Hosts ----------------------------------- */
.host { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4.5vw, 56px); align-items: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 28px; padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-md); }
.host-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bg-2); }
.host-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.host-photo .cap { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.host-body { padding: clamp(6px, 2vw, 20px) clamp(4px, 1.6vw, 18px) clamp(10px, 2vw, 20px) 0; text-align: left; }
.host-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.host-role { color: var(--gold-deep); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; margin: 10px 0 18px; }
.host-body p { margin: 0 0 14px; color: var(--ink-2); font-size: 1.01rem; }
.host-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.hstat { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 10px; text-align: center; }
.hstat .v { font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 600; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.hstat .k { font-size: 0.78rem; color: var(--ink-3); margin-top: 7px; line-height: 1.35; }
.press { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 36px; font-family: var(--display); font-size: 1.02rem; color: var(--ink-3); }
.press span { display: inline-flex; align-items: center; gap: 26px; }
.press span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.7; margin-left: -15px; margin-right: -11px; }

/* ----------------------------- Gift ------------------------------------ */
.gift { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; max-width: 980px; margin: 0 auto; }
.gift h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.gift .gift-solve { color: var(--ink-2); margin: 16px 0 0; font-size: 1.04rem; max-width: 46ch; }
.gift-tag { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 16px; border-radius: 999px; background: rgba(37, 211, 102, 0.1); color: #128c4a; font-size: 0.86rem; font-weight: 700; }
.gift-tag svg { width: 17px; height: 17px; }

/* the gift cover: a real-looking printed scorecard, tilted, straightens on hover */
.cover { position: relative; width: min(300px, 100%); aspect-ratio: 8.5 / 11; margin: 0 auto; border-radius: 10px; overflow: hidden; transform: rotate(-4deg); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); box-shadow: 0 2px 0 rgba(255,255,255,.2) inset, 0 40px 70px -34px rgba(15, 27, 51, 0.6), 0 10px 22px -12px rgba(15, 27, 51, 0.35); background: linear-gradient(160deg, #1d376b, #142650 60%, #0f1d3e); color: #fff; padding: 9% 9% 8%; display: flex; flex-direction: column; text-align: left; }
.cover:hover { transform: rotate(0deg) translateY(-4px); }
.cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 21px, rgba(255, 255, 255, 0.035) 21px 22px); pointer-events: none; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 35%); pointer-events: none; }
.cover__brand { position: relative; display: flex; align-items: center; gap: 8px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #d9bf86; }
.cover__brand svg { width: 18px; height: 12px; }
.cover__kicker { position: relative; margin-top: auto; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #d9bf86; }
.cover__title { position: relative; margin: 10px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.62rem); line-height: 1.1; letter-spacing: -0.01em; color: #fff; }
.cover__title em { color: #e6cf9a; }
.cover__rule { position: relative; height: 1px; background: rgba(217, 191, 134, 0.5); margin: 16px 0 12px; }
.cover__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.62rem; color: rgba(255, 255, 255, 0.82); }
.cover__list li { display: flex; gap: 8px; align-items: center; }
.cover__list li i { flex: none; width: 11px; height: 11px; border-radius: 3px; border: 1.2px solid rgba(217, 191, 134, 0.8); }
.cover__foot { position: relative; margin-top: 16px; display: flex; justify-content: space-between; font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* ------------------------- Social proof (reviews) ---------------------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px 20px 18px; box-shadow: var(--shadow-sm); min-height: 100%; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.82rem; color: #fff; flex: none; }
.review__who { min-width: 0; line-height: 1.25; }
.review__who b { display: block; font-size: 0.9rem; color: var(--ink); }
.review__who span { font-size: 0.74rem; color: var(--ink-3); }
.stars { display: flex; gap: 2px; margin-bottom: 10px; color: #e3a82b; }
.stars svg { width: 14px; height: 14px; }
.review__q { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); flex: 1; }
.review__q b { color: var(--ink); font-weight: 700; }
.review__src { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.review__src svg { width: 12px; height: 12px; color: #2e9e5b; }

/* ---------------------- Testimonial videos (2-up) ---------------------- */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 32px); max-width: 980px; margin: 0 auto; }
.vcard { text-align: center; }
.vframe { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0f1b33; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vframe .yt-lite { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0f1b33 center / cover no-repeat; }
.vframe .yt-lite::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, rgba(15, 27, 51, 0.05), rgba(15, 27, 51, 0.35)); transition: opacity 0.4s var(--ease); }
.vframe .yt-lite:hover::after { opacity: 0.6; }
.vframe .yt-play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, 0.96); display: grid; place-items: center; box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.55); transition: transform 0.4s var(--ease); }
.vframe .yt-play svg { width: 24px; height: 24px; margin-left: 4px; fill: var(--navy); }
.vframe .yt-lite:hover .yt-play { transform: scale(1.08); }
.vname { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin: 20px 0 6px; color: var(--ink); }
.vdesc { font-size: 0.96rem; color: var(--ink-2); margin: 0 auto; max-width: 40ch; }

/* ------------------------------ Footer --------------------------------- */
.foot { position: relative; height: 84px; display: flex; align-items: center; justify-content: center; margin-top: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, transparent, rgba(15, 27, 51, 0.035)); }
.foot img { height: 56px; width: auto; }
.foot .foot-mark { display: inline-flex; align-items: center; gap: 12px; }

/* ----------------------------- Modal ----------------------------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 27, 51, 0.5); backdrop-filter: blur(10px) saturate(115%); -webkit-backdrop-filter: blur(10px) saturate(115%); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 26px; padding: 40px 34px 30px; box-shadow: 0 50px 120px -40px rgba(15, 27, 51, 0.6); transform: translateY(12px) scale(0.965); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.3s ease; text-align: center; }
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.modal-x:hover { transform: rotate(90deg); background: var(--bg-2); }
.modal .eyebrow { margin-bottom: 12px; }
.modal h3 { font-size: 1.85rem; margin-bottom: 8px; }
.modal-sub { color: var(--ink-2); font-size: 0.98rem; margin: 0 0 24px; }
.modal-field { margin-bottom: 14px; text-align: left; }
.modal-field label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.modal-field input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.modal-field input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); background: #fff; }
.modal-field input.err { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12); }
.modal-err { color: #b03a2e; font-size: 0.86rem; min-height: 20px; margin: 2px 0 4px; }
.modal .btn { width: 100%; }
.modal-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--ink-3); display: flex; align-items: center; justify-content: center; gap: 7px; }
.modal-note svg { width: 13px; height: 13px; }

/* ------------------------------ Reveal --------------------------------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; } .rv-d2 { transition-delay: 0.16s; } .rv-d3 { transition-delay: 0.24s; } .rv-d4 { transition-delay: 0.32s; }

/* ----------------------------- Responsive ------------------------------ */
@media (max-width: 920px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar + .pillar::before { left: 14%; right: 14%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
  .host { grid-template-columns: minmax(0, 1fr); }
  .host-body { padding: 4px 8px 12px; text-align: center; }
  .gift { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .gift .gift-solve { margin-inline: auto; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .vgrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .host-stats { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { padding: 18px 28px; width: 100%; }
  .cd-tile { border-radius: 16px; }
  .cd-ring { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); }
  .modal { padding: 36px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .cover { transform: none; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
