/* StegPony site styles.
   Flat dark theme, system fonts, one accent (StegPony indigo) used for links,
   focus rings and the primary button. No web fonts, no gradients, no glows.
   Design rules for this file live in the Pony site restyle playbook. */

:root {
  --bg:          #161819;
  --bg-raised:   #1e2123;
  --bg-code:     #111314;
  --line:        #2c3033;
  --line-strong: #3b4044;

  --fg:          #e9e7e3;
  --fg-muted:    #a9aeb1;
  --fg-dim:      #80868a;

  --accent:      #8b8ef2;
  --link:        #b0b2ff;
  --accent-ink:  #0f1038;
  --warn:        #e0a458;
  --danger:      #e98a76;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --maxw: 1080px;
  --maxw-narrow: 760px;
  --gutter: 28px;
  --radius: 8px;
  --radius-sm: 6px;

  /* Older names still referenced by inline styles on a few pages. */
  --serif: var(--sans);
  --text: var(--fg);
  --text-dim: var(--fg-muted);
  --text-faint: var(--fg-dim);
  --bg-alt: var(--bg);
  --bg-card: var(--bg-raised);
  --bg-card-2: var(--bg-raised);
  --bg-card-hov: #23272a;
  --line-accent: var(--line-strong);
  --accent-bright: var(--link);
  --accent-glow: transparent;
  --teal-deep: var(--accent);
  --gold: var(--warn);
  --gold-bright: var(--warn);
  --ok: var(--accent);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
strong { font-weight: 600; color: var(--fg); }
::selection { background: var(--accent); color: var(--accent-ink); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--fg);
  background: #26292c;
  padding: 1px 5px;
  border-radius: 4px;
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.dim { color: var(--fg-dim); }
.accent { color: inherit; }
.ital, .ital-gold, .ital-accent { font-style: normal; color: inherit; }

/* Layout ---------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-alt { background: none; }
.section-head { margin-bottom: 28px; max-width: 680px; }
.section-sub { color: var(--fg-muted); }
[id] { scroll-margin-top: 24px; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--fg); letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3vw, 28px); font-weight: 650; margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--fg-muted); max-width: 64ch; }

/* Header ---------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.wordmark:hover { text-decoration: none; color: var(--fg); }
.wordmark .brand-icon { border-radius: 6px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { font-size: 15px; color: var(--fg-muted); }
.site-nav a:hover { color: var(--fg); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--fg); }
.nav-cta {
  font-size: 15px; font-weight: 600; color: var(--accent-ink); background: var(--accent);
  border-radius: var(--radius-sm); padding: 6px 14px; flex-shrink: 0;
}
.nav-cta:hover { color: var(--accent-ink); background: #a3a5f6; text-decoration: none; }

/* Pony apps dropdown */
.nav-family { position: relative; margin-left: auto; }
.nav-family-btn {
  display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px;
  color: var(--fg-muted); background: none; border: 0; padding: 6px 2px; cursor: pointer;
}
.nav-family-btn:hover, .nav-family[data-open] .nav-family-btn { color: var(--fg); }
.nav-family-dots { display: none; }
.nav-family-caret { font-size: 11px; }
.nav-family-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 320px;
  background: var(--bg-raised); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 6px; z-index: 60;
}
.nav-family-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: var(--radius-sm); color: var(--fg); }
.nav-family-menu a:hover { background: var(--bg-card-hov); text-decoration: none; }
.fam-icon { width: 28px; height: 28px; border-radius: 7px; flex: none; margin-top: 2px; }
.fam-dot { display: none; }
.fam-meta { display: flex; flex-direction: column; gap: 1px; }
.fam-name { font-size: 15px; font-weight: 600; }
.fam-arrow { display: none; }
.fam-tag { font-size: 13.5px; color: var(--fg-muted); line-height: 1.4; }
.fam-all { justify-content: flex-start; font-size: 14px; color: var(--link) !important; border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: var(--fg-dim); margin: 22px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs a { color: var(--fg-muted); }
.breadcrumbs [aria-current="page"] { color: var(--fg-dim); }
.breadcrumbs .bc-sep { padding: 0 8px; }

/* Buttons --------------------------------------------------------------- */
.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-raised); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 8px 14px 8px 12px; color: var(--fg);
}
.store-icon svg { width: 20px; height: 20px; }
.store-btn:hover { color: var(--fg); border-color: var(--fg-dim); text-decoration: none; }
.store-icon { color: var(--fg); display: flex; }
.store-icon svg path[fill] { fill: currentColor; }
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-pre { display: none; }
.store-name { font-size: 16px; font-weight: 600; }

.trust-row { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 20px; font-size: 15px; color: var(--fg-muted); }
.trust-item .check { display: none; }
.trust-item:not(:last-child)::after { content: "·"; margin: 0 8px; color: var(--fg-dim); }

/* Home: hero ------------------------------------------------------------ */
.hero { padding: 56px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-title { margin: 0 0 18px; }
.hero-sub { font-size: 18px; color: var(--fg-muted); line-height: 1.6; max-width: 60ch; margin-bottom: 28px; }
.hero-sub strong { color: var(--fg); font-weight: 600; }
.section .hero-sub { font-size: 17px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--fg-dim); }
.hero-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.hero-shots figure:nth-child(2) { margin-top: 48px; }

/* Screenshots */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-strong); background: #f2f2f7; }
.shot figcaption { margin-top: 10px; font-size: 14.5px; color: var(--fg-muted); line-height: 1.45; }
.shot figcaption b { color: var(--fg); font-weight: 600; display: block; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Home: feature groups */
.feature-group { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.feature-group:first-of-type { border-top: 0; padding-top: 0; }
.feature-group > h3 { font-size: 18px; margin: 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.feature-list dt { font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.feature-list dd { color: var(--fg-muted); font-size: 15.5px; line-height: 1.6; }

/* Home: how it works */
.how-steps { list-style: none; counter-reset: how; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-steps li { counter-increment: how; }
.how-steps li::before { content: counter(how) "."; display: block; font-weight: 700; color: var(--fg-dim); margin-bottom: 6px; }
.how-steps h3 { margin-bottom: 6px; }
.how-steps p { font-size: 15.5px; color: var(--fg-muted); }

/* Home: platform table, link lists */
.link-list { list-style: none; border-top: 1px solid var(--line); }
.link-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.link-list a { font-weight: 600; }
.link-list p { color: var(--fg-muted); font-size: 15.5px; }
.note { font-size: 15.5px; color: var(--fg-muted); margin-top: 18px; }
.note strong { color: var(--fg); }

/* Generic blocks --------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.feat .num { display: none; }
.feat h3 { font-size: 18px; }
.feat p { font-size: 15.5px; color: var(--fg-muted); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.card { display: block; padding: 16px 0; border-top: 1px solid var(--line); color: var(--fg); }
.card:hover { text-decoration: none; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card .knum { font-size: 13.5px; color: var(--fg-dim); margin-bottom: 4px; }
.card h3 { color: var(--link); font-size: 17px; }
.card p { font-size: 15px; color: var(--fg-muted); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step .snum { font-weight: 700; color: var(--fg-dim); margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--fg-muted); }

.spec-list { list-style: none; border-top: 1px solid var(--line); }
.spec-list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 16px; font-size: 15.5px; }
.spec-list .k { color: var(--fg-dim); }
.spec-list .v { color: var(--fg); }

.checks { list-style: disc; padding-left: 1.2em; }
.checks li { margin-bottom: 10px; color: var(--fg-muted); font-size: 16px; }
.checks li::marker { color: var(--fg-dim); }
.checks li strong { color: var(--fg); }

/* Tables */
.cmp-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.cmp th, table.cmp td { padding: 11px 14px 11px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp thead th { font-weight: 600; color: var(--fg); border-bottom-color: var(--line-strong); }
table.cmp tbody td:first-child { color: var(--fg); }
table.cmp td { color: var(--fg-muted); }
table.cmp .yes { color: var(--fg); }
table.cmp .no { color: var(--fg-dim); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--fg);
  list-style: none; display: flex; justify-content: space-between; gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--fg-dim); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a, .faq-item .faq-body { padding: 0 0 18px; color: var(--fg-muted); font-size: 16px; line-height: 1.65; max-width: 70ch; }
.faq-item .faq-body p { margin-bottom: 10px; }

/* Download block */
.final-cta { padding: 64px 0; border-top: 1px solid var(--line); }
.final-cta h2 { margin-bottom: 8px; }
.final-cta p { color: var(--fg-muted); margin: 0 0 22px; max-width: 60ch; }

/* Footer ---------------------------------------------------------------- */
.family-band { padding: 56px 0; border-top: 1px solid var(--line); }
.family-band-head { margin: 0 0 24px; max-width: 640px; }
.family-eyebrow { display: none; }
.family-h { font-size: 22px; font-weight: 650; margin: 0 0 6px; }
.family-sub { color: var(--fg-muted); font-size: 16px; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 32px; }
.family-card { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; color: var(--fg); align-items: start; }
.family-card:hover { text-decoration: none; }
.family-card:hover .family-card-name { text-decoration: underline; text-underline-offset: 3px; }
.family-card-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 9px; }
.family-card-dot { display: none; }
.family-card-name { font-size: 16px; font-weight: 600; color: var(--link); }
.family-card-plat { font-size: 13.5px; color: var(--fg-dim); }
.family-card-tag { color: var(--fg-muted); font-size: 14.5px; line-height: 1.45; }
.family-all-link { display: inline-block; font-size: 15px; margin: 24px 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.foot-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--fg); margin-bottom: 8px; }
.foot-logo img { border-radius: 5px; }
.foot-tag { font-size: 15px; color: var(--fg-muted); line-height: 1.45; }
.foot-h { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--fg-muted); padding: 3px 0; }
.foot-col a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-meta, .foot-copy { font-size: 14px; color: var(--fg-dim); }
.foot-mirrors { line-height: 1.8; margin-top: 10px; }
.foot-mirrors a { color: var(--fg-dim); }
.foot-mirrors a:hover { color: var(--fg-muted); }
.foot-mirrors .fm-net { color: var(--fg-muted); margin-right: 4px; }
.foot-mirrors .fm-addr code { word-break: break-all; font-size: 12.5px; background: none; padding: 0; color: inherit; }

/* Content pages --------------------------------------------------------- */
.page-head { padding: 48px 0 24px; }
.page-head .eyebrow { font-size: 14px; color: var(--fg-dim); margin-bottom: 10px; }
.page-head h1 { margin-bottom: 14px; }
.page-head .lede { max-width: 64ch; }
.page-meta { font-size: 14px; color: var(--fg-dim); margin: -4px 0 14px; }

.prose { padding: 28px 0 8px; max-width: 70ch; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { color: var(--fg-muted); margin-bottom: 16px; }
.prose p strong, .prose li strong { color: var(--fg); }
.prose a, .faq-a a, .faq-body a, .note a, .hero-sub a { text-decoration: underline; text-decoration-color: rgba(176, 178, 255, 0.45); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 18px 1.3em; color: var(--fg-muted); }
.prose li { margin-bottom: 8px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }

.codeblock, pre {
  background: var(--bg-code); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7;
  color: var(--fg); overflow-x: auto; margin: 8px 0 22px; white-space: pre;
}
pre code, .codeblock code { background: none; padding: 0; font-size: inherit; }
.codeblock .c { color: var(--fg-dim); }
.codeblock .k { color: #d9c28e; }

.callout {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 8px 0 22px; display: block; color: inherit;
}
a.callout:hover { text-decoration: none; border-color: var(--line-strong); }
.callout .label { font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 4px; }
.callout p { font-size: 15.5px; margin-bottom: 0; color: var(--fg-muted); }

/* Bottom-of-page download box on guides, glossary, compare, for */
.learn-cta, .compare-cta { margin: 48px 0 16px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.learn-cta h2, .compare-cta h2 { font-size: 22px; margin-bottom: 4px; }
.learn-cta p, .compare-cta p { font-size: 16px; color: var(--fg-muted); margin-bottom: 18px; }

/* Hubs */
.hub-grid { display: grid; gap: 0; margin: 28px 0 8px; border-top: 1px solid var(--line); }
.hub-card { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hub-card .gnum { display: none; }
.hub-card h3 { color: var(--link); }
.hub-card p { font-size: 15.5px; color: var(--fg-muted); }

.gloss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 24px 0 8px; }
.gloss-tile { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.gloss-tile h3 { color: var(--link); font-size: 17px; }
.gloss-tile p { font-size: 15px; color: var(--fg-muted); }

/* Apps page */
.apps-list { display: grid; gap: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.app-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.app-card::before { display: none; }
.app-card-icon { width: 64px; height: 64px; border-radius: 14px; }
.app-card-body h2 { font-size: 19px; margin: 0 0 2px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.app-card-plat, .app-card-here { font-size: 13.5px; font-weight: 400; color: var(--fg-dim); }
.app-card-here::before { content: "("; }
.app-card-here::after { content: ")"; }
.app-card-body p { color: var(--fg-muted); font-size: 15.5px; margin: 0; max-width: 62ch; }
.app-card-cta { font-size: 15px; white-space: nowrap; }
.apps-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; margin: 8px 0 0; }
.apps-principle h3 { font-size: 17px; }
.apps-principle p { color: var(--fg-muted); font-size: 15.5px; }

/* Store badges (legacy markup) */
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; flex-direction: column; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raised); }
.badge .sm { font-size: 12px; color: var(--fg-dim); }
.badge .lg { font-weight: 600; font-size: 16px; color: var(--fg); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-shots { max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .card-grid, .family-grid, .apps-principles { grid-template-columns: 1fr 1fr; }
  .steps, .how-steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(4, 220px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shot { scroll-snap-align: start; }
  .feature-group { grid-template-columns: 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .header-inner { flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { order: 3; width: 100%; gap: 6px 16px; }
  .nav-family { margin-left: auto; }
  .section { padding: 48px 0; }
  .feature-list, .feat-grid, .card-grid, .family-grid, .apps-principles, .gloss-grid { grid-template-columns: 1fr; }
  .steps, .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .hero-shots figure:nth-child(2) { margin-top: 32px; }
  .link-list li, .spec-list li { grid-template-columns: 1fr; gap: 4px; }
  .app-card { grid-template-columns: 52px 1fr; gap: 14px; }
  .app-card-icon { width: 52px; height: 52px; border-radius: 12px; }
  .app-card-cta { grid-column: 2; }
  .nav-family-menu { width: min(320px, calc(100vw - 36px)); }
}

.icon-fallback { display: inline-flex; align-items: center; justify-content: center; background: #2a2e31; color: var(--fg-muted); font-weight: 700; font-size: 15px; }
.callout .label::first-letter, .learn-callout-label::first-letter { text-transform: uppercase; }
.wrap.learn-section, .wrap.compare-section, .wrap.learn-step, .wrap.learn-verify { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.wrap-narrow { max-width: var(--maxw); }
.wrap-narrow > * { max-width: var(--maxw-narrow); }
[class$="-label"]::first-letter { text-transform: uppercase; }
.app-card-plat { color: var(--fg-dim) !important; }
.split > *, .hero-inner > *, .feature-group > *, .feature-list > *, .card-grid > *, .how-steps > *, .foot-grid > *, .family-grid > * { min-width: 0; }
@media (max-width: 680px) { p code, li code, dd code, td code { overflow-wrap: anywhere; } }

/* Review fixes */
.store-btn-pretitle { display: none; }
.store-btn-title { font-size: 16px; font-weight: 600; }
.wrap.learn-section, .wrap.compare-section, .wrap.learn-step, .wrap.learn-verify {
  border-bottom: 0;
  background: linear-gradient(var(--line), var(--line)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.wrap.learn-section:last-of-type, .wrap.compare-section:last-of-type { background: none; }
.learn-section .gloss-related { padding-left: 0; }
.example-note { color: var(--fg-dim); font-size: 14.5px; margin: 0; }
main { counter-reset: lstep; }
.learn-step { counter-increment: lstep; }
.learn-step .learn-step-num { display: none; }
.learn-step h2::before { content: counter(lstep) ". "; color: var(--fg-dim); }
.guides-hub-section h2 .count { display: none; }

.compare-hub-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.trust-item .check { display: none; }
@media (max-width: 680px) {
  table.cmp, .compare-matrix { min-width: 0; font-size: 14.5px; }
  table.cmp th, table.cmp td, .compare-matrix th, .compare-matrix td { padding-right: 10px; }
  .compare-matrix tbody th { width: auto; }
}
.prose-col { max-width: 70ch; }
.prose-col > p { color: var(--fg-muted); margin-bottom: 18px; }
.prose-col a { text-decoration: underline; text-decoration-color: rgba(176, 178, 255, 0.45); text-underline-offset: 3px; }


/* Shared components (from the pgpony.app base) ------------------------------------------------------ */
.wm-bracket { display: none; }
.apps-head { padding: 48px 0 24px; max-width: 760px; }
.apps-head h1 { margin-bottom: 12px; }
.apps-head p { font-size: 19px; color: var(--fg-muted); }
.faq { border-top: 1px solid var(--line); }
.feature-grid, .tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 24px 40px; }
.feature-grid > *, .tech-grid > * { min-width: 0; }
.feat-icon { display: none; }
.tech-card { border-top: 1px solid var(--line); padding-top: 14px; }
.tech-h { font-weight: 600; font-size: 17px; color: var(--fg); margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 15.5px; }
.kv dt { color: var(--fg-dim); }
.kv dd { color: var(--fg-muted); margin: 0; }
.ascii-diagram { font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--fg-muted); background: var(--bg-code); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; white-space: pre; overflow-x: auto; }
.final-inner { max-width: 760px; }
.final-icon-wrap { margin-bottom: 18px; }
.final-icon { width: 72px; height: 72px; border-radius: 16px; }
.final-icon-glow { display: none; }
.store-row-center { justify-content: flex-start; }
.t-dim { color: var(--fg-dim); }
.t-ok, .t-accent { color: var(--fg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 680px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; } }
.tool-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); margin: 8px 0 0; }
.tool-links li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.tool-links a { font-weight: 600; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 18px; }
.stat-pair dt { font-size: 14.5px; color: var(--fg-dim); }
.stat-pair dd { font-size: 32px; font-weight: 700; color: var(--fg); line-height: 1.1; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 32px; }
.quote { margin: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.quote blockquote { margin: 0 0 8px; color: var(--fg); font-size: 16px; line-height: 1.6; }
.quote figcaption { font-size: 14px; color: var(--fg-dim); }
[class$="-h"]::first-letter { text-transform: uppercase; }
@media (max-width: 680px) {
  .header-inner { position: relative; }
  .nav-family { position: static; }
  .nav-family-menu { left: var(--gutter); right: var(--gutter); width: auto; top: 100%; }
}
.wrap.final-inner { max-width: var(--maxw); }
.wrap.final-inner > * { max-width: 760px; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select,
input[type="file"], input[type="file"]::file-selector-button, .bd-field textarea { font-family: var(--sans) !important; }

/* StegPony components ---------------------------------------------------- */
@media (min-width: 921px) { #tech .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.hero-inner.hero-solo { grid-template-columns: 1fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; font-size: 16px; font-weight: 600;
  color: var(--accent-ink); background: var(--accent); border-radius: var(--radius-sm); padding: 9px 16px;
}
.btn-primary:hover { color: var(--accent-ink); background: #a3a5f6; text-decoration: none; }
.btn-plain {
  display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--fg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px 15px;
}
.btn-plain:hover { color: var(--fg); border-color: var(--fg-dim); text-decoration: none; }
.status-line { margin-top: 18px; font-size: 15px; color: var(--fg-muted); max-width: 62ch; }
.status-line strong { color: var(--fg); }

/* Release candidates */
.rc-list { border-top: 1px solid var(--line); margin: 8px 0 0; }
.rc-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rc-item h2 { font-size: 22px; margin-bottom: 4px; }
.rc-meta { font-size: 15px; color: var(--fg-dim); margin-bottom: 14px; }
.rc-files { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 14px 0 0; font-size: 15.5px; }
.hash { font-family: var(--mono); font-size: 13.5px; color: var(--fg); background: var(--bg-code); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; overflow-wrap: anywhere; margin: 6px 0 0; }
.hash-label { font-size: 14.5px; color: var(--fg-dim); margin-top: 12px; }
.rc-notes { color: var(--fg-muted); font-size: 16px; max-width: 70ch; }
.rc-notes ul { margin: 8px 0 0 1.2em; }
.rc-notes li { margin-bottom: 6px; }

/* Sending table: status column */
table.cmp td.state { color: var(--fg); white-space: nowrap; }
@media (max-width: 680px) { table.cmp td.state { white-space: normal; } }
