/* Тъмна сцена, перлен наниз като единствено украшение. */
:root{--bg:#0c0818;--panel:#171029;--line:#3a2f57;--fg:#f6f3fb;--soft:#c3bad6;--petrol:#8FE3E4;--rose:#F2B8C6;--gold:#F2CF8B;--lilac:#c9b6f2;--display:'Playfair Display',Georgia,serif;--body:Rubik,system-ui,sans-serif;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--fg);font:400 17px/1.55 var(--body)}
img{max-width:100%;height:auto;display:block}p{margin:0;max-width:65ch}a{color:var(--petrol)}.soft{color:var(--soft)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.wrap{max-width:1120px;margin-inline:auto;padding-inline:20px}
.stack{display:grid;gap:18px;min-width:0;align-content:start}.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sec{display:grid;gap:32px;padding-block:72px}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:32px 48px;align-items:start}.mid{align-items:center}
.band{background:#130c24}
h1,h2,h3{margin:0;font-family:var(--display);text-wrap:balance;font-variant-numeric:lining-nums}
h1{font-weight:900;font-size:clamp(36px,5.4vw,62px);line-height:1.08}h1 span{color:var(--rose)}
.h{font-weight:900;font-size:clamp(32px,4.4vw,48px);line-height:1.1}.h span{color:var(--petrol)}.h.rose{color:var(--rose)}
h3{font-size:24px;line-height:1.25}.lead{font-size:20px}
.top{display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between;align-items:center;padding-block:18px}
.brand{font:700 24px var(--display);color:var(--fg);text-decoration:none}.brand span{color:var(--rose)}
nav{display:flex;flex-wrap:wrap;gap:0 20px}nav a{color:var(--soft);text-decoration:none;padding-block:8px}nav a:hover{color:var(--fg)}
.hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:24px 48px;align-items:center;padding-block:40px 56px}.logo{width:100%}
.btn{display:inline-block;font-weight:700;padding:13px 24px;border-radius:30px;background:var(--petrol);color:#0c0818;text-decoration:none;border:1px solid var(--petrol)}.btn:hover{filter:brightness(1.1)}
.btn.ghost{background:none;color:var(--fg);border-color:var(--line)}.btn.ghost:hover{border-color:var(--petrol)}
.strand{height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26'%3E%3Cdefs%3E%3CradialGradient id='a' cx='.35' cy='.3' r='.75'%3E%3Cstop stop-color='%23fff'/%3E%3Cstop offset='1' stop-color='%23cfc3c9'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='.35' cy='.3' r='.75'%3E%3Cstop stop-color='%23fff'/%3E%3Cstop offset='.4' stop-color='%23F2B8C6'/%3E%3Cstop offset='1' stop-color='%23b76a82'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='.35' cy='.3' r='.75'%3E%3Cstop stop-color='%23fff'/%3E%3Cstop offset='.4' stop-color='%23F2CF8B'/%3E%3Cstop offset='1' stop-color='%238f6424'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='.35' cy='.3' r='.75'%3E%3Cstop stop-color='%23fff'/%3E%3Cstop offset='.4' stop-color='%23c9b6f2'/%3E%3Cstop offset='1' stop-color='%237a62b5'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 13h120' stroke='%23b98a3e' stroke-width='2'/%3E%3Ccircle cx='15' cy='13' r='11' fill='url(%23a)'/%3E%3Ccircle cx='45' cy='13' r='11' fill='url(%23b)'/%3E%3Ccircle cx='75' cy='13' r='11' fill='url(%23c)'/%3E%3Ccircle cx='105' cy='13' r='11' fill='url(%23d)'/%3E%3C/svg%3E") center/120px 26px repeat-x}
/* калкулатор */
form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}
label{display:grid;gap:6px;font-weight:500;min-width:0;align-content:end}
input:not([type=checkbox]),select{font:inherit;width:100%;min-width:0;height:50px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--fg)}
.chk{display:flex;gap:10px;align-items:flex-start}.chk input{width:20px;height:20px;margin:3px 0 0;flex:none}
#out{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px;display:grid;gap:16px;min-width:0}
.big{font:900 64px/1 var(--display);color:var(--petrol);font-variant-numeric:lining-nums}.big small{font:500 20px var(--body);color:var(--fg)}
dl{display:grid;grid-template-columns:repeat(3,auto);gap:12px;margin:0}dt{color:var(--soft);font-size:15px}dd{margin:0;font-weight:800;font-size:25px}
.menuh{font-size:28px}.tabs{display:flex;flex-wrap:wrap;gap:8px}.tabs button{font:700 16px var(--body);padding:9px 16px;border-radius:30px;border:1px solid var(--line);background:none;color:var(--fg);cursor:pointer}.tabs button[aria-pressed=true]{background:var(--petrol);color:#0c0818;border-color:var(--petrol)}
.meals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:24px}
.meal{border-top:3px solid var(--rose);padding-top:12px;min-width:0}.meal h3{margin:0 0 8px;font:700 19px/1.3 var(--body)}.meal ul{list-style:none;margin:0 0 10px;padding:0}.meal li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px solid #ffffff14}.meal b{font-variant-numeric:tabular-nums;white-space:nowrap}
#tot{font-weight:700}.note{font-size:15px;color:var(--soft);display:grid;gap:8px}
.week{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px}
.week button{font:400 16px/1.4 var(--body);text-align:left;color:var(--soft);background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:14px 16px;cursor:pointer;display:grid;gap:4px;align-content:start}.week b{font:700 20px var(--display);color:var(--fg)}.week button:hover{border-color:var(--petrol)}.week button[aria-pressed=true]{border-color:var(--petrol);box-shadow:inset 0 0 0 1px var(--petrol)}.week button[aria-pressed=true] b{color:var(--petrol)}
/* дневник */
.pic{border-radius:18px;width:100%}.thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.thumbs button{padding:0;border:2px solid transparent;border-radius:10px;background:none;cursor:pointer;overflow:hidden}.thumbs button[aria-pressed=true]{border-color:var(--rose)}
.pearls{list-style:none;margin:0;padding:0;display:grid;gap:10px}.pearls li{display:flex;gap:12px;align-items:center}
.pearls li::before,.topics article::before{content:"";flex:none;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,var(--c,var(--rose)) 45%,#6d5560)}
.pearls li:nth-child(2n){--c:var(--lilac)}.pearls li:nth-child(3n){--c:var(--gold)}
.price{font:900 40px/1 var(--display);color:var(--gold);font-variant-numeric:lining-nums;margin-right:8px}
/* теми: четири перли на един конец */
.topics{display:grid;grid-template-columns:repeat(4,1fr);position:relative}.topics::before{content:"";position:absolute;background:#b98a3e;left:0;right:calc(25% - 28px);top:27px;height:2px}
.topics article{position:relative;display:grid;gap:10px;align-content:start;padding-right:28px}.topics article::before{width:56px;height:56px;margin-bottom:8px}
.t1{--c:var(--petrol)}.t2{--c:var(--lilac)}.t3{--c:var(--gold)}.t4{--c:var(--rose)}
@media(max-width:800px){.topics{grid-template-columns:1fr;gap:28px}.topics::before{left:21px;right:auto;top:0;bottom:0;width:2px;height:auto}.topics article{padding:0 0 0 64px}.topics article::before{position:absolute;left:0;top:0;width:44px;height:44px}.sec{padding-block:52px}}
.pepi{aspect-ratio:4/5;object-fit:cover;object-position:50% 12%;max-width:440px;margin-inline:auto}
mark{background:var(--gold);color:#0c0818;padding:1px 6px;border-radius:4px}
.foot{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;padding-block:28px;font-size:15px;color:var(--soft)}
.legal{max-width:760px}.legal h2{font-size:26px;margin-top:16px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
