:root {
  --bg: #f6f8fb;
  --bg-deep: #e8eef6;
  --surface: #ffffff;
  --ink: #12151a;
  --ink-muted: #5a6573;
  --accent: #ff6a1a;
  --accent-hover: #e85a0e;
  --accent-soft: #fff1e8;
  --tg: #2b9ff0;
  --tg-hover: #1a8fe0;
  --line: rgba(18, 21, 26, 0.08);
  --shadow: 0 18px 50px rgba(15, 42, 68, 0.08);
  --font: "Manrope", sans-serif;
  --display: "Unbounded", sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 106, 26, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(47, 120, 180, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 45%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
/* Schema.org wrappers that only hold meta nodes */
span[itemprop="author"],
span[itemprop="publisher"],
span[itemprop="logo"] { display: none; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.02em;
}
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #ff8a3d, var(--accent) 55%, #d94a00);
  box-shadow: 0 8px 20px rgba(255, 106, 26, 0.28);
  position: relative;
}
.logo__mark::after {
  content: "";
  position: absolute; inset: 9px 8px 8px 9px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(45deg);
}
.header__nav { display: flex; align-items: center; gap: 18px; }
.header__nav a { font-size: 0.92rem; font-weight: 600; color: var(--ink-muted); }
.header__nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 12px;
  font-weight: 700; font-size: 0.92rem;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: var(--tg-hover); }
.btn--ghost {
  background: transparent; color: var(--ink-muted);
  border: 1px solid var(--line);
}
.btn--ghost:hover { color: var(--ink); border-color: rgba(18,21,26,0.16); }
.site-footer { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.site-footer__inner {
  text-align: left; font-size: 0.82rem; font-weight: 500;
  line-height: 1.55; color: var(--ink-muted);
}
.site-footer__brand {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-start; gap: 10px 14px; margin-bottom: 12px;
}
.site-footer__logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
}
.site-footer__logo .logo__mark { width: 28px; height: 28px; border-radius: 8px; }
.site-footer__logo .logo__mark::after { inset: 7px 6px 6px 7px; }
.site-footer__years { font-size: 0.92rem; font-weight: 600; color: var(--ink-muted); }
.site-footer__links {
  margin-top: 10px; display: flex; flex-wrap: wrap;
  justify-content: flex-start; gap: 8px 16px;
}
.site-footer__links a {
  color: var(--ink-muted); text-decoration: underline;
  text-underline-offset: 3px; font-weight: 600;
}
.site-footer__links a:hover { color: var(--accent); }
.posts { padding: 48px 0 72px; }
.posts__card {
  max-width: 820px; margin: 0 auto; padding: 36px 40px 44px;
  border-radius: 20px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow);
}
.posts__eyebrow {
  margin-bottom: 10px; color: var(--accent);
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.posts__title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.2; margin-bottom: 14px;
}
.posts__back {
  display: inline-flex; margin-bottom: 18px;
  color: var(--ink-muted); font-size: 0.92rem; font-weight: 700;
}
.posts__back:hover { color: var(--accent); }
.posts__lead { color: var(--ink-muted); font-weight: 500; font-size: 1.02rem; line-height: 1.65; margin-bottom: 28px; }
.posts__lead a { color: var(--tg); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.posts__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.post-list { display: grid; gap: 0; }
.post-item { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line); }
.post-item:first-child { border-top: 0; padding-top: 0; }
.post-item__date { font-size: 0.84rem; font-weight: 700; color: var(--ink-muted); letter-spacing: 0.02em; }
.post-item__title { font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.post-item__title a:hover { color: var(--accent); }
.post-item__excerpt { color: var(--ink-muted); font-weight: 500; font-size: 0.98rem; line-height: 1.6; }
.post-item__links { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 0.88rem; font-weight: 700; }
.post-item__links a { color: var(--accent); }
.post-item__links a:hover { color: var(--accent-hover); }
.post-item__links .tg { color: var(--tg); }
.post-item__links .tg:hover { color: var(--tg-hover); }
.posts__meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  align-items: center; margin-bottom: 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink-muted);
}
.posts__meta a {
  color: var(--tg); text-decoration: underline; text-underline-offset: 3px;
}
.posts__meta a:hover { color: var(--tg-hover); }
.article__toc {
  margin: 20px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}
.article__toc h2 { margin-top: 0; }
.article__toc ol { margin-top: 8px; }
.article__toc a { font-weight: 600; }
.article h2 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.3; margin: 28px 0 12px;
}
.article h3 {
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 700;
  letter-spacing: -0.02em; margin: 18px 0 10px;
}
.article p, .article li {
  color: var(--ink-muted); font-weight: 500;
  font-size: 1.02rem; line-height: 1.7;
}
.article p + p { margin-top: 12px; }
.article ul, .article ol {
  margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px;
}
.article strong { color: var(--ink); font-weight: 700; }
.article a {
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px; font-weight: 700;
}
.article a:hover { color: var(--accent-hover); }
.article blockquote {
  margin: 18px 0; padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  color: var(--ink); font-weight: 600;
}
.article .tg-embed { margin-top: 12px; min-height: 120px; }
.article__note {
  margin: 18px 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f6fa;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}
.article__media {
  margin: 8px 0 22px;
  display: grid;
  gap: 12px;
}
.article__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f3f6fa;
}
.article__media--thumb {
  margin: 0 0 4px;
}
.article__media--thumb img {
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
.post-item__media {
  margin-top: 4px;
}
.post-item__media img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.article__footer {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 640px) {
  .posts { padding: 32px 0 56px; }
  .posts__card { padding: 24px 20px 28px; border-radius: 16px; }
  .header__nav { display: none; }
}

.article__note {
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
