:root {
  --wine:#4a1032; --pink:#c40068; --blush:#fff0f7; --accent:#ffb1d8; --white:#fff;
  --muted:#7d345a; --line:#f0cddd; --signature:#99134f;
  --display:"DejaVu Serif", Georgia, "Times New Roman", serif;
  font:17px/1.58 "DejaVu Sans", system-ui, sans-serif;
  color:var(--wine); background:var(--white);
}
*, *::before, *::after { box-sizing:border-box }
body { margin:0 }
img { display:block; max-width:100% }
figure, h1, h2, h3, p, dl, dd { margin:0 }
button, input, textarea { font:inherit }
a { color:var(--wine); text-underline-offset:.22em }
button { cursor:pointer }
button:disabled { cursor:default; opacity:.8 }
svg { flex:none }
[hidden] { display:none!important }
:focus-visible { outline:3px solid var(--pink); outline-offset:5px }
.hero :focus-visible { outline-color:var(--white) }
.wrap { width:min(100% - 3rem, 1040px); margin-inline:auto }
.skip { position:fixed; top:.5rem; left:.5rem; z-index:20; transform:translateY(-180%); background:white; padding:.65rem 1rem }
.skip:focus { transform:none }
.section { padding:clamp(2.75rem,7vw,5rem) 0 }
h1, h2 { font-family:var(--display); font-weight:700; line-height:1.04; letter-spacing:-.045em; text-wrap:balance }
h2 { font-size:clamp(2rem,4.5vw,3.25rem) }
.eyebrow { font-size:.76rem; line-height:1.35; letter-spacing:.16em; font-weight:800; color:var(--pink); margin-bottom:.84rem }
.btn { display:inline-flex; text-align:center; min-height:50px; align-items:center; justify-content:center; gap:.58rem; padding:.72rem 1.28rem; border-radius:999px; border:1px solid transparent; text-decoration:none; font-weight:760; font-size:.93rem; line-height:1.23; transition:filter .2s, transform .2s, background .2s }
.btn:hover:not(:disabled) { transform:translateY(-1px); filter:brightness(.93) }
.btn svg { width:20px; height:20px }
.primary { background:var(--pink); color:var(--white) }
.outline { background:var(--white); border-color:var(--line); color:var(--wine) }
.outline:hover { background:var(--blush) }
.compact { min-height:44px; font-size:.84rem; padding:.56rem .8rem }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem }
.site-head { border-bottom:1px solid var(--line) }
.head-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:72px }
.wordmark { display:inline-flex; align-items:center; gap:.6rem; color:var(--wine); font-family:var(--display); font-style:italic; font-weight:700; font-size:1.18rem; text-decoration:none; line-height:1.13 }
.wordmark svg { color:var(--pink); width:24px; height:24px }
.head-row nav { display:flex; align-items:center; gap:clamp(.5rem,2vw,1.6rem) }
.head-row nav a { font-weight:650; font-size:.89rem; padding:.52rem 0; min-height:44px; display:flex; align-items:center; text-decoration:none }
.head-row nav a:hover { text-decoration:underline }
.head-ebook { color:var(--pink) }
.hero { background:linear-gradient(43deg,var(--signature) 0%,var(--pink) 58%,#ff54a8 100%); color:var(--white); overflow:hidden; padding:clamp(2.7rem,6vw,5.4rem) 0 }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(230px,.75fr); align-items:center; gap:clamp(1.4rem,6vw,5rem) }
.hero .eyebrow { color:var(--white); margin-bottom:1.05rem }
.hero h1 { max-width:630px; font-size:clamp(3.2rem,6.3vw,6rem); line-height:.98 }
.hero-intro { max-width:510px; margin:1.24rem 0 1.65rem; font-size:clamp(1rem,1.7vw,1.24rem); line-height:1.56 }
.download { background:var(--white); color:var(--wine); box-shadow:0 8px 24px #4a103230; padding-inline:1.45rem }
.download-note { margin-top:.66rem; font-size:.84rem; color:var(--white); font-weight:560 }
.cover-frame { margin-inline:auto; width:min(100%,290px); border-radius:6px 15px 15px 6px; transform:rotate(5deg); background:var(--blush); box-shadow:5px 2px var(--blush), 7px 3px #f5c3dc, 20px 23px 50px #4a10326b }
.cover-frame img { width:100%; height:auto; border-radius:inherit; aspect-ratio:345/548 }
.author { background:var(--white) }
.author-grid { max-width:760px; min-height:170px; margin-inline:auto }
.author-grid.with-photo { max-width:none; display:grid; grid-template-columns:minmax(175px, .72fr) 1.28fr; align-items:center; gap:clamp(1.5rem,6vw,4.4rem) }
.author-copy { border-left:4px solid var(--pink); padding:clamp(.2rem,2vw,.75rem) 0 clamp(.2rem,2vw,.75rem) clamp(1rem,4vw,2.6rem) }
.section-copy { margin:.86rem 0 1.08rem; max-width:570px }
.signature { margin-top:1rem; color:var(--signature); font-family:var(--display); font-size:clamp(1.18rem,3vw,1.55rem); font-style:italic; font-weight:700 }
.portrait { border-radius:24px; overflow:hidden; width:min(100%,340px); margin-inline:auto; background:radial-gradient(ellipse at 52% 75%,var(--accent),var(--blush) 82%) }
.portrait img { width:100%; height:auto; aspect-ratio:4/5; object-fit:contain; object-position:center bottom }
.next { background:var(--blush); border-block:1px solid var(--line) }
.product { background:var(--white); border:1px solid var(--line); border-radius:22px; overflow:hidden; display:grid; grid-template-columns:1fr 1.05fr; align-items:center; box-shadow:0 15px 36px #4a103211 }
.product-gallery { display:grid; gap:.8rem; align-content:center; min-width:0; height:100%; padding:clamp(.85rem,3vw,1.5rem); background:radial-gradient(ellipse at 48% 65%,var(--accent),var(--blush) 89%) }
.product-photo { display:grid; place-items:center; min-width:0; border-radius:12px }
.product-photo:focus-visible { outline-offset:-5px }
.product-photo img { width:100%; height:auto; aspect-ratio:4/3; max-height:320px; object-fit:contain; object-position:center }
.product-use { display:flex; width:fit-content; gap:.58rem; align-items:center; border:1px solid var(--line); padding:.3rem .72rem .3rem .3rem; border-radius:11px; background:var(--white); font-size:.82rem; font-weight:650 }
.product-use img { width:54px; height:54px; border-radius:8px; object-fit:cover; object-position:56% 28% }
.product-copy { padding:clamp(1.3rem,4vw,2.4rem) }
.product-copy h2 { font-size:clamp(1.85rem,4vw,2.85rem) }
.product-cta { box-shadow:0 7px 22px #c400682a }
.product-cta.pulse { animation:product-pulse 1.7s ease-out 2 }
@keyframes product-pulse { 0% { box-shadow:0 0 0 0 #c4006860 } 72%,100% { box-shadow:0 0 0 14px #c4006800 } }
.product-note { font-size:.81rem; color:var(--muted); margin-top:.65rem }
.next-links { display:flex; justify-content:space-between; align-items:center; gap:.85rem; flex-wrap:wrap; margin-top:1.6rem }
.next-links h2 { font-size:1.66rem }
.footer { padding:2rem 0; background:var(--white) }
.footer-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:1.5rem }
.footer p { max-width:550px; font-size:.87rem; color:var(--muted); margin-top:.48rem }
.footer button { color:var(--pink); border:0; padding:.36rem 0; background:transparent; text-decoration:underline; text-underline-offset:.2em; min-height:44px; font-size:.87rem }
.footer details { font-size:.9rem }
.footer summary { cursor:pointer }
.status { margin-top:.75rem; font-size:.93rem }
.status:empty { display:none }
.cookie-bar { position:fixed; width:min(calc(100% - 1.6rem),960px); bottom:.75rem; left:50%; transform:translateX(-50%); display:flex; justify-content:space-between; align-items:center; gap:.55rem 1rem; padding:.82rem 1.05rem; z-index:3; border-radius:17px; border:1px solid var(--line); background:var(--white); box-shadow:0 10px 28px #4a103233 }
.cookie-bar p { font-size:.85rem; color:var(--muted) }
dialog { width:min(calc(100% - 1.6rem),480px); padding:1.45rem; color:var(--wine); border:1px solid var(--line); border-radius:20px; background:var(--white) }
dialog::backdrop { background:#4a1032a0 }
dialog h2 { font-size:1.8rem; margin-bottom:.5rem }
dialog .actions { margin-top:.7rem }
label { display:grid; gap:.35rem; font-weight:650 }
label.check { display:flex; align-items:center; gap:.65rem; min-height:45px }
input[type=checkbox] { accent-color:var(--pink); width:19px; height:19px; margin:0; flex:none }
input:not([type=checkbox]), textarea { width:100%; min-height:45px; padding:.55rem .75rem; border:1px solid var(--line); border-radius:9px; background:white; color:var(--wine) }
input[type=color] { padding:.15rem }
.admin-body { background:var(--blush) }
.admin { padding-block:2.5rem }
.admin-heading { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center; margin-bottom:1.3rem }
.admin-heading h1 { font-size:clamp(2.2rem,5vw,4rem) }
.admin-card { border:1px solid var(--line); border-radius:19px; margin-block:1rem; padding:clamp(1.05rem,4vw,1.7rem); background:white }
.admin-card h2 { font-size:clamp(1.65rem,3.1vw,2.3rem); margin-bottom:1rem }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem 1rem; margin-bottom:1rem }
.field-grid .full { grid-column:1/-1 }
.login { max-width:480px }
.login label, .pdf-form label, .pdf-form p { margin-bottom:.75rem }
.pdf-form { padding:1rem; border-radius:12px; background:var(--blush); margin-bottom:1.25rem }
.muted { color:var(--muted); margin-bottom:.6rem }
.metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:.65rem; margin-top:1rem }
.metrics div { background:var(--blush); padding:.75rem; border-radius:10px }
.metrics dd { font-size:1.35rem; font-weight:780 }
.link-page { min-height:100svh; display:grid; place-items:center; padding:1.3rem; background:linear-gradient(135deg,var(--pink),var(--wine)) }
.link-panel { width:min(100%,440px); padding:clamp(1.3rem,5vw,2.5rem); text-align:center; background:var(--white); color:var(--wine); border-radius:25px; box-shadow:0 18px 60px #4a103252 }
.link-mark { width:54px; height:54px; margin:0 auto .7rem; border-radius:17px; display:grid; place-items:center; color:var(--pink); background:var(--blush) }
.link-mark svg { width:27px; height:27px }
.link-author { font-family:var(--display); font-size:1.13rem; font-style:italic; font-weight:700; color:var(--signature); margin-bottom:.55rem }
.link-panel h1 { font-size:clamp(2.2rem,10vw,3.3rem); margin-bottom:1.25rem }
.link-buttons { display:grid; gap:.7rem }
.link-buttons .btn { border-radius:14px; min-height:58px; width:100% }
@media(max-width:720px) {
  .wrap { width:calc(100% - 2rem) }
  .cookie-bar { flex-wrap:wrap }
  .hero-grid { grid-template-columns:1fr minmax(155px, .63fr); gap:1.15rem }
  .hero h1 { font-size:clamp(2.6rem,7vw,4.5rem) }
  .cover-frame { width:min(100%,225px) }
  .product { grid-template-columns:1fr }
  .product-photo img { max-height:280px }
}
@media(max-width:515px) {
  :root { font-size:16px }
  .head-row { min-height:62px; gap:.65rem }
  .wordmark { font-size:1.03rem; gap:.4rem }
  .head-row nav { gap:.7rem }
  .head-row nav a { font-size:.76rem }
  .hero-grid, .author-grid.with-photo, .footer-grid, .field-grid { grid-template-columns:1fr }
  .hero-grid { gap:2rem }
  .hero h1 { max-width:12ch; font-size:clamp(2.9rem,12vw,4.15rem) }
  .hero-intro { margin:.95rem 0 1.2rem }
  .cover-frame { width:min(57vw,200px); transform:rotate(4deg) }
  .portrait { max-width:260px }
  .cookie-bar .actions { gap:.36rem }
  .cookie-bar .compact { font-size:.77rem; padding:.48rem .69rem }
}
@media(max-width:375px) { .head-row .head-ebook { display:none } }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important }
}
