/* MicSense landing + public per-mic reference pages — self-contained page
 * styles (platform landing pattern: dark ground, per-tool accent — steel
 * blue-grey, Tool::COLORS['micsense'] — no build step).
 * ONE stylesheet serves both landings.micsense and landings.micsense-mic. */
:root {
    --bg: #08080a; --bg-2: #0d0e10; --card: #121316; --line: #23242a;
    --tx: #f1ede4; --tx-2: #9a958a; --tx-3: #6c685f;
    --ac: #b5c9d6; --ac-dim: rgba(181, 201, 214, .13); --ac-line: rgba(181, 201, 214, .34);
    --warn: #e3a948; --serif: "Playfair Display", Georgia, serif;
    --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--tx); font-family: var(--sans); line-height: 1.6; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.rv { animation: rv .7s ease both; }
@keyframes rv { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv { animation: none; } }

.eyebrow { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); font-weight: 700; }
.eyebrow b { color: var(--tx); }

.hero { padding: 84px 0 60px; background: radial-gradient(900px 420px at 60% -10%, rgba(181, 201, 214, .09), transparent 60%), var(--bg); }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; margin: 14px 0 16px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--ac); }
.hero .sub { color: var(--tx-2); font-size: 17px; max-width: 62ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 10px; padding: 12px 20px; }
.btn-pri { background: var(--ac); color: #0d1116; }
.btn-pri .a { font-weight: 600; opacity: .75; font-size: 13px; }
.btn-pri:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--tx); }
.btn-ghost:hover { border-color: var(--ac); color: var(--ac); }
.trust { display: flex; gap: 20px; flex-wrap: wrap; color: var(--tx-2); font-size: 13.5px; }
.dot, .trust .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); margin-right: 7px; }


/* ── hero mock: the filtered library ─────────────────────────────────────── */
.mock { margin-top: 42px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; max-width: 620px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.mock-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--tx-2); margin-bottom: 12px; }
.mock-ac { color: var(--ac); }
.mchips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.mchips b, .mchips span { font-size: 11.5px; border-radius: 999px; padding: 4px 10px; border: 1px solid var(--line); color: var(--tx-3); font-weight: 400; }
.mchips b { background: var(--ac-dim); border-color: var(--ac-line); color: var(--ac); font-weight: 700; }
.mrow { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); }
.mrow .mm { font-size: 11.5px; color: var(--tx-3); }
.mrow strong { font-family: var(--serif); font-size: 15px; }
.mrow .mv { font-family: var(--mono); font-size: 11.5px; color: var(--tx-2); }

/* ── library index (landing) ─────────────────────────────────────────────── */
.mfr { margin-bottom: 26px; }
.mfr-name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ac); margin-bottom: 10px; }
.mlist { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.mlist a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .15s; }
.mlist a:hover { border-color: var(--ac); }
.mlist strong { font-size: 15px; color: var(--tx); }
.mlist span { font-family: var(--mono); font-size: 11.5px; color: var(--tx-3); white-space: nowrap; }
.note { color: var(--tx-3); font-size: 13px; line-height: 1.6; margin-top: 12px; max-width: 76ch; }
.note a { color: var(--ac); }

/* ── per-mic reference page ──────────────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mic { padding-top: 44px; }
.crumbs { font-size: 13px; color: var(--tx-3); margin-bottom: 18px; }
.crumbs a { color: var(--ac); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.mic-head { margin-bottom: 26px; }
.mic-head h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); font-weight: 600; line-height: 1.1; margin: 8px 0 10px; }
.mic-head .sub { color: var(--tx-2); font-size: 16px; }
.mic-head .rider { color: var(--ac); }

.trivia { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; max-width: 78ch; }
.trivia li { font-size: 15.5px; line-height: 1.6; background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--ac-line); border-radius: 0 10px 10px 0; padding: 12px 16px; }

.mic-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .mic-grid { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.panel h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 14px; }

.chart-host { width: 100%; }
.ms-chart { width: 100%; height: auto; aspect-ratio: 720 / 300; display: block; }
.ms-grid { stroke: var(--line); stroke-width: 1; }
.ms-grid-zero { stroke: var(--ac-line); }
.ms-axis { fill: var(--tx-3); font-family: var(--mono); font-size: 10px; }
.ms-curve { stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.polar-host { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.polar-host figure { margin: 0; text-align: center; flex: 0 1 190px; }
.polar-host figcaption { font-size: 12px; color: var(--tx-2); margin-top: 4px; text-transform: capitalize; }
.ms-polar { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto; }
.ms-pgrid { stroke: var(--line); stroke-width: 1; fill: none; }
.ms-paxis { fill: var(--tx-3); font-family: var(--mono); font-size: 8px; paint-order: stroke; stroke: var(--card); stroke-width: 2.5px; }
.ms-pcurve { fill: var(--ac-dim); stroke: var(--ac); stroke-width: 1.8; }

.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--tx-2); font-weight: 500; white-space: nowrap; width: 1%; }
.specs td { font-family: var(--mono); font-size: 13.5px; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.dash { color: var(--tx-3); }

.apps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.apps li { font-size: 13px; border: 1px solid var(--ac-line); background: var(--ac-dim); color: var(--ac); border-radius: 999px; padding: 5px 12px; }

.rel { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.rel-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s; }
.rel-card:hover { border-color: var(--ac); }
.rel-mfr { font-size: 11.5px; color: var(--tx-3); }
.rel-model { font-family: var(--serif); font-size: 16px; color: var(--tx); }
.rel-meta { font-size: 12px; color: var(--tx-2); margin-top: 3px; }

@media (max-width: 560px) {
    .mic { padding-top: 30px; }
    .panel { padding: 16px; }
    .specs th, .specs td { padding: 8px; }
    .mrow { grid-template-columns: 1fr auto; }
    .mrow .mm { display: none; }
}

@media print {
    .nav, nav.nav, footer, .cta, .crumbs, .final { display: none !important; }
    body { background: #fff; color: #000; }
    .panel { break-inside: avoid; border-color: #ccc; }
}
.mfoot { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--tx-3); }
.mok { color: var(--ac); }

.sec { padding: 74px 0; }
.sec-head { max-width: 660px; margin-bottom: 40px; }
.sec-head.ctr { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .t { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; margin-top: 10px; line-height: 1.2; }
.sec-head .lead { color: var(--tx-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step .no { font-family: var(--mono); color: var(--ac); font-size: 14px; }
.step .ln { height: 1px; background: var(--line); margin: 12px 0; }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--tx-2); font-size: 14px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.feat h3 { font-size: 16px; margin-bottom: 8px; color: var(--ac); }
.feat p { color: var(--tx-2); font-size: 14px; }

.faqs { display: grid; gap: 10px; max-width: 760px; }
.faqs details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.faqs summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faqs p { color: var(--tx-2); font-size: 14px; margin-top: 8px; }

.final { margin-top: 70px; background: linear-gradient(180deg, var(--ac-dim), transparent), var(--card); border: 1px solid var(--ac-line); border-radius: 16px; padding: 44px 34px; text-align: center; }
.final h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); margin: 10px 0; }
.final p { color: var(--tx-2); max-width: 56ch; margin: 0 auto; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 40px 0 50px; background: var(--bg-2); }
footer .wm { text-decoration: none; }
footer .nm { font-family: var(--serif); font-size: 20px; color: var(--tx); }
footer .nm b { color: var(--ac); }
footer .priv { color: var(--tx-3); font-size: 13px; margin-top: 8px; }
footer .fl { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0; }
footer .fl a { color: var(--tx-2); text-decoration: none; font-size: 13.5px; }
footer .fl a:hover { color: var(--ac); }
footer .cr { color: var(--tx-3); font-size: 12.5px; }
footer .cr a { text-decoration: none; }

@media (max-width: 900px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .hero { padding-top: 56px; }
    .steps { grid-template-columns: 1fr; }
}

/* Product screenshot (tool-shots source is 1032px — shown at 1x, never upscaled) */
.shot { margin: 0; max-width: 1032px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shot img { display: block; width: 100%; max-width: 100%; height: auto; }
.shot figcaption { color: var(--tx-2); font-size: 13.5px; line-height: 1.55; padding: 12px 18px; border-top: 1px solid var(--line); }

/* No manufacturer graph published — see the tool's data rules. */
.nocurve { margin: 0; padding: 34px 14px; text-align: center; color: var(--tx-2);
    font-size: 14.5px; border: 1px dashed var(--line); border-radius: 12px; background: var(--bg-2); }
