/* The Teacher's Creative Toolkit — shared styles (mobile-first) */
:root {
  --teal-900: #082F34;
  --teal-800: #0B3F45;
  --teal-700: #0E5A62;
  --teal-600: #0E6B73;
  --teal-100: #E3F2F1;
  --gold: #F2A93B;
  --gold-600: #D98E1F;
  --gold-100: #FFF4E0;
  --coral: #D9573A;
  --indigo: #4B4FA6;
  --green: #2E8B57;
  --purple: #7B4FB0;
  --cream: #FBF7F0;
  --white: #FFFFFF;
  --ink: #1E2A32;
  --ink-2: #44535C;
  --line: #E4E0D8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 63, 69, .06), 0 8px 24px rgba(11, 63, 69, .08);
  --shadow-lg: 0 2px 4px rgba(11, 63, 69, .08), 0 24px 48px rgba(11, 63, 69, .16);
  --wrap: 1160px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--teal-800); }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 850; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 4px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.eyebrow.pill { background: var(--gold); color: var(--teal-800); padding: 6px 14px; border-radius: 999px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin: 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 30px; border-radius: 999px; font-weight: 850; font-size: 1.05rem; letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-buy { background: var(--gold); color: var(--teal-900); box-shadow: 0 6px 0 var(--gold-600), 0 12px 28px rgba(242,169,59,.35); }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold-600), 0 16px 32px rgba(242,169,59,.4); }
.btn-buy:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--gold-600); }
.btn-buy svg { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--teal-800); border: 2px solid var(--teal-800); min-height: 48px; padding: 10px 22px; font-size: .95rem; }
.btn-ghost:hover { background: var(--teal-800); color: var(--white); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }
.reassure { font-size: .88rem; color: var(--ink-2); margin-top: 14px; }
.on-dark .reassure { color: #CFE5E3; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251,247,240,.94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--teal-800); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-800); display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 20px; height: 20px; }
.brand span { font-size: .98rem; line-height: 1.1; }
.nav { display: none; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--teal-600); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: .85rem; box-shadow: 0 3px 0 var(--gold-600); }
.header-cta:hover { box-shadow: 0 5px 0 var(--gold-600); }

/* ---------- setup notice ---------- */
.setup-notice { background: #FFF1D6; border-bottom: 2px dashed var(--gold-600); color: #5C3B00; font-size: .9rem; padding: 10px 0; }
.setup-notice strong { color: #3D2700; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--teal-800); color: var(--white); padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.6px); background-size: 26px 26px; pointer-events: none; }
.hero .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero .blob.b1 { width: 520px; height: 520px; right: -180px; top: -200px; background: var(--teal-600); }
.hero .blob.b2 { width: 260px; height: 260px; left: -120px; bottom: -150px; background: var(--coral); opacity: .9; }
.hero .blob.b3 { width: 46px; height: 46px; right: 42%; top: 70px; background: var(--gold); }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: #D6EBE9; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero-points .tick { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-top: 1px; }
.hero-points .tick svg { width: 15px; height: 15px; }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; }
.hero-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.hero-price .amount { font-size: 2rem; font-weight: 900; color: var(--gold); }
.hero-price .note { color: #CFE5E3; font-size: .95rem; }

/* 3D book mockup built from the real cover */
.book-stage { display: flex; justify-content: center; padding: 10px 0 30px; perspective: 1600px; }
.book { position: relative; width: min(78vw, 360px); aspect-ratio: 210 / 297; transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .5s ease; }
.book:hover { transform: rotateY(-12deg) rotateX(2deg); }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 10px 20px rgba(0,0,0,.25); }
.book::before { /* page edges */ content: ""; position: absolute; top: 1.2%; bottom: 1.2%; right: -14px; width: 16px; background: repeating-linear-gradient(90deg, #f4f1ea 0 2px, #ddd7cb 2px 3px); transform: rotateY(68deg); transform-origin: left center; border-radius: 0 3px 3px 0; }
.book::after { /* spine highlight */ content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 7%; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 45%, rgba(0,0,0,0)); border-radius: 3px 0 0 3px; pointer-events: none; }
.book-shadow { position: absolute; left: 6%; right: -4%; bottom: -26px; height: 30px; background: radial-gradient(ellipse at center, rgba(0,0,0,.45), transparent 70%); filter: blur(6px); transform: translateZ(-1px); }

/* ---------- challenges ---------- */
.challenges { background: var(--cream); }
.chal-grid { display: grid; gap: 14px; }
.chal { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.chal .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--teal-100); display: grid; place-items: center; }
.chal .ic svg { width: 24px; height: 24px; }
.chal p { margin: 0; font-weight: 600; }
.bridge { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--teal-800); }
.bridge strong { background: linear-gradient(transparent 60%, rgba(242,169,59,.45) 60%); }

/* ---------- solution ---------- */
.solution { background: var(--white); }
.sol-grid { display: grid; gap: 18px; }
.sol { border-radius: var(--radius); padding: 24px; background: var(--cream); border: 1px solid var(--line); }
.sol .num { font-size: .8rem; font-weight: 900; color: var(--teal-600); letter-spacing: .1em; }
.sol h3 { margin: 8px 0 6px; }
.sol p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.sol .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.sol .ic svg { width: 26px; height: 26px; }

/* ---------- inside (four parts) ---------- */
.inside { background: var(--teal-100); }
.parts { display: grid; gap: 20px; }
.part { display: grid; grid-template-columns: 96px 1fr; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); border-top: 6px solid var(--pc); align-items: start; }
.part img { border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.part .tag { font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--pc); }
.part h3 { margin: 4px 0 10px; font-size: 1.15rem; }
.part ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .96rem; }
.part li { margin-bottom: 4px; }
.part .chap { font-size: .82rem; color: var(--ink-2); margin-top: 8px; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.stat { background: var(--teal-800); color: var(--white); border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 2.1rem; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .9rem; color: #D6EBE9; }

/* ---------- previews ---------- */
.previews { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot { margin: 0; }
.shot button { all: unset; display: block; cursor: zoom-in; border-radius: 12px; position: relative; width: 100%; }
.shot button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shot .frame { position: relative; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-lg); aspect-ratio: 210 / 230; }
.shot .frame img { width: 100%; height: auto; transition: transform .35s ease; }
.shot button:hover img { transform: scale(1.03); }
.shot .frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(transparent, rgba(255,255,255,.95)); }
.shot .zoom { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: var(--teal-800); color: var(--white); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: 5px 10px; }
.shot figcaption { margin-top: 12px; font-size: .92rem; }
.shot figcaption b { display: block; color: var(--teal-800); }
.shot figcaption span { color: var(--ink-2); font-size: .86rem; }
.preview-note { text-align: center; color: var(--ink-2); font-size: .92rem; margin-top: 30px; }
.sample-link { display: flex; justify-content: center; margin-top: 14px; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 820px); max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(8,47,52,.86); }
dialog.lightbox figure { margin: 0; background: var(--white); border-radius: 12px; overflow: auto; max-height: 92vh; }
dialog.lightbox img { width: 100%; }
dialog.lightbox figcaption { padding: 12px 16px; font-weight: 600; color: var(--teal-800); }
dialog.lightbox .close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--teal-900); font-size: 1.6rem; font-weight: 900; cursor: pointer; }

/* ---------- audiences ---------- */
.audience { background: var(--white); }
.aud-grid { display: grid; gap: 18px; }
.aud { border-radius: var(--radius); padding: 26px; background: var(--cream); border: 1px solid var(--line); position: relative; overflow: hidden; }
.aud::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--ac); opacity: .14; }
.aud .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--ac); display: grid; place-items: center; margin-bottom: 16px; }
.aud .ic svg { width: 28px; height: 28px; }
.aud ul { padding: 0; margin: 0; list-style: none; }
.aud li { display: flex; gap: 10px; margin-bottom: 8px; color: var(--ink-2); font-size: .97rem; }
.aud li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--ac); margin-top: 9px; }

/* ---------- printables ---------- */
.printables { background: var(--teal-800); color: var(--white); position: relative; overflow: hidden; }
.printables::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.6px); background-size: 26px 26px; }
.printables .wrap { position: relative; }
.printables h2 { color: var(--white); }
.printables .eyebrow { color: var(--gold); }
.printables .lead { color: #D6EBE9; }
.pr-grid { display: grid; gap: 30px; align-items: center; }
.pr-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.pr-list li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .96rem; }
.pr-list .code { flex: 0 0 auto; font-size: .72rem; font-weight: 900; letter-spacing: .06em; color: var(--teal-900); background: var(--gold); border-radius: 6px; padding: 3px 7px; }
.pr-stack { position: relative; height: 380px; max-width: 420px; margin: 0 auto; width: 100%; }
.pr-stack img { position: absolute; width: 62%; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.pr-stack img:nth-child(1) { left: 0; top: 30px; transform: rotate(-7deg); }
.pr-stack img:nth-child(2) { left: 19%; top: 0; transform: rotate(1deg); z-index: 1; }
.pr-stack img:nth-child(3) { right: 0; top: 40px; transform: rotate(8deg); z-index: 2; }
.license { margin-top: 26px; background: rgba(242,169,59,.12); border: 1px solid rgba(242,169,59,.5); border-radius: 14px; padding: 16px 18px; font-size: .94rem; color: #F3E6CF; }
.license strong { color: var(--gold); }

/* ---------- value ---------- */
.value { background: var(--cream); }
.compare { display: grid; gap: 18px; margin-top: 10px; }
.cmp { border-radius: var(--radius); padding: 26px; }
.cmp h3 { display: flex; gap: 10px; align-items: center; }
.cmp ul { margin: 0; padding-left: 1.1em; }
.cmp li { margin-bottom: 8px; }
.cmp.before { background: var(--white); border: 1px dashed #C9C2B5; color: var(--ink-2); }
.cmp.before h3 { color: var(--ink-2); }
.cmp.after { background: var(--white); border: 2px solid var(--teal-600); box-shadow: var(--shadow-lg); }
.value-cta { text-align: center; margin-top: 40px; }

/* ---------- author ---------- */
.author { background: var(--white); }
.author-card { display: grid; gap: 26px; align-items: center; max-width: 920px; margin: 0 auto; background: var(--cream); border-radius: 24px; padding: 32px; border: 1px solid var(--line); }
.author-mono { width: 140px; height: 140px; border-radius: 50%; background: var(--teal-800); display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--gold); }
.author-mono span { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 3rem; color: var(--white); }
.author-mono span i { color: var(--gold); font-style: italic; }
.author-name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 2.1rem; color: var(--teal-800); margin: 4px 0 12px; letter-spacing: 0; }
.author-name em { color: var(--coral); font-style: italic; }
.author blockquote { margin: 0; font-size: 1.08rem; color: var(--ink-2); border-left: 4px solid var(--gold); padding-left: 16px; }

/* ---------- pricing ---------- */
.pricing { background: var(--teal-100); }
.price-card { max-width: 980px; margin: 0 auto; background: var(--white); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; }
.price-visual { background: var(--teal-800); padding: 36px 24px 30px; display: flex; justify-content: center; position: relative; overflow: hidden; }
.price-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.6px); background-size: 24px 24px; }
.price-visual .book { width: min(60vw, 250px); }
.price-body { padding: 30px 24px 34px; }
.price-body h3 { font-size: 1.45rem; margin-bottom: 4px; }
.price-body .sub { color: var(--ink-2); font-size: .98rem; margin-bottom: 18px; }
.incl { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.incl .tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--teal-600); display: grid; place-items: center; margin-top: 2px; }
.incl .tick svg { width: 13px; height: 13px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price-row .amount { font-size: 3rem; font-weight: 900; color: var(--teal-800); line-height: 1; }
.price-row .per { color: var(--ink-2); font-weight: 600; }
.assure { margin-top: 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.assure div { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 750; color: var(--teal-800); position: relative; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; background: var(--gold); }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */
.final { background: var(--teal-800); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--teal-600); left: -160px; top: -200px; }
.final::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--coral); right: -80px; bottom: -110px; opacity: .85; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { color: var(--white); }
.final .lead { color: #D6EBE9; margin: 0 auto 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-900); color: #B9D3D1; font-size: .9rem; padding: 40px 0 110px; }
.site-footer a { color: #E3F2F1; }
.foot-grid { display: grid; gap: 18px; }
.foot-title { color: var(--white); font-weight: 800; font-size: 1rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.placeholder { color: #8A5300; font-style: italic; }
.site-footer .placeholder { color: #E8B867; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(8,47,52,.97); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .info { color: var(--white); line-height: 1.2; font-size: .82rem; flex: 1; min-width: 0; }
.sticky-cta .info b { display: block; font-size: 1.15rem; color: var(--gold); }
.sticky-cta .btn { min-height: 50px; padding: 12px 20px; font-size: .9rem; box-shadow: 0 4px 0 var(--gold-600); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 60; width: min(92vw, 520px); background: var(--ink); color: var(--white); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .93rem; }
.toast code { background: rgba(255,255,255,.15); }

/* ---------- thank-you page ---------- */
.ty-hero { background: var(--teal-800); color: var(--white); padding: 56px 0 120px; position: relative; overflow: hidden; text-align: center; }
.ty-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.6px); background-size: 26px 26px; }
.ty-hero .wrap { position: relative; }
.ty-check { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 10px rgba(242,169,59,.2); }
.ty-check svg { width: 40px; height: 40px; }
.ty-hero h1 { color: var(--white); font-size: clamp(2rem, 6vw, 3.1rem); }
.ty-hero .lead { color: #D6EBE9; margin: 0 auto; }
.ty-card { position: relative; max-width: 760px; margin: -80px auto 0; background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 28px 22px; display: grid; gap: 24px; align-items: center; }
.ty-card img { width: 150px; margin: 0 auto; border-radius: 4px 8px 8px 4px; box-shadow: 0 16px 32px rgba(0,0,0,.3); }
.ty-card h2 { font-size: 1.5rem; }
.ty-steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ty-steps li { counter-increment: s; display: flex; gap: 12px; font-size: .96rem; color: var(--ink-2); }
.ty-steps li::before { content: counter(s); flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--teal-100); color: var(--teal-800); font-weight: 900; display: grid; place-items: center; }
.ty-help { max-width: 760px; margin: 28px auto 0; display: grid; gap: 16px; }
.ty-help .box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.ty-help h3 { font-size: 1.05rem; }
.ty-help p, .ty-help li { color: var(--ink-2); font-size: .96rem; }
.ty-section { padding: 0 0 64px; }
.ty-foot { padding-bottom: 40px; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .chal-grid { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .pr-list { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .ty-card { grid-template-columns: 170px 1fr; padding: 34px; }
  .ty-card img { margin: 0; }
  .ty-help { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  section { padding: 96px 0; }
  .nav { display: flex; }
  .hero { padding: 80px 0 110px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .book-stage { padding: 0; }
  .book { width: 360px; }
  .chal-grid { grid-template-columns: repeat(12, 1fr); }
  .chal { grid-column: span 3; }
  .chal:nth-child(n+5) { grid-column: span 4; }
  .sol-grid { grid-template-columns: repeat(3, 1fr); }
  .parts { grid-template-columns: 1fr 1fr; }
  .part { grid-template-columns: 120px 1fr; padding: 22px; }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .pr-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .author-card { grid-template-columns: 180px 1fr; padding: 44px; }
  .price-card { grid-template-columns: .9fr 1.1fr; }
  .price-visual { align-items: center; padding: 40px; }
  .price-body { padding: 44px 44px 40px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

/* mobile: show the product near the top of the hero */
@media (max-width: 899px) {
  .hero-grid { gap: 8px; }
  .hero .book-stage { order: -1; padding: 0 0 22px; }
  .hero .book { width: 150px; transform: rotateY(-18deg) rotateX(3deg); }
  .eyebrow.pill { letter-spacing: .1em; font-size: .72rem; }
}
