@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.blog-admin-status{position:fixed;right:18px;bottom:18px;z-index:80;display:flex;align-items:center;gap:9px;padding:8px 11px 8px 8px;border:1px solid color-mix(in srgb,var(--accent,#ff9818) 38%,transparent);border-radius:11px;background:color-mix(in srgb,var(--surface,#fff) 88%,transparent);box-shadow:0 14px 38px rgba(4,16,29,.18);backdrop-filter:blur(14px);color:var(--text,#07182a);text-decoration:none;font-size:11px}.blog-admin-status span{display:grid;place-items:center;min-width:34px;height:26px;border-radius:7px;background:var(--accent,#ff9818);color:#07182a;font-size:10px;font-weight:900;letter-spacing:.08em}.blog-admin-status strong{font-size:11px;white-space:nowrap}.blog-admin-status:hover{transform:translateY(-2px)}

@media(max-width:640px){.blog-admin-status{right:10px;bottom:10px}}
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  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: "Unbounded";
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  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 {
  --max: 1240px;
  --orange: #f69a20;
  --orange-strong: #d97800;
  --cyan: #22bfc2;
  --coral: #f36f58;
  --cream: #fff8ec;
  --bg: #f5f2ec;
  --surface: #fffdf8;
  --surface-2: #eee9df;
  --text: #0a1726;
  --muted: #617080;
  --line: rgba(10, 23, 38, .14);
  --shadow: 0 22px 65px rgba(28, 42, 57, .11);
  --header-bg: rgba(7, 19, 33, .96);
  --header-text: #eef4f8;
  --topic-accent: var(--orange);
  --topic-text: #985000;
}

:root[data-theme="dark"] {
  --bg: #07111e;
  --surface: #0e1b2b;
  --surface-2: #142438;
  --text: #f5f0e8;
  --muted: #9aabbb;
  --line: rgba(165, 199, 222, .18);
  --shadow: 0 24px 75px rgba(0, 0, 0, .34);
  --orange: #ffad32;
  --orange-strong: #ffc05b;
  --topic-text: #ffc05b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Onest, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, .featured-card, .article-card, .topic-rail, .header-search input, .home-cta, .article-note { transition: background-color .28s ease, color .28s ease, border-color .28s ease; }
button, input, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; font-family: Unbounded, Onest, sans-serif; text-wrap: balance; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--orange); color: #071321; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--topic-accent); outline-offset: 4px; }

.card-meta { min-height: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.meta-chip { box-sizing: border-box; height: 28px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid color-mix(in srgb, var(--card-accent, var(--topic-accent)) 17%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--card-accent, var(--topic-accent)) 6%, var(--surface)); color: color-mix(in srgb, var(--text) 74%, var(--muted)); font-size: 10px; font-weight: 760; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; vertical-align: middle; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.meta-chip--category { background: color-mix(in srgb, var(--card-accent, var(--topic-accent)) 13%, var(--surface)); color: var(--card-text-accent, var(--topic-text)); font-weight: 850; }
.meta-chip--time::before, .meta-chip--views::before { content: ""; width: 13px; height: 13px; flex: 0 0 13px; display: block; background: currentColor; }
.meta-chip--time::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.75' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M8 4.7v3.6l2.45 1.45' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='5.75' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M8 4.7v3.6l2.45 1.45' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.meta-chip--views::before { width: 14px; flex-basis: 14px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.25 8s2.4-4.1 6.75-4.1S14.75 8 14.75 8 12.35 12.1 8 12.1 1.25 8 1.25 8Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8' r='1.7' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.25 8s2.4-4.1 6.75-4.1S14.75 8 14.75 8 12.35 12.1 8 12.1 1.25 8 1.25 8Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8' r='1.7' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat; }
.meta-chip--review { border-color: #ff981b; background: #ff981b; color: #081523; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 66px; display: flex; align-items: center; gap: 0; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(255,255,255,.12); background: var(--header-bg); color: var(--header-text); backdrop-filter: blur(16px); }
.wordmark { display: flex; align-items: center; flex: 0 0 auto; }
.wordmark img { display: block; width: 174px; height: auto; }
.blog-brand-divider { align-self: stretch; width: 1px; margin: 14px 13px; background: rgba(255,255,255,.2); }
.blog-title { color: var(--orange); font-family: Unbounded, Onest, sans-serif; font-size: .86rem; font-weight: 750; white-space: nowrap; }
.site-header nav { min-width: 0; flex: 1; display: flex; align-items: center; gap: 1px; margin-left: 18px; color: #b7c6d3; font-size: .77rem; white-space: nowrap; }
.site-header nav a { padding: 9px 7px; border-radius: 7px; transition: color .2s, background .2s, box-shadow .2s; }
.site-header nav a:hover { color: white; background: rgba(255,255,255,.055); }
.site-header nav a[aria-current="page"] { color: var(--orange); background: rgba(255,173,50,.1); box-shadow: inset 0 -2px var(--orange); }
.header-search { width: 172px; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 34px; margin-left: auto; }
.header-search input { min-width: 0; height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); border-right: 0; border-radius: 7px 0 0 7px; background: rgba(255,255,255,.06); color: white; font-size: .7rem; outline: 0; }
.header-search input::placeholder { color: #8fa2b5; }
.header-search input:focus { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.header-search button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--orange); border-radius: 0 7px 7px 0; background: var(--orange); color: #071321; cursor: pointer; font-size: 1rem; }
.header-home { margin-left: 8px; padding-left: 19px !important; border-left: 1px solid rgba(255,255,255,.16); border-radius: 0 !important; }
.header-cta { margin-left: 9px; padding: 9px 12px; border: 1px solid rgba(255,173,50,.55); border-radius: 8px; background: transparent; cursor: pointer; white-space: nowrap; font-size: .77rem; font-weight: 750; transition: background .2s, color .2s, transform .2s; }
.header-cta:hover { background: var(--orange); color: #071321; transform: translateY(-1px); }
.menu-toggle { display: none; margin-left: auto; padding: 9px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: transparent; cursor: pointer; }
.theme-toggle { position: relative; width: 37px; height: 37px; flex: 0 0 auto; margin-left: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.04); cursor: pointer; }
.theme-toggle:hover { border-color: var(--orange); }
.theme-icon::before { content: "☾"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--orange); font-size: 1.23rem; }
:root[data-theme="dark"] .theme-icon::before { content: "☀"; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #071321; box-shadow: 0 14px 38px rgba(246,154,32,.22); }
.button-primary:hover { background: #ffb94f; box-shadow: 0 18px 48px rgba(246,154,32,.3); }

.blog-footer { display: flex; align-items: center; gap: 24px; padding: 30px max(20px, calc((100vw - var(--max)) / 2)); border-top: 1px solid rgba(255,255,255,.1); background: #050d17; color: #8fa2b5; font-size: .85rem; }
.blog-footer > a { color: var(--orange); font-family: Unbounded, Onest, sans-serif; font-weight: 700; }
.blog-footer p { margin: 0 auto 0 0; }
.blog-footer nav { display: flex; gap: 18px; }
.blog-footer a:hover { color: white; }

dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 42px; border: 1px solid rgba(83,197,240,.3); border-radius: 18px; background: #0b1a2c; color: white; box-shadow: 0 60px 140px rgba(0,0,0,.65); }
dialog::backdrop { background: rgba(2,7,14,.78); backdrop-filter: blur(7px); }
dialog h2 { margin: 8px 0 18px; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.05em; }
dialog h2 span { color: var(--orange); }
dialog > p:not(.section-kicker) { max-width: 600px; color: #a8b8c8; line-height: 1.7; }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; color: #c2ced8; font-size: 1.35rem; cursor: pointer; }
.dialog-close:hover { border-color: var(--orange); color: var(--orange); }
.no-request { margin-top: 24px; padding: 4px 0 4px 18px; border-left: 3px solid var(--orange); }
.no-request strong { font-size: 1.1rem; }
.no-request p { margin: 7px 0 0; color: #a8b8c8; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.social-link { min-height: 78px; display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: center; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.025); transition: transform .2s, border-color .2s; }
.social-link:hover { transform: translateY(-2px); border-color: rgba(255,173,50,.55); }
.social-link > span { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #229ed9; font-weight: 850; }
.social-link.vk > span { background: #2787f5; font-size: .68rem; }
.social-link div { display: grid; gap: 2px; }
.social-link small { color: #8398ad; font-size: .68rem; }

body[data-topic="marketing"] { --topic-accent: var(--coral); --topic-text: #a93627; }
body[data-topic="sales"] { --topic-accent: var(--cyan); --topic-text: #087579; }
body[data-topic="finance"] { --topic-accent: #e9a51c; --topic-text: #895600; }
body[data-topic="management"] { --topic-accent: #8a75df; --topic-text: #5f49b0; }
:root[data-theme="dark"] body[data-topic="marketing"] { --topic-text: #ff9c8c; }
:root[data-theme="dark"] body[data-topic="sales"] { --topic-text: #58dadd; }
:root[data-theme="dark"] body[data-topic="finance"] { --topic-text: #ffc05b; }
:root[data-theme="dark"] body[data-topic="management"] { --topic-text: #b9a6ff; }

@media (min-width: 921px) and (max-width: 1100px) {
  .wordmark img { width: 152px; }
  .blog-brand-divider { margin-inline: 10px; }
  .site-header nav { margin-left: 10px; font-size: .71rem; }
  .site-header nav a { padding-inline: 5px; }
  .header-search { width: 132px; }
  .header-search input { padding-inline: 8px; font-size: .65rem; }
  .header-home { padding-left: 12px !important; }
  .theme-toggle { width: 34px; height: 34px; margin-left: 5px; }
  .header-cta { margin-left: 6px; padding-inline: 9px; font-size: .71rem; }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 16px 20px 20px; background: #071321; border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 35px rgba(0,0,0,.25); white-space: normal; }
  .site-header nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3px; }
  .site-header nav a { padding: 13px 15px; font-size: 1.04rem; }
  .header-search { grid-column: 1 / -1; width: 100%; grid-template-columns: minmax(0,1fr) 44px; margin: 4px 0 8px; }
  .header-search input, .header-search button { height: 42px; }
  .header-search button { width: 44px; }
  .header-home { margin-left: 0; padding-left: 14px !important; border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .theme-toggle { margin: 6px 0; }
  .header-cta { margin: 6px 0 6px 8px; }
}

@media (max-width: 620px) {
  .site-header { height: 59px; padding-inline: 12px; }
  .wordmark img { width: min(145px, 38.5vw); }
  .blog-brand-divider { margin: 13px 10px; }
  .blog-title { font-size: .81rem; }
  .site-header nav.is-open { grid-template-columns: 1fr; }
  .header-cta { min-height: 42px; margin: 5px 0 0; }
  .theme-toggle { width: 42px; height: 42px; }
  .blog-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .blog-footer p { margin: 0; }
  dialog { padding: 32px 20px 22px; }
  .dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
