/* What's new, Blog and Customer stories (pages built by content/build.py), on top of styles.css. */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.content-main { padding-bottom: 24px; }

.content-hero { padding-block: 72px 40px; }
.content-hero h1 { font-size: var(--step-4); margin: 14px 0 18px; max-width: 14em; }
.feed-link { margin-top: 14px; font-size: var(--step--1); }
.feed-link a { color: var(--muted); }

/* Drawn covers: the brand gradient with five voice bars, tinted per section or category. */
.cover {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--brand);
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 10%, rgba(255, 255, 255, .28), transparent 55%),
              radial-gradient(90% 80% at 0% 100%, rgba(20, 17, 43, .35), transparent 60%);
}
.cover-mark {
  position: absolute; inset: 0; margin: auto; height: 44%; width: auto;
  filter: drop-shadow(0 12px 28px rgba(20, 17, 43, .28));
}
.cover-changelog { background: linear-gradient(120deg, #5b34f5 0%, #b43ceb 60%, #ff6f61 120%); }
.cover-industry { background: linear-gradient(135deg, #2b1d8f 0%, #5b34f5 55%, #36c5f0 120%); }
.cover-reviews { background: linear-gradient(135deg, #b43ceb 0%, #ff6f61 100%); }
.cover-guides { background: linear-gradient(135deg, #0f7b6c 0%, #23b28d 55%, #8be0b5 120%); }
.cover-company, .cover-story { background: linear-gradient(135deg, #14112b 0%, #5b34f5 70%, #b43ceb 130%); }
.cover-wide { aspect-ratio: 21 / 8; }
@media (max-width: 640px) { .cover-wide { aspect-ratio: 16 / 9; } }

.kicker { font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.post-meta { color: var(--muted); font-size: var(--step--1); }
.lang-note { padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: .78rem; }

/* What's new: list of issues */
.cl-list { display: grid; gap: 28px; }
.cl-row { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; }
.cl-when { position: sticky; top: 96px; display: grid; gap: 4px; padding-top: 22px; }
.cl-when time { font: 700 var(--step-0)/1.3 var(--font-display); }
.cl-when span { color: var(--muted); font-size: var(--step--1); }
.cl-summary {
  display: grid; gap: 12px; padding: 26px 28px; text-decoration: none;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cl-summary:hover { border-color: var(--violet); box-shadow: var(--shadow); transform: translateY(-1px); }
.cl-summary h2 { font-size: var(--step-2); }
.cl-summary > p { color: var(--muted); }
.cl-summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cl-summary li { padding-inline-start: 22px; position: relative; }
.cl-summary li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 3px; background: var(--brand);
}
.cl-summary .more { color: var(--violet); font-weight: 600; font-size: var(--step--1); }
.cl-latest .cl-summary { padding: 14px 14px 26px; }
.cl-latest .cl-summary > :not(.cover) { margin-inline: 14px; }
.cl-latest .cl-summary h2 { font-size: var(--step-3); }
@media (max-width: 760px) {
  .cl-row { grid-template-columns: 1fr; gap: 10px; }
  .cl-when { position: static; padding-top: 0; grid-auto-flow: column; justify-content: start; gap: 12px; align-items: baseline; }
  .cl-summary { padding: 20px; }
}

/* What's new: one issue */
.cl-issue, .post { max-width: 820px; }
.post-head { padding-block: 48px 28px; display: grid; gap: 14px; }
.post-head h1 { font-size: var(--step-4); }
.post-head .lead { max-width: none; }
.back { color: var(--muted); text-decoration: none; font-size: var(--step--1); }
.back:hover { color: var(--ink); }
.cl-intro { margin-bottom: 24px; }
.cl-card {
  padding: 28px 30px; margin-bottom: 18px; border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); background: var(--surface); scroll-margin-top: 90px;
}
.cl-card h2 { font-size: var(--step-2); margin: 10px 0 12px; }
.cl-card p + p, .cl-card p + ul, .cl-card ul + p { margin-top: .8rem; }
.cl-card ul { margin: .8rem 0 0; padding-inline-start: 1.2rem; }
.cl-card li + li { margin-top: .35rem; }
.cl-card figure { margin: 18px -12px 0; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-chips:empty { display: none; }
.cl-card:first-of-type { border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font: 600 .74rem/1.2 var(--font-body); letter-spacing: .02em;
  background: var(--mist); color: var(--muted); border: 1px solid var(--line);
}
.chip-mac { color: #5b34f5; }
.chip-iphone { color: #c0359f; }
.chip-web { color: #0f7b6c; }
.chip-teams { color: #c4532a; }
.chip-windows { color: #1667c9; }
.chip-android { color: #2e7d32; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip-mac { color: #a996ff; }
  :root:not([data-theme="light"]) .chip-iphone { color: #f08bd9; }
  :root:not([data-theme="light"]) .chip-web { color: #5fd4b4; }
  :root:not([data-theme="light"]) .chip-teams { color: #ff9f7c; }
  :root:not([data-theme="light"]) .chip-windows { color: #7db4ff; }
  :root:not([data-theme="light"]) .chip-android { color: #7fd58a; }
}
:root[data-theme="dark"] .chip-mac { color: #a996ff; }
:root[data-theme="dark"] .chip-iphone { color: #f08bd9; }
:root[data-theme="dark"] .chip-web { color: #5fd4b4; }
:root[data-theme="dark"] .chip-teams { color: #ff9f7c; }
:root[data-theme="dark"] .chip-windows { color: #7db4ff; }
:root[data-theme="dark"] .chip-android { color: #7fd58a; }
@media (max-width: 640px) { .cl-card { padding: 22px 20px; } }

/* Blog and stories */
.post-feature {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; text-decoration: none;
  padding: 14px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface);
}
.post-feature > div { display: grid; gap: 12px; padding-inline-end: 20px; }
.post-feature h2 { font-size: var(--step-3); }
.post-feature p { color: var(--muted); }
.post-feature .cover-wide { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; gap: 18px; } .post-feature > div { padding: 0 10px 14px; } }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.post-card .cover { border-radius: 0; }
.post-card-body { display: grid; gap: 10px; align-content: start; padding: 20px 22px 24px; }
.post-card h3 { font-size: var(--step-1); }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .post-meta { font-size: .85rem; }
.post-card:hover, .post-feature:hover { border-color: var(--violet); box-shadow: var(--shadow); transform: translateY(-1px); }
.more-posts { margin-top: 80px; }
.more-posts h2 { font-size: var(--step-2); }

/* Article text */
.prose { font-size: 1.075rem; line-height: 1.75; }
.post .prose { margin-top: 36px; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; }
.prose h4 { font-size: 1rem; margin-top: 1.6rem; }
.prose a, .cl-card a { color: var(--violet); }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.prose blockquote {
  margin-inline: 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--violet);
  font: 600 var(--step-1)/1.5 var(--font-display); color: var(--ink);
}
.prose figure { margin-inline: 0; }
.prose img, .cl-card img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { color: var(--muted); font-size: var(--step--1); margin-top: 8px; text-align: center; }
.prose code, .cl-card code { font: 500 .88em var(--font-mono); background: var(--mist); padding: .12em .4em; border-radius: 6px; }
.prose pre { background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4rem; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 600; }

/* Closing call to action */
.content-cta {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
  margin-top: 56px; padding: 32px 36px; border-radius: calc(var(--radius) + 6px);
  background: var(--band); color: var(--band-ink);
}
.content-cta h2 { font-size: var(--step-2); margin-bottom: 6px; }
.content-cta p { color: var(--band-muted); max-width: 34em; }
.content-cta .btn-primary { background: #fff; color: #14112b; }
@media (max-width: 640px) { .content-cta { padding: 26px 22px; } }

/* Solutions and Pricing pages */
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-section { margin-top: 88px; }
.page-section > h2 { font-size: var(--step-3); margin-bottom: 28px; max-width: 22em; }
@media (max-width: 700px) { .page-section { margin-top: 64px; } }
.app-dot {
  display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px;
  background: var(--app); color: #fff; font: 700 .8rem/1 var(--font-display);
}
.ex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .ex-grid { grid-template-columns: 1fr; } }
.ex-card {
  margin: 0; display: grid; gap: 14px; align-content: start; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface);
}
.ex-card figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ex-said, .ex-out { display: grid; gap: 4px; white-space: pre-line; }
.ex-said span, .ex-out span { font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-said { color: var(--muted); font-style: italic; }
.ex-out { padding: 14px 16px; border-radius: 14px; background: var(--mist); color: var(--ink); }
.ex-out span { color: var(--violet); font-style: normal; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pt-card { padding: 22px 24px; border-radius: calc(var(--radius) + 2px); background: var(--mist); border: 1px solid var(--line); }
.pt-card h3 { font-size: var(--step-1); margin-bottom: 8px; }
.pt-card p { color: var(--muted); }
.pt-card a, .page-faq a, .early a, .plan-box a:not(.btn) { color: var(--violet); }
.dev-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.dev { padding: 22px 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); }
.dev h3 { font-size: var(--step-1); margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dev p { color: var(--muted); }
.soon, .plan-badge {
  font: 600 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet);
}
.plan-box {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
  padding: 32px 36px; border-radius: calc(var(--radius) + 6px); background: var(--mist); border: 1px solid var(--line);
}
.plan-box h2 { font-size: var(--step-2); margin: 8px 0 6px; }
.plan-box p:not(.eyebrow) { color: var(--muted); max-width: 36em; }
.page-faq .faq-list { max-width: 820px; }

/* Solutions hub */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: grid; gap: 12px; align-content: start; padding: 28px; text-decoration: none; min-height: 320px;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; position: relative; overflow: hidden;
}
.hub-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--brand); }
.hub-teams { background: var(--band); color: var(--band-ink); border-color: var(--band-line); }
.hub-teams .eyebrow { color: #c9b8ff; }
.hub-teams p { color: var(--band-muted); }
.hub-card h2 { font-size: var(--step-2); }
.hub-card p { color: var(--muted); }
.hub-card:hover { border-color: var(--violet); box-shadow: var(--shadow); transform: translateY(-1px); }
.hub-apps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .9rem; }
.hub-apps li { display: flex; align-items: center; gap: 7px; }
.hub-apps .app-dot { width: 22px; height: 22px; border-radius: 7px; font-size: .7rem; }
.hub-card .more { margin-top: auto; color: var(--violet); font-weight: 600; font-size: var(--step--1); }
.hub-teams .more { color: #c9b8ff; }

/* Pricing */
.early {
  display: grid; gap: 6px; padding: 20px 24px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--violet) 9%, var(--bg)); border: 1px solid color-mix(in srgb, var(--violet) 30%, var(--line));
}
.early p { color: var(--muted); }
.plans-section { margin-top: 64px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 24px 28px;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: var(--surface);
}
.plan-main { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand) border-box; box-shadow: var(--shadow); }
.plan-pill {
  position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(-50%) rotate(-3deg);
  padding: 6px 16px; border-radius: 999px; font: 700 .95rem/1.2 var(--font-display); color: #fff; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(20, 17, 43, .3);
}
[dir="rtl"] .plan-pill { transform: translateX(50%) rotate(3deg); }
.plan-free .plan-pill { background: #ff6f61; }
.plan-pro .plan-pill { background: #6a3bff; }
.plan-team .plan-pill { background: #b43ceb; }
.plan-enterprise .plan-pill { background: #14112b; }
:root[data-theme="dark"] .plan-enterprise .plan-pill { background: #f2f0fa; color: #14112b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan-enterprise .plan-pill { background: #f2f0fa; color: #14112b; } }
.plan-eyebrow { font: 600 .74rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; min-height: 2.6em; }
.plan-price { font: 800 var(--step-3)/1 var(--font-display); letter-spacing: -.02em; }
.plan-price span { font: 500 var(--step--1)/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.plan-later { color: var(--muted); font-size: .85rem; margin-top: -4px; min-height: 1.3em; }
.plan .btn { justify-content: center; margin: 6px 0 4px; }
.plan-intro { color: var(--muted); font-style: italic; font-size: .92rem; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: .95rem; }
.plan li { position: relative; padding-inline-start: 24px; }
.plan li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 12px; height: 7px;
  border-inline-start: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}
.plan-foot { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: .85rem; }
.page-faq details { border-bottom: 1px solid var(--line); }
.page-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font: 700 var(--step-1)/1.35 var(--font-display); letter-spacing: -.01em; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.page-faq details[open] summary::after { transform: rotate(45deg); }
.page-faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Screenshots in device frames: a run of ![..](..){mac|windows|phone} in a post or a What's new card. */
.shots { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; margin: 22px 0 0; }
.cl-card .shots figure, .prose .shots figure { margin: 0; }
.shot { flex: 1 1 320px; max-width: 560px; }
.shot-phone { flex: 0 1 220px; max-width: 240px; }
.shot-frame { position: relative; overflow: hidden; background: var(--paper, #fff); }
.shots img, .cl-card .shots img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.shot-mac .shot-frame, .shot-windows .shot-frame {
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(40, 20, 90, .35);
}
.shot-bar { display: flex; gap: 7px; align-items: center; height: 26px; padding: 0 12px; background: var(--mist); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }
.shot-windows .shot-bar { justify-content: flex-end; }
.shot-windows .shot-bar i { width: 10px; height: 2px; border-radius: 0; background: var(--muted); }
.shot-windows .shot-bar i:nth-child(2) { height: 9px; background: none; border: 1.5px solid var(--muted); }
.shot-windows .shot-bar i:nth-child(3) { background: var(--muted); transform: rotate(45deg); }
.shot-phone .shot-frame {
  border-radius: 34px; border: 9px solid #15131c; background: #15131c;
  box-shadow: 0 18px 40px -20px rgba(40, 20, 90, .45);
}
.shot-phone img { border-radius: 25px; }
.shots figcaption { color: var(--muted); font-size: var(--step--1); margin-top: 10px; text-align: center; }
@media (max-width: 560px) { .shot-phone { flex-basis: 46%; } }

/* Guides (/guides/): hub, article layout with a side table of contents, and the blocks of content/build.py */
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.g-filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 500; }
.g-filters a:hover { border-color: var(--violet); color: var(--violet); }
.g-cat { padding-block: 18px 30px; scroll-margin-top: 90px; }
.g-cat h2 { font-size: var(--step-2); }
.g-cat-lead { color: var(--muted); margin: 6px 0 18px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.g-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.g-card:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(60, 30, 160, .1); }
.g-card h3 { font-size: var(--step-1); line-height: 1.25; }
.g-card p { color: var(--muted); font-size: .95rem; }
.g-card .post-meta { margin-top: auto; padding-top: 6px; }
.g-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-card-chips .chip, .g-chips .chip { font-size: .74rem; padding: 3px 10px; }

.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 56px; align-items: start; }
.g-article { min-width: 0; max-width: 760px; }
.g-head { padding-bottom: 8px; }
.g-crumbs { font-size: var(--step--1); color: var(--muted); }
.g-crumbs a { color: inherit; }
.g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-prose { margin-top: 18px; }
.g-prose h2 { scroll-margin-top: 90px; }
.g-side { position: sticky; top: 96px; padding-top: 56px; }
.g-toc { display: grid; gap: 9px; font-size: .92rem; border-inline-start: 2px solid var(--line); padding-inline-start: 16px; }
.g-toc a { color: var(--muted); text-decoration: none; line-height: 1.35; }
.g-toc a:hover { color: var(--violet); }
.g-label { font: 600 .74rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.g-tldr, .g-tip { border-radius: var(--radius); padding: 18px 22px; }
.g-tldr { background: color-mix(in srgb, var(--violet) 8%, transparent); border: 1px solid color-mix(in srgb, var(--violet) 30%, transparent); }
.g-tldr .g-label { color: var(--violet); }
.g-tip { background: var(--mist); border: 1px solid var(--line); }
.g-tldr > * + *, .g-tip > * + * { margin-top: .6rem; }

/* "You said → SayVelio typed" */
.g-ex {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-inline: 0; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(40, 20, 120, .08);
}
.g-ex > div { padding: 18px 22px; font-size: 1rem; line-height: 1.6; }
.g-ex-said { background: var(--mist); color: var(--muted); font-style: italic; }
.g-ex-got { background: var(--surface); }
.g-ex-got .g-label { color: var(--violet); }
.g-ex-got > * + * { margin-top: .6rem; }
.g-ex-app { position: absolute; inset-inline-end: 12px; top: 10px; font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.g-ex-said .g-label, .g-ex-said p.g-label { font-style: normal; }

/* A prompt to copy */
.g-prompt { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--mist); }
.g-prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.g-copy { font: inherit; font-size: .82rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.g-copy:hover { border-color: var(--violet); color: var(--violet); }
.g-prompt pre { margin: 0; border: 0; border-radius: 0; white-space: pre-wrap; font: 500 .9rem/1.6 var(--font-mono); background: none; }

/* A card linking to another guide, inside the text */
.prose a.g-inline, a.g-inline {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
a.g-inline:hover { border-color: var(--violet); box-shadow: 0 10px 28px rgba(60, 30, 160, .1); }
.g-inline-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--brand); }
.g-inline-icon svg { width: 22px; height: 22px; }
.g-inline-text { display: grid; gap: 3px; line-height: 1.4; }
.g-inline-text strong { font-family: var(--font-display); font-size: 1.05rem; }
.g-inline-text > span:last-child { color: var(--muted); font-size: .92rem; }
.g-inline-go { margin-inline-start: auto; font-size: 1.3rem; color: var(--violet); }
[dir="rtl"] .g-inline-go { transform: scaleX(-1); }

.g-faq { display: grid; }
.g-faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.g-faq summary { font-weight: 600; cursor: pointer; }
.g-faq details > :not(summary) { margin-top: .6rem; }
.g-related { margin-top: 56px; }
.g-related h2 { font-size: var(--step-2); margin-bottom: 16px; }
.g-all { margin-top: 14px; }
.g-all a { color: var(--violet); font-weight: 600; }

@media (max-width: 960px) {
  .g-layout { grid-template-columns: 1fr; }
  .g-side { display: none; }
}
@media (max-width: 640px) {
  .g-ex { grid-template-columns: 1fr; }
}
.g-prose figure:not(.shot) img { display: block; max-width: min(100%, 620px); margin-inline: auto; }
.g-related .g-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.g-head h1 { font-size: var(--step-3); }

[dir="rtl"] .g-prose pre { direction: ltr; text-align: left; }

/* Guide covers: drawn by content/covers.js */
.g-card.has-cover { padding-top: 0; overflow: hidden; }
.g-card-cover { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 1200 / 630;
  margin: 0 -22px 8px; border-bottom: 1px solid var(--line); object-fit: cover; }
.g-hero { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: var(--radius);
  margin-top: 22px; box-shadow: var(--shadow); }
.g-inline-thumb { flex: none; width: 150px; height: auto; aspect-ratio: 1200 / 630; border-radius: 10px; object-fit: cover; }
@media (max-width: 560px) { .g-inline-thumb { width: 96px; } }
/* Download page: one card per system */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.dl-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--mist); }
.dl-card h2 { font-size: var(--step-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.dl-card .dl-req { font-weight: 600; color: var(--ink); }
.dl-card p { color: var(--muted); }
.dl-card .btn { margin-top: auto; align-self: flex-start; }
