/* Just Junk Removals flipbook.
   Two page layouts share the same markup:
   - "fixed": pages are designed at 500 x 700 and scaled to fit (desktop and tablet).
   - "flow" (.fb--flow): pages reflow at true size (phones and the reading view). */

:root {
  --brand-primary: #E53610;
  --brand-secondary: #F16D0A;
  --brand-white: #FFFFFF;
  /* Darker red for small text and button fills: white on it is 5.6:1. */
  --brand-primary-strong: #C42E0C;
  --ink: #1F2328;
  --ink-2: #3D434B;
  --muted: #5B626B;
  --paper: #FFFFFF;
  --mist: #F6F3EF;
  --tint: #FFF4EE;
  --line: #E7E1DA;
  --stage: #E9E5E0;
  --focus: #0B5FFF;
  --radius: 12px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stage); color: var(--ink); font-family: var(--font); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[tabindex='-1']:focus:not(:focus-visible) { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1.15 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.btn--primary { background: var(--brand-primary-strong); color: #fff; }
.btn--primary:hover { background: #A92609; box-shadow: 0 6px 16px rgba(196, 46, 12, .28); }
.btn--outline { background: #fff; color: var(--brand-primary-strong); border-color: var(--brand-primary-strong); }
.btn--outline:hover { background: var(--tint); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #CFC7BE; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; font-size: 17px; }
.btn:not(:disabled):active { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

/* ---------- Viewer shell ---------- */
.fb {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; min-height: 420px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #F5F2EE 0%, var(--stage) 60%, #DDD7D0 100%);
}
.fb-bar {
  position: relative; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
  padding-top: max(8px, env(safe-area-inset-top));
  background: #fff; border-bottom: 1px solid var(--line);
}
.fb-bar__logo { flex: none; display: block; border-radius: 6px; }
.fb-bar__logo img { width: auto; height: 42px; }
.fb-bar__tools { display: flex; gap: 4px; margin-left: 8px; }
.fb-bar__cta { display: flex; gap: 8px; margin-left: auto; }
.tool {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer;
}
.tool:hover { background: var(--mist); color: var(--ink); }
.tool[aria-pressed='true'] { background: var(--tint); color: var(--brand-primary-strong); }
.tool svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.show-xs { display: none; }

.fb-stage {
  position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  touch-action: pan-y pinch-zoom; outline: none;
}
.fb-stage:focus-visible { outline: none; }
.fb-book { position: relative; }
.fb-scale { position: absolute; top: 0; left: 0; transform-origin: top left; }
.fb-shift { position: absolute; top: 0; left: 0; height: 700px; }
.fb-shadow { position: absolute; top: 4px; bottom: -10px; left: 0; width: 100%; border-radius: 8px; box-shadow: 0 24px 50px rgba(60, 40, 25, .22), 0 4px 12px rgba(60, 40, 25, .12); pointer-events: none; }
.fb-leaf { position: absolute; top: 0; width: 500px; height: 700px; transform-origin: left center; transform-style: preserve-3d; }
.fb-leaf > .pg { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fb-leaf.is-back > .pg { transform: rotateY(180deg); }
/* The gutter shadow that sells the spread. */
.fb--spread .fb-leaf > .pg::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.fb--spread .fb-leaf:not(.is-back) > .pg::after { box-shadow: inset 18px 0 24px -18px rgba(40, 25, 15, .35); border-radius: 0 8px 8px 0; }
.fb--spread .fb-leaf.is-back > .pg::after { box-shadow: inset -18px 0 24px -18px rgba(40, 25, 15, .35); border-radius: 8px 0 0 8px; }

.fb-nav {
  position: relative; z-index: 20; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 18px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.fb-nav__status {
  display: grid; gap: 7px; justify-items: center; min-width: 170px; min-height: 44px; padding: 6px 12px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
}
.fb-nav__status:hover { background: rgba(255, 255, 255, .6); }
.fb-nav__label { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.fb-nav__progress { display: block; width: 140px; height: 4px; border-radius: 2px; background: rgba(31, 35, 40, .14); overflow: hidden; }
.fb-nav__progress > span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)); transition: transform .35s ease; }
.fb-nav .btn--ghost { background: rgba(255, 255, 255, .7); }

/* ---------- Page base (fixed layout, design px) ---------- */
.pg {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  width: 500px; height: 700px; padding: 26px 36px 54px;
  background: var(--paper); color: var(--ink); border-radius: 8px;
  font-size: 15px; line-height: 1.5;
}
.fb--spread .fb-leaf:not(.is-back) > .pg { border-radius: 0 8px 8px 0; }
.fb--spread .fb-leaf.is-back > .pg { border-radius: 8px 0 0 8px; }
.pg > * + * { margin-top: 14px; }
.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.pg-label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-primary-strong); }
.pg-label::before { content: ''; display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 2px; background: var(--brand-secondary); }
.pg-mark { width: 64px; height: auto; flex: none; }
.pg h2 { font-size: 30px; line-height: 1.12; font-weight: 900; letter-spacing: -.01em; color: var(--ink); }
.pg h2 { margin-top: 10px; text-wrap: balance; }
.accent { color: var(--brand-primary); }
.pg h3 { font-size: 15px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.body { color: var(--ink-2); }
.body--sm { font-size: 14px; }
.pg a:not(.btn) { color: var(--brand-primary-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link { font-size: 14px; }
.pg-foot {
  position: absolute; left: 36px; right: 36px; bottom: 18px; margin: 0 !important;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.pg-foot a:not(.btn) { font-size: 12px; }
.pg-num { font-weight: 900; font-size: 13px; color: var(--brand-primary-strong); letter-spacing: .06em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pg .cta-row { margin-top: auto; padding-top: 8px; }

/* Photos */
.photo { position: relative; overflow: hidden; border-radius: 10px; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--band { height: 142px; flex: none; }
.photo--short { height: 210px; }
.photo--bleed { margin: -26px -36px 0; height: 222px; border-radius: 0; flex: none; }
.photo--bleed + .pg-head { margin-top: 16px; }
.photo--tall { height: 270px; }
.photo--wide { height: 190px; }
.photo--wide img { object-position: 40% 60%; }
.photo--side { width: 150px; height: 220px; flex: none; }
.photo--bleed-bottom { margin: auto -36px -54px; height: 150px; border-radius: 0; flex: none; }
.pg--photo h2 { margin-top: 8px; }
.pg--photo > * + * { margin-top: 10px; }

/* Cards */
.cards { display: grid; gap: 10px; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.card { padding: 10px 14px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.card h3 { font-size: 14px; margin-top: 8px; }
.card p { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 3px; }
.ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-primary); color: #fff; }
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pg--tint { background: linear-gradient(180deg, var(--tint) 0%, #fff 55%); }
.pg--tint .card { background: #fff; }

/* Tick lists */
.ticks { display: grid; gap: 6px; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.ticks li::before, .tick {
  content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.ticks--bold li { font-weight: 700; color: var(--ink); }

/* Notes */
.note { padding: 12px 14px; border-radius: var(--radius); background: var(--tint); border: 1px solid #F6CDBB; }
.note h3 { font-size: 14px; }
.note p, .note--inline { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.note p { margin-top: 3px; }
.split { display: flex; gap: 18px; align-items: flex-start; }
.split .body { margin-bottom: 10px; }

/* Cover */
.pg--cover { padding: 0; }
.pg--cover > * + * { margin-top: 0; }
.cover-photo { position: relative; height: 312px; flex: none; overflow: hidden; }
.cover-photo__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.cover-photo::before { content: ''; position: absolute; inset: 0 0 auto; height: 150px; z-index: 1; background: linear-gradient(180deg, rgba(20, 16, 12, .72), rgba(20, 16, 12, 0)); }
.cover-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 1; background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)); }
.cover-logo { position: absolute; z-index: 2; top: 20px; left: 28px; width: 150px; height: auto; }
.cover-body { flex: 1; display: flex; flex-direction: column; padding: 24px 36px 22px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-primary-strong); }
.cover-title { margin-top: 8px; font-size: 52px; line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.cover-title span { color: var(--brand-primary); }
.cover-lead { margin-top: 12px; font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.cover-check { position: relative; margin-top: 10px; padding-left: 24px; font-weight: 700; font-size: 15px; }
.cover-check .tick { top: 3px; }
.pg--cover .cta-row { margin-top: 16px; }
.cover-open {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 2px;
  border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 800; cursor: pointer;
  border-bottom: 3px solid var(--brand-secondary);
}
.cover-open:hover { color: var(--brand-primary-strong); }

/* Service directory */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.svc__go {
  display: grid; gap: 1px; padding: 8px 12px 4px; text-align: left; border: 0; background: none; cursor: pointer; flex: 1;
}
.svc__go:hover { background: var(--tint); }
.svc__name::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--brand-primary); vertical-align: .12em; }
.svc__name { font-size: 14.5px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.svc__desc { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.svc__pg { margin-top: 2px; font-size: 12px; font-weight: 800; color: var(--brand-primary-strong); }
.pg a.svc__web { display: flex; align-items: center; min-height: 26px; padding: 2px 12px 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-thickness: 1px; }
.pg a.svc__web:hover { color: var(--brand-primary-strong); }
.pg a.svc__web::after { content: '↗'; margin-left: 4px; text-decoration: none; }

/* How it works */
.steps { display: grid; gap: 20px; margin-top: 22px !important; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: 19px; font-weight: 900; }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.checklist { margin-top: 26px !important; padding: 14px 16px; border-radius: var(--radius); background: var(--mist); border: 1px dashed #CDBFB2; }
.checklist ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; margin-top: 8px; }
.checklist li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border: 2px solid var(--brand-secondary); border-radius: 4px; }

/* Before and afters */
.pairs { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.pair figure { position: relative; height: 112px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(31, 35, 40, .86); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tag--after { background: var(--brand-primary-strong); }
.pair__cap { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--ink); }

/* Why choose */
.quote { padding: 14px 16px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.quote h3 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.quote p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: #E9E6E2; }

/* Coverage and FAQs */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--tint); border: 1px solid #F6CDBB; font-size: 13px; font-weight: 700; color: var(--ink); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.faq h3 { font-size: 14px; }
.faq p { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

/* Contact */
.pg--contact { align-items: center; text-align: center; padding-bottom: 0; }
.contact-logo { width: 196px; height: auto; margin-top: 4px; }
.pg--contact h2 { font-size: 32px; margin-top: 14px; }
.contact-actions { display: grid; gap: 9px; width: 100%; max-width: 330px; margin-top: 18px !important; }
.contact-details { display: grid; gap: 4px; margin-top: 16px !important; font-size: 14.5px; }
.contact-details li { display: flex; gap: 10px; justify-content: center; align-items: baseline; }
.contact-details__k { min-width: 46px; text-align: right; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-details li > :last-child { min-width: 196px; text-align: left; }
.contact-hint { margin-top: 12px !important; max-width: 340px; font-size: 13.5px; color: var(--ink-2); }
.pg--contact .photo--bleed-bottom { margin: auto -36px 0; width: calc(100% + 72px); height: 128px; }

/* ---------- Contents dialog ---------- */
.toc {
  width: min(460px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(30, 20, 10, .35);
}
.toc::backdrop { background: rgba(31, 24, 18, .5); }
.toc[open] { display: flex; flex-direction: column; animation: toc-in .2s ease both; }
.toc__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px 22px; border-bottom: 1px solid var(--line); }
.toc__head h2 { font-size: 20px; font-weight: 900; }
.toc__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.toc__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.toc__list { list-style: none; margin: 0; padding: 8px 10px; overflow-y: auto; }
.toc__item {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px;
  background: none; text-align: left; font-size: 16px; font-weight: 500; cursor: pointer;
}
.toc__item:hover { background: var(--mist); }
.toc__item[aria-current='page'] { background: var(--tint); font-weight: 800; }
.toc__num { width: 26px; font-size: 13px; font-weight: 900; color: var(--brand-primary-strong); font-variant-numeric: tabular-nums; }
.toc__extra { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px 18px; border-top: 1px solid var(--line); }
@keyframes toc-in { from { opacity: 0; transform: translateY(8px); } }

.toast {
  position: fixed; z-index: 200; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px);
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet and small desktop ---------- */
@media (max-width: 1100px) {
  /* Icon-only, but the label stays available to screen readers. */
  .tool--wide span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tool--wide { padding: 8px 10px; }
}
@media (max-width: 900px) {
  .fb-nav__jump { display: none; }
}

/* ---------- Flow layout (phones and the reading view) ---------- */
.fb--flow .pg {
  width: auto; height: auto; min-height: 100%; overflow: visible; border-radius: 0;
  padding: 22px 20px 26px; font-size: 18px; line-height: 1.55;
}
.fb--flow .pg > * + * { margin-top: 16px; }
.fb--flow .pg h2 { font-size: clamp(28px, 8.4vw, 36px); line-height: 1.12; margin-top: 12px; }
.fb--flow .pg h3 { font-size: 18px; }
.fb--flow .pg-label { font-size: 13px; }
.fb--flow .pg-mark { width: 72px; }
.fb--flow .body, .fb--flow .body--sm { font-size: 18px; }
.fb--flow .link, .fb--flow .pg a:not(.btn) { font-size: 17px; }
.fb--flow .pg .btn { min-height: 48px; font-size: 17px; padding: 12px 22px; }
.fb--flow .pg .cta-row { margin-top: 20px; }
.fb--flow .cta-row .btn { flex: 1 1 100%; }
.fb--flow .cta-row .link { display: inline-flex; align-items: center; min-height: 44px; }
.fb--flow .pg-foot { position: static; margin-top: 24px !important; font-size: 14px; flex-wrap: wrap; }
.fb--flow .pg-foot a:not(.btn) { font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.fb--flow .pg-num { font-size: 15px; }

.fb--flow .photo--band { height: auto; aspect-ratio: 4 / 3; max-height: 320px; }
.fb--flow .photo--short { aspect-ratio: 16 / 9; }
.fb--flow .photo--bleed { margin: -22px -20px 0; height: auto; aspect-ratio: 16 / 10; max-height: 340px; }
.fb--flow .photo--wide { aspect-ratio: 16 / 8; }
.fb--flow .photo--bleed + .pg-head { margin-top: 18px; }
.fb--flow .photo--bleed-bottom { margin: 28px -20px -26px; height: auto; aspect-ratio: 16 / 9; width: calc(100% + 40px); }
.fb--flow .split { flex-direction: column; }
.fb--flow .photo--side { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.fb--flow .photo--side img { object-position: 50% 70%; }

.fb--flow .cards--2 { grid-template-columns: 1fr; }
.fb--flow .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 14px 16px; }
.fb--flow .card .ico { grid-row: span 2; width: 40px; height: 40px; }
.fb--flow .card h3 { margin-top: 0; font-size: 18px; }
.fb--flow .card p { font-size: 17px; line-height: 1.45; }
.fb--flow .ticks, .fb--flow .ticks--2 { grid-template-columns: 1fr; gap: 10px; }
.fb--flow .ticks li { font-size: 18px; line-height: 1.45; padding-left: 30px; }
.fb--flow .ticks li::before, .fb--flow .tick { width: 20px; height: 20px; top: 3px; background-size: 14px; }
.fb--flow .note p, .fb--flow .note--inline { font-size: 17px; }
.fb--flow .note h3 { font-size: 18px; }

.fb--flow .pg--cover { padding: 0; }
.fb--flow .pg--cover > * + * { margin-top: 0; }
.fb--flow .cover-photo { height: auto; aspect-ratio: 4 / 3; max-height: 46vh; }
.fb--flow .cover-logo { width: 128px; top: 14px; left: 18px; }
.fb--flow .cover-body { padding: 22px 20px 26px; }
.fb--flow .cover-title { font-size: clamp(40px, 13vw, 54px); }
.fb--flow .cover-lead { font-size: 19px; }
.fb--flow .cover-check { font-size: 18px; padding-left: 30px; }
.fb--flow .eyebrow { font-size: 13px; }
.fb--flow .pg--cover .cta-row { margin-top: 20px; }
.fb--flow .cover-open { margin-top: 20px; font-size: 18px; min-height: 48px; }

.fb--flow .svc-grid { grid-template-columns: 1fr; gap: 10px; }
.fb--flow .svc__go { padding: 12px 16px 8px; min-height: 48px; }
.fb--flow .svc__name { font-size: 19px; }
.fb--flow .svc__desc { font-size: 16px; }
.fb--flow .svc__pg { font-size: 15px; }
.fb--flow .pg a.svc__web { min-height: 44px; padding: 6px 16px 10px; font-size: 15px; }

.fb--flow .steps h3 { font-size: 19px; }
.fb--flow .steps p { font-size: 17.5px; }
.fb--flow .steps__n { width: 44px; height: 44px; }
.fb--flow .checklist { margin-top: 20px !important; }
.fb--flow .checklist ul { grid-template-columns: 1fr; gap: 8px; }
.fb--flow .checklist li { font-size: 17.5px; padding-left: 30px; }
.fb--flow .checklist li::before { width: 18px; height: 18px; top: 3px; }

.fb--flow .pairs { gap: 18px; }
.fb--flow .pair figure { height: auto; aspect-ratio: 4 / 3; }
.fb--flow .pair__cap { font-size: 17px; }
.fb--flow .tag { font-size: 12px; }

.fb--flow .quote p { font-size: 17px; }
.fb--flow .quote h3 { font-size: 14px; }
.fb--flow .chips li { font-size: 16px; padding: 7px 13px; }
.fb--flow .faq { grid-template-columns: 1fr; gap: 14px; }
.fb--flow .faq h3 { font-size: 18px; }
.fb--flow .faq p { font-size: 17px; }

.fb--flow .pg--contact { padding-bottom: 26px; }
.fb--flow .contact-logo { width: min(240px, 70%); }
.fb--flow .pg--contact h2 { font-size: clamp(28px, 8.4vw, 36px); }
.fb--flow .contact-actions { max-width: 420px; }
.fb--flow .contact-details { font-size: 17px; gap: 8px; }
.fb--flow .contact-details li { flex-wrap: wrap; }
.fb--flow .contact-details li > :last-child { min-width: 0; }
.fb--flow .contact-details__k { font-size: 12px; min-width: 52px; }
.fb--flow .contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.fb--flow .contact-hint { font-size: 17px; }

/* Phone viewer: one page at a time, each page scrolls on its own. */
.fb--phone .fb-stage { display: block; }
.fb--phone .fb-book, .fb--phone .fb-scale, .fb--phone .fb-shift { position: static; width: auto !important; height: 100% !important; transform: none !important; }
.fb--phone .fb-shadow { display: none; }
.fb--phone .fb-leaf {
  position: absolute; inset: 0; width: auto; height: auto; transform: none !important;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--paper);
}
.fb--phone .fb-leaf > .pg { position: relative; inset: auto; transform: none !important; }
.fb--phone .fb-leaf.is-entering-next { animation: pg-in-next .28s ease both; }
.fb--phone .fb-leaf.is-entering-prev { animation: pg-in-prev .28s ease both; }
@keyframes pg-in-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes pg-in-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .fb-bar { gap: 8px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .fb-bar__logo img { height: 36px; }
  .fb-bar__tools { display: none; }
  .fb-bar__cta .btn { min-height: 44px; padding: 8px 14px; font-size: 15px; }
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .fb-nav { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
  .fb-nav__step { min-width: 56px; min-height: 48px; font-size: 20px; }
  .fb-nav__status { flex: 1; min-width: 0; }
  .fb-nav__label { font-size: 15px; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .fb-nav__progress { width: min(160px, 100%); }
  .toc { width: 100%; max-width: none; max-height: 86dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .toc__extra .btn { flex: 1; min-height: 48px; font-size: 16px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .fb-bar__logo img { height: 30px; }
  .fb-bar__cta .btn { padding: 8px 11px; }
}

/* ---------- Reading view: one long, linear document ---------- */
.fb--linear { position: static; height: auto; min-height: 100vh; overflow: visible; display: block; background: var(--stage); }
.fb--linear .fb-bar { position: sticky; top: 0; }
.fb--linear .fb-stage { display: block; padding: 24px 16px 64px; }
.fb--linear .fb-book, .fb--linear .fb-scale, .fb--linear .fb-shift { position: static; width: auto !important; height: auto !important; transform: none !important; }
.fb--linear .fb-shadow, .fb--linear .fb-nav { display: none; }
.fb--linear .fb-leaf { position: static; width: auto; height: auto; max-width: 720px; margin: 0 auto 24px; transform: none !important; display: block !important; }
.fb--linear .fb-leaf > .pg { position: relative; inset: auto; transform: none !important; border-radius: 12px; box-shadow: 0 10px 30px rgba(60, 40, 25, .12); overflow: hidden; }
.fb--linear .fb-leaf > .pg::after { display: none; }
@media (min-width: 768px) {
  .fb--linear .pg { padding: 36px 48px 40px; }
  .fb--linear .photo--bleed { margin: -36px -48px 0; }
  .fb--linear .photo--bleed-bottom { margin: 28px -48px -40px; width: calc(100% + 96px); }
  .fb--linear .pg--cover { padding: 0; }
  .fb--linear .cover-body { padding: 32px 48px 36px; }
  .fb--linear .cards--2, .fb--linear .faq { grid-template-columns: 1fr 1fr; }
  .fb--linear .svc-grid { grid-template-columns: 1fr 1fr; }
  .fb--linear .split { flex-direction: row; }
  .fb--linear .photo--side { width: 220px; aspect-ratio: 3 / 4; }
  .fb--linear .pair figure { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Phones: the top bar always shows the logo, so the in-page copies step back. */
.fb--phone .cover-logo, .fb--phone .pg-mark { display: none; }
.fb--phone .pg-head { min-height: 0; }
.fb--flow .svc__go { padding-bottom: 0; }
.fb--flow .pg a.svc__web { padding-top: 0; padding-bottom: 4px; }

/* Share fallback dialog */
.share__body { padding: 16px 22px 22px; }
.share__label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.share__row { display: flex; gap: 8px; margin-top: 8px; }
.share__url { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #CFC7BE; border-radius: 10px; font: 500 15px var(--font); color: var(--ink); background: var(--mist); }
.share__row .btn { min-height: 44px; }
.share__status { min-height: 1.4em; margin-top: 10px; font-size: 15px; font-weight: 700; color: #1E7A3C; }
