/* marketdata.co — black theme modelled on graphify.com's system:
   Bricolage Grotesque headlines, Geist body, Geist Mono labels, hairline borders, 2px radius, mint accent. */
:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --card: #0e0e0e;
  --card-2: #141414;
  --line: #ffffff1a;
  --line-2: #ffffff2e;
  --text: #f4f2ee;
  --muted: #a3a09a;
  --dim: #6f6c67;
  --accent: #4dea9c;
  --accent-ink: #062314;
  --accent-wash: #1be4801f;
  --copper: #cf7a52;
  --radius: 2px;
  --font-head: "Bricolage Grotesque", Geist, system-ui, sans-serif;
  --font-sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font-sans); letter-spacing: -0.15px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--text); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* announcement + header */
.announce { border-bottom: 1px solid var(--line); text-align: center; font: 400 13px/1.4 var(--font-mono); color: var(--muted); padding: 9px 16px; letter-spacing: -0.13px; }
.announce a { color: var(--text); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; box-shadow: 0 0 0 4px var(--accent-wash); vertical-align: 1px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #000000e6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 600 18px/1 var(--font-head); color: var(--text); text-decoration: none; letter-spacing: -0.4px; }
.logo-mark { width: 18px; height: 18px; border: 1.5px solid var(--accent); border-radius: var(--radius); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 4px 3px 3px 3px; background: linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 5px, var(--accent) 5px 7px, transparent 7px 10px, var(--accent) 10px 12px); clip-path: polygon(0 60%, 25% 60%, 25% 30%, 50% 30%, 50% 0, 75% 0, 75% 45%, 100% 45%, 100% 100%, 0 100%); }
.logo-tld { color: var(--muted); }
.main-nav { display: flex; gap: 22px; flex: 1; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.main-nav a:hover { color: var(--text); }
.header-cta { display: flex; gap: 10px; }
.mobile-nav { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--radius); font: 500 14px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #7ff3ba; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.cta-row.center { justify-content: center; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px auto 0; font: 400 12px/1.4 var(--font-mono); color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }

/* hero */
.eyebrow { font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 18px; }
.page-hero { padding: 56px 24px 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font: 600 clamp(36px, 6vw, 68px)/1.02 var(--font-head); letter-spacing: -1.6px; margin: 0 0 22px; max-width: 16ch; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 64ch; }
.page-hero.compact { padding: 8px 0 24px; border: 0; }
.page-hero.compact h1 { font-size: clamp(30px, 4vw, 44px); max-width: none; }
.home-hero { padding-top: 88px; }
.home-hero h1 { font-size: clamp(42px, 8vw, 92px); max-width: 13ch; }
.home-hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--copper); margin-top: 26px; }
.home-tiles { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); margin-top: 48px; }
.home-tiles a { padding: 22px 18px; border-right: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: background .15s; }
.home-tiles a:last-child { border-right: 0; }
.home-tiles a:hover { background: var(--card-2); }
.home-tiles span { font: 600 20px/1 var(--font-head); }
.home-tiles small { color: var(--muted); font: 400 12px/1.4 var(--font-mono); }

/* content */
.prose { min-width: 0; }
.with-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.prose h2 { font: 600 clamp(28px, 3.6vw, 42px)/1.08 var(--font-head); letter-spacing: -0.9px; margin: 0 0 22px; max-width: 24ch; }
.prose h3 { font: 600 21px/1.25 var(--font-head); letter-spacing: -0.3px; margin: 34px 0 10px; }
.prose p, .prose li { color: #d9d6d0; max-width: 72ch; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--dim); }
.prose code { font: 400 0.88em/1 var(--font-mono); background: var(--card-2); border: 1px solid var(--line); padding: 2px 5px; border-radius: var(--radius); color: #e9e6df; }
pre { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow-x: auto; margin: 22px 0; }
pre code { background: none !important; border: 0 !important; padding: 0 !important; font: 400 13.5px/1.6 var(--font-mono) !important; color: #e6e3dc; }
pre[data-lang]::before { content: attr(data-lang); position: absolute; top: 8px; right: 70px; font: 400 11px/1 var(--font-mono); color: var(--dim); text-transform: uppercase; }
.copy-btn { position: absolute; top: 6px; right: 6px; height: 24px; padding: 0 9px; background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted); font: 400 11px/1 var(--font-mono); border-radius: var(--radius); cursor: pointer; }
.copy-btn:hover { color: var(--text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 22px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font: 500 12px/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #ffffff05; }
td { color: #d9d6d0; }
blockquote { margin: 22px 0; padding: 4px 20px; border-left: 2px solid var(--copper); color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* FAQ accordion */
details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--font-head); letter-spacing: -0.2px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px/1 var(--font-mono); color: var(--accent); }
details.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 18px; }
.faq-a p:first-child { margin-top: 0; }

/* side navs */
.toc { position: sticky; top: 88px; align-self: start; padding-top: 64px; }
.side-h { font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 26px 0 10px; }
.toc ul, .docs-side ul { list-style: none; padding: 0; margin: 0; }
.toc a, .docs-side a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.toc a:hover, .docs-side a:hover, .docs-side a[aria-current] { color: var(--accent); }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 28px; }
.docs-side { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; padding-bottom: 40px; border-right: 1px solid var(--line); padding-right: 16px; }
.docs-body .block { padding: 40px 0; }
.docs-body h2 { font-size: 30px; }

/* reserve box */
.reserve { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px solid var(--line-2); background: linear-gradient(135deg, var(--accent-wash), transparent 60%); padding: 28px; margin: 56px 0; border-radius: var(--radius); }
.reserve-h { font: 600 26px/1.15 var(--font-head); letter-spacing: -0.5px; margin: 0 0 6px; color: var(--text) !important; }
.reserve p { margin: 0; color: var(--muted); }
.reserve .eyebrow { margin-bottom: 10px; }
.reserve .cta-row { margin: 0; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); margin-top: 32px; }
.plan { padding: 26px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan:last-child { border-right: 0; }
.plan.featured { background: var(--card-2); box-shadow: inset 0 2px 0 var(--accent); }
.plan-tag { position: absolute; top: 12px; right: 12px; font: 500 10px/1 var(--font-mono); text-transform: uppercase; color: var(--accent); margin: 0; }
.plan-name { font: 500 13px/1 var(--font-mono); text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.plan-price { font: 600 40px/1 var(--font-head); letter-spacing: -1px; margin: 0 0 8px; color: var(--text) !important; }
.plan-price span { font-size: 15px; color: var(--muted); font-family: var(--font-sans); }
.plan-for { font-size: 13.5px; margin: 0 0 16px; color: var(--muted) !important; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { font-size: 13.5px; padding: 6px 0 6px 18px; position: relative; border-top: 1px solid var(--line); margin: 0; }
.plan li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1.5px; background: var(--accent); }

/* downloads */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { height: 32px; padding: 0 13px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: var(--radius); font: 400 12px/1 var(--font-mono); cursor: pointer; }
.chip.is-on, .chip:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dl-card { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.dl-card[hidden] { display: none; }
.dl-card h3 { margin: 0 !important; font-size: 18px !important; }
.dl-card p { margin: 0; font-size: 14px; }
.dl-asset, .dl-meta, .dl-credit { font: 400 11.5px/1.4 var(--font-mono) !important; color: var(--dim) !important; }
.dl-card .btn { align-self: flex-start; margin-top: 8px; }

/* forms */
.md-form { max-width: 620px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; }
.field.two { grid-template-columns: 1fr 1fr; gap: 14px; }
.field.two > div { display: grid; gap: 7px; }
label, legend { font: 500 12px/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
input, select, textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font: 400 15px/1.4 var(--font-sans); padding: 11px 12px; border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
label.check { display: inline-flex; align-items: center; gap: 8px; margin: 6px 16px 0 0; text-transform: none; font: 400 14px/1.3 var(--font-sans); color: #d9d6d0; letter-spacing: 0; }
label.check input { width: auto; accent-color: var(--accent); }
.form-note { font: 400 12.5px/1.5 var(--font-mono); color: var(--dim) !important; margin: 4px 0 0; }
.form-msg { font-size: 14px; margin: 0; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #ff8a6b; }
.form-block .md-form { margin-top: 10px; }

/* checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.checkout h1 { font: 600 clamp(34px, 5vw, 54px)/1.05 var(--font-head); letter-spacing: -1.2px; margin: 0 0 20px; }
.checkout h2 { font: 600 22px/1.2 var(--font-head); margin: 36px 0 16px; }
.steps { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; font: 400 12px/1 var(--font-mono); color: var(--dim); }
.steps .is-on { color: var(--accent); }
.co-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.co-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; text-transform: none; letter-spacing: 0; font: 400 14px/1.4 var(--font-sans); color: var(--text); }
.co-opt:has(input:checked) { background: var(--card-2); box-shadow: inset 2px 0 0 var(--accent); }
.co-opt input { grid-row: span 2; width: auto; accent-color: var(--accent); margin-top: 4px; }
.co-name { font: 600 17px/1.2 var(--font-head); }
.co-price { font: 500 14px/1.2 var(--font-mono); color: var(--accent); }
.co-for { grid-column: 2 / 4; color: var(--muted); font-size: 13px; }
.co-dataset { grid-column: 1 / -1; }
.billing { border: 0; padding: 0; margin: 18px 0 0; }
.co-summary { position: sticky; top: 90px; align-self: start; border: 1px solid var(--line-2); padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.co-sum-name { font: 600 22px/1.2 var(--font-head); margin: 0 0 6px; }
.co-sum-price { font: 600 34px/1 var(--font-head); color: var(--accent); margin: 0 0 16px; }
.co-sum-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.co-sum-lines li { padding: 6px 0; border-top: 1px solid var(--line); }
.co-sum-due { display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 14px; margin: 0 0 12px; }
.consent { margin: 4px 0 0 !important; }

/* tools */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
.tool-in { display: grid; gap: 14px; }
.fx-result { font: 600 clamp(24px, 3vw, 34px)/1.2 var(--font-head); color: var(--accent) !important; margin: 4px 0 12px; }

/* thank-you / 404 */
.narrow.center { padding: 120px 24px; }
.narrow.center h1 { font: 600 clamp(38px, 6vw, 64px)/1.05 var(--font-head); letter-spacing: -1.4px; margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-cta { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.footer-cta h2 { font: 600 clamp(32px, 5vw, 56px)/1.05 var(--font-head); letter-spacing: -1.2px; margin: 0 0 12px; }
.footer-cta p { color: var(--muted); font-size: 18px; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; padding: 48px 0; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30ch; }
.footer-h { font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 6px 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; font-size: 13.5px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.credits, .copy { font: 400 12px/1.6 var(--font-mono); color: var(--dim); margin: 0; padding: 0 0 12px; }
.copy { padding-bottom: 40px; }

/* responsive */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; margin-left: auto; position: relative; }
  .mobile-nav summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border: 1px solid var(--line-2); display: grid; place-content: center; gap: 4px; border-radius: var(--radius); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 16px; height: 1.5px; background: var(--text); }
  .mobile-nav nav { position: absolute; right: 0; top: 46px; background: var(--bg); border: 1px solid var(--line-2); min-width: 220px; display: grid; padding: 8px 0; }
  .mobile-nav nav a { padding: 10px 18px; text-decoration: none; color: var(--muted); }
  .header-cta { margin-left: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .with-toc { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .page-hero { padding: 40px 16px 28px; }
  .home-hero { padding-top: 56px; }
  .home-tiles { grid-template-columns: repeat(2, 1fr); }
  .home-tiles a:nth-child(2n) { border-right: 0; }
  .home-tiles a { border-bottom: 1px solid var(--line); }
  .hide-sm { display: none; }
  .block { padding: 44px 0; }
  .docs-layout, .checkout, .tool-grid, .reserve { grid-template-columns: 1fr; }
  .docs-side { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .co-summary { position: static; }
  .co-options, .dl-grid, .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; }
  .field.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- UI pass 2: layout, home components, mobile header ---------- */
.logo-word { white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line); border-top: 0; }
.stats div { padding: 26px 20px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats dt { font: 600 clamp(30px, 4vw, 46px)/1 var(--font-head); letter-spacing: -1px; color: var(--text); }
.stats dd { margin: 10px 0 0; font: 400 12.5px/1.4 var(--font-mono); color: var(--muted); }

/* two-column sections on wide screens: heading left (sticky), content right */
@media (min-width: 1081px) {
  body:not(.type-docs):not(.type-learn) .prose .block { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
  body:not(.type-docs):not(.type-learn) .block-head { position: sticky; top: 96px; align-self: start; }
  body:not(.type-docs):not(.type-learn) .block-head h2 { font-size: 34px; }
  body:not(.type-docs):not(.type-learn) .plans-block, body:not(.type-docs):not(.type-learn) .tool { display: block; }
}
.block-body > :first-child { margin-top: 0; }

/* home: "How it works" as numbered step cards, "What you can rely on" as cards */
.is-home .block:has(#how-it-works) ol { list-style: none; counter-reset: step; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.is-home .block:has(#how-it-works) ol li { counter-increment: step; padding: 22px; border-right: 1px solid var(--line); margin: 0; }
.is-home .block:has(#how-it-works) ol li:last-child { border-right: 0; }
.is-home .block:has(#how-it-works) ol li::before { content: "0" counter(step); display: block; font: 500 12px/1 var(--font-mono); color: var(--accent); margin-bottom: 14px; }
.is-home .block:has(#what-you-can-rely-on) ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.is-home .block:has(#what-you-can-rely-on) ul li { padding: 22px; border-right: 1px solid var(--line); margin: 0; }
.is-home .block:has(#what-you-can-rely-on) ul li:last-child { border-right: 0; }
.is-home .block:has(#what-you-can-rely-on) ul li strong { display: block; font: 600 18px/1.2 var(--font-head); margin-bottom: 8px; }

/* hero eyebrow for inner pages, accent bar under H1 on inner pages too */
.page-hero:not(.home-hero):not(.compact) h1 { max-width: 20ch; }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2n) { border-right: 0; }
  .stats div { border-bottom: 1px solid var(--line); }
  .is-home .block:has(#how-it-works) ol, .is-home .block:has(#what-you-can-rely-on) ul { grid-template-columns: 1fr; }
  .is-home .block:has(#how-it-works) ol li, .is-home .block:has(#what-you-can-rely-on) ul li { border-right: 0; border-bottom: 1px solid var(--line); }
  .header-inner { gap: 12px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .logo { font-size: 17px; }
}
/* long labels and inline code must wrap on small screens */
.prose :not(pre) > code { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .btn { white-space: normal; height: auto; min-height: 42px; padding-top: 10px; padding-bottom: 10px; text-align: center; line-height: 1.3; }
}

/* per-product sample box and tags */
.psample { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line-2); padding: 28px; margin: 40px 0 0; border-radius: var(--radius); background: var(--bg-2); }
.psample p { margin: 0 0 6px; color: var(--muted); }
.psample .dl-meta { margin-top: 10px; }
.psample-note { font-size: 13.5px; border-left: 2px solid var(--copper); padding-left: 10px; margin-top: 12px !important; }
.psample-cta { display: grid; gap: 10px; justify-items: start; }
.tag { display: inline-block; font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; padding: 5px 7px; border: 1px solid var(--line-2); color: var(--muted); border-radius: var(--radius); }
.tag-real { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) { .psample { grid-template-columns: 1fr; } }
