/* Shared design system of the redesign (Figma «Лендинги», October 2026): fonts, colours, sunny surface, quality badge. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/montserrat-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/oswald-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/oswald-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Oswald';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/oswald-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{--ink:#241b30;--body:#33293d;--muted:#54485e;--text:#4a3f53;--note:#6a5c73;--accent:#b84d1c;--orange:#e86f3b;--peach:#ff9a67;--peach-dark:#e86f3b;--cream:#fff9f6;--line:#eadfe6;--card-line:#ecdfe5;--gold:#fff4df;--gold-line:#f1d9a8;--btn-line:#2e1b37;--pill:#fff1e6;--pill-ink:#5b3a2b;--head:'Oswald','Arial Narrow',Impact,sans-serif;--font:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--card-shadow:0 12px 36px rgba(46,28,56,.05)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* Sunny park surface from the Home first screen: cream, warm glow and the blurred park at 30%. */
.sunny{background:#f9f9f6 url(/assets/sunny.webp) center/cover no-repeat}
.sunny-line{position:relative}
.sunny-line::before{content:"";position:absolute;inset:0 0 auto;height:1.5px;background:linear-gradient(90deg,rgba(63,227,154,0),rgba(125,242,192,.55),rgba(63,227,154,0));pointer-events:none}
/* Photo fading into the sunny surface: from the left on wide screens, from the top on phones. */
.fade-photo{position:absolute;inset:0 0 0 auto;width:60%;overflow:hidden;pointer-events:none}
.fade-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 45%);mask-image:linear-gradient(90deg,transparent 0,#000 45%)}
.quality-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 14px 6px 10px;border:1px solid #f0d49a;border-radius:100px;background:#fff4dc;color:#6b4a1e;font:600 14px/1.2 var(--font);white-space:nowrap}
.quality-badge::before{content:"🏅";font-size:16px;line-height:1}
@media (max-width:860px){.fade-photo img{object-position:var(--pos-m,var(--pos,50% 50%));-webkit-mask-image:linear-gradient(180deg,#000 34%,transparent 74%);mask-image:linear-gradient(180deg,#000 34%,transparent 74%)}}

/* Shared format list in expanded catalog and recommendation cards. */
.details-body .format-items,.course-details-body .format-items{list-style:none;margin:10px 0 16px;padding:0}
.details-body .format-items>li,.course-details-body .format-items>li{position:relative;margin:0;padding:0 0 14px 24px;font-weight:500;line-height:1.55}
.details-body .format-items>li:last-child,.course-details-body .format-items>li:last-child{padding-bottom:0}
.format-items>li::before{content:"";position:absolute;left:0;top:.5em;width:8px;height:8px;border-radius:50%;background:#e86f3b}
.format-items>li:not(:last-child)::after{content:"";position:absolute;left:3px;top:calc(.5em + 8px);bottom:-.5em;width:2px;background:#f3c4a6}
.offer-card--current .format-items>li::before{background:#783407}
.offer-card--current .format-items>li::after{background:#ad5112}
