/* «Sokin kuch» sayti: yorqin, iliq oq fon, yumshoq rangli to'lqinlar; qorong'i muqovalar shu fonda ajralib turadi. Telefon birinchi. */
:root {
  --bg: #fbf8f3; --bg2: #f4efe6; --card: #ffffff; --line: #ece5d9; --ink: #1f2433; --muted: #5b6273; --faint: #8b91a0;
  --acc: #6d4aff; --acc-soft: #efeaff; --hot: linear-gradient(135deg, #ff8a3d 0%, #ff4f6d 100%); --tg: #229ed9;
  --mesh: radial-gradient(48% 60% at 8% 12%, #ffe1cf 0, transparent 70%), radial-gradient(45% 55% at 92% 6%, #e6defe 0, transparent 70%), radial-gradient(50% 60% at 78% 96%, #d3f4ea 0, transparent 70%), radial-gradient(40% 50% at 18% 92%, #fff0c4 0, transparent 70%);
  --shadow: 0 1px 2px #1f24330d, 0 10px 30px #1f243314;
  --sans: Jost, Futura, "Avenir Next", system-ui, sans-serif; --serif: Lora, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
h1, h2 { font-weight: 700; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.faint { color: var(--faint); }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); font-weight: 600; margin: 0 0 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { font-weight: 500; opacity: .65; font-size: 13px; }
.btn.hot { background: var(--hot); color: #fff; box-shadow: 0 8px 22px #ff5a5a40; }
.btn.hot:hover { box-shadow: 0 10px 28px #ff5a5a59; transform: translateY(-1px); }
.btn.tg { background: var(--tg); color: #fff; box-shadow: 0 8px 22px #229ed933; }
.btn.tg:hover { background: #1b8cc2; }
.btn.ghost { border-color: #d9d0c2; color: var(--ink); background: #ffffffb3; }
.btn.ghost:hover { background: #fff; border-color: #c9bfae; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 11px; box-shadow: none; }

/* yuqori panel */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; padding-top: max(10px, env(safe-area-inset-top)); background: #fbf8f3d9; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { display: block; font-size: 17px; line-height: 1.1; letter-spacing: .02em; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #b07a1e; }

/* bosh sahifa: hero */
.hero { background: var(--mesh), var(--bg); overflow: hidden; }
.hero-in { display: grid; gap: 30px; padding-top: 44px; padding-bottom: 52px; }
.hero h1 { font-size: clamp(34px, 8.5vw, 60px); line-height: 1.05; text-transform: uppercase; }
.hero h1 em { font-style: normal; display: block; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-family: var(--serif); font-size: 18px; color: #3d4352; margin-top: 18px; max-width: 34em; }
.fan { position: relative; height: 230px; }
.fan img { position: absolute; width: 140px; border-radius: 5px; box-shadow: 0 18px 40px #1f243340, 0 2px 6px #1f243326; }
.fan .f0 { left: calc(50% - 190px); top: 40px; transform: rotate(-10deg); }
.fan .f1 { left: calc(50% - 125px); top: 18px; transform: rotate(-5deg); z-index: 2; }
.fan .f2 { left: calc(50% - 70px); top: 0; z-index: 3; }
.fan .f3 { left: calc(50% - 15px); top: 18px; transform: rotate(5deg); z-index: 2; }
.fan .f4 { left: calc(50% + 50px); top: 40px; transform: rotate(10deg); }
@media (min-width: 860px) {
  .hero-in { grid-template-columns: 1.1fr 1fr; align-items: center; padding-top: 72px; padding-bottom: 84px; }
  .fan { height: 400px; }
  .fan img { width: 220px; }
  .fan .f0 { left: calc(50% - 300px); top: 70px; } .fan .f1 { left: calc(50% - 200px); top: 35px; } .fan .f2 { left: calc(50% - 110px); top: 0; }
  .fan .f3 { left: calc(50% - 20px); top: 35px; } .fan .f4 { left: calc(50% + 80px); top: 70px; }
}

/* qadamlar */
.steps { display: grid; gap: 12px; padding-top: 28px; padding-bottom: 8px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 700; margin-bottom: 10px; }
.step:nth-child(1) span { background: linear-gradient(135deg, #ff8a3d, #ff4f6d); }
.step:nth-child(2) span { background: linear-gradient(135deg, #8a6bff, #5a3df0); }
.step:nth-child(3) span { background: linear-gradient(135deg, #2bc4a8, #229ed9); }
.step b { display: block; font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* kitoblar panjarasi */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 18px; flex-wrap: wrap; }
.sec-h h2 { font-size: 28px; }
.sec-h .faint { font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(5, 1fr); } .grid.six { grid-template-columns: repeat(6, 1fr); } }
.card { color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.cov { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 420 / 595; background: var(--k, #1c2a44); box-shadow: 0 12px 28px #1f243333, 0 2px 6px #1f24331f; transition: transform .25s, box-shadow .25s; }
.cov img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .cov { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 22px 40px #1f243340, 0 0 0 3px color-mix(in srgb, var(--k) 45%, #fff); }
.card.soon { cursor: default; }
.card.soon .cov img { filter: saturate(.75) brightness(.92); }
.card.soon:hover .cov { transform: none; box-shadow: 0 12px 28px #1f243333, 0 2px 6px #1f24331f; }
.badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; background: #ffffffeb; color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 6px 14px; border-radius: 99px; box-shadow: 0 6px 16px #1f243340; }
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); margin-right: 7px; vertical-align: 1px; }
.card.soon .meta .no { color: var(--faint); }
.meta .no { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); font-weight: 600; }
.meta b { display: block; font-size: 17px; line-height: 1.25; margin: 2px 0 3px; }
.meta .sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-style: italic; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* tuzuvchi */
.about > div { margin-top: 52px; background: var(--mesh), #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; box-shadow: var(--shadow); }
.about h2 { font-size: 28px; margin-bottom: 10px; }
.about p { font-family: var(--serif); font-size: 17px; color: #3d4352; max-width: 40em; }
.about p.faint { font-size: 15px; color: var(--faint); }

/* kitob sahifasi */
.bhero { background: radial-gradient(60% 70% at 12% 8%, color-mix(in srgb, var(--k) 30%, transparent) 0, transparent 70%), var(--mesh), var(--bg); }
.bgrid { display: grid; gap: 26px; padding-top: 24px; padding-bottom: 40px; }
.bcov { max-width: 220px; width: 58%; margin: 6px auto 0; }
.bcov img { width: 100%; border-radius: 6px; box-shadow: 0 30px 60px #1f243355, 0 4px 10px #1f243326; }
.back { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.btxt h1 { font-size: clamp(32px, 8vw, 52px); line-height: 1.05; text-transform: uppercase; }
.tag-line { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: #3d4352; margin: 12px 0 20px; }
blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 4px solid; border-image: var(--hot) 1; font-size: 20px; line-height: 1.35; font-weight: 600; }
.btxt > p { font-family: var(--serif); font-size: 17px; color: #3d4352; }
.btxt > p.kicker { font: 600 12px/1.5 var(--sans); color: var(--acc); }
.facts { font-family: var(--sans) !important; font-size: 14px !important; color: var(--faint) !important; letter-spacing: .04em; }
.buy { display: grid; gap: 12px; margin-top: 22px; }
.opt { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.opt b { display: block; font-size: 17px; }
.opt > div span { color: var(--muted); font-size: 14.5px; }
.opt .btn { width: 100%; }
.opt.main { background: linear-gradient(135deg, #fff7f1, #fff 55%, #f6f2ff); border-color: #ffd6c7; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { display: none; }
.why { animation: och .35s ease; }
.why p { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: #3d4352; margin: 0 0 10px; }
.why p:first-child { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--ink); }
.why .btn { margin-top: 6px; }
.note { margin: 10px 0 0 !important; font-family: var(--sans) !important; font-size: 13.5px !important; color: var(--faint) !important; text-align: center; }
@keyframes och { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 860px) {
  .bgrid { grid-template-columns: 380px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
  .bcov { width: 100%; max-width: none; margin: 0; position: sticky; top: 90px; }
}

/* mundarija */
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .toc { grid-template-columns: 1fr 1fr; } }
.toc > li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.toc > li.bor { border-color: #cfc2ff; background: linear-gradient(135deg, #fff, #f7f4ff); }
.qh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lab { font-size: 11.5px; letter-spacing: .16em; color: var(--acc); font-weight: 600; text-transform: uppercase; }
.tag { font-size: 11px; background: var(--acc-soft); color: var(--acc); border-radius: 99px; padding: 2px 10px; font-weight: 600; }
.toc b { display: block; font-size: 19px; margin: 4px 0; }
.sv { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.toc ul { margin: 6px 0 0; padding-left: 18px; color: #4a5060; font-size: 14.5px; }
.toc ul li { margin: 2px 0; }
.more { margin-top: 16px; color: var(--muted); font-size: 15px; }

/* telefon: pastdagi doimiy tugma */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: #ffffffe6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px #1f243314; }
.sticky b { display: block; font-size: 15px; line-height: 1.2; }
.sticky > div span { display: block; font-size: 13px; color: #1f9d7a; font-weight: 600; }
.sticky .btn { min-height: 46px; flex: none; padding: 0 18px; }
body:has(.sticky) .foot { padding-bottom: 96px; }
@media (min-width: 860px) { .sticky { display: none; } body:has(.sticky) .foot { padding-bottom: 40px; } }

/* pastki qism */
.foot { margin-top: 64px; background: var(--bg2); border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 15px; }
.foot .brand { margin-bottom: 14px; }
.foot .links a { color: var(--ink); font-weight: 500; }
.foot .faint { font-size: 13px; }
