/* FMIS landing — design system
   ─────────────────────────────
   One brand voice: monospace where the product speaks (codes, stats,
   envelopes — codes ARE the product), a quiet humanist sans everywhere
   else. Two themes driven entirely by custom properties: the OS decides
   unless the visitor has chosen, and the choice persists.
   Zero external requests: system fonts, inline SVG, no trackers. */

/* ---------- tokens ---------- */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #faf9f6;          /* warm paper, not clinical white */
  --bg-raise: #ffffff;
  --bg-sunken: #f1efe9;
  --ink: #1a1c1a;
  --ink-2: #4c524e;
  --ink-3: #7d837f;
  --line: #e3e1d8;
  --line-strong: #cfccc0;

  --brand: #0e7a5f;       /* emerald — verification green, the brand claim */
  --brand-ink: #0a5c48;
  --brand-wash: #e7f2ee;
  --ok: #0e7a5f;
  --warn: #a86a00;
  --warn-wash: #f7efe0;
  --bad: #b3382f;

  --code-bg: #14201c;     /* the envelope cards stay dark in BOTH themes:  */
  --code-ink: #d9e6e0;    /* terminal output is the product's native dress */
  --code-key: #8fd4bf;
  --code-str: #e8d9a0;
  --code-num: #a8c6f0;
  --code-ok: #7fe0b8;
  --code-warn: #f0b56a;
  --code-dim: #6d7f78;

  --shadow: 0 1px 2px rgb(26 28 26 / .05), 0 8px 28px -12px rgb(26 28 26 / .14);
  --radius: 14px;
  --wrap: 1120px;
}

[data-theme="dark"] { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

[data-theme="dark"] {
  --bg: #101413;
  --bg-raise: #171c1a;
  --bg-sunken: #0b0e0d;
  --ink: #e8ebe8;
  --ink-2: #a8b0ab;
  --ink-3: #737b76;
  --line: #242b28;
  --line-strong: #37403c;
  --brand: #35b992;
  --brand-ink: #6fd3b4;
  --brand-wash: #14261f;
  --ok: #35b992;
  --warn: #d99a3d;
  --warn-wash: #241c0e;
  --bad: #e06b62;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 32px -12px rgb(0 0 0 / .55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #101413; --bg-raise: #171c1a; --bg-sunken: #0b0e0d;
    --ink: #e8ebe8; --ink-2: #a8b0ab; --ink-3: #737b76;
    --line: #242b28; --line-strong: #37403c;
    --brand: #35b992; --brand-ink: #6fd3b4; --brand-wash: #14261f;
    --ok: #35b992; --warn: #d99a3d; --warn-wash: #241c0e; --bad: #e06b62;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 32px -12px rgb(0 0 0 / .55);
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font: 16px/1.65 var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
::selection { background: var(--brand); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 5px; padding: .08em .38em; }
.fine { font-size: 13.5px; color: var(--ink-3); }
.center { text-align: center; max-width: 640px; margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

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

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: var(--brand); }
.brand-mark path { stroke: #fff; stroke-width: 3.2; }
.brand-name { font: 700 19px/1 var(--mono); letter-spacing: .02em; }
.brand-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-nav { display: flex; align-items: center; gap: 22px; }
.head-nav > a:not(.btn) { font-size: 14.5px; text-decoration: none; color: var(--ink-2); }
.head-nav > a:not(.btn):hover { color: var(--ink); }

.theme-toggle {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--bg-raise); color: var(--ink-2); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-moon { display: block; }
  :root:not([data-theme="light"]) .icon-sun { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 11px 22px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-ink); }
[data-theme="dark"] .btn-primary { color: #08120e; }
[data-theme="dark"] .btn-primary:hover { background: var(--brand-ink); color: #08120e; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--bg-raise); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-small { padding: 7px 15px; font-size: 13.5px; background: var(--brand); color: #fff; border-radius: 8px; }
[data-theme="dark"] .btn-small { color: #08120e; }
.btn-big { font-family: var(--mono); font-size: 16.5px; padding: 14px 26px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.eyebrow {
  font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand-ink); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em;
  background: var(--brand); opacity: .25; border-radius: 3px;
}
.lede { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.hero-ctas { display: flex; gap: 14px; margin: 26px 0 34px; flex-wrap: wrap; }

.stat-caveat { max-width: 52ch; margin-bottom: 14px; }
.hero-stats { display: flex; gap: 40px; margin: 0; flex-wrap: wrap; }
.hero-stats dt { font: 700 26px/1.1 var(--mono); color: var(--ink); }
.hero-stats dd { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); max-width: 15ch; }

/* the envelope cards — deliberately dark in both themes */
.hero-card {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--code-bg); box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--code-bg) 60%, #fff 8%);
}
.card-title {
  display: flex; align-items: center; gap: 9px;
  font: 600 12.5px/1 var(--mono); letter-spacing: .06em;
  color: var(--code-dim); padding: 13px 18px;
  border-bottom: 1px solid rgb(255 255 255 / .07);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-ok { background: var(--code-ok); box-shadow: 0 0 8px var(--code-ok); }
.dot-warn { background: var(--code-warn); box-shadow: 0 0 8px var(--code-warn); }
.code {
  margin: 0; padding: 18px 20px; overflow-x: auto;
  font: 12.8px/1.72 var(--mono); color: var(--code-ink); tab-size: 2;
}
/* the global inline-<code> chip must not restyle envelope blocks */
.code code { background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.j-k { color: var(--code-key); }
.j-s { color: var(--code-str); }
.j-n { color: var(--code-num); }
.j-ok { color: var(--code-ok); font-weight: 700; }
.j-warn { color: var(--code-warn); font-weight: 700; }
.j-c { color: var(--code-dim); font-style: italic; }

/* ---------- pillars ---------- */
.pillars { padding: 40px 0 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.pillar:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pillar h3 { color: var(--ink); margin-bottom: 8px; }
.pillar h3::before {
  content: "— "; color: var(--brand); font-family: var(--mono);
}
.pillar p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* ---------- how ---------- */
.how { padding: 92px 0 30px; }
.section-lede { color: var(--ink-2); max-width: 62ch; margin-bottom: 34px; }
.grid-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  border-left: 3px solid var(--brand); background: var(--bg-raise);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px; border-top: 1px solid var(--line);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.step-n { display: block; font: 700 15px/1 var(--mono); color: var(--brand-ink); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* ---------- honesty ---------- */
.honesty { padding: 92px 0 30px; }
.honesty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.honesty h2 { max-width: 14ch; }
.honesty p { color: var(--ink-2); max-width: 55ch; }
.honesty-method { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line, rgb(128 128 128 / .18)); }
.honesty-method h3 { margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.method-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 26px 0; }
.method-metrics dt { font: 600 13px/1.3 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.method-metrics dd { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.method-metrics dd b { font: 700 22px/1 var(--mono); color: var(--ink); display: inline-block; margin-right: 4px; }

/* ---------- coverage ---------- */
.coverage { padding: 92px 0 40px; text-align: center; }
.coverage h2 { margin-bottom: 34px; }
.coverage-grid { margin-bottom: 26px; }
.cov {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 10px 22px;
}
.cov-n { display: block; font: 700 clamp(26px, 3vw, 34px)/1 var(--mono); color: var(--brand-ink); }
.cov-l { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-3); }

/* ---------- contact ---------- */
.contact { padding: 60px 0 100px; }
.contact-card {
  text-align: center; background: var(--brand-wash);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  border-radius: 22px; padding: 60px 28px 54px;
}
.contact-card h2 { color: var(--brand-ink); }
.contact-card p { max-width: 52ch; margin-inline: auto; color: var(--ink-2); }
.contact-card .btn { margin: 18px 0 14px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.foot-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .honesty-grid { grid-template-columns: 1fr; gap: 36px; }
  .method-metrics { grid-template-columns: 1fr; gap: 22px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-steps { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
@media (max-width: 720px) {
  .head-nav > a:not(.btn) { display: none; }
  .brand-sub { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .wrap { padding: 0 20px; }
}

/* ---------- the data-drawn map ---------- */
/* Everything here is FMIS's own geometry as inline SVG: no tiles, no third
   party, no bytes fetched from anyone. That keeps the page's CSP at
   default-src 'none' and keeps a marketing page from leaking visitors to a
   tile provider — and it is more honest besides, since the thing being shown
   IS the data rather than a picture of a place. */
.demo { padding: 92px 0 30px; }
.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.demo-grid h2 { max-width: 16ch; }
.demo-grid p { color: var(--ink-2); max-width: 52ch; }
.demo-key { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.demo-key li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.demo-key b { color: var(--ink); }
.k { flex: none; width: 13px; height: 13px; border-radius: 50%; margin-top: 4px; }
.k-cent { background: var(--ink-3); }
.k-pin { background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

.demo-fig { margin: 0; }
.demo-fig figcaption { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.demo-map {
  width: 100%; height: auto; display: block;
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.dm-area { fill: color-mix(in srgb, var(--brand) 8%, transparent); stroke: var(--brand); stroke-width: 1.6; }
.dm-street { fill: none; stroke: #2b6cb0; stroke-width: 4.5; stroke-linecap: round; }
[data-theme="dark"] .dm-street { stroke: #6aa9e8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dm-street { stroke: #6aa9e8; } }
.dm-link { stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 5 4; }
.dm-centroid circle { fill: var(--ink-3); stroke: var(--bg-raise); stroke-width: 2; }
.dm-pin circle { fill: var(--brand); stroke: var(--bg-raise); stroke-width: 2.5; }
.dm-lbl { font: 600 12px var(--mono); fill: var(--ink-2); }
.dm-lbl-sub { font-weight: 400; fill: var(--ink-3); }
.dm-hi { fill: var(--brand-ink); }
.dm-gap { font: 700 13px var(--mono); fill: var(--ink); }

@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; gap: 32px; } }


/* ---------- quickstart ---------- */
.quickstart { padding: 84px 0; background: var(--bg-sunken); border-block: 1px solid var(--line); }
.qs-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin: 36px 0 32px; }
.qs-step { position: relative; padding: 22px 22px 22px 24px; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: var(--radius); }
.qs-step h3 { font-size: 1rem; margin: 14px 0 8px; letter-spacing: -.01em; }
.qs-step p { color: var(--ink-2); font-size: .94rem; margin: 0; line-height: 1.6; }
.qs-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-wash); color: var(--brand); font: 600 .85rem/1 var(--mono); }
.qs-code { margin-top: 8px; }
.qs-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; }
.qs-code code { font: 400 .84rem/1.75 var(--mono); color: var(--code-ink); white-space: pre; }
.copy-btn { margin-left: auto; padding: 3px 10px; font: 500 .74rem/1.6 var(--sans);
  color: var(--code-dim); background: transparent; border: 1px solid var(--code-dim);
  border-radius: 6px; cursor: pointer; transition: color .15s, border-color .15s; }
.copy-btn:hover, .copy-btn:focus-visible { color: var(--code-ok); border-color: var(--code-ok); }
.copy-btn[data-copied] { color: var(--code-ok); border-color: var(--code-ok); }

/* ---------- comparison ---------- */
.compare { padding: 84px 0; }
.table-scroll { overflow-x: auto; margin: 32px 0 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; font-size: .92rem;
  border-bottom: 1px solid var(--line); }
.cmp thead th { font: 600 .78rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); background: var(--bg-sunken); white-space: nowrap; }
.cmp thead th:nth-child(2) { color: var(--brand); }
.cmp tbody th { font-weight: 500; color: var(--ink); }
.cmp td { color: var(--ink-2); font-family: var(--mono); font-size: .84rem; }
.cmp td.y { color: var(--ok); }
.cmp td.n { color: var(--ink-3); }
.cmp td.p { color: var(--warn); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover { background: var(--bg-sunken); }
.cmp td:nth-child(2) { background: color-mix(in srgb, var(--brand-wash) 55%, transparent); font-weight: 600; }

/* ---------- pricing ---------- */
.pricing { padding: 84px 0; background: var(--bg-sunken); border-block: 1px solid var(--line); }
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin: 36px 0 28px; align-items: start; }
.tier { position: relative; padding: 26px 22px; background: var(--bg-raise);
  border: 1px solid var(--line); border-radius: var(--radius); }
.tier-featured { border-color: var(--brand); box-shadow: var(--shadow); }
.tier-badge { position: absolute; top: -10px; left: 22px; padding: 2px 10px;
  font: 600 .7rem/1.7 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--brand); border-radius: 999px; }
[data-theme="dark"] .tier-badge { color: #08120e; }
.tier h3 { font-size: .95rem; letter-spacing: .02em; margin: 0 0 10px; color: var(--ink-2); }
.tier-price { margin: 0 0 2px; display: flex; align-items: baseline; gap: 3px; }
.tier-n { font: 700 2rem/1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.tier-per { font: 400 .85rem/1 var(--sans); color: var(--ink-3); }
.tier-cap { margin: 0 0 16px; font: 400 .82rem/1.5 var(--mono); color: var(--brand); }
.tier-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); padding-top: 14px; }
.tier-list li { position: relative; padding: 0 0 8px 18px; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.tier-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px;
  border-radius: 2px; background: var(--brand-wash); border: 1px solid var(--brand); }

@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .qs-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
}

/* ---------------------------- PH COVERAGE MAP ----------------------------
   Two inline SVGs generated by scripts/build_landing_map.py from the same
   boundary polygons the API queries. Inlined (not <img>) so they follow the
   site's own light/dark toggle rather than only the OS setting. Panel labels
   are HTML, not SVG <text>: inside the SVG they scaled with the drawing and
   became ~4px type on a phone. */
.phmap-fig { margin: 34px 0 28px; }
.phmap-wrap {
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  /* flex-start, not flex-end: the two panels are different heights, and
     aligning their bottoms threw the two headings out of line. */
  align-items: flex-start; justify-content: center;
}
.phmap-panel { min-width: 0; }
.phmap-panel-nat { flex: 0 1 240px; }
.phmap-panel-det { flex: 1 1 460px; max-width: 580px; }
.phmap { display: block; width: 100%; height: auto; overflow: visible; }

.phmap-cap {
  margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.phmap-sub {
  margin: 2px 0 10px; font-family: var(--mono); font-size: 12px;
  color: var(--ink-3); line-height: 1.4;
}

.phmap-nat path {
  fill: var(--brand-wash); stroke: var(--brand); stroke-width: .5;
  stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.phmap-det path {
  fill: var(--bg-raise); stroke: var(--brand); stroke-width: .8;
  stroke-linejoin: round; vector-effect: non-scaling-stroke;
  transition: fill .15s ease;
}
.phmap-det path:hover { fill: var(--brand-wash); }
.phmap-pin circle { fill: none; stroke: var(--warn); stroke-width: 1.4;
  vector-effect: non-scaling-stroke; }
.phmap-pin .phmap-dot { fill: var(--warn); stroke: none; }

.phmap-fig figcaption {
  max-width: 68ch; margin: 18px auto 0; text-align: center;
  font-size: 13.5px; line-height: 1.55; color: var(--ink-3);
}

/* Phones: the panels stack, so cap the country so it does not become a
   600px-tall column, and centre both. */
@media (max-width: 700px) {
  .phmap-wrap { gap: 22px; }
  .phmap-panel-nat, .phmap-panel-det {
    flex: 1 1 100%; max-width: 300px; margin-inline: auto;
  }
  .phmap-cap, .phmap-sub { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .phmap-det path { transition: none; } }
