/* Lead-magnet landing pages, 3D ebook covers, brochures and the thank-you flow.
   Everything is classes: the site's CSP blocks inline style attributes. */
:root { --wa: #1fbf63; --wa-deep: #12994c; --wa-soft: rgba(31, 191, 99, .14); }

/* =============================== 3D BOOK =============================== */
.book { --w: 150px; --h: 212px; --d: 20px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; flex: none; }
.book.sm { --w: 112px; --h: 158px; --d: 14px; }
.book.md { --w: 150px; --h: 212px; --d: 20px; }
.book.lg { --w: 210px; --h: 297px; --d: 26px; }
.book.xl { --w: 250px; --h: 354px; --d: 30px; }
.book > .face { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); backface-visibility: hidden; }
.b-front { transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 7px 7px 2px; overflow: hidden; container-type: inline-size; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.b-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); border-radius: 7px 2px 2px 7px; background: var(--c2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.book > .b-spine { width: var(--d); left: calc(var(--w) / 2 - var(--d) / 2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: linear-gradient(90deg, var(--c2), var(--c1) 50%, var(--c2)); }
.book > .b-edge { width: var(--d); left: calc(var(--w) / 2 - var(--d) / 2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 3px)); background: repeating-linear-gradient(90deg, #f3efe6 0 1px, #d9d3c6 1px 2px); }
.book > .b-top { height: var(--d); top: calc(var(--h) / 2 - var(--d) / 2); width: calc(var(--w) - 4px); transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 2px)); background: repeating-linear-gradient(0deg, #f3efe6 0 1px, #d9d3c6 1px 2px); }
.book-shadow { position: absolute; left: 6%; right: -4%; bottom: -14px; height: 22px; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); filter: blur(4px); transform: translateZ(-30px) rotateX(90deg); }

/* cover art */
.cover { position: relative; width: 100%; height: 100%; box-sizing: border-box; padding: 9cqw 9cqw 8cqw 12cqw; display: flex; flex-direction: column; background:
  linear-gradient(115deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 38%),
  linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 9cqw,
  linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 9cqw 100%,
  radial-gradient(90% 60% at 85% 20%, var(--glow), transparent 70%),
  linear-gradient(160deg, var(--c1), var(--c2)); color: var(--fg); font-family: var(--sans); }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6cqw; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 55%, rgba(0, 0, 0, .15)); }
.cover::after { content: ""; position: absolute; left: 12cqw; right: 9cqw; top: 25cqw; height: .9cqw; border-radius: 1cqw; background: var(--acc); width: 18cqw; }
.cover .k { font-family: var(--mono); font-size: 5.4cqw; letter-spacing: .14em; color: var(--acc); display: flex; justify-content: space-between; gap: 2cqw; white-space: nowrap; }
.cover .k i { font-style: normal; color: var(--fg); opacity: .55; }
.cover .t { margin-top: auto; margin-bottom: auto; padding-top: 12cqw; display: flex; flex-direction: column; font-weight: 800; font-size: 12.6cqw; line-height: .96; letter-spacing: -.02em; text-transform: uppercase; }
.cover .t span { display: block; white-space: nowrap; }
.cover .t em { font-style: normal; color: var(--acc); }
.cover .t.f1 { font-size: 16cqw; } .cover .t.f2 { font-size: 13.4cqw; } .cover .t.f3 { font-size: 11.2cqw; } .cover .t.f4 { font-size: 9.4cqw; } .cover .t.f5 { font-size: 7.9cqw; }
.cover .au { display: flex; align-items: center; gap: 3cqw; font-family: var(--mono); font-size: 4.8cqw; letter-spacing: .1em; color: var(--fg); }
.cover .au img { width: 15cqw; height: 15cqw; border-radius: 50%; box-shadow: 0 0 0 .8cqw var(--acc); flex: none; }
.cover .au b { display: block; font-weight: 600; }
.cover .au small { display: block; font-size: 4.2cqw; opacity: .7; letter-spacing: .04em; }
.b-back .bk { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .5); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.pal-cream .b-back .bk { color: rgba(20, 33, 61, .55); }

.pal-navy   { --c1: #182a4c; --c2: #0a1324; --acc: #ff6a3d; --fg: #f2f4f7; --grid: rgba(255, 255, 255, .05); --glow: rgba(255, 106, 61, .22); }
.pal-ink    { --c1: #1b222d; --c2: #0b0e13; --acc: #4d8dff; --fg: #f2f4f7; --grid: rgba(255, 255, 255, .05); --glow: rgba(77, 141, 255, .28); }
.pal-ember  { --c1: #3a1610; --c2: #140908; --acc: #ff9a45; --fg: #fff3ea; --grid: rgba(255, 255, 255, .05); --glow: rgba(255, 154, 69, .25); }
.pal-gold   { --c1: #2c2210; --c2: #100c05; --acc: #f0c15a; --fg: #fff7e6; --grid: rgba(255, 255, 255, .05); --glow: rgba(240, 193, 90, .25); }
.pal-teal   { --c1: #0f2f35; --c2: #071315; --acc: #63d3e8; --fg: #effcff; --grid: rgba(255, 255, 255, .05); --glow: rgba(99, 211, 232, .25); }
.pal-violet { --c1: #251a46; --c2: #0e0a1d; --acc: #b59bff; --fg: #f5f2ff; --grid: rgba(255, 255, 255, .05); --glow: rgba(181, 155, 255, .28); }
.pal-green  { --c1: #10301f; --c2: #06120b; --acc: #55c98b; --fg: #effaf3; --grid: rgba(255, 255, 255, .05); --glow: rgba(85, 201, 139, .25); }
.pal-cream  { --c1: #f6efe2; --c2: #e4d9c4; --acc: #e2552b; --fg: #14213d; --grid: rgba(20, 33, 61, .06); --glow: rgba(226, 85, 43, .16); }
.pal-cream .cover .k i { color: #14213d; }
.pal-cream.b-back, .pal-cream .b-back { background: #d9ccb2; }

/* =============================== LANDING SHELL =============================== */
.lp-hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11, 13, 16, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.lp-hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.lp-hdr .chip { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--fg-2); padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.lp-hdr .chip b { color: var(--wa); font-weight: 500; }
@media (max-width: 420px) { .lp-hdr .chip .opt { display: none; } }
.lp-foot { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; color: var(--fg-3); font-size: .82rem; }
.lp-foot .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; }
.lp-foot a { color: var(--fg-2); }
.lp-foot p { max-width: 68ch; }

.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(1.4rem, .6rem + 3vw, 3.6rem) clamp(2rem, 1rem + 3vw, 4rem); }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(45% 60% at 78% 35%, rgba(77, 141, 255, .20), transparent 70%), radial-gradient(35% 45% at 70% 80%, rgba(31, 191, 99, .10), transparent 70%), radial-gradient(30% 40% at 8% 0%, rgba(255, 154, 69, .10), transparent 70%); }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 100%; opacity: .25; -webkit-mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 35%, #000, transparent 75%); }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "vis" "act"; gap: 1.2rem; align-items: start; }
@media (min-width: 980px) { .lp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); grid-template-areas: "head vis" "act vis"; column-gap: clamp(1.5rem, 3vw, 3.5rem); row-gap: 1.4rem; } }
.lp-head { grid-area: head; display: grid; gap: 1rem; min-width: 0; position: relative; z-index: 2; }
.lp-act { grid-area: act; display: grid; gap: 1.1rem; min-width: 0; position: relative; z-index: 2; align-self: start; }
.lp-visual { grid-area: vis; }
.lp-head h1, .lp-copy h1 { font-size: clamp(2.15rem, 1rem + 3.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.lp-head h1 .pill { display: inline-block; padding: 0 .3em .06em; border-radius: 999px; background: var(--glass); border: 1px solid rgba(31, 191, 99, .45); box-shadow: var(--glass-hi), 0 0 0 6px rgba(31, 191, 99, .06), 0 18px 40px -14px rgba(31, 191, 99, .45); white-space: nowrap; position: relative; overflow: hidden; }
.lp-head h1 .pill::after { content: ""; position: absolute; top: 0; bottom: 0; left: -50%; width: 30%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-16deg); }
@media (prefers-reduced-motion: no-preference) { .lp-head h1 .pill { animation: kin-pill .7s .2s cubic-bezier(.3, 1.4, .5, 1) both; } .lp-head h1 .pill::after { animation: sweep 6s 1.2s var(--ease) infinite; } }
@media (max-width: 520px) { .lp-head h1 .pill { white-space: normal; } }
.lp-sub { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: var(--fg-2); line-height: 1.55; max-width: 54ch; }
.lp-bullets { list-style: none; display: grid; gap: .5rem; }
.lp-bullets li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; color: var(--fg); font-size: .98rem; }
.lp-bullets li::before { content: ""; width: 20px; height: 20px; margin-top: .1rem; border-radius: 50%; background: var(--wa-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231fbf63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid rgba(31, 191, 99, .4); }
.lp-author { display: flex; align-items: center; gap: .75rem; color: var(--fg-2); font-size: .88rem; }
.lp-author img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--wa); }
.lp-author b { color: var(--fg); font-weight: 500; }

/* form */
.lp-form { padding: clamp(1rem, .8rem + 1vw, 1.5rem); border-radius: 18px; display: grid; gap: .8rem; scroll-margin-top: 90px; }
.lp-form .step { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase; }
.lp-form .step b { color: var(--wa); font-weight: 500; }
.lp-form .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lp-form .bar i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--blue), var(--wa)); border-radius: 4px; }
.lp-form .row2 { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .lp-form .row2 { grid-template-columns: 1fr 1fr; } }
.lp-form .field label { font-size: .84rem; }
.lp-form .input, .lp-form .select { min-height: 52px; font-size: 1rem; background: rgba(11, 13, 16, .85); }
.phone-wrap { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: .5rem; }
.lp-btn { width: 100%; min-height: 58px; border: 0; border-radius: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font: 600 1.05rem var(--sans); letter-spacing: -.01em; color: #04140a; background: linear-gradient(180deg, #34d97a, var(--wa)); box-shadow: 0 14px 34px -12px rgba(31, 191, 99, .75), inset 0 1px 0 rgba(255, 255, 255, .45); position: relative; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); text-decoration: none; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -12px rgba(31, 191, 99, .9), inset 0 1px 0 rgba(255, 255, 255, .45); color: #04140a; }
.lp-btn::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) { .lp-btn::after { animation: sweep 4.5s var(--ease) infinite; } }
.lp-btn svg { width: 20px; height: 20px; flex: none; }
.lp-btn[disabled] { opacity: .75; cursor: progress; }
.lp-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .78rem; color: var(--fg-3); line-height: 1.45; }
.lp-note svg { width: 14px; height: 14px; flex: none; margin-top: .15rem; }
.lp-note a { color: var(--fg-2); }

/* hero visual */
.lp-visual { position: relative; min-width: 0; height: 600px; perspective: 1400px; align-self: center; pointer-events: none; }
.lp-visual .float { pointer-events: auto; }
@media (max-width: 979px) { .lp-visual { height: 380px; } }
@media (max-width: 520px) { .lp-visual { height: 300px; margin-block: -.4rem; } }
.scene { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.float { position: absolute; z-index: 5; padding: .7rem .85rem; border-radius: 14px; display: grid; gap: .3rem; }
.float .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); display: flex; justify-content: space-between; gap: .6rem; }
.float.chart { width: min(260px, 52%); right: 0; bottom: 4%; }
.float.chart .viz canvas { height: 92px; }
.float.ready { left: 0; top: 6%; display: flex; align-items: center; gap: .65rem; }
.float.ready .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--wa-soft); border: 1px solid rgba(31, 191, 99, .45); color: var(--wa); }
.float.ready .ic svg { width: 18px; height: 18px; }
.float.ready b { display: block; font-size: .88rem; font-weight: 600; }
.float.ready span { font-size: .74rem; color: var(--fg-3); }
.float.count { left: 4%; bottom: 8%; text-align: left; }
.float.count b { font-size: 1.7rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.float.count span { font-size: .72rem; color: var(--fg-3); }
@media (prefers-reduced-motion: no-preference) { .float { animation: bob 6s ease-in-out infinite; } .float.chart { animation-delay: -2s; } .float.count { animation-delay: -4s; } }
@media (max-width: 520px) { .float.chart, .float.count { display: none; } .float.ready { top: 2%; } }

/* ring of books (library) */
.ring-stage { position: absolute; left: 50%; top: 44%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-12deg) scale(.95); }
.ring { --r: 270px; position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
@media (prefers-reduced-motion: no-preference) { .ring { animation: ringspin 46s linear infinite; } .lp-visual:hover .ring { animation-play-state: paused; } }
@keyframes ringspin { to { transform: rotateY(-360deg); } }
.ring .slot { position: absolute; left: -75px; top: -106px; transform-style: preserve-3d; }
.ring .slot:nth-child(1) { transform: rotateY(0deg) translateZ(var(--r)); } .ring .slot:nth-child(2) { transform: rotateY(45deg) translateZ(var(--r)); } .ring .slot:nth-child(3) { transform: rotateY(90deg) translateZ(var(--r)); } .ring .slot:nth-child(4) { transform: rotateY(135deg) translateZ(var(--r)); } .ring .slot:nth-child(5) { transform: rotateY(180deg) translateZ(var(--r)); } .ring .slot:nth-child(6) { transform: rotateY(225deg) translateZ(var(--r)); } .ring .slot:nth-child(7) { transform: rotateY(270deg) translateZ(var(--r)); } .ring .slot:nth-child(8) { transform: rotateY(315deg) translateZ(var(--r)); }
@media (max-width: 979px) { .ring-stage { transform: rotateX(-12deg) scale(.8); } }
@media (max-width: 520px) { .ring-stage { transform: rotateX(-12deg) scale(.56); top: 47%; } }
.ring-floor { position: absolute; left: 50%; top: 78%; width: 620px; height: 120px; margin-left: -310px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77, 141, 255, .22), rgba(77, 141, 255, 0)); transform: rotateX(70deg); }
@media (max-width: 520px) { .ring-floor { width: 380px; margin-left: -190px; } }

/* fanned stack (packs) */
.stack3d { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(6deg) rotateY(-6deg) scale(.86); }
@media (max-width: 979px) { .stack3d { transform: rotateX(6deg) rotateY(-6deg) scale(.8); } }
@media (max-width: 520px) { .stack3d { transform: rotateX(6deg) rotateY(-6deg) scale(.6); } }
.stack3d .slot { position: absolute; left: -105px; top: -148px; transform-style: preserve-3d; }
.stack3d .slot:nth-child(1) { transform: translate3d(-228px, 24px, -190px) rotateY(-28deg) rotateZ(-3deg); }
.stack3d .slot:nth-child(2) { transform: translate3d(228px, 24px, -190px) rotateY(28deg) rotateZ(3deg); }
.stack3d .slot:nth-child(3) { transform: translate3d(-128px, 10px, -80px) rotateY(-16deg) rotateZ(-1.5deg); }
.stack3d .slot:nth-child(4) { transform: translate3d(128px, 10px, -80px) rotateY(16deg) rotateZ(1.5deg); }
.stack3d .slot:nth-child(5) { transform: translate3d(0, -6px, 40px); }
@media (prefers-reduced-motion: no-preference) {
  .stack3d .slot > .book { animation: hover3d 7s ease-in-out infinite; }
  .stack3d .slot:nth-child(2) > .book { animation-delay: -1.4s; } .stack3d .slot:nth-child(3) > .book { animation-delay: -2.8s; } .stack3d .slot:nth-child(4) > .book { animation-delay: -4.2s; } .stack3d .slot:nth-child(5) > .book { animation-delay: -5.6s; }
}
@keyframes hover3d { 0%, 100% { transform: translateY(0) rotateY(0deg); } 50% { transform: translateY(-10px) rotateY(-4deg); } }
.halo { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px dashed rgba(99, 211, 232, .25); }
.halo.b { width: 380px; height: 380px; margin: -190px 0 0 -190px; border: 1.5px solid rgba(169, 139, 255, .22); }
@media (prefers-reduced-motion: no-preference) { .halo { animation: spinr 60s linear infinite; } .halo.b { animation-duration: 40s; animation-direction: reverse; } }
@media (max-width: 520px) { .halo { width: 330px; height: 330px; margin: -165px 0 0 -165px; } .halo.b { width: 240px; height: 240px; margin: -120px 0 0 -120px; } }

/* =============================== SECTIONS =============================== */
.lp-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 760px) { .lp-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp-counts > div { background: var(--bg-2); padding: 1.1rem 1.2rem; display: grid; gap: .15rem; }
.lp-counts b { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; }
.lp-counts b.g { color: var(--wa); }
.lp-counts > div > span { font-size: .84rem; color: var(--fg-3); }

.shelf { display: grid; gap: 1.6rem 1rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); perspective: 1200px; }
.shelf.scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem .2rem 1.2rem; gap: 1rem; scrollbar-width: thin; }
.shelf.scroll .shelf-item { scroll-snap-align: start; width: 150px; flex: none; }
.shelf-item { display: grid; gap: .65rem; justify-items: center; text-align: center; min-width: 0; }
.shelf-item .book { transform: rotateY(-18deg) rotateX(4deg); transition: transform .45s var(--ease); }
.shelf-item:hover .book, .shelf-item:focus-within .book { transform: rotateY(-4deg) rotateX(2deg) translateY(-6px); }
.shelf-item h3 { font-size: .9rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.shelf-item p { font-size: .8rem; color: var(--fg-3); line-height: 1.4; }
.shelf-item .tags { justify-content: center; }
.shelf-item .tags li { font-size: .64rem; padding: .15rem .45rem; }
.shelf-wrap { position: relative; }
.shelf-wrap.fade::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, rgba(11, 13, 16, 0), var(--bg)); pointer-events: none; }
.pack-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }

.lp-steps { list-style: none; counter-reset: s; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-steps li { counter-increment: s; padding: 1.2rem; border-radius: 16px; display: grid; gap: .5rem; align-content: start; }
.lp-steps li::before { content: "STEP " counter(s); font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--wa); }
.lp-steps b { font-size: 1.06rem; letter-spacing: -.01em; }
.lp-steps span { font-size: .9rem; color: var(--fg-2); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .7rem max(14px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: rgba(11, 13, 16, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta .lp-btn { min-height: 52px; font-size: 1rem; }
@media (min-width: 980px) { .sticky-cta { display: none; } }

/* submit overlay */
.lp-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(6, 8, 11, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lp-overlay.on { opacity: 1; pointer-events: auto; }
.lp-overlay .box { display: grid; gap: 1.1rem; justify-items: center; text-align: center; padding: 2rem; }
.lp-overlay .folder { position: relative; width: 150px; height: 112px; perspective: 600px; }
.lp-overlay .folder .back { position: absolute; inset: 14px 0 0; border-radius: 12px; background: linear-gradient(180deg, #1c4a33, #0f2a1d); border: 1px solid rgba(31, 191, 99, .5); }
.lp-overlay .folder .tab { position: absolute; left: 10px; top: 4px; width: 52px; height: 18px; border-radius: 8px 8px 0 0; background: #1c4a33; border: 1px solid rgba(31, 191, 99, .5); border-bottom: 0; }
.lp-overlay .folder .frontf { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; border-radius: 12px; background: linear-gradient(180deg, #2a7a52, #1a5a3a); border: 1px solid rgba(31, 191, 99, .7); transform-origin: bottom; transform: rotateX(-18deg); box-shadow: 0 -8px 20px rgba(0, 0, 0, .3); z-index: 3; }
.lp-overlay .paper { position: absolute; left: 50%; width: 46px; height: 60px; margin-left: -23px; border-radius: 4px; background: #f3efe6; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); z-index: 2; opacity: 0; }
.lp-overlay .paper::before { content: "PDF"; position: absolute; left: 6px; top: 8px; font: 700 10px var(--mono); color: #e2552b; }
.lp-overlay .paper::after { content: ""; position: absolute; left: 6px; right: 6px; top: 24px; height: 22px; background: repeating-linear-gradient(0deg, #cfc8b8 0 2px, transparent 2px 6px); }
.lp-overlay.on .paper { animation: dropin 1.3s var(--ease) infinite; }
.lp-overlay.on .paper.p2 { animation-delay: .35s; margin-left: -40px; } .lp-overlay.on .paper.p3 { animation-delay: .7s; margin-left: -6px; }
@keyframes dropin { 0% { top: -110px; opacity: 0; transform: rotate(-12deg); } 25% { opacity: 1; } 70% { top: 26px; opacity: 1; transform: rotate(4deg); } 100% { top: 34px; opacity: 0; } }
.lp-overlay .msg { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.lp-overlay .sub { font-family: var(--mono); font-size: .76rem; color: var(--fg-3); }
.lp-overlay .prog { width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.lp-overlay .prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--wa)); }
.lp-overlay.on .prog i { animation: fillw 1.5s var(--ease) forwards; }
@keyframes fillw { to { width: 100%; } }

/* =============================== THANK YOU =============================== */
.ty { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) 3rem; }
.ty::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 70% 40%, rgba(31, 191, 99, .16), transparent 70%), radial-gradient(35% 40% at 15% 10%, rgba(77, 141, 255, .12), transparent 70%); }
.ty-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .ty-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.ty-copy { display: grid; gap: 1.1rem; min-width: 0; }
.ty-check { width: 64px; height: 64px; }
.ty-check circle { fill: none; stroke: var(--wa); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; }
.ty-check path { fill: none; stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
@media (prefers-reduced-motion: no-preference) { .ty-check circle { animation: draw .7s .1s var(--ease) forwards; } .ty-check path { animation: draw .45s .7s var(--ease) forwards; } }
@media (prefers-reduced-motion: reduce) { .ty-check circle, .ty-check path { stroke-dashoffset: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-copy h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; }
.ty-copy h1 .g { color: var(--wa); }
.ty-count { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--fg-2); }
.ty-count svg { width: 36px; height: 36px; transform: rotate(-90deg); flex: none; }
.ty-count svg circle { fill: none; stroke-width: 3; }
.ty-count svg .bgc { stroke: var(--line-strong); }
.ty-count svg .fgc { stroke: var(--wa); stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ty-count button { background: none; border: 0; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; min-height: 40px; padding: 0 .2rem; }
.ty-steps { display: flex; gap: .5rem; align-items: center; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase; }
.ty-steps i { width: 26px; height: 4px; border-radius: 4px; background: var(--wa); display: inline-block; }
.ty-steps i.off { background: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) { .ty-steps i.pulse { animation: pulsebar 1.4s ease-in-out infinite; } }
@keyframes pulsebar { 50% { opacity: .35; } }

/* phone + chat mockup */
.phone-scene { perspective: 1400px; display: grid; place-items: center; min-height: 520px; }
@media (max-width: 520px) { .phone-scene { min-height: 470px; } }
.phone { width: 290px; height: 560px; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2b313c, #0c0f14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6); transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d; position: relative; }
@media (max-width: 520px) { .phone { width: 262px; height: 506px; } }
@media (prefers-reduced-motion: no-preference) { .phone { animation: phonefloat 8s ease-in-out infinite; } }
@keyframes phonefloat { 0%, 100% { transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(4deg) rotateZ(0deg) translateY(-10px); } }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #0d1418; display: flex; flex-direction: column; }
.phone .notch { position: absolute; left: 50%; top: 8px; width: 90px; height: 24px; margin-left: -45px; border-radius: 14px; background: #05070a; z-index: 3; }
.chat-top { display: flex; align-items: center; gap: .6rem; padding: 40px 14px 10px; background: #15212a; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.chat-top img { width: 34px; height: 34px; border-radius: 50%; }
.chat-top b { display: block; font-size: .88rem; font-weight: 600; color: #e9edef; }
.chat-top span { font-size: .7rem; color: var(--wa); }
.chat-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .025) 0 2px, transparent 2px) 0 0 / 22px 22px, #0b141a; overflow: hidden; }
.bub { max-width: 84%; padding: 7px 9px 5px; border-radius: 10px; font-size: .76rem; line-height: 1.38; color: #e9edef; position: relative; }
.bub small { display: block; text-align: right; font-size: .6rem; color: rgba(233, 237, 239, .55); margin-top: 2px; }
.bub.me { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.bub.them { align-self: flex-start; background: #1f2c34; border-top-left-radius: 3px; }
.bub.typing { display: flex; gap: 4px; padding: 10px 12px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233, 237, 239, .6); }
@media (prefers-reduced-motion: no-preference) { .bub.typing i { animation: tdot 1s ease-in-out infinite; } .bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; } }
@keyframes tdot { 50% { transform: translateY(-3px); opacity: .4; } }
.file { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: center; padding: 7px; border-radius: 7px; background: rgba(0, 0, 0, .22); margin-bottom: 4px; }
.file .ico { width: 34px; height: 40px; border-radius: 4px; background: #e2552b; color: #fff; font: 700 9px var(--mono); display: grid; place-items: center; }
.file b { display: block; font-size: .72rem; font-weight: 600; }
.file span { font-size: .62rem; color: rgba(233, 237, 239, .6); }
.chat-in { display: flex; gap: 6px; padding: 8px; background: #0b141a; }
.chat-in span { flex: 1; height: 34px; border-radius: 18px; background: #1f2c34; display: flex; align-items: center; padding: 0 12px; font-size: .7rem; color: rgba(233, 237, 239, .45); }
.chat-in i { width: 34px; height: 34px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.chat-in i svg { width: 16px; height: 16px; }
.bub.typing { max-height: 40px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  [data-play] .seq > * { opacity: 0; transform: translateY(8px) scale(.98); }
  [data-play].play .seq > * { animation: bubin .45s var(--ease) forwards; }
  [data-play].play .seq > :nth-child(1) { animation-delay: .5s; } [data-play].play .seq > :nth-child(3) { animation-delay: 2.5s; } [data-play].play .seq > :nth-child(4) { animation-delay: 3.5s; }
  [data-play].play .seq > .typing { animation: bubin .3s 1.3s var(--ease) forwards, bubout .25s 2.35s forwards; }
}
@media (prefers-reduced-motion: reduce) { .bub.typing { display: none; } }
@keyframes bubin { to { opacity: 1; transform: none; } }
@keyframes bubout { to { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin: -4px 0; } }

.xsell { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .xsell { grid-template-columns: 1fr 1fr; } }
.xsell .card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem; border-radius: 16px; text-decoration: none; color: var(--fg); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.xsell .card:hover { transform: translateY(-3px); border-color: rgba(77, 141, 255, .45); color: var(--fg); }
.xsell .card img { width: 96px; height: auto; border-radius: 6px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); transform: rotate(-3deg); }
.xsell .card b { display: block; font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: .2rem; }
.xsell .card span { font-size: .86rem; color: var(--fg-2); }
.xsell .card em { display: block; font-style: normal; margin-top: .45rem; font-size: .84rem; color: var(--blue-fg); }

/* =============================== BROCHURES =============================== */
.bro-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .bro-grid { grid-template-columns: 1fr 1fr; } }
.bro { padding: clamp(1.2rem, 1rem + 1.4vw, 2rem); display: grid; gap: 1.2rem; align-content: start; }
.bro-mock { position: relative; height: 380px; perspective: 1400px; display: grid; place-items: center; }
@media (max-width: 520px) { .bro-mock { height: 300px; } }
.bro-mock .pg { position: absolute; width: 214px; height: 303px; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .6s var(--ease); }
@media (max-width: 520px) { .bro-mock .pg { width: 170px; height: 241px; } }
.bro-mock .pg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bro-mock .pg.p4 { transform: translateX(78px) rotateY(-28deg) rotateZ(6deg) translateZ(-120px); }
.bro-mock .pg.p3 { transform: translateX(46px) rotateY(-24deg) rotateZ(3deg) translateZ(-80px); }
.bro-mock .pg.p2 { transform: translateX(14px) rotateY(-20deg) rotateZ(1deg) translateZ(-40px); }
.bro-mock .pg.p1 { transform: translateX(-30px) rotateY(-16deg) rotateZ(-2deg); }
.bro:hover .bro-mock .pg.p4 { transform: translateX(150px) rotateY(-20deg) rotateZ(8deg) translateZ(-120px); }
.bro:hover .bro-mock .pg.p3 { transform: translateX(96px) rotateY(-18deg) rotateZ(4deg) translateZ(-80px); }
.bro:hover .bro-mock .pg.p2 { transform: translateX(40px) rotateY(-16deg) rotateZ(1deg) translateZ(-40px); }
.bro:hover .bro-mock .pg.p1 { transform: translateX(-46px) rotateY(-10deg) rotateZ(-2deg); }
@media (max-width: 520px) { .bro:hover .bro-mock .pg.p4 { transform: translateX(96px) rotateY(-20deg) rotateZ(8deg) translateZ(-120px); } }
.bro h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.03em; }
.bro .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.bro .thumbs a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.bro .thumbs a:hover { border-color: var(--blue); transform: translateY(-2px); }
.bro .thumbs img { display: block; width: 100%; height: auto; }
.bro .meta-row { display: flex; flex-wrap: wrap; gap: .4rem; }

/* home lead band */
.lead-band { position: relative; overflow: hidden; }
.lead-band .two { align-items: center; }
.mini-stack { position: relative; height: 330px; perspective: 1200px; }
@media (max-width: 520px) { .mini-stack { height: 230px; } }
.mini-stack .stack3d { transform: rotateX(6deg) rotateY(-8deg) scale(.78); }
@media (max-width: 520px) { .mini-stack .stack3d { transform: rotateX(6deg) rotateY(-8deg) scale(.5); } }
.wa-btn { display: inline-flex; align-items: center; gap: .55rem; }
.btn-wa { background: linear-gradient(180deg, #34d97a, var(--wa)); color: #04140a; box-shadow: 0 10px 30px -10px rgba(31, 191, 99, .7), inset 0 1px 0 rgba(255, 255, 255, .4); font-weight: 600; }
.btn-wa:hover { color: #04140a; filter: brightness(1.05); }
.btn-wa svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) { .ring, .stack3d .slot > .book, .halo, .phone, .float { animation: none !important; } }

/* =============================== EXTRAS =============================== */
.link-btn { background: none; border: 0; padding: 0 .1rem; min-height: 36px; font: inherit; color: var(--blue-fg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn b { font-weight: 600; }
.lp-form .hint .link-btn { min-height: 28px; font-size: .84rem; }
.lp-form .form-status { font-size: .88rem; }
.lp-btn-inline { width: auto; padding-inline: 1.6rem; justify-self: start; }
.lp-final-card { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .lp-final-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.lp-final-card h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.08; letter-spacing: -.04em; }
.lp-final-card h2 .pill { color: var(--wa); }
.lp-final-card .stack { gap: 1.1rem; }
.lp-final-card .mini-stack { height: 300px; }
.lp-final-card .mini-stack .stack3d { transform: rotateX(6deg) rotateY(-8deg) scale(.66); }
@media (max-width: 520px) { .lp-final-card .mini-stack { height: 240px; } .lp-final-card .mini-stack .stack3d { transform: rotateX(6deg) rotateY(-8deg) scale(.48); } }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-hero .lp-counts { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
@media (max-width: 979px) { .lp-foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } }
.lp-overlay[aria-hidden="true"] .box { visibility: hidden; }
.lp-overlay.on .box { visibility: visible; }
.shelf .book.md { --w: 140px; --h: 198px; --d: 18px; }
@media (max-width: 400px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shelf .book.md { --w: 124px; --h: 175px; --d: 16px; } }
.filters.pack-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
#inside [data-count] { margin-bottom: 1.2rem; }
@media (max-width: 460px) { .lp-form .step .opt { display: none; } }
