:root {
  --orange: #f97316;
  --orange-hot: #fb923c;
  --orange-deep: #c2410c;
  --amber: #fdba74;
  --bg: #0c0a09;
  --bg-2: #14100d;
  --card: #1c1512;
  --line: rgba(249, 115, 22, .24);
  --text: #fff7ed;
  --muted: #cbb9ab;
  --ink: #1a0d05;
  --radius: 24px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--amber); }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 800; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 20; font-weight: 800; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(12, 10, 9, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 1.12rem; }
.brand img { transition: transform .3s; }
.brand:hover img { transform: rotate(-10deg) scale(1.12); }
.topbar nav { display: flex; align-items: center; gap: 24px; }
.topbar nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; transition: color .15s; }
.topbar nav a:not(.btn):hover { color: #fff; }
@media (max-width: 760px) { .topbar nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; background: linear-gradient(180deg, var(--orange-hot), var(--orange)); color: var(--ink); font-weight: 900; text-decoration: none; padding: 16px 30px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(249, 115, 22, .55), 0 12px 30px rgba(249, 115, 22, .35); transition: transform .18s cubic-bezier(.2, .9, .3, 1.4), box-shadow .18s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sweep 3.4s ease-in-out infinite; }
.btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 0 0 6px rgba(249, 115, 22, .18), 0 18px 40px rgba(249, 115, 22, .5); }
.btn:active { transform: scale(.97); }
.btn-small { padding: 9px 18px; font-size: .9rem; box-shadow: none; white-space: nowrap; }
.btn-small::after { display: none; }
.btn-block { display: flex; }
.btn-hero { font-size: 1.2rem; padding: 20px 38px; animation: pulse 2.4s ease-out infinite; }
.btn-paw { width: 22px; height: 22px; flex: none; transition: transform .25s; }
.btn-hero:hover .btn-paw { transform: rotate(-18deg) scale(1.2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 30px 0 12px; }
.note { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }

/* Hero */
.hero { position: relative; padding: 36px 0 84px; overflow: hidden; background:
  radial-gradient(700px 420px at 78% 38%, rgba(249, 115, 22, .22), transparent 70%),
  radial-gradient(520px 320px at 8% 0%, rgba(194, 65, 12, .28), transparent 70%), var(--bg); }
.hero-copy { position: relative; z-index: 2; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-logo { width: clamp(170px, 22vw, 240px); height: auto; margin: 0 0 6px -14px; animation: bob 5s ease-in-out infinite, glow 3.2s ease-in-out infinite; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 30em; margin: 0; }
.lede em { color: var(--amber); font-style: normal; font-weight: 800; }
.shine { background: linear-gradient(100deg, var(--orange) 20%, #ffe2c2 50%, var(--orange) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3.5s linear infinite; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); background: rgba(249, 115, 22, .08); color: var(--amber); font-weight: 800; font-size: .9rem; padding: 7px 14px; border-radius: 999px; }
.chips-lg li { font-size: 1rem; padding: 9px 18px; transition: transform .2s, background .2s; }
.chips-lg li:hover { transform: translateY(-3px) rotate(-2deg); background: rgba(249, 115, 22, .2); }
@media (max-width: 880px) {
  .hero { padding: 20px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-logo { margin: 0 auto 6px; }
  .lede { margin: 0 auto; }
  .cta-row, .chips { justify-content: center; }
}

/* Floating paws */
.paws { position: absolute; inset: 0; pointer-events: none; }
.paw { position: absolute; bottom: -70px; width: 46px; height: 46px; color: var(--orange); opacity: 0; animation: rise 14s linear infinite; }
.p1 { left: 4%; animation-delay: 0s; }
.p2 { left: 18%; width: 30px; height: 30px; animation-delay: 4s; animation-duration: 17s; }
.p3 { left: 36%; animation-delay: 8s; animation-duration: 15s; }
.p4 { left: 52%; width: 28px; height: 28px; animation-delay: 2s; animation-duration: 19s; }
.p5 { left: 68%; animation-delay: 6s; }
.p6 { left: 82%; width: 34px; height: 34px; animation-delay: 10s; animation-duration: 16s; }
.p7 { left: 93%; animation-delay: 12s; animation-duration: 18s; }

/* Flipping book */
.hero-book { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.book-glow { position: absolute; top: 8%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(249, 115, 22, .5), transparent); filter: blur(30px); animation: breathe 5s ease-in-out infinite; }
.book { --rx: 4deg; --ry: -14deg; position: relative; width: min(350px, 62vw); aspect-ratio: 3 / 4; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; animation: bob 6s ease-in-out infinite; }
.leaf { position: absolute; inset: 0; border-radius: 8px 18px 18px 8px; overflow: hidden; background: #fff7ed; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); transition: transform .5s cubic-bezier(.2, .9, .3, 1.25); }
.leaf img { width: 100%; height: 100%; object-fit: cover; }
.leaf-front { transform: rotate(-3deg); animation: sway 7s ease-in-out infinite; }
.leaf-back-l { transform: translate(-22%, 8%) rotate(-12deg) scale(.9); filter: brightness(.82); }
.leaf-back-r { transform: translate(40%, -5%) rotate(13deg) scale(.9); filter: brightness(.82); }
.hero-book:hover .leaf-back-l { transform: translate(-28%, 6%) rotate(-15deg) scale(.92); }
.hero-book:hover .leaf-back-r { transform: translate(50%, -7%) rotate(17deg) scale(.92); }
.book-caption { position: relative; margin: 26px 0 0; color: var(--muted); font-size: .85rem; }

/* Marquee */
.marquee { overflow: hidden; background: var(--orange); color: var(--ink); padding: 13px 0; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 10px 40px rgba(249, 115, 22, .3); }
.track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.track span { font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; padding: 0 22px; white-space: nowrap; }
.track span::after { content: "\2726"; margin-left: 44px; opacity: .55; }
.marquee:hover .track { animation-play-state: paused; }

/* Sections */
.section { padding: 96px 0; }
.section h2 { max-width: 16em; }
.section .center { margin-top: 44px; }
.section-glow { background: radial-gradient(800px 420px at 20% 50%, rgba(249, 115, 22, .16), transparent 70%), var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .05); }
.section-lede { color: var(--muted); font-size: 1.1rem; margin: -4px 0 0; max-width: 34em; }
.section-sample { background: var(--bg-2); border-top: 1px solid rgba(255, 255, 255, .05); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.gallery img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2, .9, .3, 1.3), box-shadow .3s; }
.gallery img:nth-child(odd) { transform: rotate(-1.5deg); }
.gallery img:nth-child(even) { transform: rotate(1.5deg) translateY(10px); }
.gallery img:hover { transform: scale(1.25) rotate(0); position: relative; z-index: 3; box-shadow: 0 30px 70px rgba(249, 115, 22, .45); }
.more { aspect-ratio: 3 / 4; border: 2px dashed var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); transform: rotate(1.5deg) translateY(10px); background: rgba(249, 115, 22, .06); }
.more svg { width: 54px; height: 54px; color: var(--orange); animation: bob 3s ease-in-out infinite; }
.more strong { color: var(--text); font-size: 1.3rem; font-weight: 900; }
@media (max-width: 860px) { .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 10px 20px 22px; }
  .gallery img, .gallery img:nth-child(odd), .gallery img:nth-child(even), .gallery img:hover, .more { flex: 0 0 64%; width: 64%; max-width: 64%; transform: none; scroll-snap-align: center; } }
@media (max-width: 880px) { .hero-book { margin-top: 10px; } }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .section { padding: 72px 0; } }
.steps li { position: relative; background: var(--card); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 30px; transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), border-color .25s, box-shadow .25s; }
.steps li:hover { transform: translateY(-8px) rotate(-1deg); border-color: var(--orange); box-shadow: 0 24px 50px rgba(249, 115, 22, .2); }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(180deg, var(--orange-hot), var(--orange)); color: var(--ink); font-weight: 900; font-size: 1.4rem; margin-bottom: 18px; transform: rotate(-6deg); transition: transform .3s; }
.steps li:hover .num { transform: rotate(8deg) scale(1.12); }

.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; gap: 40px; } }
.price-card { position: relative; background: var(--card); border: 2px solid var(--orange); border-radius: 30px; padding: 36px; box-shadow: 0 0 60px rgba(249, 115, 22, .28); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: .78rem; color: var(--orange); margin: 0 0 10px; }
.price { font-size: 6.2rem; font-weight: 900; line-height: 1; margin: 0; letter-spacing: -0.04em; }
.currency { font-size: 2.6rem; vertical-align: top; margin-right: 4px; color: var(--orange); letter-spacing: 0; }
.price-sub { color: var(--muted); margin: 4px 0 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 8px; font-weight: 700; }
.ticks li::before { content: "\2713"; color: var(--orange); font-weight: 900; margin-right: 10px; }
.fineprint { color: var(--muted); font-size: .85rem; margin: 16px 0 0; }
.gift p { color: var(--muted); font-size: 1.1rem; }
.gift .soft { font-size: .95rem; margin-top: 26px; }

details { background: var(--card); border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; padding: 18px 22px; margin: 12px 0; transition: border-color .2s; }
details[open], details:hover { border-color: var(--line); }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; font-weight: 900; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); }

.final { position: relative; padding: 90px 0 110px; background: radial-gradient(640px 380px at 50% 40%, rgba(249, 115, 22, .3), transparent 70%), var(--bg); }
.final h2 { max-width: none; }
.final .center { margin-top: 0; }
.final-logo { width: 210px; height: auto; margin: 0 auto 8px; animation: glow 3.2s ease-in-out infinite; }
.final .btn { margin-top: 14px; }
.final .note { margin-top: 16px; }

.footer { background: #000; color: #a8a29e; padding: 28px 0 96px; font-size: .92rem; }
@media (min-width: 761px) { .footer { padding-bottom: 28px; } }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--amber); text-decoration: none; }
.footer a:hover { color: #fff; }

/* Sticky mobile button */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 15; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(28, 21, 18, .94); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); font-size: .9rem; transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.sticky-cta strong { color: var(--orange); font-size: 1.05rem; }
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 760px) { .sticky-cta { display: flex; } }
@media (max-width: 400px) { .sticky-cta > span { font-size: .8rem; } .brand { font-size: .98rem; gap: 7px; } .topbar .btn-small { padding: 8px 13px; font-size: .8rem; } }

/* Scroll reveal: only hides content once JS has confirmed it can show it again */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1.15); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }
.js .reveal.d3 { transition-delay: .36s; }

/* Policy pages */
.policy { padding: 56px 0 80px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3rem); }
.policy h2 { font-size: 1.35rem; margin-top: 2em; color: var(--amber); }
.policy p, .policy li { color: var(--muted); }
.policy strong { color: var(--text); }
.policy .updated { color: var(--orange); font-weight: 700; }

/* Motion */
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .6), 0 12px 30px rgba(249, 115, 22, .35); } 70%, 100% { box-shadow: 0 0 0 22px rgba(249, 115, 22, 0), 0 12px 30px rgba(249, 115, 22, .35); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 10px rgba(249, 115, 22, .45)); } 50% { filter: drop-shadow(0 0 26px rgba(249, 115, 22, .95)); } }
@keyframes breathe { 0%, 100% { opacity: .65; scale: 1; } 50% { opacity: 1; scale: 1.12; } }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes rise { 0% { transform: translateY(0) rotate(-18deg); opacity: 0; } 12% { opacity: .22; } 80% { opacity: .14; } 100% { transform: translateY(-110vh) rotate(24deg); opacity: 0; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: 2.5deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .paw { display: none; }
}
