:root {
  --fox: #E2541B;
  --fox-strong: #C94A16; /* white text on this passes 4.5:1 */
  --fox-text: #B23F12;   /* orange for small text on light backgrounds */
  --fox-deep: #B9411E;
  --fox-soft: #FBE3D6;
  --ink: #1A120E;
  --ink-soft: #5B4C44;
  --cream: #FFF7F0;
  --white: #FFFFFF;
  --line: #EEDFD3;
  --radius: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--fox-soft); color: var(--ink); }
[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid var(--fox); outline-offset: 3px; border-radius: 8px; }

/* ---------- nav ---------- */
nav#nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--cream) 80%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
nav#nav.scrolled { border-color: var(--line); }
nav#nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.logo-tile { width: 34px; height: 34px; border-radius: 10px; background: var(--fox); color: var(--white); display: grid; place-items: center; }
.logo-tile svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink-soft); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--fox); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px var(--body); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--white); transition: transform .2s, background .2s; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); background: var(--fox); } }
.btn.fox { background: var(--fox-strong); }
.btn.fox:hover { background: var(--fox-deep); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--fox-soft); color: var(--fox-deep); font-weight: 600; font-size: 14px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fox); animation: ping 2s infinite; margin-left: 6px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fox) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { font-size: clamp(48px, 8vw, 92px); font-weight: 800; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--fox); display: inline-block; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 520px; }
.fine { font-size: 13px; color: var(--ink-soft); margin-top: 12px; padding-left: 18px; }

.stage { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--fox) 45%, transparent), transparent 70%); filter: blur(30px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.tile { position: absolute; inset: 22%; border-radius: 28%; background: var(--fox); color: var(--white); display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(185,65,30,.6), inset 0 -6px 0 rgba(0,0,0,.08); animation: float 6s ease-in-out infinite; }
.tile svg { width: 64%; height: 64%; transform-origin: 50% 90%; animation: sway 3.2s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }
@keyframes sway { 0%,100% { transform: rotate(-3deg) scaleY(1); } 50% { transform: rotate(3deg) scaleY(1.03); } }
.chip { position: absolute; padding: 9px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 12px 24px -14px rgba(26,18,14,.3); animation: bob 5s ease-in-out infinite; }
.chip span { color: var(--fox); }
.chip.c1 { top: 6%; left: 0; }
.chip.c2 { top: 18%; right: -2%; animation-delay: -1.5s; }
.chip.c3 { bottom: 14%; left: -4%; animation-delay: -3s; }
.chip.c4 { bottom: 4%; right: 6%; animation-delay: -2.2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { margin-top: 56px; border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--white); }
.track { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink-soft); }
.track span::after { content: "✦"; color: var(--fox); margin-left: 40px; font-size: 16px; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 110px 0; }
h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin: 0 0 18px; max-width: 760px; }
.sub { color: var(--ink-soft); font-size: 18px; max-width: 600px; }

.manifest { text-align: center; padding: 120px 0 40px; }
.manifest h2 { margin-inline: auto; max-width: 900px; }
.manifest h2 .muted { color: var(--fox); }

/* formats: heading on the left, three rows on the right */
.formats-sec .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.formats-sec h2 { position: sticky; top: 100px; }
.formats { display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: 52px 1fr auto; gap: 20px; align-items: center; transition: transform .3s, box-shadow .3s; }
@media (hover: hover) { .card:hover { transform: translateX(6px); box-shadow: 0 24px 40px -24px rgba(26,18,14,.25); } }
.card h3 { font-size: 26px; margin-bottom: 4px; }
.card p { color: var(--ink-soft); }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--fox-soft); color: var(--fox); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; }
.meta { font-weight: 600; font-size: 14px; color: var(--fox-deep); white-space: nowrap; }
.wave { display: flex; gap: 4px; align-items: center; height: 26px; }
.wave i { width: 4px; border-radius: 2px; background: var(--fox); animation: eq 1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 40%; animation-delay: -.2s; }
.wave i:nth-child(2) { height: 90%; animation-delay: -.5s; }
.wave i:nth-child(3) { height: 60%; animation-delay: -.1s; }
.wave i:nth-child(4) { height: 100%; animation-delay: -.7s; }
.wave i:nth-child(5) { height: 50%; animation-delay: -.3s; }
@keyframes eq { 50% { transform: scaleY(.35); } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.pillar { border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden; color: var(--white); min-height: 260px; display: flex; flex-direction: column; }
.pillar .num { font-family: var(--display); font-weight: 800; opacity: .6; font-size: 15px; }
.pillar h3 { font-size: 32px; margin: 10px 0 8px; }
.pillar p { opacity: .92; max-width: 420px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.tags span { font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); }
.pillar .ghost { position: absolute; right: -40px; top: -30px; width: 200px; height: 200px; opacity: .08; transition: transform .6s; }
@media (hover: hover) { .pillar:hover .ghost { transform: rotate(-12deg) scale(1.1); } }

/* library */
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { font: 600 14px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.filters button.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 320px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px 16px 24px; margin-inline: -16px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 56px), transparent); }
.shelf-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 18px; color: var(--ink); transition: background .2s, border-color .2s; }
.arrows button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.arrows button:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--ink); border-color: var(--line); }
.coll { scroll-snap-align: start; text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
@media (hover: hover) { .coll:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 26px 40px -26px rgba(26,18,14,.35); } }
.coll.hide { display: none; }
.cover { height: 150px; padding: 20px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.cover svg { position: absolute; right: -24px; bottom: -40px; width: 140px; height: 160px; opacity: .16; }
.cover small { font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .95; }
.cover h3 { font-size: 24px; position: relative; }
.coll-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.coll-body p { color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.coll-meta { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.coll-meta b { color: var(--fox-text); }
.shelf-hint { font-size: 14px; color: var(--ink-soft); }

/* reader modal */
dialog.reader { border: 0; padding: 0; background: transparent; max-width: 440px; width: calc(100% - 32px); margin: auto; overflow: visible; }
dialog.reader::backdrop { background: rgba(26,18,14,.6); backdrop-filter: blur(6px); }
dialog.reader[open] .sheet { animation: rise .4s cubic-bezier(.2,.7,.2,1); }
.sheet { background: var(--cream); border-radius: 30px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.x { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; font-size: 18px; color: var(--ink); }
.sheet .progress i { background: var(--line); }
.sheet .progress i.past, .sheet .progress i.cur { background: var(--fox); }
.page { background: var(--white); border-radius: 22px; padding: 26px 24px; min-height: 300px; display: flex; flex-direction: column; animation: rise .35s ease; }
.page.spark { background: var(--fox-strong); color: var(--white); }
.page small { font-weight: 600; color: var(--fox-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.page.spark small { color: var(--white); opacity: .9; }
.page h4 { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 10px 0 14px; }
.page p { font-size: 16px; line-height: 1.6; }
.page .who { margin-top: auto; padding-top: 16px; font-weight: 600; }
.nav-row { display: flex; gap: 10px; margin-top: 14px; }
.nav-row button { flex: 1; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); font: 600 15px var(--body); cursor: pointer; color: var(--ink); }
.nav-row button.next { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav-row button:disabled { opacity: .35; cursor: default; }

/* demo */
.demo { background: var(--ink); color: var(--white); border-radius: 40px; margin: 0 16px; }
.demo .sub { color: #BFAEA3; }
.demo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phone { width: 320px; max-width: 100%; margin-inline: auto; aspect-ratio: 9/16.5; border-radius: 44px; background: #0E0907; border: 10px solid #2A1F19; padding: 22px 18px; display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(226,84,27,.5); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #BFAEA3; }
.progress { display: flex; gap: 6px; margin: 16px 0; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: #3A2A22; overflow: hidden; position: relative; }
.progress i.on::after { content: ""; position: absolute; inset: 0; background: var(--fox); transform-origin: left; animation: fill 5s linear forwards; }
.progress i.past { background: var(--fox); }
@keyframes fill { from { transform: scaleX(0); } }
.slides { flex: 1; position: relative; }
.slide { position: absolute; inset: 0; background: var(--cream); color: var(--ink); border-radius: 24px; padding: 24px 22px; display: flex; flex-direction: column; opacity: 0; transform: translateX(30px) scale(.97); transition: opacity .5s, transform .5s; }
.slide.on { opacity: 1; transform: none; }
.slide.quote { background: var(--fox-strong); color: var(--white); }
.slide small { font-weight: 600; color: var(--fox-text); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.slide.quote small { color: var(--white); opacity: .9; }
.slide h4 { font-family: var(--display); font-size: 24px; line-height: 1.1; margin: 10px 0 12px; }
.slide p { font-size: 15px; line-height: 1.55; }
.slide .who { margin-top: auto; font-weight: 600; font-size: 14px; }
.actions { display: flex; gap: 10px; margin-top: 16px; }
.actions button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 16px; border: 1px solid #3A2A22; background: transparent; color: var(--white); font: 600 14px var(--body); cursor: pointer; transition: background .2s, transform .15s; }
.actions button:active { transform: scale(.95); }
.actions button svg { width: 18px; height: 18px; }
.actions .saved { background: var(--fox); border-color: var(--fox); }
.actions .mpreh.saved svg { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.5) rotate(-10deg); } }
.demo ul { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.demo li { display: flex; gap: 14px; }
.demo li b { display: block; font-family: var(--display); font-size: 19px; }
.demo li span { color: #BFAEA3; }
.demo li .k { flex: none; width: 36px; height: 36px; border-radius: 12px; background: #2A1F19; color: var(--fox); display: grid; place-items: center; font-weight: 800; font-family: var(--display); }

/* audio */
.listen-sec .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.player { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 26px; box-shadow: 0 30px 60px -36px rgba(26,18,14,.35); }
.player-head { display: flex; gap: 14px; align-items: center; }
.art { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--fox); display: grid; place-items: center; flex: none; }
.art svg { width: 36px; height: 40px; }
.player-head b { font-family: var(--display); font-size: 19px; display: block; line-height: 1.2; }
.player-head span { font-size: 14px; color: var(--ink-soft); }
.transcript { margin: 22px 0; font-family: var(--display); font-size: 22px; line-height: 1.4; font-weight: 700; color: #A3938A; min-height: 190px; }
.transcript .w { transition: color .25s; }
.transcript .w.said { color: var(--ink); }
.transcript .w.now { color: var(--fox); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--fox); transition: width .3s linear; }
.controls { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.play { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--fox-strong); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: transform .2s; box-shadow: 0 12px 24px -10px var(--fox); }
.play:hover { transform: scale(1.06); }
.play svg { width: 24px; height: 24px; }
.speed { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 6px 12px; font: 600 13px var(--body); cursor: pointer; color: var(--ink); }

/* community */
.community .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.profile { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 30px; box-shadow: 0 30px 60px -36px rgba(26,18,14,.35); max-width: 440px; margin-inline: auto; width: 100%; }
.profile-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 18px; background: var(--fox); color: var(--white); display: grid; place-items: center; }
.avatar svg { width: 34px; height: 34px; }
.profile-head b { font-family: var(--display); font-size: 20px; display: block; }
.profile-head span { color: var(--ink-soft); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.stat { background: var(--cream); border-radius: 16px; padding: 14px; text-align: center; }
.stat b { font-family: var(--display); font-size: 28px; display: block; color: var(--fox); }
.stat span { font-size: 12px; color: var(--ink-soft); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { aspect-ratio: 1; border-radius: 10px; background: var(--cream); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.day.lit { background: var(--fox); color: var(--white); animation: light .5s ease both; }
@keyframes light { from { transform: scale(.6); opacity: 0; } }

/* pricing */
.pricing { text-align: center; }
.pricing h2, .pricing .sub { margin-inline: auto; }
.toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-top: 28px; position: relative; }
.toggle button { position: relative; z-index: 1; border: 0; background: transparent; font: 600 15px var(--body); padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); transition: color .3s; }
.toggle button.on { color: var(--white); }
.toggle .pill { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: left .35s cubic-bezier(.2,.7,.2,1), width .35s; }
.save { display: inline-block; margin-left: 6px; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--fox-strong); color: var(--white); vertical-align: 2px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 840px; margin: 40px auto 0; text-align: left; }
.plan { border-radius: 30px; padding: 34px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.plus { background: var(--ink); color: var(--white); border-color: var(--ink); position: relative; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(226,84,27,.7); }
.plan h3 { font-size: 24px; }
.price { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; margin: 22px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price small { font: 500 16px var(--body); color: var(--ink-soft); }
.plan.plus .price small, .plan.plus .note { color: #BFAEA3; }
.price .amt.flip { animation: flip .4s ease; }
@keyframes flip { 0% { transform: translateY(-12px); opacity: 0; } }
.note { font-size: 14px; color: var(--ink-soft); min-height: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--fox-soft); color: var(--fox-deep); }
.plan.plus li::before { background: var(--fox); color: var(--white); }
.plan .btn { margin-top: auto; width: 100%; padding: 15px; }
.plan:not(.plus) .btn { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.plan:not(.plus) .btn:hover { background: var(--fox-soft); }

/* faq: heading left, questions right */
.faq-sec .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fox); font-size: 26px; line-height: .8; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 22px; animation: rise .35s ease; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 14px; background: var(--ink); color: var(--white); min-width: 184px; border: 1px solid rgba(255,255,255,.08); transition: transform .2s, background .2s; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.15; }
.store b { display: block; font-family: var(--display); font-size: 18px; line-height: 1.1; }
@media (hover: hover) { .store:hover { transform: translateY(-2px); background: #000; } }
.cta .store { background: var(--ink); }
/* final cta */
.cta { text-align: center; background: var(--fox-strong); color: var(--white); border-radius: 40px; margin: 0 16px 16px; position: relative; overflow: hidden; }
.cta h2 { margin-inline: auto; }
.cta .sub { color: var(--white); opacity: .92; margin-inline: auto; }
.cta .big { width: 110px; height: 110px; margin: 0 auto 10px; color: var(--white); transform-origin: 50% 90%; animation: sway 3.2s ease-in-out infinite; display: block; }
.cta .btn { background: var(--ink); }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--fox-soft); opacity: 0; animation: ember 6s linear infinite; }
@keyframes ember { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-420px) translateX(30px); opacity: 0; } }

footer { padding: 36px 0 48px; color: var(--ink-soft); font-size: 14px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot-links a:hover { color: var(--fox-text); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .rise:nth-child(2) { animation-delay: .1s; } .hero .rise:nth-child(3) { animation-delay: .2s; } .hero .rise:nth-child(4) { animation-delay: .3s; }

@media (max-width: 900px) {
  .hero .wrap, .demo .wrap, .community .wrap, .listen-sec .wrap, .formats-sec .wrap, .faq-sec .wrap { grid-template-columns: 1fr; gap: 32px; }
  .formats-sec h2 { position: static; }
  .stage { max-width: 360px; }
  .pillars, .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 80px 0; }
  .demo, .cta { border-radius: 28px; margin-inline: 8px; }
  .transcript { font-size: 19px; min-height: 170px; }
}
@media (max-width: 480px) {
  .chip { font-size: 12px; padding: 7px 10px; }
  .chip.c2 { right: 0; } .chip.c3 { left: 0; }
  .card { grid-template-columns: 52px 1fr; }
  .card .meta { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* error pages */
.error-page { text-align: center; padding: 120px 0 140px; }
.error-page .big { width: 90px; height: 90px; margin: 0 auto 18px; color: var(--fox); display: block; }
.error-page .code { font-family: var(--display); font-weight: 800; color: var(--fox-text); letter-spacing: .08em; }
.error-page h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin: 8px 0 14px; }
.error-page .sub { margin: 0 auto 28px; }

/* data-driven pillars */
.pillar.wide { grid-column: span 2; }
.pillar .tags span.has { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.4); }
.pillar .count { margin-top: 18px; font-weight: 600; font-size: 13px; opacity: .8; }
@media (max-width: 900px) { .pillar.wide { grid-column: auto; } }

/* library from the database */
.coll-author { font-size: 13px; font-weight: 600; color: var(--fox-text); }
.shelf-empty { margin-top: 28px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink-soft); }

/* reader: full chapters */
.page.long { max-height: min(62vh, 560px); overflow-y: auto; }
.page .loading { color: var(--ink-soft); }
.page .md { font-size: 16px; line-height: 1.65; }
.page .md p + p, .page .md p + blockquote, .page .md blockquote + p, .page .md h5 + p { margin-top: 12px; }
.page .md h5 { font-family: var(--display); font-size: 18px; margin-top: 18px; }
.page .md blockquote { margin: 14px 0; padding: 10px 14px; border-left: 3px solid var(--fox); background: var(--fox-soft); border-radius: 0 12px 12px 0; font-style: italic; }
.page .md ol, .page .md ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.page .try { margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--ink); color: var(--white); }
.page .try b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #F5B596; }
.page .try p { margin-top: 6px; font-size: 15px; }
.page.locked .lock-note { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--fox-soft); color: var(--fox-text); display: grid; gap: 4px; }
.page.locked .lock-note span { color: var(--ink-soft); font-size: 14px; }
