/* Demotopia — standalone stylesheet for /ru/books/demotopia/ */
:root{--bg:#0b0b0d;--fg:#f2f2f4;--muted:#a9a9b2;--line:rgba(242,242,244,.14);--glass:rgba(0,0,0,.24);--blue:rgba(72,123,170,.13);--amber:rgba(190,145,74,.14)}
*{box-sizing:border-box} html{scroll-behavior:smooth} html,body{min-height:100%}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;background:var(--bg);color:var(--fg)}
a{color:var(--fg);text-decoration:none} a:hover{text-decoration:underline}
.wrap{min-height:100vh}.page{position:relative;min-height:100vh;overflow:hidden;display:flex;flex-direction:column}
.page::before{content:"";position:fixed;inset:0;z-index:0;background:url("backgrounds/DEMOTOPIA_COMMERCIAL_HERO_BACKGROUND_v01.webp") 58% center/cover no-repeat;filter:brightness(.52) contrast(1.08) saturate(.78) blur(1px);transform:scale(1.02)}
.page::after{content:"";position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(8,8,9,.95) 0%,rgba(8,8,9,.80) 30%,rgba(8,8,9,.50) 58%,rgba(8,8,9,.22) 84%,rgba(8,8,9,.08) 100%),radial-gradient(62% 72% at 68% 38%,var(--amber) 0%,rgba(190,145,74,.02) 48%,rgba(190,145,74,0) 74%),radial-gradient(42% 52% at 20% 82%,var(--blue) 0%,rgba(72,123,170,0) 76%)}
.site-header,.main{position:relative;z-index:2}.site-header{padding:22px 44px 0;text-align:right}.brand{margin:0 0 6px;letter-spacing:.22em;text-transform:uppercase;font-size:14px;font-weight:600;opacity:.92}.menu{font-size:13px;color:var(--muted)}.menu a{color:var(--muted);margin:0 10px}.menu a:hover{color:var(--fg);text-decoration:none}
.main{flex:1;display:flex;align-items:flex-start;justify-content:center}.container{width:min(100%,1040px);max-width:1040px;margin:0 auto;padding:28px 44px 56px;text-shadow:0 2px 8px rgba(0,0,0,.84),0 0 22px rgba(0,0,0,.46)}
.demo-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:end;margin-top:16px}.demo-hero-copy{min-width:0}.demo-kicker{margin:0 0 10px;color:var(--muted);font-size:12px;letter-spacing:.14em;text-transform:uppercase}.h1{margin:0 0 10px;font-size:28px;font-weight:800;letter-spacing:.02em}.demo-subtitle{margin:0 0 16px;color:rgba(242,242,244,.92);font-family:Georgia,"Times New Roman",serif;font-size:23px;line-height:1.25}.lead{margin:0 0 16px;max-width:82ch;color:var(--muted);line-height:1.35}.demo-title-note{margin:8px 0 0;color:rgba(242,242,244,.86);font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.35;max-width:74ch}
.demo-cover-panel{width:100%;max-width:260px;justify-self:end}.demo-cover-frame{display:block;aspect-ratio:2/3;border-radius:18px;overflow:hidden;border:1px solid rgba(242,242,244,.16);background:linear-gradient(145deg,rgba(72,123,170,.10),rgba(0,0,0,.28));box-shadow:0 22px 60px rgba(0,0,0,.44)}.demo-cover-frame img{width:100%;height:100%;object-fit:cover;display:block}.demo-cover-caption{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.35;text-align:center}
.list{margin-top:14px;border:1px solid rgba(242,242,244,.07);border-radius:18px;background:rgba(0,0,0,.18);backdrop-filter:blur(4px);overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.18)}.list-header{padding:14px 16px;border-bottom:1px solid rgba(242,242,244,.055);display:flex;align-items:baseline;justify-content:space-between;gap:12px}.list-header h2{margin:0;font-size:15.5px;font-weight:700;line-height:1.25}.list-header .note{margin:0;font-size:12px;color:var(--muted);line-height:1.25}.demo-section-body{padding:18px}.demo-copy{max-width:82ch;font-size:14px;line-height:1.48;color:var(--muted)}.demo-copy p{margin:0 0 12px}.demo-copy p:last-child{margin-bottom:0}.demo-quote{margin:18px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.35;color:var(--fg)}
.demo-grid,.demo-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.demo-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:var(--glass);backdrop-filter:blur(5px);box-shadow:0 12px 34px rgba(0,0,0,.20)}.demo-card h3{margin:0 0 8px;font-size:16px;line-height:1.25}.demo-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
.demo-facts{display:block;padding:10px 18px 12px}.demo-fact{display:flex;align-items:baseline;gap:14px;border-top:1px solid rgba(242,242,244,.08);padding:10px 0}.demo-fact:first-child{border-top:0}.demo-fact strong{flex:0 0 90px;font-size:13px;letter-spacing:.06em}.demo-fact span{color:var(--muted);font-size:13px;line-height:1.4}.demo-status-grid{display:block;padding:10px 18px 12px}.demo-status{display:flex;align-items:baseline;gap:14px;border-top:1px solid rgba(242,242,244,.08);padding:10px 0}.demo-status:first-child{border-top:0}.demo-status strong{flex:0 0 42px;font-size:13px;letter-spacing:.06em}.demo-status span{color:var(--muted);font-size:13px;line-height:1.4}
.demo-readmore{margin:0;scroll-margin-top:20px}.demo-readmore summary{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;border:1px solid rgba(242,242,244,.18);background:rgba(0,0,0,.22);backdrop-filter:blur(3px);font-size:14px;font-weight:800;cursor:pointer;list-style:none;color:var(--fg)}.demo-readmore summary::-webkit-details-marker{display:none}.demo-readmore .when-open{display:none}.demo-readmore[open] .when-closed{display:none}.demo-readmore[open] .when-open{display:inline}.demo-fragment-body{padding:10px 18px 18px}.demo-fragment-note{margin:0 0 14px;color:rgba(169,169,178,.84);font-size:14px;line-height:1.5;max-width:72ch}.demo-chapter{margin-top:16px;max-width:78ch;color:rgba(242,242,244,.80);font-family:Georgia,"Times New Roman",serif;font-size:15px;line-height:1.58}.demo-chapter h3{font-family:ui-sans-serif,system-ui,sans-serif;font-size:17px}.demo-chapter p{margin:0 0 12px}.demo-chapter blockquote{margin:14px 0;padding-left:16px;border-left:2px solid rgba(190,145,74,.55);color:var(--fg)}.demo-chapter strong{color:var(--fg)}.demo-chapter-return{margin:26px 0 2px;padding-top:14px;border-top:1px solid rgba(242,242,244,.08)}.demo-chapter-return a{color:rgba(218,166,82,.88);font-size:13px}
.demo-links-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;border:1px solid rgba(242,242,244,.18);background:rgba(0,0,0,.22);font-size:14px;font-weight:800;color:var(--fg)}.btn:hover{background:rgba(255,255,255,.08);text-decoration:none}.seal{display:flex;align-items:center;gap:10px;margin-top:24px;color:var(--muted);font-size:12px}.seal img{height:22px;width:auto;opacity:.75}
@media(max-width:900px){.site-header{padding:16px 22px 0}.container{width:100%;padding:22px 22px 44px}.page::before{background-position:64% center}.demo-hero,.demo-grid,.demo-two-col{grid-template-columns:1fr}.demo-cover-panel{max-width:280px;justify-self:start}.demo-quote{font-size:20px}}
@media(max-width:560px){.site-header{text-align:right}.container{padding:22px 22px 44px}.demo-subtitle{font-size:21px}.demo-title-note{font-size:18.5px}.list-header{align-items:baseline;flex-direction:row}.demo-fact strong{flex-basis:78px}.demo-quote{font-size:18.5px}.demo-chapter{font-size:14.5px;line-height:1.55}}
