@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #172139;
  --muted: #68748a;
  --blue: #1854a4;
  --blue-dark: #103d7d;
  --red: #c42043;
  --cream: #fbfaf7;
  --surface: #fff;
  --line: #e7eaf0;
  --soft-blue: #edf5ff;
  --soft-red: #fff1f3;
  --success: #147d64;
  --shadow: 0 18px 50px rgba(25, 41, 77, .09);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.65 'DM Sans', sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: 'Manrope', sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.hide { display: none !important; }
.section { padding: 92px 0; }
.section-sm { padding: 54px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head p { max-width: 520px; }
.surface { background: var(--surface); }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.announcement { padding: 8px 20px; text-align: center; background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .02em; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(231,234,240,.85); background: rgba(251,250,247,.92); backdrop-filter: blur(15px); }
.nav { height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 178px; height: 48px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 27px; margin-left: auto; }
.nav-links a { color: #3f4960; font-weight: 600; font-size: .94rem; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.mobile-account-nav { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.user-greeting { display: inline-flex; align-items: center; gap: 4px; max-width: 190px; min-height: 42px; padding: 0 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); font-size: .82rem; white-space: nowrap; }
.user-greeting-icon { display: none; flex-shrink: 0; }
.user-greeting strong { overflow: hidden; color: var(--blue); text-overflow: ellipsis; }
.user-greeting:hover { border-color: #b9c5d8; }
.icon-button { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); }
.icon-button:hover { border-color: #b9c5d8; }
.cart-count { position: absolute; top: -5px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border: 2px solid var(--cream); border-radius: 20px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; }
.menu-button { display: none; }
.chatbot-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 65; width: 120px; height: 120px; display: grid; place-items: center; transition: transform .22s ease; }
.chatbot-launcher:hover { transform: translateY(-4px) scale(1.03); }
.chatbot-launcher:focus-visible { outline: 3px solid rgba(24,84,164,.3); outline-offset: 4px; }
.chatbot-launcher img { width: 120px; height: 120px; object-fit: contain; }
.chatbot-launcher span { position: absolute; right: calc(100% + 11px); padding: 7px 11px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(7px); transition: opacity .2s ease, transform .2s ease; }
.chatbot-launcher:hover span,
.chatbot-launcher:focus-visible span { opacity: 1; transform: translateX(0); }
.demo-fomo { position: fixed; left: 22px; bottom: 22px; z-index: 64; width: min(430px, calc(100vw - 44px)); min-height: 126px; display: grid; grid-template-columns: 82px 1fr; gap: 15px; align-items: center; padding: 16px 43px 16px 16px; border: 1px solid rgba(231,234,240,.92); border-radius: 19px; background: rgba(255,255,255,.97); box-shadow: 0 18px 55px rgba(19,34,65,.18); opacity: 0; pointer-events: none; transform: translate3d(-22px, 18px, 0); transition: opacity .3s ease, transform .3s ease; backdrop-filter: blur(14px); }
.demo-fomo.show { opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0); }
.demo-fomo-cover { width: 82px; height: 82px; object-fit: cover; border-radius: 11px; background: var(--soft-blue); }
.demo-fomo-content { min-width: 0; }
.demo-fomo-label { display: inline-flex; margin-bottom: 7px; padding: 3px 9px; border-radius: 999px; background: #fff0c7; color: #795600; font-size: .7rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.demo-fomo p { margin: 0; color: #354057; font-size: .89rem; line-height: 1.48; }
.demo-fomo p strong { color: var(--ink); }
.demo-fomo p b { color: var(--red); }
.demo-fomo p a { color: var(--blue); font-weight: 700; }
.demo-fomo p a:hover { text-decoration: underline; }
.demo-fomo small { display: block; margin-top: 7px; color: var(--muted); font-size: .72rem; }
.demo-fomo-close { position: absolute; top: 9px; right: 10px; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a94a6; font-size: 1.35rem; line-height: 1; }
.demo-fomo-close:hover { background: #f1f4f8; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(24,84,164,.2); background: var(--blue-dark); }
.btn-red { background: var(--red); }
.btn-red:hover { background: #a91b39; box-shadow: 0 10px 25px rgba(196,32,67,.2); }
.btn-outline { border-color: #cad2df; background: transparent; color: var(--ink); }
.btn-outline:hover { background: #fff; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: 6px; }
.btn-ghost:hover { background: transparent; box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 7px 13px; font-size: .88rem; }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 82% 34%, #e2f0ff 0, transparent 29%), linear-gradient(180deg, #fbfaf7 0%, #f7f9fc 100%); }
.hero::before { content: ''; position: absolute; width: 420px; height: 420px; left: -250px; top: 80px; border: 1px solid #d6e5f7; border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding: 78px 0 100px; }
.hero-copy h1 { max-width: 790px; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy .lead { margin: 26px 0 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: .88rem; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #e5f4ef; color: var(--success); font-style: normal; font-size: .7rem; font-weight: 800; }
.hero-art { position: relative; height: 540px; }
.hero-static-art { position: absolute; top: 0; left: 50%; width: min(100%, 490px); height: auto; max-height: none; transform: translateX(-50%); border: 1px solid rgba(214,229,247,.7); border-radius: 28px; box-shadow: 0 24px 55px rgba(21,37,70,.12); }
.hero-note { position: absolute; z-index: 5; right: 3%; bottom: 12%; width: 175px; padding: 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(10px); font-weight: 700; font-size: .9rem; }
.hero-note span { display: block; color: var(--red); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.value-strip { position: relative; z-index: 5; margin-top: -46px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.value-item { display: flex; gap: 15px; padding: 28px 30px; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--soft-blue); color: var(--blue); font-size: 1.25rem; }
.value-item p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }

.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.book-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.book-cover-wrap { position: relative; aspect-ratio: 1 / 1; display: block; overflow: hidden; background: transparent; }
.book-cover-wrap::after { content: none; }
.book-cover { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.book-badge { position: absolute; z-index: 2; top: 15px; left: 15px; padding: 5px 10px; border-radius: 20px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; }
.book-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.book-category { margin-bottom: 8px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.book-body h3 { font-size: 1.35rem; }
.book-subtitle { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 8px 0 20px; }
.book-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin: -7px 0 20px; }
.book-rating { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .82rem; }
.book-rating .rating-stars { font-size: .94rem; }
.book-rating strong { color: var(--ink); }
.book-orders { padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.book-orders strong { color: var(--ink); }
.book-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { font: 800 1.25rem 'Manrope', sans-serif; }
.price del { margin-left: 5px; color: #99a2b3; font: 500 .84rem 'DM Sans', sans-serif; }
.empty { grid-column: 1/-1; padding: 50px 24px; text-align: center; border: 1px dashed #ccd4df; border-radius: var(--radius); color: var(--muted); }

.idea-section { overflow: hidden; background: var(--ink); color: #fff; }
.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.idea-section .eyebrow { color: #7dc4ff; }
.idea-section .lead { color: #b8c2d3; margin-top: 20px; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #7dc4ff; font-weight: 800; }
.step p { color: #aeb8c9; margin: 5px 0 0; }

.testimonial-section { overflow: hidden; background: linear-gradient(180deg, #f7faff 0%, var(--cream) 100%); }
.testimonial-heading { max-width: 760px; }
.testimonial-heading .lead { margin: 16px 0 0; }
.testimonial-disclosure { display: inline-flex; margin: 24px 0 25px; padding: 8px 12px; border-radius: 8px; background: #fff5db; color: #735613; font-size: .78rem; }
.testimonial-track { width: 100vw; margin-left: calc(50% - 50vw); padding: 3px 0 22px; overflow: hidden; }
.testimonial-rail { display: flex; width: max-content; gap: 18px; animation: testimonial-marquee 150s linear infinite; will-change: transform; }
.testimonial-group { display: flex; gap: 18px; }
.testimonial-track:hover .testimonial-rail,
.testimonial-track:focus .testimonial-rail { animation-play-state: paused; }
.testimonial-card { flex: 0 0 340px; min-height: 278px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 38px rgba(25,41,77,.06); scroll-snap-align: start; }
.testimonial-stars { color: #f5a623; font-size: 1rem; letter-spacing: .1em; }
.testimonial-card blockquote { margin: 19px 0 28px; color: #303b52; font: 600 1.04rem/1.6 'Manrope', sans-serif; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--red)); color: #fff; font: 800 .92rem 'Manrope', sans-serif; }
.testimonial-card footer > span:last-child { min-width: 0; display: grid; }
.testimonial-card footer strong { overflow: hidden; color: var(--ink); font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.testimonial-card footer small { color: var(--muted); font-size: .78rem; }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center; padding: 48px 54px; border-radius: 22px; background: var(--soft-blue); }
.newsletter form { display: flex; min-width: min(430px, 100%); gap: 9px; }
.newsletter input { min-width: 0; flex: 1; }

.page-hero { padding: 76px 0 52px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.3rem); }
.page-hero .lead { margin: 18px auto 0; }
.filters { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-bottom: 34px; }
.search-box { position: relative; }
.search-box input { padding-left: 46px; }
.search-box span { position: absolute; top: 50%; left: 17px; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: var(--muted); font-weight: 700; font-size: .85rem; }
.chip.active, .chip:hover { border-color: var(--blue); color: var(--blue); background: var(--soft-blue); }

input, select, textarea { width: 100%; border: 1px solid #d9dee7; border-radius: 9px; background: #fff; color: var(--ink); outline: none; transition: border .2s, box-shadow .2s; }
input, select { height: 49px; padding: 0 14px; }
textarea { min-height: 135px; padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,84,164,.11); }
label { display: block; margin-bottom: 7px; font-size: .87rem; font-weight: 700; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 38px rgba(25,41,77,.05); }
.form-card h2 { margin-bottom: 24px; font-size: 1.7rem; }
.form-note { margin-top: 18px; color: var(--muted); text-align: center; font-size: .9rem; }
.form-note a { color: var(--blue); font-weight: 700; }
.alert { margin-bottom: 18px; padding: 12px 15px; border-radius: 9px; background: var(--soft-red); color: #9b1c36; font-size: .9rem; }
.alert.success { background: #eaf7f3; color: #11654f; }
.auth-wrap { width: min(calc(100% - 40px), 480px); margin: 65px auto 100px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; padding: 5px; border-radius: 11px; background: #e9edf3; }
.auth-tab { flex: 1; padding: 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; }
.auth-tab.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(20,32,55,.08); }
.auth-page-main { padding: 58px 20px 100px; background: radial-gradient(circle at 82% 12%, #e8f3ff 0, transparent 28%), radial-gradient(circle at 15% 85%, #fff0f3 0, transparent 25%), var(--cream); }
.auth-modern-shell { width: min(100%, 1040px); min-height: 650px; display: grid; grid-template-columns: .9fr 1.1fr; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(25,41,77,.12); }
.auth-promo { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(42px,6vw,74px); overflow: hidden; background: linear-gradient(145deg,#11213e 0%,#174f98 100%); color: #fff; }
.auth-promo::before,.auth-promo::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.auth-promo::before { width: 330px; height: 330px; right: -190px; top: -120px; }
.auth-promo::after { width: 210px; height: 210px; left: -120px; bottom: -85px; }
.auth-promo>* { position: relative; z-index: 1; }
.auth-promo .eyebrow { color: #91c8ff; }
.auth-promo h1 { max-width: 480px; font-size: clamp(2.7rem,5vw,4.5rem); }
.auth-promo>p { max-width: 450px; margin-top: 22px; color: #cad6e8; font-size: 1.02rem; }
.auth-benefits { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; color: #e2eaf6; font-size: .92rem; }
.auth-benefits li { display: flex; align-items: center; gap: 10px; }
.auth-benefits li span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 23px; border-radius: 50%; background: rgba(115,204,178,.16); color: #8ce0c6; font-size: .72rem; font-weight: 800; }
.signup-promo { background: linear-gradient(145deg,#711c42 0%,#c42043 100%); }
.signup-promo .eyebrow { color: #ffd0da; }
.signup-promo>p { color: #ffe1e7; }
.auth-proof { display: grid; gap: 5px; margin-top: 35px; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); }
.auth-proof span { color: #ffe4ea; font-size: .86rem; }
.auth-form-side { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px,6vw,72px); }
.auth-form-heading { margin-bottom: 28px; }
.auth-form-heading h2 { margin: 5px 0 9px; font-size: clamp(2rem,3vw,2.7rem); }
.auth-form-heading p { margin: 0; color: var(--muted); font-size: .92rem; }
.auth-form-heading a,.auth-consent a { color: var(--blue); font-weight: 700; }
.auth-kicker { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.secure-auth-form .field { margin-bottom: 19px; }
.secure-auth-form label { color: #354057; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 7px; }
.auth-label-row label { margin: 0; }
.auth-text-button,.auth-back { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: .82rem; font-weight: 700; }
.auth-back { margin-bottom: 25px; }
.password-input { position: relative; }
.password-input input { padding-right: 68px; }
.password-input button { position: absolute; top: 50%; right: 6px; min-width: 54px; padding: 7px; border: 0; border-radius: 7px; transform: translateY(-50%); background: #f0f4f8; color: #526078; font-size: .74rem; font-weight: 800; }
.auth-submit { margin-top: 7px; }
.auth-security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 17px 0 0; color: var(--muted); text-align: center; font-size: .76rem; }
.auth-security-note span { color: var(--success); font-size: 1rem; }
.password-guidance { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--muted); font-size: .75rem; }
.password-guidance strong { color: #a36509; }
.password-guidance strong[data-level="0"] { color: #a11c39; }
.password-guidance strong[data-level="3"],.password-guidance strong[data-level="4"] { color: var(--success); }
.auth-consent { display: flex; align-items: flex-start; gap: 10px; margin: 3px 0 18px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.auth-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--blue); }
.auth-honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(45px, 7vw, 90px); align-items: start; padding: 64px 0 110px; }
.product-cover-panel { position: sticky; top: 110px; aspect-ratio: 1 / 1; width: 100%; overflow: hidden; background: transparent; }
.product-cover { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.product-sale-badge { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: .76rem; font-weight: 800; }
.product-info { padding-top: 6px; }
.product-back { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.product-back:hover { color: var(--blue); }
.product-info h1 { max-width: 760px; margin-top: 10px; font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: 1.04; }
.product-info .lead { max-width: 680px; margin: 18px 0 20px; }
.product-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.product-rating { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; }
.product-rating strong { color: var(--ink); }
.product-orders { padding-left: 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.product-orders strong { color: var(--ink); }
.rating-stars { color: #f5a623; font-size: 1.12rem; letter-spacing: .08em; line-height: 1; }
.product-meta { display: flex; gap: 9px; flex-wrap: wrap; margin: 25px 0; padding: 0; color: var(--muted); font-size: .84rem; }
.product-meta span { padding: 7px 11px; border-radius: 999px; background: #f1f5f9; }
.product-price { margin: 28px 0 20px; font: 800 2.15rem 'Manrope', sans-serif; }
.product-price del { color: #929caf; font-size: 1rem; margin-left: 8px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-actions .btn { min-width: 150px; }
.product-description { max-width: 720px; margin: 42px 0 32px; }
.product-description h2 { margin-bottom: 16px; font-size: 1.7rem; }
.included { display: grid; gap: 11px; padding: 24px; border: 0; border-radius: 16px; background: #f3f6fa; }
.included span::before { content: '✓'; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 10px; border-radius: 50%; background: #e5f4ef; color: var(--success); font-size: .75rem; font-weight: 800; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; padding-bottom: 100px; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cart-item img { width: 76px; aspect-ratio: 3/4; object-fit: cover; border-radius: 5px; }
.cart-item .remove { border: 0; background: none; color: var(--muted); text-decoration: underline; font-size: .84rem; }
.summary { position: sticky; top: 110px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.summary h2 { margin-bottom: 22px; font-size: 1.45rem; }
.summary-row { display: flex; justify-content: space-between; gap: 15px; margin: 11px 0; color: var(--muted); }
.summary-row.total { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font: 800 1.15rem 'Manrope'; }
.coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.coupon-row input { min-width: 0; }
.checkout-form { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.demo-notice { display: flex; gap: 12px; margin: 20px 0; padding: 15px; border-radius: 10px; background: #fff7e9; color: #74500a; font-size: .88rem; }
.demo-notice.live { background: #eaf6f2; color: #12614f; }
.paypal-express { display: grid; gap: 12px; min-height: 54px; }
.paypal-express #paypal-button-container { width: 100%; min-height: 48px; }
.paypal-loading, .paypal-status { margin: 0; text-align: center; }
.paypal-loading { padding: 14px; border-radius: 10px; background: #f3f6fa; color: var(--muted); font-size: .9rem; }
.paypal-status:empty { display: none; }
.payment-divider { display: flex; align-items: center; gap: 13px; margin: 5px 0; color: var(--muted); font-size: .8rem; font-weight: 700; text-align: center; }
.payment-divider::before, .payment-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.card-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 4px; }
.card-field.full, .card-checkout .full { grid-column: 1 / -1; }
.card-field label { margin-bottom: 7px; color: var(--ink); font-size: .82rem; }
.paypal-card-field { height: 49px; overflow: hidden; border: 1px solid #d8dee8; border-radius: 9px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.paypal-card-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,84,164,.11); }
.card-security-note { margin: -2px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }

.library-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.library-card { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.library-card img { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: 7px; }
.library-card .btn { margin-top: 15px; }
.account-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.account-heading h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.account-controls { display: flex; align-items: center; gap: 12px; }
.account-nav { display: flex; gap: 7px; padding: 5px; border-radius: 11px; background: #e9edf3; }
.account-nav a { padding: 9px 14px; border-radius: 8px; color: var(--muted); font-weight: 700; font-size: .88rem; }
.account-nav a.active, .account-nav a:hover { background: #fff; color: var(--ink); box-shadow: 0 3px 12px rgba(20,32,55,.08); }
.account-signout { min-height: 49px; padding-inline: 18px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(196,32,67,.16); }
.account-signout:hover { box-shadow: 0 10px 25px rgba(196,32,67,.24); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.account-card h2 { margin-bottom: 8px; font-size: 1.55rem; }
.account-card > p { margin-bottom: 24px; }
.verification-state { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 5px 10px; border-radius: 20px; background: #eaf7f3; color: var(--success); font-size: .78rem; font-weight: 800; }
.verification-state.pending { background: #fff4df; color: #94600c; }
.orders-list { display: grid; gap: 15px; }
.order-row { display: grid; grid-template-columns: 1.1fr 1.3fr .7fr auto; gap: 22px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.order-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.order-number { font-family: 'Manrope', sans-serif; font-weight: 800; }
.status-pill { display: inline-flex; padding: 5px 10px; border-radius: 30px; background: #eef1f5; color: #5f6a7d; font-size: .75rem; font-weight: 800; text-transform: capitalize; }
.status-pill.paid { background: #e6f5f0; color: var(--success); }
.status-pill.pending { background: #fff4df; color: #94600c; }
.status-pill.failed, .status-pill.refunded, .status-pill.cancelled { background: var(--soft-red); color: #9c1c37; }
.order-detail { width: min(calc(100% - 40px), 880px); }
.order-back { display: inline-block; margin-bottom: 22px; color: var(--blue); font-weight: 700; }
.order-detail-head { display: flex; justify-content: space-between; gap: 25px; align-items: start; margin-bottom: 24px; }
.order-detail-head h1 { margin-top: 5px; font-size: clamp(2.2rem, 5vw, 3.7rem); }
.receipt { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.receipt-section { padding: 25px 28px; border-bottom: 1px solid var(--line); }
.receipt-section:last-child { border-bottom: 0; }
.receipt-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.receipt-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 15px; align-items: center; padding: 13px 0; }
.receipt-item + .receipt-item { border-top: 1px solid var(--line); }
.receipt-item img { width: 54px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.receipt-totals { width: min(100%, 360px); margin-left: auto; }
.preview-layout { display: grid; grid-template-columns: 290px 1fr; gap: clamp(35px, 7vw, 85px); align-items: start; }
.preview-aside { position: sticky; top: 110px; }
.preview-aside img { width: 100%; border-radius: 9px; box-shadow: 0 24px 50px rgba(25,41,77,.22); }
.preview-aside .btn { margin-top: 22px; }
.preview-reader { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 45px rgba(25,41,77,.06); }
.preview-reader-head { padding: 36px clamp(25px, 6vw, 64px); border-bottom: 1px solid var(--line); background: var(--soft-blue); }
.preview-reader-head h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.preview-content { padding: 45px clamp(25px, 6vw, 64px) 60px; }
.preview-content h2 { margin: 42px 0 14px; font-size: 1.65rem; }
.preview-content h2:first-child { margin-top: 0; }
.preview-content p { color: #4f5b71; font-size: 1.05rem; line-height: 1.8; }
.preview-end { margin-top: 45px; padding: 28px; border-radius: 13px; background: var(--cream); text-align: center; }
.category-hero { background: radial-gradient(circle at 80% 10%, #e3f0ff, transparent 30%); }
.standalone-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 80% 15%, #e3f0ff, transparent 31%), var(--cream); }
.standalone-card { width: min(100%, 690px); padding: 52px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.9); text-align: center; box-shadow: var(--shadow); }
.standalone-card img { width: 210px; margin: 0 auto 45px; }
.standalone-code { display: block; margin-bottom: 12px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.standalone-card h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.standalone-card p { max-width: 560px; margin: 22px auto 28px; color: var(--muted); font-size: 1.08rem; }
.standalone-link { display: block; margin-top: 18px; color: var(--blue); font-weight: 700; }
.success-card { width: min(calc(100% - 40px), 680px); margin: 70px auto 110px; padding: 50px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.success-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #e5f4ef; color: var(--success); font-size: 2rem; }
.download-list { display: grid; gap: 10px; margin: 26px 0; text-align: left; }
.download-list a { display: flex; justify-content: space-between; gap: 15px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); font-weight: 700; }

.content-page { width: min(calc(100% - 40px), 780px); margin: 70px auto 110px; }
.content-page h1 { margin-bottom: 24px; font-size: clamp(2.5rem,6vw,4rem); }
.content-page h2 { margin: 38px 0 12px; font-size: 1.6rem; }
.content-page p, .content-page li { color: #566176; }
.content-page ul { padding-left: 22px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 700; }
.faq-item p { padding: 0 20px 18px; margin: 0; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 55px; padding: 68px 0 50px; }
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; color: var(--muted); }
.footer-col h3 { margin-bottom: 15px; font-size: .94rem; letter-spacing: 0; }
.footer-col a { display: block; margin: 9px 0; color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 360px; padding: 14px 18px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow); animation: toast .25s ease-out; }
.toast.error { background: #991b34; }
.skeleton { min-height: 360px; border-radius: var(--radius); background: linear-gradient(100deg,#edf0f4 30%,#f7f8fa 45%,#edf0f4 60%); background-size: 250% 100%; animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { background-position-x: -250%; } }
@keyframes toast { from { opacity: 0; transform: translateY(12px); } }
@keyframes testimonial-marquee { to { transform: translateX(calc(-50% - 9px)); } }

@media (min-width: 961px) {
  .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(3.75rem, 4.35vw, 4.85rem);
    line-height: 1.08;
  }
}

@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 118px 20px auto; display: none; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links.open .mobile-account-nav { display: block; }
  .menu-button { display: grid; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-art { width: min(540px, 100%); margin: auto; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .idea-grid, .product-layout { grid-template-columns: 1fr; }
  .product-cover-panel { position: relative; top: auto; width: min(620px, 100%); }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .account-grid { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .preview-layout { grid-template-columns: 230px 1fr; gap: 35px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .auth-modern-shell { grid-template-columns: 1fr; width: min(100%,680px); }
  .auth-promo { min-height: 330px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .announcement { font-size: .74rem; }
  .nav { height: 69px; gap: 10px; }
  .brand img { width: 142px; }
  .nav-links { inset: 108px 14px auto; }
  .nav-actions { margin-left: auto; }
  .nav-actions .account-link { display: none; }
  .user-greeting { width: 42px; min-width: 42px; height: 42px; min-height: 42px; justify-content: center; padding: 0; border-radius: 50%; }
  .user-greeting-icon { display: block; }
  .chatbot-launcher { right: 12px; bottom: 12px; width: 92px; height: 92px; }
  .chatbot-launcher img { width: 92px; height: 92px; }
  .demo-fomo { left: 14px; bottom: 14px; width: calc(100vw - 28px); min-height: 112px; grid-template-columns: 68px 1fr; gap: 12px; padding: 13px 38px 13px 13px; border-radius: 16px; }
  .demo-fomo-cover { width: 68px; height: 68px; }
  .demo-fomo p { font-size: .8rem; }
  .demo-fomo small { font-size: .66rem; }
  .user-greeting > span, .user-greeting > strong { display: none; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 20px; }
  .testimonial-heading .lead { font-size: 1rem; }
  .testimonial-card { flex-basis: min(330px, calc(100vw - 42px)); }
  .hero { min-height: auto; }
  .hero::before { display: none; }
  .hero-grid { gap: 30px; padding: 55px 0 85px; }
  .hero-art { height: 410px; }
  .hero-static-art { width: min(100%, 374px); border-radius: 22px; }
  .hero-note { right: 0; bottom: 13%; width: 155px; padding: 14px; font-size: .82rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); }
  .book-grid, .library-grid { grid-template-columns: 1fr; }
  .book-cover-wrap { aspect-ratio: 1 / 1; }
  .idea-grid { gap: 45px; }
  .newsletter { grid-template-columns: 1fr; padding: 34px 24px; gap: 20px; }
  .newsletter form { min-width: 0; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .product-layout { padding-top: 30px; }
  .product-cover-panel { width: 100%; }
  .product-back { margin-bottom: 22px; }
  .product-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .product-actions .btn { min-width: 0; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-item { grid-template-columns: 65px 1fr; }
  .cart-item img { width: 62px; }
  .cart-item > .price { grid-column: 2; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .library-card { grid-template-columns: 85px 1fr; }
  .library-card img { width: 85px; }
  .account-heading { display: block; }
  .account-controls { display: grid; gap: 10px; margin-top: 22px; }
  .account-nav { width: 100%; margin-top: 0; overflow-x: auto; }
  .account-nav a { flex: 1; text-align: center; white-space: nowrap; }
  .account-signout { width: 100%; }
  .order-row { grid-template-columns: 1fr; gap: 13px; }
  .order-detail { width: min(calc(100% - 28px), 880px); }
  .order-detail-head { display: block; }
  .order-detail-head .status-pill { margin-top: 12px; }
  .receipt-meta { grid-template-columns: 1fr; }
  .receipt-item { grid-template-columns: 48px 1fr; }
  .receipt-item > .price { grid-column: 2; }
  .preview-layout { grid-template-columns: 1fr; }
  .preview-aside { position: static; width: min(230px, 70%); margin: auto; }
  .standalone-card { padding: 38px 22px; }
  .success-card { padding: 35px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { display: block; }
  .auth-page-main { padding: 28px 14px 65px; }
  .auth-modern-shell { border-radius: 19px; }
  .auth-promo { min-height: 280px; padding: 38px 28px; }
  .auth-promo h1 { font-size: 2.65rem; }
  .auth-benefits { display: none; }
  .auth-form-side { padding: 36px 25px 42px; }
}

@media (max-width: 480px) {
  .card-checkout { grid-template-columns: 1fr; }
  .card-field.full, .card-checkout .full { grid-column: auto; }
  .brand img { width: 118px; }
  .nav-actions { gap: 7px; }
  .user-greeting { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track { width: 100%; margin-left: 0; overflow-x: auto; }
  .testimonial-rail { animation: none; }
  .testimonial-group[aria-hidden="true"] { display: none; }
  .demo-fomo { transition: opacity .15s ease; transform: none; }
}
