:root {
--bg: #fcfaf4;
--surface: #ffffff;
--fg: #272a64;
--muted: #5c687c;
--line: #e6e2ef;
--mint: #64d8b4;
--mint-ink: #0f7d5c;
--label-bg: #272a64;
--label-ink: #ffffff;
--btn-bg: #272a64;
--btn-ink: #ffffff;
--t-lav: #f3ebfc;
--t-pink: #fde9f2;
--t-mint: #e3f8ef;
--t-blue: #e4f1fd;
--t-cream: #fff3e4;
--font: "Poppins", "Trebuchet MS", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg: #14163a; --surface: #1d2050; --fg: #f4f2fb; --muted: #b0b6d6; --line: #2e3270;
--mint: #64d8b4; --mint-ink: #64d8b4; --label-bg: #3b40a0; --label-ink: #ffffff;
--btn-bg: #64d8b4; --btn-ink: #14163a;
--t-lav: #25285f; --t-pink: #3a2352; --t-mint: #16384a; --t-blue: #1b3566; --t-cream: #33284d;
color-scheme: dark;
}
}
:root[data-theme="dark"] {
--bg: #14163a; --surface: #1d2050; --fg: #f4f2fb; --muted: #b0b6d6; --line: #2e3270;
--mint: #64d8b4; --mint-ink: #64d8b4; --label-bg: #3b40a0; --label-ink: #ffffff;
--btn-bg: #64d8b4; --btn-ink: #14163a;
--t-lav: #25285f; --t-pink: #3a2352; --t-mint: #16384a; --t-blue: #1b3566; --t-cream: #33284d;
color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; padding-inline: 20px; padding-block: 0; }
.wrap { max-width: 1080px; margin-inline: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.tag { background: var(--label-bg); color: var(--label-ink); padding: 0.06em 0.32em; line-height: 1.55; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; }
.brand img { width: 46px; height: 46px; border-radius: 22%; display: block; background: #fff; border: 1px solid var(--line); }
.top a.mini { font-size: 14px; font-weight: 600; text-decoration: none; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 18px; border-radius: 999px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 44px; align-items: center; padding-block: 36px 52px; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 22px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 32em; margin: 0 0 8px; }
.lead b { color: var(--fg); font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 190px; padding: 12px 22px; border-radius: 14px; text-decoration: none; line-height: 1.2; background: var(--btn-bg); color: var(--btn-ink); border: 2px solid var(--btn-bg); }
.btn small { font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.btn b { font-size: 19px; font-weight: 700; }
.btn.alt { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn:hover { transform: translateY(-1px); }
.badge { display: inline-flex; align-items: center; line-height: 0; border-radius: 10px; }
.badge img { height: 52px; width: auto; display: block; }
.badge:hover { transform: translateY(-1px); }
.btn { min-height: 52px; }
.fine { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.samples h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: start; min-height: 150px; }
.tile.lav { background: var(--t-lav); } .tile.pink { background: var(--t-pink); } .tile.mint { background: var(--t-mint); } .tile.blue { background: var(--t-blue); } .tile.cream { background: var(--t-cream); }
.tile img { width: 74px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; display: block; box-shadow: 0 6px 14px rgba(39, 42, 100, 0.22); }
.tile .txt { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; height: 100%; min-width: 0; }
.tile h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tile p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.chip { align-self: flex-start; background: var(--label-bg); color: var(--label-ink); font-size: 12px; font-weight: 600; line-height: 1.3; padding: 5px 9px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-block: 8px 56px; perspective: 900px; }
.stat { --mx: 50%; --my: 50%; --glare: rgba(255, 255, 255, 0.42); position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 18px;
display: flex; flex-direction: column; gap: 6px; min-height: 196px; transition: transform 0.2s ease-out, box-shadow 0.25s ease; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat { --glare: rgba(255, 255, 255, 0.09); } }
:root[data-theme="dark"] .stat { --glare: rgba(255, 255, 255, 0.09); }
.stat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), var(--glare), transparent 62%); opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.stat:hover::after { opacity: 1; }
.stat:hover { box-shadow: 0 18px 36px rgba(39, 42, 100, 0.16); }
.stat.pressed { transform: scale(0.97) !important; }
@media (hover: none) { .stat:active { transform: scale(0.97); } }
.s-books { background: var(--t-lav); } .s-time { background: var(--t-mint); } .s-mode { background: var(--t-pink); }
.stat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 64px; margin-bottom: 6px; }
.stat .lbl { color: var(--fg); font-weight: 600; font-size: 14.5px; }
.stat .sub { color: var(--muted); font-size: 13px; line-height: 1.45; }
.spines { display: flex; align-items: flex-end; gap: 3px; height: 58px; }
.spines span { width: 7px; border-radius: 2px 2px 1px 1px; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1); }
.spines.grow span { transform: scaleY(1); }
.spines span.new { animation: drop 0.65s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes drop { from { transform: translateY(-22px); opacity: 0; } to { transform: none; opacity: 1; } }
.ring { width: 66px; height: 66px; flex: none; overflow: visible; }
.ring-bg { fill: var(--surface); stroke: var(--line); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--mint-ink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; transform: rotate(-90deg); transform-origin: 33px 33px; transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hand { stroke: var(--fg); stroke-width: 3; stroke-linecap: round; transform-origin: 33px 33px; transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ring .dot { fill: var(--fg); }
.stats.in .ring-fg { stroke-dashoffset: 45; }
.stats.in .hand { transform: rotate(90deg); }
.mode-vis { width: 86px; height: 56px; position: relative; flex: none; }
.mode-vis .txt, .mode-vis .wave { position: absolute; inset: 0; display: flex; transition: opacity 0.35s, transform 0.35s; }
.mode-vis .txt { flex-direction: column; justify-content: center; gap: 7px; }
.mode-vis .txt i { display: block; height: 6px; border-radius: 3px; background: var(--fg); opacity: 0.75; }
.mode-vis .wave { align-items: center; justify-content: space-between; }
.mode-vis .wave i { width: 6px; height: 100%; border-radius: 3px; background: var(--mint-ink); transform: scaleY(0.3); animation: wv 1s ease-in-out infinite; }
.mode-vis .wave i:nth-child(2) { animation-delay: -0.2s; } .mode-vis .wave i:nth-child(3) { animation-delay: -0.5s; } .mode-vis .wave i:nth-child(4) { animation-delay: -0.1s; }
.mode-vis .wave i:nth-child(5) { animation-delay: -0.7s; } .mode-vis .wave i:nth-child(6) { animation-delay: -0.35s; } .mode-vis .wave i:nth-child(7) { animation-delay: -0.6s; }
@keyframes wv { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(0.9); } }
.s-mode[data-m="baca"] .wave { opacity: 0; transform: translateY(8px); }
.s-mode[data-m="dengar"] .txt { opacity: 0; transform: translateY(-8px); }
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 4px; }
.toggle::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--label-bg); transition: transform 0.35s cubic-bezier(0.3, 1.3, 0.5, 1); }
.s-mode[data-m="dengar"] .toggle::before { transform: translateX(100%); }
.toggle button { position: relative; z-index: 1; border: 0; background: none; font: 600 13px/1 var(--font); padding: 8px 14px; min-width: 76px; border-radius: 999px; color: var(--fg); cursor: pointer; transition: color 0.3s, transform 0.15s; }
.toggle button[aria-pressed="true"] { color: var(--label-ink); }
.toggle button:active { transform: scale(0.94); }
.js .stats:not(.in) .stat { opacity: 0; }
.stats.in .stat { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.stats.in .stat:nth-child(2) { animation-delay: 0.12s; } .stats.in .stat:nth-child(3) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
.js .stats:not(.in) .stat { opacity: 1; }
.stats.in .stat, .mode-vis .wave i, .spines span.new { animation: none; }
.ring-fg, .hand, .spines span, .toggle::before, .stat { transition: none; }
}
.stat strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat strong i { font-style: normal; color: var(--mint-ink); }
.stat .live { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--mint-ink); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); display: inline-block; box-shadow: 0 0 0 0 rgba(100, 216, 180, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(100, 216, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(100, 216, 180, 0); } }
#bookCount { font-weight: inherit; display: inline-block; }
#bookCount.tick { animation: tick 0.5s ease; }
@keyframes tick { 0% { transform: translateY(0); color: inherit; } 35% { transform: translateY(-4px); color: var(--mint-ink); } 100% { transform: translateY(0); color: inherit; } }
section { padding-block: 44px; }
section h2.sec { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; line-height: 1.4; margin-bottom: 26px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: 20px; padding: 24px; min-height: 150px; }
.card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card.lav { background: var(--t-lav); } .card.pink { background: var(--t-pink); } .card.mint { background: var(--t-mint); } .card.blue { background: var(--t-blue); } .card.cream { background: var(--t-cream); }
.who { --dot: rgba(39, 42, 100, 0.14); --ill-bg: rgba(255, 255, 255, 0.65); --accent: #ef7fae;
position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 0; padding: 18px 22px 22px;
transition: transform 0.35s ease, box-shadow 0.35s ease; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .who { --dot: rgba(255, 255, 255, 0.09); --ill-bg: rgba(255, 255, 255, 0.07); } }
:root[data-theme="dark"] .who { --dot: rgba(255, 255, 255, 0.09); --ill-bg: rgba(255, 255, 255, 0.07); }
.who::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1.3px, transparent 1.6px); background-size: 15px 15px;
-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 62%); mask-image: linear-gradient(to bottom, #000 0%, transparent 62%); pointer-events: none; }
.who > * { position: relative; }
.who .ill { height: 128px; border-radius: 16px; background: var(--ill-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.who .ill svg { width: 132px; height: 100px; display: block; overflow: visible; }
.who h3 { font-size: 1.15rem; }
.who p { color: var(--fg); font-weight: 500; }
.who p.more { color: var(--muted); font-weight: 400; margin: 8px 0 18px; }
.who .ctx { margin-top: auto; align-self: flex-start; background: var(--label-bg); color: var(--label-ink); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 6px; }
.who .ctx::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: 7px; vertical-align: 1px; }
.who:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(39, 42, 100, 0.14); }
.ink { fill: var(--fg); } .ink-s { stroke: var(--fg); } .mintf { fill: var(--mint); } .paper { fill: var(--surface); } .acc { fill: var(--accent); }
.blob { fill: var(--mint); opacity: 0.22; }
.eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: eq 1.1s ease-in-out infinite; }
.eq rect:nth-child(2) { animation-delay: -0.3s; } .eq rect:nth-child(3) { animation-delay: -0.6s; } .eq rect:nth-child(4) { animation-delay: -0.85s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.rays line { animation: rays 2.2s ease-in-out infinite; }
.bulb { transform-box: fill-box; transform-origin: center; animation: glow 2.2s ease-in-out infinite; }
@keyframes rays { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.booktop { animation: pull 4s ease-in-out infinite; }
@keyframes pull { 0%, 60%, 100% { transform: translateX(0); } 72%, 88% { transform: translateX(10px); } }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in:hover { transform: translateY(-4px); }
.js .cols .reveal:nth-child(2) { transition-delay: 0.12s; } .js .cols .reveal:nth-child(3) { transition-delay: 0.24s; }
.js .cols .reveal.in:nth-child(n):hover { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
.eq rect, .rays line, .bulb, .booktop, .float { animation: none; }
.js .reveal { opacity: 1; transform: none; transition: none; }
.who:hover, .js .reveal.in:hover { transform: none; }
}
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.topics li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 14.5px; }
.note { margin: 24px 0 0; color: var(--muted); max-width: 40em; }
.cta { background: var(--label-bg); color: var(--label-ink); border-radius: 28px; padding: clamp(28px, 5vw, 52px); margin-block: 20px 56px; display: grid; gap: 20px; }
.cta h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.cta p { margin: 0; opacity: 0.88; max-width: 34em; }
.cta .btn { background: var(--mint); color: #14163a; border-color: var(--mint); }
.cta .btn.alt { background: transparent; color: #fff; border-color: #fff; }
footer { border-top: 1px solid var(--line); padding-block: 26px 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-underline-offset: 3px; }
@media (max-width: 860px) { .cols.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
.hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 12px 40px; }
.cols { grid-template-columns: minmax(0, 1fr); }
.btn { flex: 1 1 100%; }
}
@media (max-width: 520px) {
.grid2 { grid-template-columns: minmax(0, 1fr); }
.tile { min-height: 0; }
.stats { grid-template-columns: minmax(0, 1fr); }
.cols.four { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .btn:hover, .badge:hover { transform: none; } .pulse, #bookCount.tick { animation: none; } }
