/* TeleScale site: landing and blog. One variable face (Onest), Telegram blue as the accent, ink for the dark bands. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/site/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/site/onest-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: #0f1b2d;
  --ink-2: #16263c;
  --paper: #f4f7fb;
  --white: #fff;
  --blue: #3390ec;
  --blue-dark: #1f6fbf;
  --blue-light: #e8f3fd;
  --amber: #e8890c;
  --line: #dce5f0;
  --text: #0f1b2d;
  --muted: #566579;
  --red: #c62828;
  --wrap: 1180px;
  /* the site's own tokens (light); the dark values are in the block below */
  --blue-solid: #3390ec;
  --blue-solid-hover: #2a82d9;
  --on-blue: #fff;
  --on-blue-fg: #1f6fbf;
  --on-ink: #e9eef6;
  --on-ink-2: #aebbd0;
  --on-ink-3: #c4d0e2;
  --on-ink-4: #8394ab;
  --on-ink-hi: #fff;
  --ink-line: #26384f;
  --ink-line-2: #2c4160;
  --rule: #0f1b2d;
  --paper-bar: rgba(244, 247, 251, .92);
  --site-shadow-rgb: 15, 27, 45;
  --ok-ink: #1e8a2f;
  --warn-ink: #9a6200;
  --code-bg: #e9eef5;
  /* names the chart stylesheet (shared with the panel) expects */
  --border: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.site {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.6 "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--blue-dark); text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink-hi); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1.2 "Onest", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn-solid { background: var(--blue-solid); color: var(--on-blue); }
.btn-solid:hover { background: var(--blue-solid-hover); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line); }
.btn-quiet:hover { background: var(--white); }
.btn-big { padding: 15px 24px; font-size: 16px; border-radius: 12px; }
.btn-text { background: none; border: 0; padding: 0; color: var(--blue-dark); font: 600 14px/1.3 "Onest", system-ui, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* header */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--paper-bar); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 19px; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--white); }
.bar-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.link-login { color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.link-login:hover { color: var(--blue-dark); }
.menu-btn { display: none; margin-left: auto; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font: 600 14px/1 "Onest", system-ui, sans-serif; cursor: pointer; color: var(--text); }
.mobile-nav { display: grid; gap: 2px; padding: 8px 24px 18px; border-top: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; border-bottom: 0; color: var(--on-blue); }
.mobile-theme { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (max-width: 900px) {
  .nav, .bar-actions { display: none; }
  .menu-btn { display: inline-block; }
}

/* currency of the visitor's cabinet: one big switch above the first screen */
.cur-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding: 28px 0 0; }
.cur-label { font-weight: 600; font-size: 16px; color: var(--text); }
.cur-switch { --i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 420px); padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.cur-thumb { position: absolute; top: 4px; left: 4px; width: calc((100% - 8px) / 3); height: calc(100% - 8px); border-radius: 999px; background: var(--ink); transform: translateX(calc(var(--i) * 100%)); transition: transform .28s cubic-bezier(.3, .9, .3, 1); }
.cur-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 0; background: none; border-radius: 999px; font: 650 17px/1 "Onest", system-ui, sans-serif; color: var(--text); cursor: pointer; transition: color .2s; }
.cur-switch button b { font-size: 21px; font-weight: 700; line-height: 1; }
.cur-switch button[aria-checked="true"] { color: var(--on-ink-hi); }
.cur-switch button:not([aria-checked="true"]):hover { color: var(--blue-dark); }
@media (prefers-reduced-motion: reduce) { .cur-thumb, .cur-switch button { transition: none; } }
@media (max-width: 700px) { .cur-strip { padding-top: 20px; } .cur-switch { width: 100%; } .cur-switch button { height: 48px; font-size: 16px; } }

/* first screen */
.hero { padding: 0 0 76px; }
.hero .hero-grid { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.7vw, 64px); font-weight: 760; line-height: 1.04; letter-spacing: -.045em; }
.lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 40em; }

.hero-stage { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 16px; box-shadow: 0 40px 70px -40px rgba(var(--site-shadow-rgb), .28); min-width: 0; }
.stage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 24px; }
.stage-title { font-weight: 650; font-size: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 14px 0 10px; }
.kpis div { min-width: 0; }
.kpis dt { font-size: 13px; color: var(--muted); }
.kpis dd { margin: 2px 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-chart { min-height: 220px; margin-top: 4px; }
@media (min-width: 1200px) {
  /* the stage runs out to the right edge of the window */
  .hero-stage { margin-right: min(0px, calc((var(--wrap) - 100vw) / 2 - 24px)); border-right: 0; border-radius: 18px 0 0 18px; padding-right: 46px; }
}
@media (max-width: 1000px) {
  .hero { padding: 0 0 56px; }
  .hero .hero-grid { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stage { padding: 16px 14px 12px; }
  .btn-big { width: 100%; }
}

/* sections */
.band { padding: 88px 0; }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.section-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 740; line-height: 1.06; max-width: 18em; margin-bottom: 56px; }
@media (max-width: 700px) { .band { padding: 56px 0; } .section-title { margin-bottom: 36px; } }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 720; line-height: 1.15; }
.feature-text > p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; max-width: 32em; }
.facts li { position: relative; padding-left: 22px; line-height: 1.5; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--blue); }
.feature-ink { border-top: 0; padding: 0; }
.feature-ink .feature-text > p { color: var(--on-ink-2); }
.feature-ink .feature-text a { color: inherit; }
.feature-ink .facts li::before { background: var(--amber); }
.more-line { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); max-width: 46em; }
@media (max-width: 900px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
}

/* mock-ups made of markup */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: 14px; min-width: 0; overflow: hidden; }
.mock-table { padding: 6px 18px; }
.mt-row { display: grid; grid-template-columns: minmax(0, 2.4fr) 1fr .8fr 1.2fr; gap: 10px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mt-row:first-child { border-top: 0; }
.mt-head { color: var(--muted); font-size: 13px; }
.mt-row > span:not(:first-child) { text-align: right; }
.mt-name { display: grid; font-weight: 600; min-width: 0; }
.mt-name small { font-weight: 500; font-size: 12px; color: var(--ok-ink); }
.mt-name small.warn { color: var(--warn-ink); }
.mt-name small.info { color: var(--blue-dark); }
.mk-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.mk-input { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: 500 15px/1.3 ui-monospace, "SF Mono", Menlo, monospace; margin-bottom: 20px; overflow-wrap: anywhere; }
.mk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-list li { padding: 10px 14px; border-left: 3px solid var(--blue); background: var(--blue-light); border-radius: 0 8px 8px 0; font-weight: 500; }
.mb-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-solid); color: var(--on-blue); padding: 10px 16px; border-radius: 999px; font-weight: 600; margin-bottom: 16px; }
.mb-pill b { background: var(--on-blue); color: var(--on-blue-fg); border-radius: 999px; padding: 1px 10px; }
.mb-sections { display: grid; gap: 8px; }
.mb-sec { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.mb-sec em { font-style: normal; }
.mb-sec.on { border-color: var(--blue); background: var(--blue-light); color: var(--text); font-weight: 600; }
.mb-foot { margin-top: 14px; color: var(--muted); }
.mock-rule { background: var(--ink-2); border-color: var(--ink-line); color: var(--on-ink); }
.mr-rule { padding: 16px; border: 1px solid var(--ink-line-2); border-radius: 10px; line-height: 2; font-size: 15px; }
.mr-rule b { color: var(--on-ink-hi); }
.mr-tag { display: inline-block; min-width: 38px; color: var(--amber); font-weight: 650; }
.mr-log { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.mr-log li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; padding: 9px 4px; border-top: 1px solid var(--ink-line); color: var(--on-ink-3); font-size: 14px; }
.mr-log time { color: var(--on-ink-4); font-variant-numeric: tabular-nums; }
.mr-log span { color: var(--on-ink-hi); font-variant-numeric: tabular-nums; }
.mock-roles { padding: 6px 12px; }
.mock-roles table { width: 100%; border-collapse: collapse; }
.mock-roles th, .mock-roles td { padding: 13px 8px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; }
.mock-roles thead th { border-top: 0; color: var(--muted); font-weight: 500; }
.mock-roles tbody th { text-align: left; font-weight: 500; font-size: 14px; }
.yes, .no { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--blue-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center/100% no-repeat; }
.no { background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23566579' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6.5 10h7'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (max-width: 560px) { .mock-roles th, .mock-roles td { padding: 11px 3px; font-size: 11px; } .mock-roles tbody th { font-size: 12px; } }

/* steps, columns */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--rule); }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 760; letter-spacing: -.04em; color: var(--blue); line-height: 1; margin-bottom: 14px; }
.steps h3, .audience h3 { font-size: 21px; font-weight: 700; }
.steps p, .audience p { margin-top: 8px; color: var(--muted); max-width: 26em; }
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; }
.audience > div { padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.pricing .section-title { margin-bottom: 24px; }
.price { font-size: 19px; color: var(--muted); }
.price b { display: block; font-size: clamp(56px, 8vw, 92px); line-height: 1; letter-spacing: -.05em; color: var(--text); font-weight: 760; }
.pricing .lead { margin-bottom: 28px; }
.tiers { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); margin-top: 8px; }
.tiers caption { text-align: left; color: var(--muted); font-size: 14px; padding: 0 0 12px; caption-side: top; }
.tiers th, .tiers td { padding: 15px 18px; text-align: left; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tiers thead th { border-top: 0; color: var(--muted); font-weight: 500; font-size: 14px; background: var(--paper); }
.tiers tbody th { font-weight: 600; }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers tbody td:last-child { font-weight: 700; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
.faq-list { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--blue-dark); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 40em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* final call and footer */
.final { background: var(--ink); color: var(--on-ink-hi); padding: 84px 0; }
.final .wrap { display: grid; gap: 30px; justify-items: start; }
.final h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 740; line-height: 1.06; max-width: 16em; }
.foot { background: var(--paper); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.final + .foot { border-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.foot-grid nav { display: grid; gap: 10px; align-content: start; }
.foot-grid nav a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.foot-grid nav a:hover { color: var(--blue-dark); text-decoration: underline; }
.foot-note { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 30em; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .final { padding: 56px 0; } }

/* blog */
.blog-head { padding: 64px 24px 24px; }
.blog-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 760; letter-spacing: -.04em; line-height: 1.05; }
.blog-head .btn { margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--blue); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--on-ink-hi); }
.landing-posts { margin-top: 28px; max-width: 880px; }
.landing-posts .entry-link h3 { font-size: clamp(19px, 2.2vw, 23px); }
.posts-all { margin-top: 20px; font-weight: 600; }
.blog-list { padding-top: 24px; padding-bottom: 72px; max-width: 880px; }
.blog-list.more { padding-top: 8px; max-width: 760px; }
.blog-list h2 { font-size: 24px; font-weight: 720; margin: 0 0 8px; }
.entry { border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry-link { display: block; padding: 26px 0; color: inherit; text-decoration: none; }
.entry-link h2, .entry-link h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin: 0; }
.entry-link:hover h2, .entry-link:hover h3 { color: var(--blue-dark); }
.entry-link p { margin-top: 8px; color: var(--muted); max-width: 40em; }
.entry-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.entry-meta i, .article-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.article { max-width: 760px; padding-top: 48px; padding-bottom: 40px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.article h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 760; letter-spacing: -.04em; line-height: 1.08; }
.toc { margin: 28px 0 0; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.toc b { font-size: 14px; color: var(--muted); font-weight: 600; }
.toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose { margin-top: 32px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 30px; font-weight: 720; letter-spacing: -.03em; line-height: 1.2; margin: 52px 0 14px; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 34px 0 10px; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote, .prose pre { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 26px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--blue); }
.prose blockquote { padding: 14px 20px; border-left: 3px solid var(--blue); background: var(--blue-light); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font: 500 .9em ui-monospace, "SF Mono", Menlo, monospace; background: var(--code-bg); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--ink); color: var(--on-ink); padding: 16px 18px; border-radius: 10px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--white); }
.prose a { font-weight: 500; }
.article-cta { margin-top: 56px; padding: 30px; background: var(--ink); color: var(--on-ink-hi); border-radius: 14px; }
.article-cta h2 { font-size: 26px; font-weight: 720; line-height: 1.2; }
.article-cta p { margin: 10px 0 20px; color: var(--on-ink-2); }

/* ---------- dark theme (same Graphite palette as the panel, see /theme.css) ---------- */
:root[data-theme="dark"] {
  --ink: #0c0e10;
  --ink-2: #16191d;
  --paper: #121417;
  --white: #1a1d21;
  --blue: #4c9ffe;
  --blue-dark: #6db1ff;
  --blue-light: #1c2f47;
  --amber: #f0a03c;
  --line: #2b3036;
  --text: #e6e8eb;
  --muted: #9aa1aa;
  --red: #ff8a80;
  --blue-solid: #2b74d4;
  --blue-solid-hover: #2468c4;
  --on-blue: #fff;
  --on-blue-fg: #1d5fb4;
  --on-ink: #e6e8eb;
  --on-ink-2: #aab1ba;
  --on-ink-3: #c5cad0;
  --on-ink-4: #8a929c;
  --on-ink-hi: #fff;
  --ink-line: #2b3036;
  --ink-line-2: #353b43;
  --rule: #3a4048;
  --paper-bar: rgba(18, 20, 23, .86);
  --site-shadow-rgb: 0, 0, 0;
  --ok-ink: #6fd987;
  --warn-ink: #f3c06a;
  --code-bg: #262a30;
}
:root[data-theme="dark"] .no { background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239aa1aa' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6.5 10h7'/%3E%3C/svg%3E") center/100% no-repeat; }
