/* Each desktop panel uses the proportions of its reference artwork.
   Container-relative typography keeps the live text inside its intended area. */
#main .page-ebook .ebook-editorial { --ebook-blue:#078cff; position:relative; color:#f7f7f5; background:#020405; overflow:clip; }
#main .page-ebook .ebook-fullpanel { position:relative; isolation:isolate; container-type:inline-size; margin:0; padding:0; min-height:0; border:0; scroll-margin-top:65px; }
#main .page-ebook .ebook-panel-art { display:block; width:100%; height:auto; max-width:none; margin:0; filter:none; }
#main .page-ebook .ebook-copy { position:absolute; z-index:2; min-width:0; }
#main .page-ebook :is(h1,h2,h3,p,ul) { margin:0; padding:0; }
#main .page-ebook :is(h1,h2,h3) { font-family:'Cal Sans','DM Sans',Arial,sans-serif; font-weight:400; letter-spacing:0; max-width:none; text-wrap:initial; }
#main .page-ebook :is(p,li) { font-family:'DM Sans',Arial,sans-serif; font-weight:400; letter-spacing:0; color:inherit; }
#main .page-ebook em { color:var(--ebook-blue); font-style:normal; }
#main .page-ebook svg { display:block; width:2cqw; height:2cqw; flex-shrink:0; }
#main .page-ebook .ebook-kicker { font-family:'DM Sans',Arial,sans-serif; text-transform:uppercase; letter-spacing:.22em; line-height:1.2; }
#main .page-ebook .ebook-action { display:flex; align-items:center; justify-content:center; gap:1.2cqw; width:100%; padding:1.25cqw 1.6cqw; border:1px solid #2a9bff; border-radius:100px; background:linear-gradient(110deg,#22b3f4,#005aff); color:white; text-decoration:none; text-transform:uppercase; font:500 1.52cqw/1.15 'DM Sans',Arial,sans-serif; box-shadow:0 .6cqw 2cqw #006cff20,inset 0 1px #ffffff30; transition:box-shadow .3s,background .3s; }
#main .page-ebook .ebook-action:hover { box-shadow:0 .3cqw 2.4cqw #008cff60,inset 0 1px #ffffff80; background:linear-gradient(110deg,#54c4f6,#187bff); }
#main .page-ebook .ebook-action > span { font-size:1.9cqw; line-height:1; }
#main .page-ebook .ebook-trust { display:flex; align-items:center; justify-content:space-between; gap:.7cqw; margin-top:1.5cqw; color:#e4e4e4; font:400 .85cqw/1.25 'DM Sans',Arial,sans-serif; }
#main .page-ebook .ebook-trust > span { display:flex; align-items:center; gap:.55cqw; }
#main .page-ebook .ebook-trust svg { width:1.65cqw; height:1.65cqw; }

/* 01 — cover, left column, four facts and blue action. */
#main .page-ebook .ebook-cover-copy { left:6.6%; top:14.3%; width:39%; }
#main .page-ebook .ebook-cover .ebook-kicker { color:var(--ebook-blue); font-size:1.08cqw; margin-bottom:.6cqw; }
#main .page-ebook .ebook-cover h1 { font-size:5.15cqw; line-height:.98; letter-spacing:-.018em; }
#main .page-ebook .ebook-cover-description { font-size:2cqw; line-height:1.22; margin-top:1cqw; }
#main .page-ebook .ebook-facts { display:grid; grid-template-columns:repeat(4,1fr); margin:2.1cqw 0 1.5cqw; }
#main .page-ebook .ebook-facts > div { display:flex; flex-direction:column; align-items:center; text-align:center; border-right:1px solid #ffffff45; gap:.4cqw; }
#main .page-ebook .ebook-facts > div:last-child { border-right:0; }
#main .page-ebook .ebook-facts svg { width:2.4cqw; height:2.4cqw; margin-bottom:.25cqw; }
#main .page-ebook .ebook-facts strong { font:400 1.8cqw/1 'Cal Sans',sans-serif; }
#main .page-ebook .ebook-facts span { font:400 .83cqw/1.25 'DM Sans',Arial,sans-serif; text-transform:uppercase; }
#main .page-ebook .ebook-cover .ebook-action { width:82%; }

/* 02 — story on the white area and four annotations on the right. */
#main .page-ebook .ebook-story-copy { left:5.2%; top:19%; width:39.4%; color:#101213; }
#main .page-ebook .ebook-story .ebook-kicker { font-size:.96cqw; margin-bottom:1.65cqw; color:#20262b; }
#main .page-ebook .ebook-story h2 { font-size:2.85cqw; line-height:1.12; text-transform:uppercase; }
#main .page-ebook .ebook-story-copy > p:last-child { font-size:1.47cqw; line-height:1.3; margin-top:1.5cqw; max-width:37cqw; }
#main .page-ebook .ebook-story-lines { position:absolute; inset:0; width:100%; height:100%; z-index:1; pointer-events:none; }
#main .page-ebook .ebook-story-points { position:absolute; top:16%; left:85.3%; width:13.2%; height:65%; display:flex; flex-direction:column; justify-content:space-between; list-style:none; z-index:2; }
#main .page-ebook .ebook-story-points li { display:flex; flex-direction:column; gap:.32cqw; text-transform:uppercase; }
#main .page-ebook .ebook-story-points strong { font:400 1.18cqw/1.1 'Cal Sans',sans-serif; }
#main .page-ebook .ebook-story-points span { font-size:1.03cqw; line-height:1.22; }

/* 03 — each title belongs to its own scene. The statement stays below. */
#main .page-ebook .ebook-comparison-copy { top:19%; width:43.5%; color:#fff; text-shadow:0 2px 10px #000; }
#main .page-ebook .ebook-comparison-emotion { left:3.2%; }
#main .page-ebook .ebook-comparison-insight { left:52.2%; }
#main .page-ebook .ebook-comparison-copy h2 { font-size:1.82cqw; line-height:1.14; text-transform:uppercase; }
#main .page-ebook .ebook-comparison-copy p { font-size:1.4cqw; line-height:1.22; margin-top:.8cqw; text-transform:uppercase; }
#main .page-ebook .ebook-map-label { position:absolute; z-index:2; display:flex; align-items:center; gap:.45cqw; border:1px solid #139dff; border-radius:.2cqw; color:#fff; background:#031327ce; box-shadow:0 0 .8cqw #078cff6b,inset 0 0 .5cqw #0088ff40; padding:.55cqw .65cqw; font:500 .69cqw/1.2 'DM Sans',sans-serif; text-transform:uppercase; }
#main .page-ebook .ebook-map-label svg { width:1.4cqw; height:1.4cqw; color:#81c5ff; }
#main .page-ebook .ebook-map-flow { left:57%; top:37%; }
#main .page-ebook .ebook-map-hierarchy { left:78.3%; top:34.6%; }
#main .page-ebook .ebook-map-opportunity { left:89.5%; top:30.8%; }
#main .page-ebook .ebook-map-highlight { left:71%; top:44.5%; }
#main .page-ebook .ebook-map-product { left:87.8%; top:47.5%; max-width:9%; }
#main .page-ebook .ebook-observation-statement { top:71%; left:3.2%; width:34.3%; font:400 2.2cqw/1.07 'Cal Sans',sans-serif; text-transform:uppercase; }
#main .page-ebook .ebook-pillars { position:absolute; z-index:2; left:39%; right:1%; top:83.4%; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1cqw; color:#eee; }
#main .page-ebook .ebook-pillars span { font:400 .97cqw/1.2 'DM Sans',sans-serif; text-align:center; text-transform:uppercase; }

/* 04 — title in the empty upper left, above the chapter mockups. */
#main .page-ebook .ebook-chapters-copy { top:12.2%; left:5.5%; width:48%; color:#090b0d; }
#main .page-ebook .ebook-chapters h2 { font-size:5cqw; line-height:1; text-transform:uppercase; }
#main .page-ebook .ebook-chapters p { color:#686d76; font-size:2.58cqw; line-height:1.08; text-transform:uppercase; letter-spacing:.07em; margin-top:.8cqw; }

/* 05 — top-aligned copy inside each of the four reference cards. */
#main .page-ebook .ebook-benefit-overlays { position:absolute; z-index:2; inset:28.4% 2.8% auto 4%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2.7cqw; }
#main .page-ebook .ebook-benefit-overlays .ebook-copy { position:relative; text-shadow:0 2px 12px #000; }
#main .page-ebook .ebook-benefit-overlays h2 { font-size:1.79cqw; line-height:1.16; text-transform:uppercase; }
#main .page-ebook .ebook-benefit-overlays p { font-size:1.18cqw; line-height:1.3; margin-top:1cqw; max-width:15.5cqw; }

/* 06 — Deyvis stays centered in the photograph, with copy on both sides. */
#main .page-ebook .ebook-author { background:#07090c; }
#main .page-ebook .ebook-author::after { content:""; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(3,5,8,.84) 0%,rgba(3,5,8,.68) 29%,rgba(3,5,8,.1) 43%,rgba(3,5,8,.02) 56%,rgba(3,5,8,.55) 72%,rgba(3,5,8,.82) 100%); }
#main .page-ebook .ebook-author-art { object-fit:cover; }
#main .page-ebook .ebook-author-copy { left:4.5%; top:20%; width:31%; }
#main .page-ebook .ebook-author h2 { text-transform:uppercase; }
#main .page-ebook .ebook-author h2 strong { display:block; font-size:4.45cqw; font-weight:400; line-height:1; }
#main .page-ebook .ebook-author h2 > span { display:block; font:400 2.08cqw/1.25 'DM Sans',Arial,sans-serif; margin-top:.65cqw; }
#main .page-ebook .ebook-author-copy > p { font-size:1.42cqw; line-height:1.5; margin-top:1.3cqw; }
#main .page-ebook .ebook-author-signature { display:flex; align-items:center; gap:1.5cqw; margin-top:1.6cqw; }
#main .page-ebook .ebook-author-signature strong { font:400 1.48cqw/1.2 'Cal Sans',sans-serif; }
#main .page-ebook .ebook-author-signature span { padding-left:1.5cqw; border-left:1px solid #ffffff60; color:#ddd; font:400 .95cqw/1.45 'DM Sans',sans-serif; }
#main .page-ebook .ebook-author-stats { position:absolute; z-index:2; top:12%; bottom:9%; left:73%; right:3.5%; border-left:1px solid #ffffff50; padding-left:2cqw; display:grid; grid-template-rows:repeat(4,1fr); }
#main .page-ebook .ebook-author-stats > div { display:flex; align-items:center; gap:1.3cqw; border-bottom:1px solid #ffffff25; }
#main .page-ebook .ebook-author-stats > div:last-child { border-bottom:0; }
#main .page-ebook .ebook-author-stats svg { flex:none; color:var(--ebook-blue); width:3cqw; height:3cqw; }
#main .page-ebook .ebook-author-stats strong { display:block; font:400 1.48cqw/1.15 'Cal Sans',sans-serif; text-transform:uppercase; }
#main .page-ebook .ebook-author-stats span > span { display:block; margin-top:.5cqw; font:400 1.12cqw/1.15 'DM Sans',sans-serif; text-transform:uppercase; }

/* 07 — offer in the center and included items in a dedicated right column. */
#main .page-ebook .ebook-offer-copy { left:43.2%; top:20.5%; width:30.1%; }
#main .page-ebook .ebook-offer-copy h2 { font-size:2.9cqw; line-height:1.06; text-transform:uppercase; }
#main .page-ebook .ebook-offer-copy > p { font-size:1.4cqw; line-height:1.3; margin-top:1.7cqw; }
#main .page-ebook .ebook-price { margin-top:1.8cqw; }
#main .page-ebook .ebook-price del { display:block; color:#81868a; font:400 1.8cqw/1.2 'DM Sans',sans-serif; }
#main .page-ebook .ebook-price > div { display:flex; align-items:center; gap:1cqw; margin-top:.35cqw; }
#main .page-ebook .ebook-price strong { color:var(--ebook-blue); font:400 4.55cqw/1 'Cal Sans',sans-serif; white-space:nowrap; }
#main .page-ebook .ebook-price small { font-size:2.8cqw; }
#main .page-ebook .ebook-price div > span { border:1px solid var(--ebook-blue); border-radius:.6cqw; padding:.4cqw .7cqw; font:400 1.13cqw/1.15 'DM Sans',sans-serif; }
#main .page-ebook .ebook-price p { font-size:1.23cqw; margin-top:.6cqw; }
#main .page-ebook .ebook-offer-copy .ebook-action { margin-top:1.2cqw; }
#main .page-ebook .ebook-offer-copy .ebook-trust { font-size:.65cqw; gap:.5cqw; }
#main .page-ebook .ebook-offer-copy .ebook-trust svg { width:1.45cqw; height:1.45cqw; }
#main .page-ebook .ebook-includes { top:20.7%; bottom:20%; left:75%; width:23%; padding-left:1.8cqw; border-left:1px solid #ffffff60; }
#main .page-ebook .ebook-includes h3 { font-size:1.9cqw; line-height:1.2; }
#main .page-ebook .ebook-includes ul { list-style:none; display:grid; gap:1cqw; margin-top:1.3cqw; }
#main .page-ebook .ebook-includes li { display:flex; align-items:flex-start; gap:1cqw; font-size:1.14cqw; line-height:1.35; }
#main .page-ebook .ebook-includes svg { color:var(--ebook-blue); width:2.05cqw; height:2.05cqw; }
#main .page-ebook .ebook-offer-logo { width:12.5cqw; height:auto; object-fit:contain; margin:4.5cqw auto 0; }

/* Scroll brings the artwork into focus. Text resolves once and stays clear. */
#main .page-ebook [data-ebook-reveal] { opacity:1; }
#main .page-ebook .ebook-motion-enabled .ebook-panel-art {
  filter:blur(var(--ebook-image-blur,0px));
  opacity:var(--ebook-image-opacity,1);
}
#main .page-ebook .ebook-motion-word { display:inline-block; }
#main .page-ebook .ebook-motion-enabled .ebook-motion-in:not(.ebook-letter-heading) {
  animation:ebook-copy-appear .8s cubic-bezier(.2,.65,.3,1) backwards;
}
#main .page-ebook .ebook-motion-enabled .ebook-letter-heading.ebook-motion-in .ebook-motion-word {
  animation:ebook-word-appear .7s cubic-bezier(.2,.65,.3,1) var(--word-delay,0ms) backwards;
}
@keyframes ebook-copy-appear {
  from { opacity:0; filter:blur(5px); transform:translateY(9px); }
  to { opacity:1; filter:blur(0); transform:translateY(0); }
}
@keyframes ebook-word-appear {
  from { opacity:0; filter:blur(7px); transform:translateY(.16em); }
  to { opacity:1; filter:blur(0); transform:translateY(0); }
}
#main .page-ebook .ebook-editorial > .detail-back { position:absolute; top:16px; left:18px; z-index:3; font-size:10px; padding:9px 13px; color:white; background:linear-gradient(145deg,#ffffff22,#00000044),#111820da; }

/* Narrow screens keep every complete image, with readable copy in normal flow. */
@media (max-width:900px) {
  #main .page-ebook .ebook-copy { position:relative; inset:auto; width:auto; margin:0; padding:28px 24px; }
  #main .page-ebook .ebook-cover-copy { padding-top:28px; padding-bottom:40px; }
  #main .page-ebook .ebook-cover .ebook-kicker { font-size:12px; margin-bottom:14px; }
  #main .page-ebook .ebook-cover h1 { font-size:clamp(38px,7vw,62px); line-height:1.03; }
  #main .page-ebook .ebook-cover-description { font-size:19px; line-height:1.4; margin-top:20px; }
  #main .page-ebook .ebook-facts { margin:28px 0; gap:8px; }
  #main .page-ebook .ebook-facts > div { gap:7px; }
  #main .page-ebook .ebook-facts svg { width:27px; height:27px; margin-bottom:3px; }
  #main .page-ebook .ebook-facts strong { font-size:25px; }
  #main .page-ebook .ebook-facts span { font-size:9px; }
  #main .page-ebook .ebook-action { gap:16px; font-size:15px; padding:18px 20px; width:100%; }
  #main .page-ebook .ebook-action > span { font-size:22px; }
  #main .page-ebook .ebook-cover .ebook-action { width:100%; }
  #main .page-ebook .ebook-trust { gap:12px; flex-wrap:wrap; margin-top:20px; font-size:10px; justify-content:center; }
  #main .page-ebook .ebook-trust > span { gap:7px; }
  #main .page-ebook .ebook-trust svg { width:19px; height:19px; }
  #main .page-ebook .ebook-story { background:#faf9f6; color:#111; }
  #main .page-ebook .ebook-story .ebook-kicker { font-size:11px; margin-bottom:20px; }
  #main .page-ebook .ebook-story h2 { font-size:clamp(27px,5.8vw,42px); line-height:1.15; }
  #main .page-ebook .ebook-story-copy > p:last-child { font-size:17px; max-width:none; margin-top:22px; line-height:1.5; }
  #main .page-ebook .ebook-story-lines { display:none; }
  #main .page-ebook .ebook-story-points { position:relative; inset:auto; width:auto; height:auto; padding:0 24px 32px; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  #main .page-ebook .ebook-story-points li { gap:5px; }
  #main .page-ebook .ebook-story-points strong { font-size:18px; color:#0573df; }
  #main .page-ebook .ebook-story-points span { font-size:12px; }
  #main .page-ebook .ebook-observation { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #main .page-ebook .ebook-observation > .ebook-panel-art { grid-column:1/-1; }
  #main .page-ebook .ebook-comparison-copy { padding:24px 18px; text-shadow:none; }
  #main .page-ebook .ebook-comparison-copy h2 { font-size:20px; line-height:1.15; }
  #main .page-ebook .ebook-comparison-copy p { font-size:14px; text-transform:none; line-height:1.5; margin-top:14px; }
  #main .page-ebook .ebook-comparison-copy p br { display:none; }
  #main .page-ebook .ebook-map-labels { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; padding:0 18px 24px; }
  #main .page-ebook .ebook-map-label { position:static; font-size:10px; padding:8px 10px; gap:7px; border-radius:5px; max-width:none; }
  #main .page-ebook .ebook-map-label svg { width:18px; height:18px; }
  #main .page-ebook .ebook-observation-statement { grid-column:1/-1; font-size:clamp(23px,5.4vw,34px); line-height:1.14; padding-top:16px; }
  #main .page-ebook .ebook-pillars { position:relative; grid-column:1/-1; inset:auto; padding:0 24px 34px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  #main .page-ebook .ebook-pillars span { font-size:11px; text-align:left; padding-left:12px; border-left:2px solid #078cff; }
  #main .page-ebook .ebook-chapters-copy { position:absolute; top:12.2%; left:5.5%; width:48%; padding:0; }
  #main .page-ebook .ebook-chapters h2 { font-size:5cqw; }
  #main .page-ebook .ebook-chapters p { font-size:2.58cqw; }
  #main .page-ebook .ebook-benefit-overlays { position:relative; inset:auto; display:grid; grid-template-columns:1fr 1fr; gap:1px; padding:0; }
  #main .page-ebook .ebook-benefit-overlays .ebook-copy { padding:24px 18px; background:#0d1013; text-shadow:none; }
  #main .page-ebook .ebook-benefit-overlays h2 { font-size:18px; line-height:1.2; }
  #main .page-ebook .ebook-benefit-overlays p { max-width:none; font-size:14px; line-height:1.5; margin-top:16px; }
  #main .page-ebook .ebook-author { display:flex; flex-direction:column; }
  #main .page-ebook .ebook-author::after { background:linear-gradient(180deg,rgba(3,5,8,.02) 0%,rgba(3,5,8,.08) 55%,#07090c 100%); }
  #main .page-ebook .ebook-author-art { height:clamp(320px,82vw,560px); object-fit:cover; object-position:50% 24%; }
  #main .page-ebook .ebook-author-copy { position:relative; inset:auto; z-index:2; width:auto; margin:0; padding:32px 24px 24px; }
  #main .page-ebook .ebook-author h2 strong { font-size:58px; }
  #main .page-ebook .ebook-author h2 > span { font-size:24px; margin-top:8px; line-height:1.3; }
  #main .page-ebook .ebook-author-copy > p { font-size:17px; line-height:1.55; margin-top:24px; }
  #main .page-ebook .ebook-author-signature { gap:18px; margin-top:24px; }
  #main .page-ebook .ebook-author-signature strong { font-size:20px; }
  #main .page-ebook .ebook-author-signature span { font-size:12px; padding-left:18px; }
  #main .page-ebook .ebook-author-stats { position:relative; z-index:2; inset:auto; padding:0 24px 34px; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto; gap:20px; border:0; }
  #main .page-ebook .ebook-author-stats > div { gap:12px; padding:10px 0; border-bottom:1px solid #ffffff20; }
  #main .page-ebook .ebook-author-stats svg { width:30px; height:30px; }
  #main .page-ebook .ebook-author-stats strong { font-size:17px; }
  #main .page-ebook .ebook-author-stats span > span { font-size:11px; margin-top:6px; }
  #main .page-ebook .ebook-offer-copy h2 { font-size:clamp(26px,6.8vw,44px); line-height:1.12; }
  #main .page-ebook .ebook-offer-copy > p { font-size:17px; line-height:1.5; margin-top:24px; }
  #main .page-ebook .ebook-price { margin-top:26px; }
  #main .page-ebook .ebook-price del { font-size:20px; }
  #main .page-ebook .ebook-price > div { gap:14px; flex-wrap:wrap; margin-top:8px; }
  #main .page-ebook .ebook-price strong { font-size:54px; }
  #main .page-ebook .ebook-price small { font-size:28px; }
  #main .page-ebook .ebook-price div > span { font-size:12px; padding:7px 10px; border-radius:7px; }
  #main .page-ebook .ebook-price p { font-size:14px; margin-top:12px; }
  #main .page-ebook .ebook-offer-copy .ebook-action { margin-top:22px; }
  #main .page-ebook .ebook-offer-copy .ebook-trust { font-size:10px; gap:12px; }
  #main .page-ebook .ebook-offer-copy .ebook-trust svg { width:19px; height:19px; }
  #main .page-ebook .ebook-includes { border:0; padding-top:0; }
  #main .page-ebook .ebook-includes h3 { font-size:26px; }
  #main .page-ebook .ebook-includes ul { gap:16px; margin-top:22px; }
  #main .page-ebook .ebook-includes li { font-size:16px; gap:12px; line-height:1.5; }
  #main .page-ebook .ebook-includes svg { width:25px; height:25px; }
  #main .page-ebook .ebook-offer-logo { width:145px; margin:40px auto 10px; }
}
@media (prefers-reduced-motion:reduce) {
  #main .page-ebook .ebook-motion-enabled .ebook-motion-unit,
  #main .page-ebook .ebook-motion-enabled .ebook-motion-word { opacity:1; filter:none; animation:none!important; transform:none; }
  #main .page-ebook .ebook-motion-enabled .ebook-panel-art { opacity:1; filter:none; }
  #main .page-ebook .ebook-action { transition:none; }
}
