/* ============================================================
   MP Datalabs — site styles
   All theme tokens live in :root below.
   ============================================================ */

:root {
  --bg: #0a1120;
  --bg-soft: #0d1526;
  --surface: #111c33;
  --surface-2: #16233f;
  --line: rgba(148, 163, 199, 0.16);
  --text: #e9eefb;
  --muted: #9fb0cf;
  --gold: #f5b82e;
  --gold-soft: rgba(245, 184, 46, 0.13);
  --blue: #5aa9ff;
  --green: #5fe3a1;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(3, 8, 20, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 72% -10%, rgba(245, 184, 46, 0.08), transparent 60%),
    radial-gradient(900px 480px at 8% -5%, rgba(90, 169, 255, 0.06), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #8cc4ff; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.85em; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }

.muted { color: var(--muted); }
.container { width: min(1120px, 92%); margin-inline: auto; }

::selection { background: rgba(245, 184, 46, 0.3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: #201803; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 17, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #d99a12);
  color: #1a1405; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.02em;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.15;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem;
}
.brand-text small { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.22em; font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--text); border-bottom-color: var(--gold); }
.site-nav .nav-cta { margin-left: 4px; border-bottom: none; padding: 9px 16px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); width: 40px; height: 38px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold); color: #201803;
  box-shadow: 0 6px 18px rgba(245, 184, 46, 0.25);
}
.btn-primary:hover { background: #ffca45; color: #201803; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: rgba(245, 184, 46, 0.5); color: var(--gold); }

/* ---------- hero (landing) ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(148, 163, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 199, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 440px at 32% 18%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 440px at 32% 18%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero h1 .accent { color: var(--gold); }
.lede { color: var(--muted); font-size: 1.07rem; max-width: 54ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.35rem; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: 0.84rem; }

/* mock dashboard window */
.hero-visual { position: relative; }
.mock-window {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .mock-window { animation: none; }
  html { scroll-behavior: auto; }
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: #ff5f57; opacity: 0.8; }
.mock-bar i:nth-child(2) { background: #febc2e; opacity: 0.8; }
.mock-bar i:nth-child(3) { background: #28c840; opacity: 0.8; }
.mock-title { margin-left: 10px; font-size: 0.74rem; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px;
}
.mock-kpi b { display: block; font-size: 1.05rem; }
.mock-kpi span {
  font-size: 0.68rem; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.mock-chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.mock-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.85rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 118px; }
.bars i {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--gold), rgba(245, 184, 46, 0.3));
}
.bars i:nth-child(even) { background: linear-gradient(180deg, var(--blue), rgba(90, 169, 255, 0.28)); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head .lede { margin-top: 8px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; flex-wrap: wrap; }
.view-all { color: var(--gold); font-weight: 600; }

/* ---------- grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

.product-card, .guide-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover, .guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 184, 46, 0.45);
  box-shadow: var(--shadow);
}
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile-lg { width: 74px; height: 74px; border-radius: 18px; }
.icon-tile-lg svg { width: 38px; height: 38px; }
/* Raster icon tiles: the image already carries the tile styling
   (gold-soft fill, dark surface, rounded corners), so drop the span's own background. */
.icon-tile-img { background: none; }
.icon-tile-img img { width: 100%; height: 100%; display: block; border-radius: inherit; }
.card-name { font-size: 1.12rem; margin: 0; }
.card-tagline { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; color: var(--muted); }
.card-link { color: var(--gold); font-weight: 600; font-size: 0.92rem; }

/* chips */
.chip {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid transparent; white-space: nowrap;
}
.chip-available { background: rgba(52, 199, 123, 0.13); color: var(--green); border-color: rgba(52, 199, 123, 0.35); }
.chip-coming-soon { background: rgba(90, 169, 255, 0.11); color: #8cc4ff; border-color: rgba(90, 169, 255, 0.35); }
.chip-sample { background: var(--gold-soft); color: var(--gold); border-color: rgba(245, 184, 46, 0.4); }
.chip-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* how-it-works / value props */
.steps-cards, .value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px;
}
.step-card, .value-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); font-weight: 700;
  border: 1px solid rgba(245, 184, 46, 0.35); margin-bottom: 14px;
}
.value-card h3 { font-size: 1.05rem; }
.value-card p, .step-card p { color: var(--muted); font-size: 0.94rem; margin: 8px 0 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #14203c, #0f1830);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 56px 40px;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40% 20% auto;
  height: 120%;
  background: radial-gradient(closest-side, rgba(245, 184, 46, 0.16), transparent);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); position: relative; }
.cta-band p { color: var(--muted); position: relative; max-width: 52ch; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; position: relative; }

/* ---------- inner page hero ---------- */
.page-hero { padding: 54px 0 10px; }
.breadcrumb {
  display: flex; gap: 9px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.45; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.page-hero .lede { margin-top: 10px; max-width: 72ch; }

/* dev note (remove before launch) */
.dev-note {
  margin-top: 22px;
  background: rgba(245, 184, 46, 0.07);
  border: 1px dashed rgba(245, 184, 46, 0.45);
  color: #e8d9a8; border-radius: 10px;
  padding: 10px 14px; font-size: 0.85rem;
}

/* ---------- products page ---------- */
.catalog { padding: 26px 0 76px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-chip {
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  padding: 7px 15px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.filter-chip:hover { color: var(--text); border-color: rgba(245, 184, 46, 0.4); }
.filter-chip.active { background: var(--gold-soft); color: var(--gold); border-color: rgba(245, 184, 46, 0.5); }

/* ---------- product detail ---------- */
.product-hero { display: flex; gap: 24px; align-items: flex-start; margin: 26px 0 6px; }
.product-hero h1 { margin-bottom: 8px; }
.block { padding: 34px 0; border-top: 1px solid var(--line); }
.summary-lead { font-size: 1.08rem; max-width: 75ch; color: var(--text); }
.feature-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 26px;
}
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.gallery-tile { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin: 0; }
.gallery-tile.has-img { display: flex; flex-direction: column; background: var(--bg-soft); }
.lightbox-btn {
  position: relative; padding: 0; margin: 0; border: 0;
  background: none; cursor: zoom-in;
}
.gallery-tile.has-img .lightbox-btn { flex: 1 1 auto; min-height: 0; display: block; width: 100%; }
.gallery-tile.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-tile.has-img figcaption {
  flex: 0 0 auto; padding: 8px 12px;
  font-size: 0.78rem; line-height: 1.4; color: var(--muted);
  background: var(--bg-soft); border-top: 1px solid var(--line);
}
.gallery-tile.placeholder {
  display: grid; place-items: center; align-content: center; gap: 6px;
  text-align: center; border: 1.5px dashed var(--line);
  color: var(--muted); font-size: 0.85rem; background: var(--bg-soft);
}
.gallery-tile.placeholder span { font-size: 1.7rem; opacity: 0.65; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  max-width: 480px; display: grid; gap: 6px; justify-items: start;
}
.pricing-card h3 { margin: 0; font-size: 1.3rem; }
.pricing-card p { color: var(--muted); margin: 0; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.empty-note, .not-found { color: var(--muted); }
.not-found { text-align: center; padding: 90px 0; }
.not-found h1 { font-size: 2.4rem; }
.not-found p { max-width: 46ch; margin: 0 auto 24px; }

/* ---------- how-to pages ---------- */
.guide-group { margin-bottom: 46px; padding-top: 8px; }
.guide-group-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.guide-group-head h2 { margin: 0; font-size: 1.3rem; }

.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px; padding: 30px 0 76px; align-items: start;
}
.article-layout article h1 { margin-bottom: 12px; }
.steps {
  list-style: none; counter-reset: step;
  padding: 0; margin: 28px 0 0; display: grid; gap: 16px;
}
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 20px 76px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold); font-weight: 700;
  border: 1px solid rgba(245, 184, 46, 0.4);
}
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }
.step-figure { margin: 14px 0 0; }
.step-figure img {
  display: block; width: 100%; height: auto;
  border-radius: 8px; border: 1px solid var(--line);
}
.step-figure .lightbox-btn { display: block; width: 100%; }
.step-figure figcaption { margin-top: 8px; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }

/* --- clickable screenshots (lightbox) --- */
.lightbox-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.lightbox-btn::after {
  content: "+"; position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 17, 32, 0.72); color: var(--text);
  font-size: 1.05rem; line-height: 1;
  opacity: 0; transition: opacity 0.15s ease; pointer-events: none;
}
.lightbox-btn:hover::after, .lightbox-btn:focus-visible::after { opacity: 1; }
@media (hover: none) { .lightbox-btn::after { opacity: 0.9; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  opacity: 0; transition: opacity 0.15s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 18, 0.86); }
.lightbox-figure { position: relative; margin: 0; }
.lightbox-img {
  display: block; margin: 0 auto;
  max-width: min(1240px, 96vw); max-height: 82vh; width: auto; height: auto;
  border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.lightbox-caption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(17, 28, 51, 0.9); color: var(--text);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 1.7rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--gold); color: var(--gold); background: var(--surface-2); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.lightbox-lock { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox { padding: 12px; }
  .lightbox-img { max-height: 74vh; border-radius: 8px; }
  .lightbox-close, .lightbox-nav { width: 34px; height: 34px; font-size: 1.2rem; }
  .lightbox-nav { font-size: 1.45rem; }
}

.article-layout aside { display: grid; gap: 16px; position: sticky; top: 86px; }
.aside-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.aside-card h3 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted); margin-bottom: 10px;
}
.aside-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.aside-links a { color: var(--text); font-size: 0.92rem; }
.aside-links a:hover { color: var(--gold); }

/* ---------- contact ---------- */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 44px; padding: 36px 0 76px; align-items: start;
}
.contact-details { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-details li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 0.95rem; }
.contact-details b { color: var(--text); min-width: 84px; font-weight: 600; }
.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  display: grid; gap: 16px;
}
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px; color: var(--text); font: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: rgba(245, 184, 46, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-status { padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; line-height: 1.5; }
.form-status a { color: inherit; }
.form-status-info {
  background: rgba(90, 169, 255, 0.1);
  border: 1px solid rgba(90, 169, 255, 0.35);
  color: #bcd9ff;
}
.form-status-success {
  background: rgba(95, 227, 161, 0.1);
  border: 1px solid rgba(95, 227, 161, 0.4);
  color: #b8f3d4;
}
.form-status-error {
  background: rgba(255, 122, 122, 0.1);
  border: 1px solid rgba(255, 122, 122, 0.4);
  color: #ffc9c9;
}
.field-error { display: block; margin-top: 6px; font-size: 0.8rem; color: #ff9d9d; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: rgba(255, 122, 122, 0.6);
}
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
/* honeypot — hidden from humans and screen readers, visible to bots */
.hp-wrap {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 60px; padding: 52px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 34px; margin-bottom: 36px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; margin-top: 14px; }
.footer-grid h4 {
  font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a, .footer-grid li { color: var(--muted); font-size: 0.93rem; }
.footer-grid a:hover { color: var(--text); }
.footer-base {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.84rem;
}

/* ---------- product: get / download ---------- */
.product-hero .hero-actions { margin-top: 18px; }
.get-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid rgba(245, 184, 46, 0.35);
  border-radius: var(--radius); padding: 24px 26px;
}
.get-card-wrap { display: grid; gap: 14px; }
.get-card-sample { background: var(--bg-soft); border-style: dashed; }
.get-card-sample h2 .chip { vertical-align: middle; margin-left: 8px; transform: translateY(-2px); }
.get-card h2 { margin-bottom: 6px; font-size: 1.25rem; }
.get-card p { color: var(--muted); margin: 0 0 10px; max-width: 56ch; }
.file-chip {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.82rem; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 8px; color: var(--text);
}
.import-steps {
  margin: 20px 0 0; padding: 0; list-style: none; counter-reset: imp;
  display: grid; gap: 12px; max-width: 780px;
}
.import-steps li {
  counter-increment: imp; position: relative; padding-left: 40px;
  color: var(--muted); font-size: 0.95rem;
}
.import-steps li::before {
  content: counter(imp); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
  font-weight: 700; font-size: 0.8rem;
  border: 1px solid rgba(245, 184, 46, 0.35);
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 18px 5vw 22px; gap: 14px; display: none;
  }
  .site-nav.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-hero { flex-direction: column; }
  .mock-kpis { grid-template-columns: repeat(3, 1fr); gap: 7px; }
}

/* ---------- prose (privacy policy & legal pages) ---------- */
.prose { max-width: 74ch; margin: 0 auto; padding: 10px 0 80px; }
.prose h2 { font-size: 1.3rem; margin: 1.9em 0 0.55em; scroll-margin-top: 100px; }
.prose p, .prose li { line-height: 1.7; font-size: 0.98rem; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.35em; display: grid; gap: 0.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 2.6em; }
.prose .toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0 0 10px; }
.prose .toc ul { margin: 0; padding-left: 1.25em; columns: 2; column-gap: 28px; gap: 0.35em; }
@media (max-width: 640px) {
  .prose .toc ul { columns: 1; }
}