/* Сказки в обнимку — landing. Warm bedtime look: cream paper, terracotta accent, gold line icons, watercolor brush edges.
   One system: Lora headings, Nunito text, Marck Script only in the logo. */
:root {
  --bg: #faf1e4; --paper: #fffaf2; --ink: #2f2420; --muted: #6e5c52; --line: #ead9c4; --soft: #f5e4cf;
  --accent: #c25b3c; --accent-hover: #a94a2e; --accent-ink: #a34a2e; --gold: #c39343; --sage: #8fa58a;
  --night: #2b1e18; --night-ink: #f7e9d7; --night-muted: #d6bfa9; --heart: #e5484d;
  --r-s: 14px; --r-m: 22px; --r-l: 32px; --shadow: 0 14px 34px rgba(110, 60, 30, .10);
  --wrap: 1200px; --wide: 1400px; --pad: 24px; --head-h: 112px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Nunito", system-ui, sans-serif; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); }
h1, h2 { text-wrap: balance; }
h1, h2, h3 { font-family: "Lora", Georgia, serif; font-weight: 700; color: var(--ink); margin: 0; }
h2 em, h1 em { font-style: normal; color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.wide { max-width: none; padding: 0 clamp(16px, 3.6vw, 72px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 12px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* brush edge: every picture inside the page dissolves into the paper like a watercolor stroke */
.brush { -webkit-mask: url(/site/img/mask-brush.png) center / 100% 100% no-repeat; mask: url(/site/img/mask-brush.png) center / 100% 100% no-repeat; }

/* buttons: solid terracotta pill + outline pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 0; border-radius: 99px;
  font: 700 18px/1 "Nunito", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; color: #fff; background: var(--accent);
  box-shadow: 0 1px 2px rgba(31, 27, 22, .08), 0 8px 20px rgba(31, 27, 22, .10), inset 0 -2px 0 rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgba(31, 27, 22, .08), 0 12px 24px rgba(31, 27, 22, .14); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 2px rgba(31, 27, 22, .10), 0 4px 12px rgba(31, 27, 22, .10); }
.btn .arr { width: 26px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.big { min-height: 72px; padding: 0 40px; font-size: 24px; font-weight: 600; letter-spacing: .1px; }
.btn.outline { background: transparent; color: var(--ink); box-shadow: none; border: 1.6px solid rgba(47, 36, 32, .55); min-height: 48px; padding: 0 24px; font-size: 16px; }
.btn.outline:hover { border-color: var(--accent); color: var(--accent-ink); background: rgba(255, 250, 242, .6); }
.spark { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }
/* glossy CTA like the reference: a flat terracotta pill with thin glass glints that hug its rounded ends
   (a bright one at the upper left, faint ones at the lower left and upper right) and a faint light rim along the bottom */
.btn.gloss { position: relative; background: linear-gradient(180deg, #c55e40 0%, #bf583a 55%, #b75235 100%);
  box-shadow: 0 0 0 1px rgba(150, 58, 32, .35), 0 8px 20px rgba(31, 27, 22, .12), inset 0 -2px 4px rgba(90, 30, 10, .16), inset 0 1px 0 rgba(255, 255, 255, .10); }
.btn.gloss::before { content: ""; position: absolute; inset: 4px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .8); pointer-events: none;
  -webkit-mask: radial-gradient(26px 20px at 13px 13px, #000 35%, transparent 100%), radial-gradient(20px 16px at 9px calc(100% - 14px), rgba(0, 0, 0, .5) 30%, transparent 100%), radial-gradient(24px 18px at calc(100% - 14px) 14px, rgba(0, 0, 0, .75) 30%, transparent 100%);
  mask: radial-gradient(26px 20px at 13px 13px, #000 35%, transparent 100%), radial-gradient(20px 16px at 9px calc(100% - 14px), rgba(0, 0, 0, .5) 30%, transparent 100%), radial-gradient(24px 18px at calc(100% - 14px) 14px, rgba(0, 0, 0, .75) 30%, transparent 100%); }
.btn.gloss:hover { background: linear-gradient(180deg, #ba5537 0%, #b04d30 55%, #a4462b 100%); }

/* header: over the hero, gets a paper background when the page scrolls */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background-color .25s, box-shadow .25s; }
.top.solid { background: rgba(250, 240, 227, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: var(--head-h); transition: height .25s; }
.top.solid .wrap { height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo { gap: 8px; }
.logo .mark { width: 86px; height: auto; transition: transform .3s, width .25s; }
.logo:hover .mark { transform: rotate(-4deg) scale(1.04); }
.logo .wordmark { height: 82px; width: auto; transition: height .25s; }
.top.solid .logo .mark { width: 64px; } .top.solid .logo .wordmark { height: 60px; }
.top nav { display: flex; gap: 36px; margin: 0 auto 0 clamp(28px, 5vw, 120px); }
.top .login { margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; padding: 12px 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 85% / 0 2px no-repeat; transition: background-size .25s, color .2s; }
.top nav a:hover { color: var(--accent-ink); background-size: 100% 2px; }
/* «Войти» like the reference: a dark see-through pill with a thin gold rim, a cream person icon and light text.
   Hover: it lifts a little, the rim warms up, a soft glint runs across and the icon gives a small hop. */
.btn.login { position: relative; overflow: hidden; gap: 12px; min-height: 50px; padding: 0 28px 0 20px; color: #fff8ef; font-weight: 400; font-size: 19px;
  background: rgba(38, 26, 18, .58); border: 2px solid #d8ad7f; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(30, 18, 10, .22), inset 0 1px 0 rgba(255, 236, 205, .10);
  transition: transform .2s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.btn.login::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 232, 196, .32) 50%, transparent 70%); transition: transform .7s ease; }
.btn.login:hover { color: #fff; background: rgba(48, 33, 22, .68); border-color: #f0c99c; transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 18, 10, .30), 0 0 0 3px rgba(240, 201, 156, .18), inset 0 1px 0 rgba(255, 236, 205, .16); }
.btn.login:hover::after { transform: translateX(120%); }
.btn.login:hover svg { animation: hop .5s ease; }
.btn.login:active { transform: translateY(0) scale(.97); }
.login svg { width: 23px; height: 23px; fill: #f1d9b2; flex: none; }
.top.solid .btn.login { background: rgba(46, 32, 23, .94); }
.top.solid .btn.login:hover { background: rgba(58, 40, 28, .96); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px); } 70% { transform: translateY(1px); } }

/* sections */
section { padding: 104px 0; position: relative; }
.head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.head h2 { font-size: 44px; line-height: 1.14; }
.head p { color: var(--muted); font-size: 19px; margin: 16px 0 0; }
.night { color: var(--night-ink);
  background: var(--night); }
.night h2, .night h3 { color: var(--night-ink); }
.night h2 em { color: #ec9a72; }
.night .head p, .night .lead { color: var(--night-muted); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 27, 22, .10); }
.zoom { overflow: hidden; }
img.brush { transition: transform .5s ease; }
figure:hover img.brush, .item:hover img.brush, .book-item:hover img.brush, .step:hover img.brush { transform: scale(1.03); }

/* hero: text on the left, the evening picture on the right dissolving into the paper and flowing into the next screen */
.hero { padding: 0; min-height: clamp(640px, 100svh, 980px); display: flex; align-items: center; z-index: 1; }
.hero-art { position: absolute; top: 0; right: 0; width: 69%; height: calc(100% + 40px); z-index: -1; pointer-events: none; }
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 0 0;
  -webkit-mask: url(/site/img/mask-ref.png) 0 0 / 100% 100% no-repeat; mask: url(/site/img/mask-ref.png) 0 0 / 100% 100% no-repeat; }
.hero .wrap { width: 100%; }
.hero-text { max-width: 33vw; min-width: 460px; padding: calc(var(--head-h) + 24px) 0 64px; }
.hero h1 { font-size: clamp(36px, 3.8vw, 70px); line-height: 1.08; letter-spacing: -.6px; margin: 0 0 28px; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .hl { color: var(--accent); position: relative; width: max-content; }
.hero h1 .h1-spark { position: absolute; left: calc(100% + .34em); top: 50%; width: 1.2em; height: .99em; transform: translateY(-46%); stroke-width: 10.5; }
.lead { font-size: clamp(18px, 1.35vw, 24px); line-height: 1.5; color: var(--muted); margin: 0 0 36px; max-width: 100%; }
.hero-actions { position: relative; display: inline-block; }
.btn-spark { position: absolute; right: -58px; top: -22px; width: 50px; height: 46px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); margin: 48px 0 0; padding: 0; list-style: none; max-width: 100%; }
.perks li { text-align: center; font-size: clamp(14px, .95vw, 17px); line-height: 1.3; font-weight: 600; color: var(--ink); padding: 0 8px; }
.perks li + li { border-left: 1px solid var(--line); }
.perks svg { display: block; width: 46px; height: 46px; margin: 0 auto 12px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perks circle[r=".6"] { fill: var(--gold); stroke-width: 1.4; }
.after-hero { z-index: 2; padding-top: 72px; }
[data-enter] .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
[data-enter] .hero-text > :nth-child(2) { animation-delay: .1s; } [data-enter] .hero-text > :nth-child(3) { animation-delay: .2s; }
[data-enter] .hero-text > :nth-child(4) { animation-delay: .3s; }
[data-enter] .hero-art { animation: fade 1.4s ease both; }
[data-enter] .hero-art img { animation: settle 1.8s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.04); } }

/* evening ritual */
.ritual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { text-align: center; }
.step img { width: 100%; max-width: 250px; aspect-ratio: 1; margin: 0 auto 8px; object-fit: cover; }
.chip { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-ink); border: 1.4px solid rgba(194, 91, 60, .45); border-radius: 99px; padding: 3px 12px; margin-bottom: 12px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.sky { margin-top: 48px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #f6d6a6, #e9a467, #c25b3c, #5a362a, #2b1e18); }
.sky-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 8px; }

/* book reader */
.book { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  max-width: 1080px; margin: 0 auto; position: relative; }
.book::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(80, 50, 30, .16), transparent); }
.book .l { padding: 28px; } .book .l img { border-radius: 8px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.book .r { padding: 40px 48px 32px; display: flex; flex-direction: column; }
.book h3 { font-size: 28px; color: var(--ink); } .book .sub { font: 400 17px "Nunito", sans-serif; color: var(--muted); margin: 4px 0 20px; }
.book .t { font: 19px/1.65 "Lora", serif; flex: 1; min-height: 8.5em; }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.pager button.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.6px solid rgba(47, 36, 32, .35); background: transparent; font-size: 20px; cursor: pointer; color: var(--ink);
  transition: transform .15s, border-color .15s, color .15s; }
.pager button.arrow:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.pager button.arrow:active { transform: scale(.95); }
.dots { display: flex; } .dots button { width: 22px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; left: 7px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.dots button.on::after { background: var(--accent); transform: scale(1.35); }
.pager .num { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 15px; }

/* toy comes alive */
.toy { display: grid; grid-template-columns: 1fr 120px 1.35fr; gap: 20px; align-items: center; }
.toy figure { margin: 0; } .toy img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.toy figcaption, .styles figcaption { font: 400 17px "Nunito", sans-serif; text-align: center; color: var(--muted); margin-top: 8px; }
.arrow-draw { width: 120px; fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.item { text-align: center; }
.item img { width: 210px; aspect-ratio: 1; margin: 0 auto 4px; object-fit: cover; }
.item h3 { font-size: 22px; margin: 0 0 8px; } .item p { margin: 0 auto; color: var(--muted); font-size: 16px; max-width: 320px; }

/* telegram */
.tg { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
/* a real phone: light titanium rim, side buttons, dynamic island, iOS status bar, the bot's Telegram chat */
.phone { position: relative; width: 360px; max-width: 100%; margin: 0 auto; padding: 12px; border-radius: 58px;
  background: linear-gradient(145deg, #f1ece4 0%, #b9b2a8 22%, #e9e4dc 48%, #9f988f 76%, #ddd7ce 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .55), 0 40px 80px rgba(0, 0, 0, .55); }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #8e877e, #d8d2c9); }
.phone::before { left: -4px; top: 150px; height: 64px; box-shadow: 0 84px 0 #b4ada4; }
.phone::after { right: -4px; top: 190px; height: 96px; }
.screen { position: relative; border-radius: 47px; overflow: hidden; display: flex; flex-direction: column; height: 720px; background: #000;
  box-shadow: 0 0 0 6px #0b0b0c; font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif; color: #000; }
.status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 8px 32px 0 40px; background: #f7f7f7; font-size: 15px; }
.status b { font-weight: 600; letter-spacing: -.2px; }
.island { position: absolute; left: 50%; top: 11px; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; }
.sys { display: flex; gap: 5px; align-items: center; }
.sys svg { height: 11px; width: auto; fill: #000; }
.batt { position: relative; display: inline-block; width: 24px; height: 12px; border: 1.3px solid rgba(0, 0, 0, .4); border-radius: 4px; padding: 1.5px; }
.batt::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0, 0, 0, .4); }
.batt i { display: block; height: 100%; width: 78%; border-radius: 2px; background: #000; }
.tg-bar { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; background: #f7f7f7; border-bottom: .5px solid #d6d6d8; }
.tg-bar .back { display: flex; align-items: center; gap: 4px; color: #007aff; font-size: 16px; width: 70px; }
.tg-bar .back svg { width: 11px; height: 19px; fill: none; stroke: #007aff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-bar .back em { font-style: normal; }
.tg-bar .who { flex: 1; text-align: center; line-height: 1.2; }
.tg-bar .who b { display: block; font-size: 16px; font-weight: 600; } .tg-bar .who small { color: #8e8e93; font-size: 13px; }
.tg-bar img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; margin-left: 32px; }
.chat { flex: 1; overflow: hidden; padding: 12px 12px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23ffffff' stroke-opacity='.3' stroke-width='2'%3E%3Ccircle cx='20' cy='22' r='7'/%3E%3Cpath d='M70 14l6 10h-12z'/%3E%3Cpath d='M98 60c6-8 16-2 10 6l-10 9-10-9c-6-8 4-14 10-6z'/%3E%3Crect x='14' y='76' width='16' height='12' rx='3'/%3E%3Cpath d='M56 96q8-12 16 0t16 0'/%3E%3Cpath d='M44 52l4 4 8-8'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #d8e7b3 0%, #b6d39c 40%, #e3dfa2 75%, #c9dca9 100%); }
.day { align-self: center; background: rgba(0, 0, 0, .18); color: #fff; font-size: 13px; font-weight: 500; padding: 3px 12px; border-radius: 12px; margin-bottom: 4px; }
.msg { background: #fff; border-radius: 18px 18px 18px 6px; max-width: 84%; font-size: 15px; line-height: 1.32; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); }
.msg.photo { position: relative; padding: 3px; border-radius: 18px 18px 18px 6px; }
.msg.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 15px 15px 15px 4px; }
.msg.photo .tm { position: absolute; right: 9px; bottom: 9px; float: none; margin: 0; padding: 1px 8px; border-radius: 10px; background: rgba(0, 0, 0, .42); color: #fff; }
.msg .tx { padding: 8px 12px; } .msg .tm { float: right; color: #8e8e93; font-size: 11.5px; margin: 8px 0 -3px 12px; }
.ikb { position: relative; width: 84%; display: block; text-align: center; background: rgba(40, 70, 30, .3); color: #fff; font-size: 15px; font-weight: 500;
  border-radius: 10px 10px 16px 16px; padding: 8px; backdrop-filter: blur(6px); margin-bottom: 4px; }
.ikb svg { position: absolute; right: 7px; top: 6px; width: 8px; height: 8px; fill: none; stroke: #fff; stroke-width: 1.6; }
.doc-msg { padding-top: 8px; }
.doc { display: flex; gap: 12px; align-items: center; padding: 0 12px 2px; }
.doc i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #3e9ce8; display: grid; place-items: center; }
.doc i svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.doc b { display: block; font-size: 14.5px; font-weight: 500; word-break: break-all; line-height: 1.25; } .doc small { color: #8e8e93; font-size: 13px; }
.tg-input { display: flex; align-items: center; gap: 8px; padding: 8px 12px 28px; background: #f7f7f7; border-top: .5px solid #d6d6d8; }
.tg-input .menu { display: flex; align-items: center; gap: 8px; background: #3e9ce8; color: #fff; border-radius: 16px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.tg-input .menu svg { width: 13px; height: 11px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.tg-input .field { flex: 1; border: .5px solid #d1d1d6; background: #fff; border-radius: 18px; padding: 8px 12px; color: #a0a0a6; font-size: 15px; }
.tg-input .ic { width: 24px; height: 24px; fill: none; stroke: #8e8e93; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home { position: absolute; left: 50%; bottom: 8px; width: 128px; height: 5px; margin-left: -64px; border-radius: 3px; background: #111; }
.tg h2 { font-size: 42px; line-height: 1.15; }
.tg .lead { margin-top: 16px; }

/* list with gold moon marks */
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.ticks li { padding: 12px 0 12px 40px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c39343' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 20A8.5 8.5 0 1 1 10.5 4a7 7 0 0 0 5 16z'/%3E%3Cpath d='M19 4l.7 1.6 1.6.7-1.6.7L19 8.6l-.7-1.6-1.6-.7 1.6-.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.night .ticks li { border-color: rgba(255, 255, 255, .12); }

/* styles: four big pictures */
.styles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.styles figure { margin: 0; }
.styles img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { padding: 32px 24px 28px; display: flex; flex-direction: column; position: relative; }
.price h3 { font-size: 20px; } .price .p { font: 700 42px "Lora", serif; color: var(--ink); margin: 12px 0 2px; }
.price .per { color: var(--muted); font-size: 14px; min-height: 22px; }
.price ul { padding: 0; list-style: none; margin: 16px 0 24px; color: var(--muted); font-size: 15px; flex: 1; }
.price li { margin: 8px 0; padding-left: 24px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.price .btn { width: 100%; }
.price.hit { border: 2px solid var(--accent); background: #fff7ee; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 99px; }
.note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 28px; }

/* books */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.book-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.books .in { padding: 8px 12px 0; display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.books h3 { font-size: 24px; margin-bottom: 8px; } .books p { margin: 0; color: var(--muted); }
.books .p { font: 700 30px "Lora", serif; color: var(--ink); white-space: nowrap; }

/* reels: an Instagram-like feed with a real heart */
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #1d1411; color: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  user-select: none; -webkit-tap-highlight-color: transparent; transition: transform .2s ease; }
.reel:hover { transform: translateY(-2px); }
.reel .open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.reel .open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.reel:hover .open img { transform: scale(1.03); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .72) 100%); pointer-events: none; }
.reel .meta { position: absolute; left: 12px; right: 52px; bottom: 14px; z-index: 1; pointer-events: none; }
.reel .who { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.reel .who img { object-fit: cover;  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #fff; }
.reel p { margin: 0; font-size: 13px; line-height: 1.35; }
.like { position: absolute; right: 6px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px; min-width: 44px;
  border: 0; background: none; color: #fff; font: 700 13px "Nunito", sans-serif; cursor: pointer; }
.like svg { width: 30px; height: 30px; fill: rgba(255, 255, 255, .0); stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); transition: fill .2s, stroke .2s; }
.like .n { text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.reel.liked .like svg { fill: var(--heart); stroke: var(--heart); }
.like.beat svg { animation: beat .5s cubic-bezier(.2, .9, .3, 1.4); }
.reel .pop { position: absolute; left: 50%; top: 46%; z-index: 2; width: 92px; height: 92px; margin: -48px 0 0 -48px; opacity: 0; pointer-events: none; }
.reel .pop svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.reel .pop.go { animation: pop .9s ease both; }
@keyframes beat { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: .95; transform: scale(1.1); } 45% { transform: scale(.95); } 75% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15) translateY(-14px); } }

.viewer { width: min(980px, 94vw); max-height: 94vh; padding: 20px 20px 24px; border: 0; border-radius: 26px; background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5); text-align: center; overflow: auto; }
.viewer::backdrop { background: rgba(30, 20, 15, .78); backdrop-filter: blur(4px); }
.viewer[open] { animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
.viewer img { width: 100%; max-height: 68vh; object-fit: contain; border-radius: 14px; margin: 0 auto; }
.viewer .cap { margin: 16px 0 16px; } .viewer .cap b { display: block; font: 700 24px "Lora", serif; } .viewer .cap small { color: var(--muted); font-size: 15px; }
.viewer .x { position: absolute; right: 26px; top: 26px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 250, 242, .92); color: var(--ink);
  font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); z-index: 1; }
.viewer .x:hover { color: var(--accent); }

/* care */
.care { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; max-width: 980px; margin: 0 auto; }
.care h2 { font-size: 42px; margin-bottom: 20px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { font: 700 20px "Lora", serif; cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .25s; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { color: var(--muted); margin: 0 0 20px; }

/* close */
.close-sec { padding-top: 40px; }
.close { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: center; padding: 56px 64px; border-radius: 40px; color: #fff;
  background: linear-gradient(135deg, #f6a04d, #e8743b); box-shadow: 0 8px 24px rgba(31, 27, 22, .08); }
.close h2 { font-size: 44px; line-height: 1.12; color: #fff; } .close h2 em { color: #fff4e3; }
.close p { font-size: 20px; color: #fff; opacity: .95; margin: 16px 0 32px; }
.close img { border-radius: 50%; border: 6px solid rgba(255, 255, 255, .55); }
.btn.white { background: #fff; color: var(--accent-ink); box-shadow: 0 1px 2px rgba(31, 27, 22, .08), 0 8px 20px rgba(31, 27, 22, .12); }
.btn.white:hover { background: #fff7ee; color: var(--accent-hover); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: flex-end; }
.foot-brand { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.logo.small > img:first-child { width: 56px; } .logo.small .wordmark { height: 56px; }
footer a { color: var(--muted); } footer .links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
footer .links a { display: inline-block; padding: 12px 0; }

@media (max-width: 1500px) {
  .top nav { gap: 24px; } .top nav a { font-size: 16px; }
}
@media (max-width: 1400px) {
  .hero-art { width: 69%; }
  .hero-text { min-width: 0; max-width: 34vw; }
}
@media (max-width: 1180px) {
  .top nav { gap: 16px; margin-left: 20px; } .top nav a { font-size: 14px; }
  .hero-art { width: 69%; }
  .hero h1 { font-size: 3.4vw; } .btn.big { font-size: 20px; min-height: 62px; padding: 0 28px; }
  .perks li { font-size: 13px; padding: 0 5px; }
}
@media (max-width: 1080px) {
  .top nav { display: none; } .top .login { margin-left: auto; }
  .ritual { grid-template-columns: 1fr 1fr; } .prices { grid-template-columns: 1fr 1fr; } .reels { grid-template-columns: repeat(3, 1fr); }
  .tg { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .btn.login { background: rgba(46, 32, 23, .94); }
  :root { --head-h: 88px; }
  section { padding: 76px 0; } .head h2, .tg h2, .care h2, .close h2 { font-size: 34px; }
  .hero { display: block; min-height: 0; padding-top: calc(var(--head-h) - 8px); }
  .hero-art { position: relative; width: 100%; height: auto; aspect-ratio: 1 / .9; margin-bottom: 8px; }
  .hero-art img { object-position: 78% 0; }
  .hero-text { max-width: 620px; padding: 0 0 40px; position: relative; }
  .hero h1 { font-size: clamp(34px, 7vw, 54px); } .lead { font-size: 19px; }
  .perks { max-width: none; }
  .after-hero { padding-top: 40px; }
  .book { grid-template-columns: 1fr; } .book::after { display: none; } .book .r { padding: 8px 24px 24px; }
  .toy { grid-template-columns: 1fr; } .arrow-draw { transform: rotate(90deg); margin: -8px auto; width: 90px; }
  .why { grid-template-columns: 1fr 1fr; } .tg { grid-template-columns: 1fr; } .phone { margin: 0 auto; }
  .books, .care, .close { grid-template-columns: 1fr; } .care img { max-width: 280px; margin: 0 auto; }
  .close { padding: 36px 28px; text-align: center; }
  .close img { max-width: 240px; margin: 0 auto; grid-row: 1; }
  .reels { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  :root { --pad: 16px; --head-h: 72px; }
  .logo .mark, .top.solid .logo .mark { width: 54px; } .logo .wordmark, .top.solid .logo .wordmark { height: 52px; }
  .phone { width: 330px; } .screen { height: 660px; } .tg-bar .back { width: auto; } .tg-bar img { margin-left: 0; } .tg-bar .who b { white-space: nowrap; font-size: 15px; }
  .top .login { padding: 0 16px; min-height: 44px; font-size: 17px; }
  .hero h1 { font-size: 34px; }
  .btn.big { width: 100%; min-height: 62px; font-size: 21px; padding: 0 20px; }
  .hero-actions { display: block; } .btn-spark { display: none; }
  .perks { grid-template-columns: 1fr 1fr; gap: 24px 0; margin-top: 36px; }
  .perks li:nth-child(3) { border-left: 0; }
  .ritual, .why, .prices, .styles { grid-template-columns: 1fr; }
  .books .in { flex-direction: column; align-items: flex-start; }
  .head h2, .tg h2, .care h2, .close h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
