@font-face { font-family: 'Poppins'; src: url(assets/fonts/poppins-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(assets/fonts/poppins-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(assets/fonts/poppins-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url(assets/fonts/poppins-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Kalam'; src: url(assets/fonts/kalam-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Kalam'; src: url(assets/fonts/kalam-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
	--sky: #58BCED;
	--shadow: #3792BF;
	--deep: #1F6E96;
	--ink: #16506E;
	--job: #FFEA7C;
	--note: #FEE358;
	--leather: #53372C;
	--paper: #FBF7EE;
	--marker: #1d2b36;
	--sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hand: 'Kalam', 'Segoe Print', 'Bradley Hand', cursive;
	--pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sky); color: #fff; font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--job); outline-offset: 3px; }
.paper :focus-visible, .questions :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--job); color: var(--marker); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* The small buy control that stays reachable all page */
.buy-tag {
	position: fixed; top: 14px; right: 14px; z-index: 40;
	background: var(--job); color: var(--marker); font-weight: 700; font-size: 14px;
	padding: 8px 14px 8px 12px; border-radius: 3px; text-decoration: none;
	box-shadow: 0 6px 14px rgba(20, 60, 90, .25); transform: rotate(2deg);
	opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.buy-tag.on { opacity: 1; pointer-events: auto; }
.buy-tag:hover { transform: rotate(0) translateY(-1px); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 0;
	font: 700 17px/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-yellow { background: var(--job); color: var(--marker); box-shadow: 0 6px 0 #d9c05a, 0 10px 24px rgba(20, 60, 90, .25); }
.btn-yellow:hover { transform: translateY(-2px); }
.btn-yellow:active { transform: translateY(4px); box-shadow: 0 2px 0 #d9c05a, 0 4px 10px rgba(20, 60, 90, .25); }
.btn-quiet { color: #fff; border: 2px solid rgba(255, 255, 255, .85); background: transparent; }
.btn-quiet:hover { background: rgba(255, 255, 255, .14); }

/* Placeholders must read as placeholders */
.placeholder {
	display: inline-block; font-size: 14px; line-height: 1.4; font-weight: 600;
	border: 2px dashed currentColor; border-radius: 6px; padding: 6px 10px; opacity: .85;
}
.placeholder::before { content: '◌ '; }
.ph-on-blue { color: #fff; }

/* ---------- 1. The promise ---------- */
.promise {
	min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center; gap: clamp(16px, 4vw, 64px); padding: clamp(32px, 6vh, 72px) var(--pad);
	position: relative;
}
.title { display: flex; flex-direction: column; font-weight: 700; line-height: .92; letter-spacing: -0.02em; }
.t-busy { font-size: clamp(76px, 10.5vw, 168px); line-height: 1.1; }
.t-mid { font-size: clamp(40px, 5.4vw, 86px); margin-top: .08em; }
.t-job { font-size: clamp(84px, 11.5vw, 184px); color: var(--job); }
.subtitle { font-family: var(--hand); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.25; margin-top: 18px; max-width: 18em; }
.promise-line { margin-top: 22px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; max-width: 25em; font-weight: 600; }
.promise-line strong { color: var(--job); font-weight: 700; }
.byline { margin-top: 14px; font-weight: 700; font-size: 17px; }
.byline span { font-weight: 400; opacity: .92; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.promise .placeholder { margin-top: 22px; }

.promise-art { position: relative; height: min(78svh, 720px); }
.book-stage { position: relative; margin: 0; height: 100%; width: 100%; }
.book-stage > img[data-book-fallback] { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(15, 60, 90, .35)); }
.book-stage canvas { display: block; filter: drop-shadow(18px 26px 26px rgba(15, 60, 90, .38)); }
#hero-book { width: 82%; margin-left: auto; }

/* The sticky note, copied from the cover, struck through on arrival */
.note {
	background: var(--note); color: var(--marker); font-family: var(--hand);
	box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 14px 22px -8px rgba(20, 50, 70, .45);
	transform: rotate(var(--r, -6deg));
}
.note-hero {
	position: absolute; left: -2%; top: 18%; width: clamp(170px, 17vw, 250px); aspect-ratio: 1;
	--r: -7deg; z-index: 3; will-change: transform;
	background: linear-gradient(160deg, #ffe874, var(--note) 55%, #f3d64c);
}
.note-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.note-svg text { font-family: var(--hand); font-size: 30px; fill: var(--marker); }
.note-svg .start-here { font-size: 22px; font-weight: 700; }
.note-svg path { fill: none; stroke: var(--marker); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.note-svg .underline { stroke-width: 5; }
.note-svg .arrow { stroke-width: 3.5; }
/* Without JavaScript, or with reduced motion, the note is shown already marked. */
.js .note-svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .note-svg .start-here { opacity: 0; }
.js .marked .note-svg path { animation: draw .32s cubic-bezier(.6, 0, .3, 1) forwards; }
.js .marked .note-svg .s1 { animation-delay: .25s; }
.js .marked .note-svg .s2 { animation-delay: .55s; }
.js .marked .note-svg .s3 { animation-delay: .85s; }
.js .marked .note-svg .underline { animation-delay: 1.2s; animation-duration: .4s; }
.js .marked .note-svg .arrow { animation-delay: 1.55s; }
.js .marked .note-svg .start-here { animation: show .3s 1.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }

/* ---------- 2. The problem ---------- */
.problem { position: relative; padding: clamp(64px, 12vh, 140px) var(--pad) 0; min-height: 80svh; display: flex; flex-direction: column; justify-content: space-between; }
.problem-lines { max-width: 900px; }
.problem-lines .pl-1 { font-size: clamp(30px, 3.8vw, 54px); font-weight: 700; line-height: 1.12; }
.problem-lines .pl-2 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; margin-top: 26px; }
.problem-lines .pl-3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; margin-top: 4px; }
.problem-lines em { font-style: normal; color: var(--job); }
.problem-lines .pl-4 { font-size: clamp(17px, 1.4vw, 20px); margin-top: 26px; max-width: 34em; opacity: .95; }
.pile { position: relative; height: clamp(150px, 20vw, 220px); margin: 48px calc(var(--pad) * -1) 0; overflow: hidden; }
.pn {
	position: absolute; bottom: -14px; left: var(--x); width: clamp(110px, 12vw, 160px); aspect-ratio: 1;
	background: var(--note); color: var(--marker); font-family: var(--hand); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.15;
	padding: 14px; transform: rotate(var(--r)); box-shadow: 0 10px 18px -8px rgba(20, 50, 70, .45);
}
.pn:nth-child(2n) { bottom: 18px; }
.pn:nth-child(3n) { bottom: -40px; }
.pn-landed { font-size: clamp(14px, 1.2vw, 17px); z-index: 2; }
.pn-landed s, .pn-landed u { display: block; text-decoration-thickness: 2px; }

/* ---------- 3. The key idea ---------- */
.keyidea { position: relative; padding: 0 var(--pad); }
.js .keyidea.pinned { height: 360svh; }
.ki-sticky { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 48px 0; }
.js .keyidea.pinned .ki-sticky { position: sticky; top: 0; height: 100svh; padding: 0; }
.ki-steps h2 { font-size: clamp(34px, 3.6vw, 54px); }
.hl { color: var(--job); }
.ki-steps ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.ki-steps li { font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.35; padding-left: 14px; border-left: 4px solid rgba(255,255,255,.35); transition: opacity .3s, border-color .3s; }
.ki-steps li strong { color: var(--job); }
.js .ki-steps li { opacity: .45; }
.js .ki-steps li.on { opacity: 1; border-color: var(--job); }
.js .ki-steps li.done { opacity: .7; }
.ki-skip { display: inline-block; margin-top: 22px; font-size: 14px; opacity: .9; }

.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, .9vw, 14px); position: relative; }
.day { display: flex; flex-direction: column; gap: clamp(5px, .6vw, 9px); min-width: 0; }
.day h3 { font-size: clamp(12px, 1vw, 15px); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; padding-bottom: 4px; border-bottom: 2px solid rgba(255,255,255,.4); }
.slot {
	position: relative; height: clamp(46px, 7.2svh, 68px); background: var(--note); color: var(--marker);
	font-family: var(--hand); font-size: clamp(12px, 1.05vw, 16px); line-height: 1.1; padding: 6px 8px; overflow: hidden;
	box-shadow: 0 6px 10px -6px rgba(20, 50, 70, .5); transform-origin: 50% 0;
}
.slot .lbl { position: relative; z-index: 1; display: block; transform-origin: 0 0; }
.slot .strk { position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; background: var(--marker); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); }
.slot .mark { transform-origin: 50% 0; position: absolute; right: 5px; top: 3px; font-family: var(--hand); font-weight: 700; font-size: clamp(16px, 1.4vw, 22px); line-height: 1; opacity: 0; }
.slot.job { background: #fff6c8; }
.protect {
	position: absolute; left: 20.5%; right: 20.5%; top: 34%; height: 36%;
	background: var(--job); color: var(--marker); display: flex; align-items: center; justify-content: center; text-align: center;
	font-family: var(--hand); font-weight: 700; font-size: clamp(20px, 2.2vw, 34px); line-height: 1.1; padding: 12px 18px;
	box-shadow: 0 18px 30px -12px rgba(20, 50, 70, .55); border-radius: 2px; transform-origin: 50% 50%;
}
.protect .clasp { position: absolute; left: 50%; bottom: 0; width: clamp(52px, 5vw, 76px); translate: -50% 55%; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
/* No-JavaScript state: the week already sorted. JS takes over and drives it. */
html:not(.js) .slot.noise { opacity: .35; }

/* ---------- Paper sections ---------- */
.paper { background: var(--paper); color: var(--ink); position: relative; }
.paper h2 { font-size: clamp(30px, 3vw, 44px); color: var(--ink); }
.paper section { padding: clamp(56px, 9vh, 104px) var(--pad); max-width: 1280px; margin: 0 auto; }
.paper .placeholder { color: #50708a; }

.inside { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: center; }
.takeaways { list-style: none; counter-reset: t; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.takeaways li { counter-increment: t; position: relative; padding-left: 52px; }
.takeaways li::before {
	content: counter(t); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; background: var(--note); color: var(--marker);
	font: 700 18px/36px var(--hand); text-align: center; transform: rotate(-4deg); box-shadow: 0 4px 8px -4px rgba(20,50,70,.5);
}
.takeaways li:nth-child(2n)::before { transform: rotate(3deg); }
.takeaways strong { display: block; font-size: 19px; }
.takeaways span { display: block; color: #3f6a84; margin-top: 2px; }
.inside-cover { width: 220px; height: auto; box-shadow: 0 20px 34px -14px rgba(20, 50, 70, .5); transform: rotate(2deg); }

.author { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: center; border-top: 1px solid #e6dfcf; }
.portrait { aspect-ratio: 4/5; border: 2px dashed #8aa6ba; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; color: #50708a; overflow: hidden; position: relative; background: #f2ecdf; }
.portrait svg { width: 70%; fill: #d9d0bf; }
.portrait span { position: absolute; top: 12px; left: 12px; right: 12px; font-size: 13px; font-weight: 600; text-align: center; }
.bio { font-size: 19px; margin-top: 14px; max-width: 34em; }
.creds { list-style: none; padding: 0; margin: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.creds li {
	background: var(--note); color: var(--marker); font-family: var(--hand); font-size: 17px; font-weight: 700;
	padding: 10px 14px; border: 2px dashed rgba(29, 43, 54, .45); transform: rotate(var(--r));
	box-shadow: 0 8px 12px -8px rgba(20, 50, 70, .55);
}
.js .creds li { opacity: 0; transform: translateY(-14px) rotate(calc(var(--r) * 3)) scale(1.06); transition: opacity .25s, transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.js .creds.seen li { opacity: 1; transform: rotate(var(--r)); }
.js .creds.seen li:nth-child(2) { transition-delay: .3s; }
.js .creds.seen li:nth-child(3) { transition-delay: .6s; }

.proof { border-top: 1px solid #e6dfcf; }
.proof-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sample-tag { font-size: 13px; font-weight: 700; background: #e7eef3; color: var(--ink); padding: 4px 10px; border-radius: 99px; }
.proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 150px; gap: 20px; margin-top: 28px; align-items: center; }
.quote-card { margin: 0; border: 2px dashed #8aa6ba; border-radius: 10px; padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; }
.quote-card p { font-size: 17px; font-weight: 600; color: #50708a; }
.quote-card figcaption { font-size: 14px; color: #6d8aa0; }
.note-q { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 1; font-size: 24px; font-weight: 700; text-decoration: none; padding: 14px; }

.try { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 48px; border-top: 1px solid #e6dfcf; align-items: start; }
.check-intro { margin-top: 10px; color: #3f6a84; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: #fff; border-radius: 10px; border: 1px solid #e6dfcf; }
.check-list li > span { font-weight: 600; position: relative; }
.check-list li > span::after { content: attr(data-mark); font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 0; margin-left: 10px; vertical-align: -2px; }
.check-list li[data-v="busy"] > span { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--marker); }
.pick { display: flex; gap: 6px; flex: none; }
.pick button { font: 600 14px/1 var(--sans); padding: 10px 12px; min-height: 40px; border-radius: 99px; border: 2px solid #b8cad6; background: #fff; color: var(--ink); cursor: pointer; }
.pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick button[data-v="job"][aria-pressed="true"] { background: var(--job); border-color: #d9c05a; color: var(--marker); }
.tally { margin-top: 16px; font-family: var(--hand); font-size: 24px; font-weight: 700; min-height: 1.5em; }
.audit-card { background: var(--sky); color: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 20px 40px -24px rgba(20,50,70,.6); position: sticky; top: 80px; }
.audit-card h3 { font-size: 24px; }
.audit-card > p { margin-top: 10px; }
.sample-form { display: grid; gap: 10px; margin-top: 18px; }
.sample-form label { font-weight: 600; font-size: 14px; }
.sample-form input { font: 400 17px var(--sans); padding: 14px 16px; border-radius: 10px; border: 0; min-height: 52px; color: var(--marker); }
.form-note { font-size: 13px; opacity: .9; }
.form-done { font-weight: 600; background: rgba(255,255,255,.18); padding: 10px 12px; border-radius: 8px; }

/* ---------- 8. The buy moment ---------- */
.buy { padding: clamp(64px, 10vh, 120px) var(--pad) clamp(48px, 8vh, 96px); position: relative; }
.hook { font-size: clamp(36px, 4.6vw, 72px); text-align: center; }
.buy-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1240px; margin: clamp(24px, 4vh, 48px) auto 0; }
.buy-stage { position: relative; aspect-ratio: 1000 / 1060; max-width: 640px; width: 100%; margin: 0 auto; }
.case { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.case img { width: 100%; height: auto; }
/* An empty note laid over the cover's own note, matching its size and tilt. */
.case-note {
	position: absolute; left: 42.2%; top: 37.2%; width: 17.6%; aspect-ratio: 1; translate: -50% -50%; rotate: -10deg;
	background: linear-gradient(160deg, #ffe874, var(--note) 55%, #f3d64c); color: var(--marker);
	font-family: var(--hand); font-weight: 700; font-size: clamp(16px, 2.3vw, 30px); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 10px -4px rgba(0,0,0,.35);
}
.buy-book { position: absolute; left: 19%; width: 46%; top: 0; height: 62%; z-index: 1; }
.js .buy-book { transform: translateY(48%); transition: transform 1.3s cubic-bezier(.2, .9, .2, 1); }
.js .buy-stage.out .buy-book { transform: translateY(-8%); }
.buy-panel { display: grid; gap: 22px; }
.formats { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.formats legend { font-weight: 700; margin-bottom: 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.formats label { position: relative; cursor: pointer; }
.formats input { position: absolute; opacity: 0; }
.formats span { display: block; padding: 12px 14px; border-radius: 10px; border: 2px solid rgba(255,255,255,.55); font-weight: 700; transition: background .15s, color .15s, transform .15s; }
.formats small { display: block; font-weight: 600; font-size: 12px; opacity: .85; margin-top: 2px; }
.formats small::before { content: '◌ '; }
.formats input:checked + span { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.formats input:focus-visible + span { outline: 3px solid var(--job); outline-offset: 2px; }
.stores { display: grid; gap: 10px; }
.store-main { width: 100%; }
.store-main::after, .btn-store::after { content: ' (sample)'; font-weight: 600; opacity: .7; }
.more-stores summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.store-list { display: grid; gap: 8px; }
.btn-store { border: 2px dashed rgba(255,255,255,.8); color: #fff; min-height: 46px; font-size: 15px; }
.sample-notice { background: rgba(10, 50, 80, .22); border-radius: 10px; padding: 14px 16px; font-weight: 600; }

.teams { max-width: 1240px; margin: clamp(56px, 9vh, 96px) auto 0; padding-top: 40px; border-top: 2px solid rgba(255,255,255,.35); }
.teams h2 { font-size: clamp(28px, 2.8vw, 40px); }
.team-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.team-card { background: rgba(255,255,255,.12); border-radius: 12px; padding: 22px; display: grid; gap: 14px; align-content: start; }
.team-card h3 { font-size: 21px; }

/* ---------- 10. Questions ---------- */
.questions { background: var(--paper); color: var(--ink); padding: clamp(56px, 9vh, 104px) max(var(--pad), calc((100% - 860px) / 2)); }
.questions h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 20px; }
.questions details { border-top: 1px solid #e0d8c6; }
.questions details:last-of-type { border-bottom: 1px solid #e0d8c6; }
.questions summary { cursor: pointer; font-weight: 700; font-size: 19px; padding: 18px 36px 18px 0; list-style: none; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 28px; font-weight: 400; }
.questions details[open] summary::after { content: '–'; }
.questions details p { padding: 0 0 18px; max-width: 40em; }
.questions .placeholder { color: #50708a; }

/* ---------- 11. The end ---------- */
.end { background: var(--deep); padding: clamp(48px, 8vh, 88px) var(--pad) calc(clamp(48px, 8vh, 88px) + 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.end h2 { font-size: clamp(24px, 2.4vw, 34px); }
.end-news .placeholder { margin-top: 12px; }
.news-form { grid-template-columns: minmax(0, 1fr) auto; max-width: 520px; }
.news-form .form-note, .news-form .form-done { grid-column: 1 / -1; }
.end-links { display: grid; gap: 12px; align-content: start; }
.credit { font-size: 14px; opacity: .9; }

/* Fade once, the first time a calm block is seen */
.js [data-fade] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-fade].seen { opacity: 1; transform: none; }

/* ---------- Phones and upright tablets ---------- */
@media (max-width: 900px), (max-aspect-ratio: 5/6) {
	.promise { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 10px; }
	.promise-copy { order: 1; }
	.promise-art { order: 2; height: min(62svh, 560px); }
	#hero-book { width: 74%; }
	.note-hero { left: 0; top: 10%; }
	.ki-sticky { grid-template-columns: 1fr; }
	.inside { grid-template-columns: 1fr; }
	.inside-cover { display: none; }
	.buy-grid { grid-template-columns: 1fr; }
	.try { grid-template-columns: 1fr; }
	.audit-card { position: static; }
	.proof-row { grid-template-columns: 1fr; }
	.note-q { width: 150px; justify-self: start; }
	.end { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.t-busy { font-size: 84px; } .t-mid { font-size: 44px; } .t-job { font-size: 92px; }
	.subtitle { font-size: 22px; margin-top: 12px; }
	.promise-line { font-size: 18px; margin-top: 14px; }
	.actions { margin-top: 18px; }
	.actions .btn { flex: 1 1 auto; }
	.promise-art { height: 420px; }
	#hero-book { width: 78%; }
	.note-hero { width: 150px; top: 6%; }
	.takeaways { grid-template-columns: 1fr; }
	.author { grid-template-columns: 1fr; gap: 24px; }
	.portrait { width: 180px; }
	.check-list li { flex-direction: column; align-items: flex-start; }
	.team-cards { grid-template-columns: 1fr; }
	.week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
	.slot { height: 40px; font-size: 11px; padding: 4px; }
	.day h3 { font-size: 11px; letter-spacing: .02em; }
	.protect { font-size: 17px; padding: 8px; }
	.protect .clasp { width: 36px; }
	.paper::before { height: 40px; }
	.problem { min-height: 0; }
	.news-form { grid-template-columns: 1fr; }
	.formats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Concept preview tape (from templates/cloudflare/PLAYBOOK.md) ---------- */
.preview-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; pointer-events: none; padding-bottom: env(safe-area-inset-bottom); }
.preview-tape { overflow: hidden; background: repeating-linear-gradient(-45deg, rgba(255, 214, 0, .94) 0 22px, rgba(255, 203, 0, .94) 22px 44px); color: #111; border-top: 2px solid #111; border-bottom: 2px solid #111; height: 34px; display: flex; align-items: center; }
.preview-tape-track { display: flex; width: max-content; animation: tape 40s linear infinite; }
.preview-tape-group { display: flex; }
.preview-tape-group span { white-space: nowrap; font: 800 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding-right: 28px; }
.preview-tape-group i { font-style: normal; margin: 0 10px; }
@keyframes tape { to { transform: translateX(-50%); } }
.preview-tape-controls { position: absolute; right: 10px; bottom: calc(40px + env(safe-area-inset-bottom)); display: flex; gap: 8px; pointer-events: auto; }
.preview-tape-controls a, .preview-tape-pause { background: #111; color: #ffd600; border-radius: 8px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; text-decoration: none; font: 700 12px/1.1 var(--sans); cursor: pointer; }
.preview-cta-copy small { display: block; font-weight: 500; opacity: .85; }
.preview-tape-pause input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.preview-tape-pause svg { fill: currentColor; }
.preview-tape-pause .i-play { display: none; }
.preview-tape-pause:has(input:checked) .i-play { display: block; }
.preview-tape-pause:has(input:checked) .i-pause { display: none; }
.preview-notice:has(input:checked) .preview-tape-track { animation-play-state: paused; }
.preview-tape-pause:focus-within { outline: 3px solid #111; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .preview-tape-track { animation: none; } }
.has-preview-notice .buy-tag { top: 14px; }

.paper::before { content: ''; display: block; height: 72px; background: linear-gradient(var(--sky), var(--paper)); }
.format-badge { position: absolute; right: 8%; top: 12%; z-index: 3; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px -8px rgba(20,50,70,.5); transition: transform .2s cubic-bezier(.3,1.6,.5,1); }
.format-badge svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.format-badge.pop { transform: scale(1.18); }
.rm-weeks { display: grid; gap: 18px; }
.rm-weeks figure { margin: 0; }
.rm-weeks figcaption { font-weight: 700; margin-bottom: 6px; }
.rm-weeks .week { pointer-events: none; }

.ki-sticky:has(.rm-weeks) { align-items: start; }
.ki-sticky:has(.rm-weeks) .ki-steps { position: sticky; top: 40px; }
