/* ==========================================================================
   vcaonline.com — theme
   Layered on top of Bootstrap 5.3. Sibling styling to vcprodatabase.com:
   hairline borders instead of shadows, generous whitespace, monospaced
   figures and labels for the data-product voice.
   ========================================================================== */

:root {
  /* Palette */
  --ink: #16295a;
  --ink-soft: #33405c;
  --body: #4d5b70;
  --muted: #78859a;
  --line: #e4e9f1;
  --line-strong: #d3dbe6;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --brand: #0d6efd;
  --brand-deep: #0a4fbc;
  --brand-tint: #edf4ff;
  --accent: #d92d20;
  --accent-deep: #b32318;

  /* Shape */
  --r: 10px;
  --r-sm: 7px;
  --r-lg: 14px;

  /* Type */
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--sans);
  --bs-body-color: #4d5b70;
  --bs-body-bg: #ffffff;
  --bs-border-color: #e4e9f1;
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a4fbc;
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13, 110, 253;
}

/* --------------------------------------------------------------- Base --- */

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* main is a flex item of body; min-width:0 stops a wide child (long unbroken
   string, overflowing table) from forcing the whole page wider. */
body > main { flex: 1 0 auto; min-width: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.021em;
  line-height: 1.22;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem); font-weight: 700; letter-spacing: -0.032em; line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.15vw, 2.1rem); letter-spacing: -0.028em; }
h3 { font-size: 1.125rem; }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink-soft); font-weight: 600; }

a { text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-deep); }

hr { border-color: var(--line); opacity: 1; }

::selection { background: var(--brand-tint); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: .5rem;
  z-index: 1080;
}
.skip-link:focus {
  left: .75rem;
  outline-offset: 3px;
}

/* ------------------------------------------------------- Layout rhythm --- */

.container { max-width: 1140px; }

.section { padding: 5rem 0; }
.section--tight { padding: 3.5rem 0; }
.section--tinted { background: var(--surface-2); border-block: 1px solid var(--line); }

@media (max-width: 767.98px) {
  .section { padding: 3.25rem 0; }
  .section--tight { padding: 2.5rem 0; }
}

.measure { max-width: 46rem; margin-inline: auto; }
.measure-wide { max-width: 54rem; margin-inline: auto; }

/* ----------------------------------------------------- Type utilities --- */

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.68;
  color: var(--ink-soft);
}

.support-text { color: var(--body); }

.fine {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-head { margin-bottom: 3rem; }
.section-head h2 { margin-bottom: .85rem; }
.section-head p { color: var(--body); margin-bottom: 0; }

/* ------------------------------------------------------------ Buttons --- */

.btn {
  --bs-btn-border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.008em;
  line-height: 1.4;
  padding: .72rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.btn-buy { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-buy:hover, .btn-buy:focus { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-solid:hover, .btn-solid:focus { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.btn-line { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-line:hover, .btn-line:focus { border-color: var(--brand); color: var(--brand); background: #fff; }

.btn-invert { background: #fff; border-color: #fff; color: var(--ink); }
.btn-invert:hover, .btn-invert:focus { background: #e9eef6; border-color: #e9eef6; color: var(--ink); }

.btn-ghost-invert { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-invert:hover, .btn-ghost-invert:focus { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); color: #fff; }

.btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--brand);
  padding-inline: 0;
}
.btn-quiet:hover { color: var(--brand-deep); }

.btn-compact { padding: .48rem 1rem; font-size: .875rem; }

/* ------------------------------------------------------------- Header --- */

.site-header {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .navbar { padding-block: .6rem; }

.navbar-brand img { height: 42px; width: auto; }

.site-header .nav-link {
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .45rem .8rem !important;
  border-radius: var(--r-sm);
}
.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--brand); }
.site-header .nav-link.active { color: var(--brand); font-weight: 600; }

.site-header .dropdown-toggle::after { margin-left: .34em; opacity: .55; }

.site-header .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 14px 40px -18px rgba(13, 27, 42, .3);
  padding: .4rem;
  font-size: .92rem;
  margin-top: .4rem;
}
.site-header .dropdown-item {
  border-radius: var(--r-sm);
  padding: .5rem .7rem;
  color: var(--ink-soft);
}
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus { background: var(--brand-tint); color: var(--brand-deep); }

.navbar-toggler { border-color: var(--line-strong); padding: .35rem .55rem; }
.navbar-toggler:focus { box-shadow: none; }

.header-actions { gap: .55rem; }

@media (max-width: 1199.98px) {
  .header-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
  .site-header .navbar-nav { padding-block: .5rem; }
}

/* --------------------------------------------------------------- Hero --- */

/* Soft blue wash carried across the hero and the stat band, resolving to
   white before the next section so there is no hard seam. */
.hero-shell {
  background:
    radial-gradient(1100px 620px at 6% 10%, #e2e9f8 0%, rgba(226, 233, 248, 0) 62%),
    radial-gradient(900px 520px at 97% 26%, #e9eff9 0%, rgba(233, 239, 249, 0) 60%),
    radial-gradient(700px 420px at 12% 96%, #e6ecf7 0%, rgba(230, 236, 247, 0) 65%),
    linear-gradient(180deg, #f3f6fd 0%, #fafcff 62%, #ffffff 100%);
}

.hero { padding: 5.5rem 0 3.5rem; }

@media (max-width: 767.98px) { .hero { padding: 3.25rem 0 2.25rem; } }

.hero h1 { margin-bottom: 1.15rem; }

.hero .lead-text {
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero .lead-text strong { color: inherit; font-weight: 600; }

.hero .support-text { color: #5b6778; }

.hero-shell .statband {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(2px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(22, 41, 90, .09);
  border-radius: 999px;
  padding: .42rem .95rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px -10px rgba(22, 41, 90, .35);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions { gap: .7rem; margin-bottom: 1.4rem; }

.trust-line {
  font-size: .875rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* ---------------------------------------------------------- Stat band --- */

.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}

.stat {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: 0; }

.stat-value {
  font-family: var(--mono);
  font-size: clamp(1.4rem, 1.15rem + .85vw, 1.8rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .3rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .statband { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 1.15rem .75rem; }
}

/* -------------------------------------------------------------- Cards --- */

/* .card-plain is an EQUAL-HEIGHT GRID card: height:100% + .card-foot's
   margin-top:auto make every card in a Bootstrap row the same height.
   Because .row is a flex container, its columns have a definite height, so
   height:100% here resolves against the full column. Stacking two or more
   .card-plain panels in ONE column therefore makes each panel as tall as the
   column and the section overflows the page — use .card-plain--stack for
   stacked content panels (profile pages) instead. */
.card-plain {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card-plain:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -28px rgba(13, 27, 42, .45);
}

.card-plain h3 { margin-bottom: .7rem; }
.card-plain p { font-size: .95rem; }

/* Stacked content panel: same hairline shell, but self-sized and inert.
   min-width:0 keeps a long unbroken string inside the panel. */
.card-plain--stack {
  display: block;
  height: auto;
  min-width: 0;
}
.card-plain--stack:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.itile {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: var(--brand-tint);
  color: var(--brand);
  margin-bottom: 1.1rem;
}
.itile--accent { background: #fdeeed; color: var(--accent); }
.itile--neutral { background: var(--surface-2); color: var(--ink-soft); }

.link-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  font-size: .92rem;
}
.link-list li + li { margin-top: .4rem; }
.link-list a {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.link-list a:hover { color: var(--brand); }
.link-list i { font-size: .75rem; color: var(--muted); }
.link-list a:hover i { color: var(--brand); }

.link-list ul {
  list-style: none;
  padding: 0;
  margin: .4rem 0 .55rem 1.2rem;
  border-left: 1px solid var(--line);
}
.link-list ul li { margin-top: 0; }
.link-list ul a {
  font-size: .875rem;
  color: var(--body);
  padding-left: .85rem;
  display: block;
}
.link-list ul a:hover { color: var(--brand); }

.card-foot { margin-top: auto; padding-top: 1.4rem; }

/* ---------------------------------------------------- Featured product --- */

.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.product__media {
  background: var(--surface-2);
  padding: 2.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.product__media img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
}

.product__body { padding: 2.75rem; }

@media (max-width: 991.98px) {
  .product__body { padding: 1.9rem; }
  .product__media { padding: 1.9rem; }
}

@media (min-width: 768px) {
  .product__media { border-right: 1px solid var(--line); }
}

.price {
  font-family: var(--mono);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.03em;
}

/* .price-note is defined twice in this theme: small muted text for product
   blocks, and a blue callout panel for the order forms further down. The form
   version wins on source order, so inside a product body reset it back to
   plain text — otherwise the promo line renders as a full tinted box. */
.price-note { font-size: .9rem; color: var(--muted); }

.product__body .price-note,
.pricing .price-note {
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: .9rem;
  color: var(--muted);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.5rem;
  font-size: .92rem;
}
.spec-list li { display: flex; gap: .55rem; align-items: flex-start; }
.spec-list i { color: var(--brand); font-size: .95rem; margin-top: .16rem; }

@media (max-width: 575.98px) { .spec-list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- Tiles --- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 991.98px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
  padding: 1.2rem;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tile i { font-size: 1.1rem; color: var(--brand); }
.tile:hover {
  color: var(--ink);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -26px rgba(13, 27, 42, .5);
}

.tile-grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1199.98px) { .tile-grid--6 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px)  { .tile-grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px)  { .tile-grid--6 { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------- Closing band --- */

.closing {
  background: var(--ink);
  color: #fff;
  padding: 4.75rem 0;
}
.closing h2 { color: #fff; }
.closing p { color: #b9c4d8; }
.closing .eyebrow { color: #7fb0ff; }

@media (max-width: 767.98px) { .closing { padding: 3.25rem 0; } }

/* ------------------------------------------------------------- Footer --- */

.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-brand { color: var(--ink); font-weight: 600; margin-bottom: .4rem; }

.footer-heading {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .9rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.footer-links li + li { margin-top: .45rem; }
.footer-links a { color: var(--body); }
.footer-links a:hover { color: var(--brand); }

.footer-legal {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: var(--muted);
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--brand); }

/* Subpage hero: same wash, shallower, no stat band beneath it. */
.hero-shell--page {
  background:
    radial-gradient(900px 480px at 6% 6%, #e2e9f8 0%, rgba(226, 233, 248, 0) 62%),
    radial-gradient(760px 420px at 97% 20%, #e9eff9 0%, rgba(233, 239, 249, 0) 60%),
    linear-gradient(180deg, #f3f6fd 0%, #fafcff 70%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero--page { padding: 3rem 0 3.5rem; }

@media (max-width: 767.98px) { .hero--page { padding: 2.25rem 0 2.5rem; } }

/* Firm names are member-entered and can be a single long token. */
.hero--page h1 { overflow-wrap: anywhere; }

/* --------------------------------------------------------- Breadcrumb --- */

.crumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs li[aria-current] { color: var(--ink-soft); }
.crumbs .sep { opacity: .5; }

/* ----------------------------------------------------------- Ink band --- */

.band-ink {
  background: var(--ink);
  color: #fff;
  padding: 4.75rem 0;
}
.band-ink h2 { color: #fff; }
.band-ink p { color: #b9c4d8; }
.band-ink .eyebrow { color: #7fb0ff; }
.band-ink strong { color: #fff; }

@media (max-width: 767.98px) { .band-ink { padding: 3.25rem 0; } }

.statement {
  font-size: 1.15rem;
  line-height: 1.65;
}

/* ----------------------------------------------------------- Timeline --- */

.timeline {
  position: relative;
  padding-left: 1.75rem;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: .55rem;
  bottom: .55rem;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item { position: relative; padding-bottom: 1.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: .35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
}
.timeline-item:last-child::before { background: var(--brand); }

.timeline-marker {
  display: block;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .3rem;
}
.timeline-item p { font-size: .92rem; color: var(--body); margin: 0; }

/* ------------------------------------------------------- Quick access --- */

.qa-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 575.98px) { .qa-list { grid-template-columns: 1fr; } }

.qa-list a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .85rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.qa-list a:hover {
  background: var(--brand-tint);
  border-color: #dae6fb;
  color: var(--brand-deep);
}
.qa-list i { color: var(--brand); font-size: 1rem; flex: none; }

/* ---------------------------------------------------------- Card head --- */

.card-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .8rem;
}
.card-head h3 { margin: 0; }
.card-head i { color: var(--brand); font-size: 1.25rem; }

/* Featured card: used where a card is itself the paid offer. */
.card-plain--feature {
  border-color: #f0cbc7;
  background: linear-gradient(180deg, #fffafa 0%, #ffffff 55%);
}
.card-plain--feature:hover { border-color: #e3aaa4; }

.card-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tag {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fdeeed;
  border-radius: 4px;
  padding: .28rem .5rem;
  white-space: nowrap;
}

.tag--brand { color: var(--brand); background: var(--brand-tint); }
.tag--neutral { color: var(--ink-soft); background: var(--surface-2); }

.price--sm {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}

.tile-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1199.98px) { .tile-grid--5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991.98px) { .tile-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .tile-grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ Pricing --- */

.pricing {
  max-width: 44rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.75rem 2rem;
  text-align: center;
}

@media (max-width: 575.98px) { .pricing { padding: 1.9rem 1.25rem; } }

.pricing__price {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 1.9rem + 2vw, 3.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.pricing__term {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .5rem;
}

.pricing__rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 26rem;
  text-align: left;
  font-size: .93rem;
}
.check-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .4rem 0;
}
.check-list i { color: var(--brand); font-size: .95rem; margin-top: .22rem; flex: none; }

/* --------------------------------------------------------------- Form --- */

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
@media (max-width: 767.98px) { .form-panel { padding: 1.5rem; } }

.form-section + .form-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.5rem;
}
.form-section-title .bi { font-size: .95rem; }

.col-form-label {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-top: calc(.6rem + 1px);
}

.form-control, .form-select {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .6rem .8rem;
  box-shadow: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-control::placeholder { color: #9aa5b7; }
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, .14);
  outline: none;
}

/* Multi-select: a plain list box rather than a dropdown, so the caret is removed. */
.form-select[multiple] {
  background-image: none;
  padding: .35rem;
}
.form-select[multiple] option {
  padding: .4rem .55rem;
  border-radius: 4px;
  font-size: .93rem;
}
.form-select[multiple] option:checked {
  background: var(--brand-tint) linear-gradient(0deg, var(--brand-tint) 0%, var(--brand-tint) 100%);
  color: var(--brand-deep);
  font-weight: 500;
}

.form-text {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .35rem;
}

.required-mark { color: var(--accent); font-weight: 600; }

.form-check-input {
  border-color: var(--line-strong);
  width: 1.05em;
  height: 1.05em;
  margin-top: .22em;
}
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13, 110, 253, .14); }
.form-check-label { font-size: .93rem; color: var(--ink-soft); }

.terms-box {
  max-height: 15rem;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.25rem 1.25rem .5rem;
}
.terms-box ol { margin: 0; padding-left: 1.5rem; }
.terms-box li { font-size: .875rem; line-height: 1.6; color: var(--body); }
.terms-box li + li { margin-top: .75rem; }

/* Order-form callout variant of .price-note. Scoped to form contexts so it no
   longer leaks into product blocks (see the reset above). */
.form-panel .price-note,
.price-note--callout {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--brand-tint);
  border: 1px solid #dae6fb;
  border-radius: var(--r-sm);
  padding: .9rem 1.1rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.form-panel .price-note .bi,
.price-note--callout .bi { color: var(--brand); margin-top: .15rem; }

.alert-danger {
  background: #fdeeed;
  border: 1px solid #f3c9c5;
  border-radius: var(--r-sm);
  color: #8f1d15;
  font-size: .93rem;
  padding: .9rem 1.1rem;
}

/* Honeypot: hidden from humans, present for bots. Do not remove. */
.hp-field { display: none; }

/* -------------------------------------------------- Confirmation page --- */

.success-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #12805c;
  background: #e6f6f0;
  border: 1px solid #bde5d6;
}

.success-mark--neutral {
  color: var(--ink-soft);
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.secure-note {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  text-align: left;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .95rem 1.1rem;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--body);
}
.secure-note .bi { color: var(--brand); margin-top: .18rem; flex: none; }
.secure-note strong { color: var(--ink); }

/* Numbered because the order is the information: these steps happen in sequence. */
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  font-size: .93rem;
  line-height: 1.65;
  color: var(--body);
}
.step-list li + li {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: .04em;
}
.step-list li + li::before { top: 1.2rem; }
.step-list strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: .15rem; }

/* Ad slot: keeps a sponsored unit visually separate from site content. */
.ad-slot {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.ad-slot__label {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: .6rem;
}

/* --------------------------------------------------------- Data table --- */

.data-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.data-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: .95rem;
}
.data-table th {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: .85rem 1.5rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fafbfe; }

.data-table a { color: var(--ink); font-weight: 500; }
.data-table a:hover { color: var(--brand); }
.data-table a .bi { color: var(--muted); font-size: .75em; margin-left: .3rem; }
.data-table a:hover .bi { color: var(--brand); }

@media (max-width: 575.98px) {
  .data-table th, .data-table td { padding: .75rem 1rem; }
}

/* Listing flag image, sized relative to the row text.
   Emitted by investor_flag_html() in the investor directory — keep this rule. */
.listing-flag {
  height: 1em;
  width: auto;
  vertical-align: text-bottom;
}

.data-table .badge {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #fdeeed !important;
  color: var(--accent) !important;
  border-radius: 4px;
  padding: .22rem .42rem;
  vertical-align: middle;
}

/* Secondary column in a two-column data table reads as metadata, not content. */
.data-table td.meta {
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}

.result-count {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------- Pagination --- */

.pagination { gap: .3rem; margin: 0; }

.pagination .page-link {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .45rem .75rem;
  min-width: 2.4rem;
  text-align: center;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.pagination .page-link:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}
.pagination .page-link:focus {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, .14);
  outline: none;
}
.pagination .page-item.active .page-link {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  color: #b6c0cf;
  background: var(--surface-2);
  border-color: var(--line);
}

/* ======================================================================
   Profile pages (advisor / investor / LP)
   One definition of .spec-dl and .disclaimer only. There used to be two of
   each in this file; the later block silently won and the earlier rules were
   dead code that never applied.
   ====================================================================== */

.spec-dl {
  display: grid;
  grid-template-columns: minmax(8rem, 28%) 1fr;
  gap: 0;
  margin: 0;
}
.spec-dl dt {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding: .85rem 1rem .85rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}
.spec-dl dd {
  margin: 0;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
  min-width: 0;
  /* Member-entered values: a 300-character pasted URL must wrap, not overflow. */
  overflow-wrap: anywhere;
}
.spec-dl dt:first-of-type,
.spec-dl dt:first-of-type + dd { border-top: 0; }

.spec-dl dd a { color: var(--brand); }
.spec-dl dd .bi { font-size: .75em; color: var(--muted); }

@media (max-width: 575.98px) {
  .spec-dl { grid-template-columns: 1fr; }
  .spec-dl dt { padding: .85rem 0 .15rem; }
  .spec-dl dd { padding: 0 0 .85rem; border-top: 0; }
  .spec-dl dt:first-of-type + dd { border-top: 0; }
}

.address-block {
  font-style: normal;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.7;
  padding-bottom: 1.4rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

/* Retained for older profile templates that still use this class name. */
.profile-address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

/* Member-entered description, rendered as real <p> blocks by vca_paragraphs().
   white-space:normal is deliberate: if this ever inherits pre-line/pre-wrap the
   newlines render in addition to the markup and every gap doubles in height. */
.firm-description {
  color: var(--body);
  font-size: .95rem;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
}
.firm-description > p { margin-bottom: .9rem; }
.firm-description > p:last-child { margin-bottom: 0; }

/* Optional: clamp an exceptionally long description instead of letting the
   panel run past the fold. Add the class in the template when needed. */
.firm-description--clamp {
  max-height: 26rem;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

.firm-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: .6rem;
}

.disclaimer {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
}
.disclaimer strong { color: var(--ink-soft); }

/* ---------------------------------------------------------- Error page --- */

/* Minimal error page (404 / 503), rendered by vca_error_page() */
.error-page {
  max-width: 34rem;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  text-align: center;
}

.error-code,
.error-page .status-code {
  font-family: var(--mono);
  line-height: 1;
  color: var(--line-strong);
}
.error-code {
  font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  font-weight: 600;
  letter-spacing: -.05em;
  margin-bottom: .75rem;
}
.error-page .status-code {
  font-size: .8rem;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: .9rem;
}

/* Populated by script from window.location; mono so a long path stays readable. */
.requested-path {
  display: inline-block;
  max-width: 100%;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .35rem .65rem;
  word-break: break-all;
}

/* --------------------------------------------------- Legal / long-form --- */

.toc {
  position: sticky;
  top: 5.5rem;
  border-left: 2px solid var(--line);
  padding-left: 1.1rem;
}
.toc__title {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .9rem;
}
.toc__nav { display: flex; flex-direction: column; gap: .1rem; }
.toc__nav a {
  font-size: .88rem;
  line-height: 1.45;
  color: var(--body);
  padding: .35rem 0;
  border-left: 2px solid transparent;
  margin-left: -1.1rem;
  padding-left: 1.1rem;
}
.toc__nav a:hover { color: var(--brand); border-left-color: var(--brand); }

@media (max-width: 991.98px) {
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1.25rem 0 0; }
}

.legal-body { max-width: 44rem; }

.legal-body h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 .9rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-body h3 {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 1.75rem 0 .5rem;
}

.legal-body p { font-size: .95rem; line-height: 1.75; }
.legal-body ol,
.legal-body ul { font-size: .95rem; line-height: 1.75; padding-left: 1.25rem; }
.legal-body ol li,
.legal-body ul li { margin-bottom: .85rem; }
.legal-body ul { list-style: none; padding-left: 0; }
.legal-body ul li {
  position: relative;
  padding-left: 1.35rem;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* All-capital passages are a legal conspicuousness device: keep the casing,
   but set them smaller with open tracking so they stay readable. */
.legal-caps {
  font-size: .82rem !important;
  line-height: 1.7 !important;
  letter-spacing: .015em;
  color: var(--ink-soft);
}

.legal-callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.25rem;
}
.legal-callout--warn {
  background: #fdf6f5;
  border-color: #f0cbc7;
  border-left-color: var(--accent);
}
.legal-callout--warn strong { color: var(--accent-deep); }

/* ------------------------------------------------------------ Sitemap --- */

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .92rem;
}
.sitemap-list > li {
  padding: .4rem 0;
  border-top: 1px solid var(--line);
}
.sitemap-list > li:first-child { border-top: 0; }
.sitemap-list a { color: var(--ink-soft); }
.sitemap-list a:hover { color: var(--brand); }

.sitemap-sublist {
  list-style: none;
  margin: .35rem 0 .15rem;
  padding-left: .9rem;
  border-left: 1px solid var(--line);
  font-size: .875rem;
}
.sitemap-sublist li { padding: .2rem 0; }
.sitemap-sublist a { color: var(--body); }

/* ----------------------------------------------------- Download panel --- */

.download-panel {
  max-width: 44rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
@media (max-width: 575.98px) { .download-panel { padding: 1.75rem 1.25rem; } }

.download-panel .itile { margin-inline: auto; }

.file-meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------- Glossary --- */

.glossary-toolbar {
  position: sticky;
  top: 4.6rem;
  z-index: 5;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
}

.az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}
.az-nav a,
.az-nav .disabled {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 .3rem;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1;
}
.az-nav a { color: var(--ink-soft); border: 1px solid var(--line); background: #fff; }
.az-nav a:hover { border-color: var(--brand); color: var(--brand); }
.az-nav .disabled { color: #c3cbd8; border: 1px solid transparent; }

@media (max-width: 991.98px) {
  .az-nav { justify-content: flex-start; margin-top: .5rem; }
}

.letter-heading {
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .06em;
  padding-bottom: .5rem;
  margin: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8.5rem;
}
.glossary-group:first-of-type .letter-heading { margin-top: 0; }

.glossary-list { margin: 0; }

.glossary-entry {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8.5rem;
}
.glossary-entry:last-child { border-bottom: 0; }
.glossary-entry dt {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .3rem;
}
.glossary-entry dd {
  margin: 0;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--body);
}

/* Toggled by the client-side filter script — do not rename. */
.glossary-entry.is-hidden { display: none; }

.back-to-top {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.back-to-top:hover { color: var(--brand); }

/* ---------------------------------------------------------- Bookstore --- */

.book-list {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}

.book-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.book-row:last-child { border-bottom: 0; }
.book-row:hover { background: #fafbfe; }

.book-row__cover {
  width: 92px;
  height: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.book-row__title { font-size: .96rem; line-height: 1.55; margin: 0; }
.book-row__title a { color: var(--ink); font-weight: 500; }
.book-row__title a:hover { color: var(--brand); }

.ad-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1rem .35rem;
  margin-left: .4rem;
  vertical-align: middle;
}

@media (max-width: 575.98px) {
  .book-row { grid-template-columns: 64px 1fr; gap: .9rem; padding: 1rem; }
  .book-row__cover { width: 64px; }
}

/* ------------------------------------------------------- Article index --- */

.article-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  height: 100%;
  padding: 1.05rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.article-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -26px rgba(13, 27, 42, .5);
}

.article-icon { color: var(--brand); font-size: 1rem; line-height: 1.6; flex: none; }

.article-title {
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.55;
}
.article-card:hover .article-title { color: var(--brand-deep); }

/* Toggled by the client-side filter script — do not rename. */
.article-item.is-hidden { display: none; }

/* ------------------------------------------------------- Article body --- */

.article-date {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-figure {
  margin: 0 0 2rem;
  text-align: center;
}
.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

/* Editorial HTML from tblfeatures.story, already run through the allowlist
   sanitiser. Styled generically since the markup is authored, not templated. */
.article-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--body);
}
.article-body > *:first-child { margin-top: 0; }
.article-body > *:last-child { margin-bottom: 0; }

.article-body p { margin-bottom: 1.3rem; }

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 2.4rem 0 .9rem;
}
.article-body h2 { font-size: 1.35rem; }
.article-body h3 { font-size: 1.12rem; }
.article-body h4 { font-size: 1rem; }

.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: .16em; }
.article-body a:hover { color: var(--brand-deep); }

.article-body ul,
.article-body ol { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: .5rem; }

.article-body blockquote {
  margin: 1.8rem 0;
  padding: .2rem 0 .2rem 1.35rem;
  border-left: 2px solid var(--brand);
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.article-body blockquote p:last-child { margin-bottom: 0; }

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  margin: 1.5rem 0;
}

.article-body pre {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}
.article-body code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .35em;
}
.article-body pre code { background: none; border: 0; padding: 0; font-size: inherit; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.3rem;
  font-size: .93rem;
}
.article-body th,
.article-body td { padding: .65rem .85rem; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { color: var(--ink); font-weight: 600; background: var(--surface-2); }

.article-body hr { margin: 2.2rem 0; }

.article-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.article-contact {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.3rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--body);
}

.share-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------- News --- */

.news-tabs {
  border-bottom: 1px solid var(--line);
  gap: .15rem;
  flex-wrap: wrap;
}
.news-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: .6rem .9rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--body);
  background: none;
}
.news-tabs .nav-link:hover { color: var(--brand); }
.news-tabs .nav-link.active {
  color: var(--ink);
  background: none;
  border-bottom-color: var(--brand);
}
.news-tabs .nav-link:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.news-tabs .badge {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  background: var(--surface-2) !important;
  color: var(--muted) !important;
  border: 1px solid var(--line);
  padding: .16rem .38rem;
  vertical-align: middle;
}
.news-tabs .nav-link.active .badge {
  background: var(--brand-tint) !important;
  color: var(--brand) !important;
  border-color: #dae6fb;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}
.news-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1.25rem;
  padding: .85rem 1.35rem;
  border-bottom: 1px solid var(--line);
}
.news-list li:last-child { border-bottom: 0; }
.news-list li:hover { background: #fafbfe; }

.news-list a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1 1 20rem;
}
.news-list a:hover { color: var(--brand); }
.news-list > li > span { color: var(--ink-soft); font-size: .95rem; flex: 1 1 20rem; }

.query-term {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--brand);
  word-break: break-word;
}

.date-count {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.news-date {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------- Product page --- */

.avatar-initials {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px -12px rgba(22, 41, 90, .35);
}

.screenshot-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface-2);
}

/* Screenshot as a zoom trigger: a real button so it is keyboard-reachable and
   announced as opening a dialog. Opens the existing #myModal image branch. */
.screenshot-zoom {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r);
  cursor: zoom-in;
}
.screenshot-zoom img { display: block; width: 100%; height: auto; }

.screenshot-zoom .zoom-badge {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .6rem;
  box-shadow: 0 6px 18px -10px rgba(22, 41, 90, .4);
  transition: color .16s ease, border-color .16s ease;
}
.screenshot-zoom:hover .screenshot-frame { border-color: var(--brand); }
.screenshot-zoom:hover .zoom-badge { color: var(--brand); border-color: var(--brand); }
.screenshot-zoom:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .93rem;
  line-height: 1.65;
}
.icon-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .3rem 0;
}
.icon-list .bi { color: var(--brand); font-size: .9rem; margin-top: .28rem; flex: none; }
.icon-list a { color: var(--ink-soft); }
.icon-list a:hover { color: var(--brand); }

.update-banner {
  background: var(--brand-tint);
  border: 1px solid #dae6fb;
  border-radius: var(--r-lg);
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.testimonial figcaption { font-size: .9rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); display: block; font-weight: 600; }

.modal-content {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.modal-header { border-bottom: 1px solid var(--line); }
.modal-title { font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------- Motion --- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .tile:hover { transform: none; }
}