/* BSD Infotech — staging design system (28092026). Plain CSS, no framework. */
:root {
  --ink: #0b1f3a;          /* primary: deep navy */
  --ink-2: #16325c;        /* secondary navy */
  --accent: #e9830d;       /* BSD orange: CTA background (navy text on it = AA) */
  --accent-strong: #b85f00;/* orange for text on white (AA) */
  --teal: #0e7c86;         /* secondary accent for diagrams */
  --bg: #ffffff;
  --surface: #f4f6f9;
  --surface-2: #eaf0f6;
  --text: #0e1726;
  --muted: #536072;
  --border: #dde3eb;
  --success: #1f7a4d;
  --warning: #9a5b00;
  --focus: #1b6fd6;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 6px 18px rgba(11,31,58,.06);
  --shadow-lg: 0 12px 32px rgba(11,31,58,.14);
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --h1: clamp(2rem, 1.35rem + 2.6vw, 3.1rem);
  --h2: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem);
  --h3: 1.125rem;
  --body: 1rem;
  --small: .875rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: var(--body); line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: var(--h1); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--h2); font-weight: 800; }
h3 { font-size: var(--h3); font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }

/* eyebrow / section heads */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .75rem; }
.section { padding: 72px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: var(--radius-sm); font: 700 .95rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover { background: #f59a2c; border-color: #f59a2c; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .875rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 112px; height: auto; }
.nav { flex: 1 1 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: static; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border: 0; background: none; font: 600 .93rem/1 var(--font); color: var(--ink); border-radius: 6px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.nav-btn .icon { width: 16px; height: 16px; transition: transform .15s; }
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.nav-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-phone { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 28px 20px 30px; max-width: var(--wrap); margin: 0 auto; }
.mega-inner.cols-3 { grid-template-columns: repeat(3, 1fr) 1.1fr; }
.mega h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.mega li a:hover { color: var(--accent-strong); }
.mega-promo { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.mega-promo p { font-size: .9rem; color: var(--muted); }

/* hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-grid > *, .arch > *, .split > *, .lead-grid > * { min-width: 0; }
.hero p.lead { font-size: 1.15rem; color: #2c3a4e; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 18px; }
.hero-ctas .link-arrow { margin-left: 6px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.hero-chips li { font-size: .82rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; }
.eco { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; }
.eco svg { width: 100%; height: auto; display: block; }
.eco-caption { font-size: .82rem; color: var(--muted); text-align: center; margin: 6px 0 0; }
.eco-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.eco-photos figure { margin: 0; background: var(--surface); border-radius: 8px; padding: 6px; text-align: center; }
.eco-photos img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.eco-photos figcaption { font-size: .7rem; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* cards */
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #c5d0dd; box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); margin-bottom: 14px; }
.need-card { border-top: 4px solid var(--ink); padding: 24px; }
.need-card.accent { border-top-color: var(--accent); }
.need-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.need-card li { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border-radius: 999px; padding: 4px 10px; }
.need-card .btn { margin-top: auto; }
.tags { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; }
.industry-card h3 { display: flex; align-items: center; gap: 10px; }
.industry-card h3 .icon { color: var(--accent-strong); }

/* product cards */
.product-card { padding: 0; overflow: hidden; }
.product-card .media { background: #fff; border-bottom: 1px solid var(--border); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; }
.product-card .media.icon-media { background: var(--surface-2); color: var(--ink-2); }
.product-card .media.icon-media .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 4px; }
.product-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.product-card p { font-size: .88rem; margin-bottom: 12px; }

/* software cards */
.sw-card .who { font-size: .85rem; color: var(--ink-2); font-weight: 600; margin-bottom: 14px; }
.sw-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* architecture band */
.band-dark { background: var(--ink); color: #dfe7f2; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #ffb566; }
.band-dark p { color: #c6d3e4; }
.arch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow li { position: relative; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 12px 16px; color: #fff; font-weight: 600; }
.flow li + li { margin-top: 26px; }
.flow li + li::before { content: ""; position: absolute; left: 36px; top: -22px; width: 2px; height: 18px; background: #ffb566; }
.flow li + li::after { content: ""; position: absolute; left: 31px; top: -9px; border: 6px solid transparent; border-top-color: #ffb566; }
.flow li span.sub { display: block; font-weight: 400; font-size: .85rem; color: #aebfd4; }
.flow .fi { width: 42px; height: 42px; border-radius: 9px; background: rgba(255,181,102,.14); color: #ffb566; display: grid; place-items: center; flex: 0 0 auto; }
.examples { list-style: none; padding: 0; margin: 0 0 24px; }
.examples li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.examples li .icon { color: #ffb566; margin-top: 2px; }

/* custom development */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chiplist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.chiplist a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chiplist a:hover { border-color: var(--ink-2); color: var(--ink); }
.chiplist .icon { color: var(--accent-strong); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 800; font-size: .85rem; color: var(--accent-strong); margin-bottom: 8px; letter-spacing: .06em; }
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { font-size: .88rem; color: var(--muted); margin: 0; }

/* why */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why .card { padding: 20px; }
.why .big { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 8px; }
.capabilities { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.capabilities li { font-size: .85rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }

/* not sure */
.notsure { background: linear-gradient(135deg, #fff7ec 0%, #fff 70%); border: 1px solid #f3d3a9; border-radius: 16px; padding: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.notsure .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; font-weight: 700; color: var(--accent-strong); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; color: #2c3a4e; }

/* lead */
.lead-section { background: var(--ink); color: #dfe7f2; }
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.lead-section h2 { color: #fff; }
.lead-section p { color: #c6d3e4; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.contact-list .icon { color: #ffb566; margin-top: 2px; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: #ffb566; }
.lead-panel { background: #fff; border-radius: 14px; padding: 24px; color: var(--text); box-shadow: var(--shadow-lg); }
.lead-panel h3 { font-size: 1.2rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 5px; }
.field select, .field input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #b9c4d2; border-radius: var(--radius-sm); font: 1rem var(--font); color: var(--text); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-frame { width: 100%; height: 640px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.lead-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }

/* footer */
.site-footer { background: #07162a; color: #aebfd4; padding: 56px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #d5e0ee; text-decoration: none; }
.site-footer a:hover { color: #ffb566; text-decoration: underline; }
.footer-brand img { width: 120px; background: #fff; border-radius: 6px; padding: 6px 8px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 16px; }

/* reveal (progressive: content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-btn, .nav-link { padding: 10px 8px; font-size: .9rem; }
}
@media (max-width: 1024px) {
  .hero-grid, .arch, .split, .lead-grid { grid-template-columns: 1fr; gap: 32px; }
  .g4, .g5, .why { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .notsure { grid-template-columns: 1fr; }
  .notsure .btns { justify-content: flex-start; }
  /* mobile navigation */
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
  .nav { position: fixed; inset: 68px 0 0 0; background: #fff; overflow-y: auto; padding: 8px 20px 40px; transform: translateX(100%); visibility: hidden; transition: transform .2s, visibility .2s; }
  .nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-btn, .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1rem; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .mega.open { display: block; }
  .mega-inner, .mega-inner.cols-3 { grid-template-columns: 1fr; gap: 18px; padding: 4px 4px 18px; }
  .header-inner { justify-content: space-between; }
  .logo { margin-right: auto; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .g4, .g3, .g5, .why, .chiplist, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .link-arrow { margin: 4px 0 0; }
  .eco-photos { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .notsure { padding: 24px; }
  .header-cta .btn { padding: 8px 12px; min-height: 40px; font-size: .85rem; }
  .lead-panel { padding: 18px; }
}
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 7px 10px; }
}
@media (max-width: 360px) {
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .logo img { width: 84px; }
  .header-cta .btn span.long { display: none; }
}

/* answer band (AEO) */
.answer-band { padding: 48px 0; background: #fff; border-bottom: 1px solid var(--border); }
.answer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.answer-band h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.answer-lead { font-size: 1.05rem; color: #2c3a4e; margin: 0; }
.answer-lead a { font-weight: 600; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 6px; padding: 10px 14px; }
.facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }

/* client logos */
.clients { margin-top: 36px; }
.clients h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logo-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-strip li { background: #fff; border: 1px solid var(--border); border-radius: 8px; display: grid; place-items: center; padding: 8px; height: 76px; }
.logo-strip img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-strip li:hover img { filter: none; opacity: 1; }

/* site directory */
.directory { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0; }
.directory h2 { font-size: 1.35rem; margin-bottom: 24px; }
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 28px; }
.dir-grid h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.dir-grid ul { list-style: none; padding: 0; margin: 0; }
.dir-grid li { padding: 3px 0; }
.dir-grid a { font-size: .9rem; color: #33445c; text-decoration: none; }
.dir-grid a:hover { color: var(--accent-strong); text-decoration: underline; }
@media (max-width: 1024px) { .answer-grid { grid-template-columns: 1fr; gap: 20px; } .logo-strip { grid-template-columns: repeat(4, 1fr); } .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } .dir-grid { grid-template-columns: 1fr 1fr; gap: 18px; } .dir-grid a { font-size: .85rem; } }
@media (max-width: 360px) { .dir-grid { grid-template-columns: 1fr; } }

/* ===== inner pages ===== */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--border); font-size: .85rem; }
.crumbs ol { list-style: none; margin: 0 auto; padding: 10px 20px; max-width: var(--wrap); display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: #9aa6b5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-wrap { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 40px; }
/* legacy content: keep its layout, adopt the new typography */
.page-content.legacy { font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: transparent; padding: 0; margin: 0; }
.page-content.legacy .right-panel { padding: 0; background: transparent; box-shadow: none; border: 0; width: auto; float: none; }
.page-content.legacy h1, .page-content.legacy h2, .page-content.legacy h3, .page-content.legacy h4 { font-family: var(--font); letter-spacing: -.01em; }
.page-content.legacy h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; color: var(--ink); }
.page-content.legacy a { color: var(--ink-2); }
.page-content.legacy img { max-width: 100%; height: auto; }
.page-content.legacy table { max-width: 100%; }
.page-content.legacy .table-responsive { overflow-x: auto; }
.page-content.legacy iframe, .page-content.legacy video { max-width: 100%; }
.page-cta { background: var(--ink); color: #dfe7f2; }
.page-cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.page-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.page-cta p { color: #c6d3e4; margin: 0; }
.page-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 1024px) { .page-cta .wrap { grid-template-columns: 1fr; } .page-cta .btns { justify-content: flex-start; } }
@media (max-width: 640px) { .page-wrap { padding: 16px 16px 32px; } .page-cta .btns .btn { width: 100%; } }
/* legacy content on small screens */
.page-content.legacy * { min-width: 0; }
.page-content.legacy .btn { white-space: normal; max-width: 100%; height: auto; }
.page-content.legacy h1, .page-content.legacy h2, .page-content.legacy h3 { overflow-wrap: break-word; }
@media (max-width: 400px) { .page-content.legacy :not(td):not(th) { min-width: 0 !important; } .page-content.legacy .bg { padding-left: 0; padding-right: 0; } }
@media (max-width: 767px) {
  .page-content.legacy .row { margin-left: 0; margin-right: 0; }
  .page-content.legacy .head { margin-left: 0; margin-right: 0; }
}
.page-content.legacy a { overflow-wrap: anywhere; }

/* ===== content layer (answer-first blocks added to thin pages) ===== */
.page-content .xc-answer { background: #f7f9fb; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 12px 0 20px; font-size: 1.03rem; line-height: 1.65; color: #2c3a4e; }
.page-content .xc-answer p:last-child { margin-bottom: 0; }
.page-content .xc-sec { margin: 22px 0; }
.page-content .xc-sec h2 { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 0 0 10px; text-align: left; }
.page-content .xc-sec p, .page-content .xc-sec li { font-size: 1rem; line-height: 1.65; color: #2c3a4e; }
.page-content .xc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0 8px; }
.page-content .xc-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--ink); border-radius: 8px; padding: 14px 16px; }
.page-content .xc-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.page-content .xc-card p { font-size: .93rem; color: #465160; margin: 0; }
.page-content .xc-img { max-width: 320px; margin: 4px 0 14px; }
.page-content .xc-kv { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.page-content .xc-kv th, .page-content .xc-kv td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; font-size: .95rem; }
.page-content .xc-kv th { background: var(--surface); color: var(--ink); width: 34%; }
.page-content .xc-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 0; }
.page-content .xc-links a { display: inline-block; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; text-decoration: none; background: #fff; }
/* FAQ block created by the content layer (pages that had none) */
.page-content .xc-faq { clear: both; max-width: 900px; margin: 2em auto 10px; }
.page-content .xc-faq h2 { font-size: 1.35rem; text-align: center; color: var(--ink); margin-bottom: 16px; }
.page-content .xc-faq .bsd-faq-item { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.page-content .xc-faq .bsd-faq-q { width: 100%; text-align: left; background: #fff; border: 0; padding: 14px 18px; font: 700 .98rem var(--font); color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.page-content .xc-faq .bsd-faq-icon { color: var(--accent-strong); font-size: 1.2rem; font-weight: 700; }
.page-content .xc-faq .bsd-faq-q.bsd-faq-open .bsd-faq-icon { transform: rotate(45deg); }
.page-content .xc-faq .bsd-faq-a { display: none; padding: 0 18px 16px; color: #2c3a4e; font-size: .96rem; line-height: 1.6; }
