/* ── MapCar public site ─────────────────────────────────────────────────────────
   Same family as the portal: deep slate ground, one amber accent, generous type.
   Dark by default (the app is an instrument cluster), light when the visitor
   asks for it. Content markup uses `mc__*` classes; the shell uses `site-*`.
   Icons are Phosphor (regular weight) via <i class="ph ph-name">. */
:root {
  --bg: #0e1119;
  --bg-elev: #151a26;
  --bg-elev-2: #1c2231;
  --line: #262d3d;
  --line-strong: #344057;
  --text: #e8ebf2;
  --text-muted: #a3acc0;
  --text-faint: #6b7590;
  --accent: #f5b342;
  --accent-ink: #1a1200;
  --accent-soft: rgba(245, 179, 66, 0.12);
  --accent-ring: rgba(245, 179, 66, 0.35);
  --ok: #4fd1a5;
  --warn: #f5b342;
  --danger: #ff6b6b;
  --info: #7aa2ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.25);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1120px;
  --measure: 720px;
  --section: clamp(56px, 8vw, 96px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb; --bg-elev: #ffffff; --bg-elev-2: #eef1f7; --line: #e3e7ef; --line-strong: #cbd2df;
    --text: #141a26; --text-muted: #4f5a70; --text-faint: #8791a6; --accent: #d9930f; --accent-ink: #1a1200;
    --accent-soft: rgba(217, 147, 15, 0.12); --accent-ring: rgba(217, 147, 15, 0.3);
    --shadow: 0 20px 50px rgba(20, 26, 38, 0.10); --shadow-sm: 0 4px 16px rgba(20, 26, 38, 0.06); color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 780; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 720; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--bg-elev-2); padding: 1px 6px; border-radius: 5px; }
.ph { display: inline-block; vertical-align: -0.125em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
::selection { background: var(--accent-ring); }

.mc__container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.mc__measure { max-width: var(--measure); }
/* Narrow prose keeps the page head's left edge instead of floating to the centre. */
.mc__container.mc__measure { margin-left: max(20px, calc((100% - var(--container)) / 2)); margin-right: auto; }

/* ── Shell ─────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; text-decoration: none; font-size: 17px; letter-spacing: -0.01em; }
.site-brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-nav { display: flex; gap: 2px; margin-left: 4px; }
.site-nav a { text-decoration: none; color: var(--text-muted); padding: 8px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; transition: background 0.15s, color 0.15s; }
.site-nav a:hover { color: var(--text); background: var(--bg-elev-2); }
.site-nav a[aria-current] { color: var(--text); background: var(--accent-soft); font-weight: 600; }
.site-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px; border-radius: 9px; border: 1px solid var(--line-strong); font-size: 13.5px; color: var(--text-muted); transition: border-color 0.15s, color 0.15s; }
.lang summary:hover { color: var(--text); border-color: var(--text-faint); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ph { font-size: 16px; }
.lang-caret { font-size: 13px !important; transition: transform 0.2s; }
.lang[open] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: grid; min-width: 160px; overflow: hidden; padding: 4px; }
.lang-menu a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; color: var(--text-muted); }
.lang-menu a:hover { background: var(--bg-elev-2); color: var(--text); }
.lang-menu a[aria-current] { color: var(--text); font-weight: 600; background: var(--accent-soft); }
.site-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); font-size: 22px; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.site-menu-close, body.nav-open .site-menu-open { display: none; }
body.nav-open .site-menu-close { display: inline-block; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-tools .mc__button { display: none; }
  .site-menu { display: inline-flex; align-items: center; justify-content: center; }
  body.nav-open .site-nav { display: grid; position: absolute; left: 0; right: 0; top: 66px; background: var(--bg-elev); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 2px; box-shadow: var(--shadow); }
  body.nav-open .site-nav a { padding: 12px 14px; font-size: 16px; }
}
.site-main { display: block; }
.site-footer { border-top: 1px solid var(--line); margin-top: var(--section); padding: 48px 0 40px; background: var(--bg-elev); }
.site-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 32px; align-items: center; }
.site-footer-brand { display: flex; gap: 12px; align-items: center; }
.site-footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-footer-brand div { display: grid; }
.site-footer-brand strong { font-size: 16px; }
.site-footer-brand span { color: var(--text-muted); font-size: 14px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 6px 4px; font-size: 14px; }
.site-footer-links a { color: var(--text-muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.site-footer-links a:hover { color: var(--text); background: var(--bg-elev-2); }
.site-footer-copy { grid-column: 1 / -1; color: var(--text-faint); font-size: 13px; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.site-footer-copy a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.site-footer-copy a:hover { color: var(--text); }
.site-footer-copy .ph { font-size: 15px; }
@media (max-width: 700px) { .site-footer-inner { grid-template-columns: 1fr; } .site-footer-links { margin-left: -10px; } }

/* ── Content primitives ────────────────────────────────────────────────────── */
.mc__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.mc__eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.mc__lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--text-muted); max-width: var(--measure); text-wrap: pretty; }
.mc__accent { color: var(--accent); }
.mc__button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 20px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 650; text-decoration: none; border: 1px solid transparent; cursor: pointer; box-shadow: 0 6px 18px var(--accent-ring); transition: transform 0.15s, box-shadow 0.15s, filter 0.15s, background 0.15s, border-color 0.15s; }
.mc__button .ph { font-size: 1.2em; }
.mc__button:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 10px 24px var(--accent-ring); }
.mc__button:active { transform: translateY(0); }
.mc__button--ghost { background: var(--bg-elev); color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.mc__button--ghost:hover { background: var(--bg-elev-2); border-color: var(--text-faint); filter: none; box-shadow: none; }
.mc__button--sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.mc__button--sm:hover { transform: none; box-shadow: none; }
.mc__text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color 0.15s, color 0.15s; }
.mc__text-link .ph { transition: transform 0.15s; }
.mc__text-link:hover { border-color: var(--accent); color: var(--accent); }
.mc__text-link:hover .ph { transform: translateX(3px); }
.mc__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0; }
.mc__chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg-elev-2); border: 1px solid var(--line); font-size: 13px; font-family: var(--mono); white-space: nowrap; }
.mc__note { display: block; padding: 16px 18px 16px 20px; border-left: 3px solid var(--accent); background: var(--bg-elev); border: 1px solid var(--line); border-left-width: 3px; border-left-color: var(--accent); border-radius: 0 12px 12px 0; color: var(--text-muted); font-size: 15px; margin-top: 24px; }
.mc__code-ref { font-family: var(--mono); font-size: 0.9em; color: var(--text-muted); }
.mc__pre { background: #0a0d14; color: #dfe4ee; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.mc__pre code { background: none; padding: 0; font-size: inherit; }
@media (prefers-color-scheme: light) { .mc__pre { background: #141a26; } }

.mc__page-head { padding: clamp(56px, 8vw, 88px) 0 24px; }
.mc__page-head h1 { max-width: 20ch; }
.mc__section { padding: var(--section) 0; }
.mc__section + .mc__section { padding-top: 0; }
.mc__section--alt { background: var(--bg-elev); border-block: 1px solid var(--line); }
.mc__section--alt + .mc__section, .mc__section--tint + .mc__section, .mc__stats + .mc__section { padding-top: var(--section); }
.mc__section--tint { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%); }
.mc__section-head { max-width: var(--measure); margin: 0 auto 40px; text-align: center; }
.mc__section-head--start { margin-inline: 0; text-align: left; }
.mc__section-head .mc__lead { margin-bottom: 0; }
.mc__section-head h2 { margin-bottom: 14px; }

/* Prose (guide, limits, privacy, terms, blog posts) */
.mc__prose { font-size: 17px; }
.mc__prose h2 { margin-top: 2em; padding-top: 0.6em; border-top: 1px solid var(--line); font-size: clamp(22px, 2.6vw, 30px); }
.mc__prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.mc__prose h3 { margin-top: 1.6em; }
.mc__prose ul, .mc__prose ol { padding-left: 1.3em; }
.mc__prose li { margin: 0.4em 0; }
.mc__prose li::marker { color: var(--accent); }
.mc__prose a { color: var(--accent); }
.mc__prose strong { color: var(--text); }

/* ── Hero + instrument cluster ─────────────────────────────────────────────── */
.mc__hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 520px at 12% -10%, var(--accent-soft), transparent 60%), radial-gradient(700px 500px at 100% 20%, rgba(122, 162, 255, 0.08), transparent 60%); }
.mc__hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.mc__hero-copy h1 { margin-bottom: 22px; }
.mc__hero-copy .mc__lead { font-size: clamp(17px, 1.7vw, 19.5px); }
.mc__hero-notes { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mc__hero-notes li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-elev) 70%, transparent); color: var(--text-muted); font-size: 13.5px; font-weight: 500; }
.mc__hero-notes .ph { font-size: 17px; color: var(--ok); }
@media (max-width: 900px) { .mc__hero-grid { grid-template-columns: 1fr; } .mc__hero-copy .mc__actions .mc__button { flex: 1 1 auto; } }
/* Narrow screens: let the cluster grow to its content instead of clipping the trip row. */
@media (max-width: 600px) { .mc__cluster { aspect-ratio: auto; min-height: 400px; } }

.mc__cluster { position: relative; aspect-ratio: 3 / 2; border-radius: 24px; overflow: hidden; background: #0b0f17; border: 1px solid var(--line-strong); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.03); color: #eef1f6; display: grid; grid-template-rows: auto 1fr auto; }
.mc__cluster--margin { margin: 0; }
.mc__cluster-map, .mc__cluster-nav { position: absolute; inset: 0; }
.mc__cluster-map svg, .mc__cluster-nav svg { width: 100%; height: 100%; }
.mc__map-ground path { fill: #10151f; }
.mc__park { fill: #12261f !important; }
.mc__water { fill: #0f2236 !important; }
.mc__road { fill: none; stroke: #232b3b; stroke-linecap: round; }
.mc__road--minor { stroke-width: 6; }
.mc__road--major { stroke-width: 11; stroke: #2b3448; }
.mc__route-casing { fill: none; stroke: rgba(245, 179, 66, 0.25); stroke-width: 14; stroke-linecap: round; }
.mc__route { fill: none; stroke: #f5b342; stroke-width: 6; stroke-linecap: round; }
.mc__route-flow { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 18; stroke-linecap: round; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.mc__poi-dot { fill: #1c2231; stroke: #7aa2ff; stroke-width: 1.5; }
.mc__poi--fuel .mc__poi-dot { stroke: #1E88E5; }
.mc__poi--charge .mc__poi-dot { stroke: #43A047; }
.mc__poi--food .mc__poi-dot { stroke: #f5b342; }
.mc__poi-glyph { fill: #fff; }
.mc__poi-pulse { fill: none; stroke: currentColor; opacity: 0.35; }
.mc__map-car { color: #f5b342; }
.mc__car-body { fill: #f5b342; }
.mc__car-glass { fill: #0b0f17; }
.mc__car-lamp { fill: #fff; }
.mc__car-tail { fill: #ff6b6b; }
.mc__turn { position: relative; z-index: 1; margin: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: linear-gradient(180deg, rgba(11,15,23,0.95), rgba(11,15,23,0.6)); font-size: 14px; }
.mc__nav-turn { width: 36px; height: 36px; border-radius: 10px; background: #f5b342; color: #1a1200; display: grid; place-items: center; }
.mc__nav-turn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.mc__nav-text { display: grid; line-height: 1.25; }
.mc__nav-text strong { font-size: 18px; }
.mc__nav-eta { color: #a3acc0; font-size: 13px; }
.mc__cluster-readout { position: relative; z-index: 1; align-self: end; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 18px; }
.mc__speed { display: flex; align-items: baseline; gap: 6px; }
.mc__speed strong { font-size: clamp(56px, 8vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mc__speed span { color: #a3acc0; font-size: 15px; }
.mc__sign { display: grid; justify-items: center; gap: 4px; }
.mc__sign-disc { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 7px solid #d32029; display: grid; place-items: center; color: #15181d; font-weight: 800; font-size: 24px; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.mc__sign small { font-size: 11px; color: #a3acc0; }
.mc__cluster-road { position: relative; z-index: 1; margin: 6px 18px 0; font-size: 13.5px; color: #d5dbe8; }
.mc__cluster-trip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 18px 4px; }
.mc__cluster-trip div { display: grid; line-height: 1.2; }
.mc__cluster-trip strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.mc__cluster-trip span { font-size: 11px; color: #8b95ab; }
.mc__cluster-status { position: relative; z-index: 1; margin: 0; padding: 6px 18px 14px; font-size: 12px; color: #8b95ab; display: flex; align-items: center; gap: 8px; }
.mc__cluster-status i { width: 8px; height: 8px; border-radius: 50%; background: #4fd1a5; box-shadow: 0 0 0 3px rgba(79, 209, 165, 0.2); }

/* Screenshots */
.mc__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mc__shot { margin: 0; display: grid; gap: 14px; }
.mc__shot-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 10; transition: transform 0.2s, border-color 0.2s; }
.mc__shot:hover .mc__shot-frame { transform: translateY(-3px); border-color: var(--line-strong); }
.mc__shot-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc__shot figcaption { display: grid; gap: 3px; font-size: 14px; color: var(--text-muted); padding: 0 4px; }
.mc__shot figcaption strong { color: var(--text); font-size: 15.5px; }
@media (max-width: 800px) { .mc__shots { grid-template-columns: 1fr; } }

/* Stats band */
.mc__stats { padding: 0 0 var(--section); }
.mc__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mc__stats-grid > div { position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); display: grid; gap: 2px; align-content: start; transition: border-color 0.2s, transform 0.2s; }
.mc__stats-grid > div:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.mc__stat-icon { position: absolute; top: 18px; right: 18px; font-size: 22px; color: var(--text-faint); }
.mc__stats-grid strong { font-size: clamp(28px, 3vw, 34px); font-weight: 780; letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.mc__stats-grid span { font-weight: 600; font-size: 15px; }
.mc__stats-grid small { color: var(--text-faint); font-size: 13px; }
@media (max-width: 800px) { .mc__stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Feature grid */
.mc__feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mc__feature { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.mc__feature:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.mc__feature p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.mc__feature h3 { margin: 16px 0 8px; font-size: 17.5px; }
.mc__feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 24px; }
.mc__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .mc__feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mc__feature-grid { grid-template-columns: 1fr; } }

/* Tables */
.mc__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.mc__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mc__table th, .mc__table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mc__table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); background: color-mix(in srgb, var(--bg-elev-2) 60%, transparent); }
.mc__table tbody th { font-weight: 600; white-space: nowrap; }
.mc__table tbody tr:hover > * { background: color-mix(in srgb, var(--bg-elev-2) 50%, transparent); }
.mc__table tr:last-child td, .mc__table tr:last-child th { border-bottom: 0; }
.mc__table td { color: var(--text-muted); }
/* The decisions table becomes a stack of cards on narrow screens, using data-label. */
@media (max-width: 700px) {
  .mc__table--stack thead { display: none; }
  .mc__table--stack tbody, .mc__table--stack tr, .mc__table--stack th, .mc__table--stack td { display: block; }
  .mc__table--stack tr { padding: 6px 0; border-bottom: 1px solid var(--line); }
  .mc__table--stack tr:last-child { border-bottom: 0; }
  .mc__table--stack th, .mc__table--stack td { padding: 8px 18px; border: 0; white-space: normal; }
  .mc__table--stack tbody th { padding-top: 14px; font-size: 16px; }
  .mc__table--stack td:last-child { padding-bottom: 14px; }
  .mc__table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 3px; }
}

/* CTA */
.mc__cta { padding: 0 0 var(--section); }
.mc__cta-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: linear-gradient(135deg, var(--bg-elev), var(--bg-elev-2)); border: 1px solid var(--line-strong); }
.mc__cta-inner::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.mc__cta-inner > * { position: relative; }
.mc__cta-inner h2 { margin-bottom: 12px; }
.mc__cta-inner .mc__lead { margin-bottom: 0; font-size: 16.5px; }
.mc__cta-inner .mc__actions { margin: 0; justify-content: flex-end; }
@media (max-width: 800px) { .mc__cta-inner { grid-template-columns: 1fr; } .mc__cta-inner .mc__actions { justify-content: flex-start; } }

/* Downloads */
.mc__downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mc__download { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); display: grid; gap: 12px; align-content: start; transition: border-color 0.2s; }
.mc__download:hover { border-color: var(--line-strong); }
.mc__download--pick { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.mc__download--pick:hover { border-color: var(--accent); }
.mc__download-tag { position: absolute; top: -13px; left: 18px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.mc__download h3 { margin: 4px 0 0; }
.mc__download-file { font-family: var(--mono); font-size: 13px; color: var(--text-muted); margin: 0; word-break: break-all; }
.mc__download dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mc__download dl div { display: grid; }
.mc__download dt { font-size: 12px; color: var(--text-faint); }
.mc__download dd { margin: 0; font-weight: 600; }
.mc__download .mc__button { margin-top: 6px; }
@media (max-width: 800px) { .mc__downloads { grid-template-columns: 1fr; gap: 22px; } }

/* Steps, FAQ, details */
.mc__steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 22px; max-width: var(--measure); }
.mc__steps li { position: relative; padding-left: 60px; counter-increment: step; }
.mc__steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 750; box-shadow: 0 4px 14px var(--accent-ring); }
.mc__steps h3 { margin: 7px 0 6px; }
.mc__steps p { color: var(--text-muted); }
.mc__steps p:last-child { margin-bottom: 0; }
.mc__faq { max-width: var(--measure); display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-elev); transition: border-color 0.2s, box-shadow 0.2s; }
details:hover { border-color: var(--line-strong); }
details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
details summary { list-style: none; cursor: pointer; padding: 17px 18px 17px 20px; font-weight: 600; font-size: 16px; line-height: 1.45; display: flex; justify-content: space-between; gap: 14px; align-items: center; border-radius: 14px; }
details summary::-webkit-details-marker { display: none; }
details summary:focus-visible { outline-offset: -2px; }
details summary > span { flex: 1; }
.mc__faq-toggle { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-elev-2); border: 1px solid var(--line); color: var(--text-muted); display: grid; place-items: center; font-size: 16px; transition: transform 0.25s, background 0.2s, color 0.2s, border-color 0.2s; }
details summary:hover .mc__faq-toggle { color: var(--text); border-color: var(--line-strong); }
details[open] .mc__faq-toggle { transform: rotate(45deg); background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.mc__faq-answer, details > div, details > p { padding: 0 20px 18px; color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }
.mc__faq-answer p:last-child { margin-bottom: 0; }

/* Notices (limits page) */
.mc__notice { padding: 16px 0 8px; }
.mc__notice-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--bg-elev); }
.mc__notice-inner h2 { font-size: 20px; margin-bottom: 8px; }
.mc__notice-inner p { margin: 0; color: var(--text-muted); }
.mc__notice-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.mc__notice--critical .mc__notice-inner { border-color: rgba(255, 107, 107, 0.5); }
.mc__notice--critical .mc__notice-mark { background: var(--danger); color: #fff; }
.mc__notice--warn .mc__notice-mark { background: var(--warn); color: var(--accent-ink); }
.mc__notice--info .mc__notice-mark { background: var(--info); color: #fff; }
.mc__notice-list { margin: 8px 0 0; padding-left: 1.2em; color: var(--text-muted); }
@media (max-width: 600px) { .mc__notice-inner { grid-template-columns: 1fr; gap: 12px; } }

/* Cases (limits) */
.mc__cases { display: grid; gap: 14px; max-width: var(--measure); }
.mc__case { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.mc__case-index { font-family: var(--mono); color: var(--accent); font-weight: 700; }
.mc__case-problem { font-weight: 650; margin: 0 0 4px; }
.mc__case-body { color: var(--text-muted); margin: 0; }

/* Roadmap */
.mc__roadmap { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: var(--measure); position: relative; }
.mc__roadmap::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line-strong); }
.mc__milestone { position: relative; padding: 0 0 30px 44px; }
.mc__milestone::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--text-faint); box-sizing: border-box; }
.mc__milestone--done::before { background: var(--ok); border-color: var(--ok); }
.mc__milestone--now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.mc__milestone--next::before { border-color: var(--info); }
.mc__milestone-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.mc__milestone-version { font-family: var(--mono); font-weight: 700; }
.mc__milestone-state { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg-elev-2); color: var(--text-muted); }
.mc__milestone--done .mc__milestone-state { color: var(--ok); background: rgba(79, 209, 165, 0.12); }
.mc__milestone--now .mc__milestone-state { color: var(--accent); background: var(--accent-soft); }
.mc__milestone h3 { margin: 0 0 6px; }
.mc__milestone p { color: var(--text-muted); margin: 0; }
.mc__milestone ul { color: var(--text-muted); margin: 8px 0 0; padding-left: 1.2em; }

/* Blog */
.mc__post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mc__post-card { display: grid; grid-template-rows: 1fr auto; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.mc__post-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.mc__post-card h3 { font-size: 19px; line-height: 1.3; }
.mc__post-card h3 a { text-decoration: none; }
.mc__post-card h3 a:hover { color: var(--accent); }
.mc__post-card p { color: var(--text-muted); margin: 0; font-size: 15px; }
.mc__post-card-date { font-size: 13px; color: var(--text-faint); margin: 0 0 8px; }
@media (max-width: 900px) { .mc__post-grid { grid-template-columns: 1fr; } }

/* Donate */
.mc__donate-grid { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.mc__donate-pick { position: absolute; opacity: 0; pointer-events: none; }
.mc__donate-qr { margin: 0; display: grid; gap: 10px; justify-items: center; padding: 16px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mc__donate-qr figcaption { font-size: 13px; color: #4f5a70; }
.mc__donate-code { display: none; width: 100%; height: auto; }
.mc__donate-pick:nth-of-type(1):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(1),
.mc__donate-pick:nth-of-type(2):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(2),
.mc__donate-pick:nth-of-type(3):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(3),
.mc__donate-pick:nth-of-type(4):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(4),
.mc__donate-pick:nth-of-type(5):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(5),
.mc__donate-pick:nth-of-type(6):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(6),
.mc__donate-pick:nth-of-type(7):checked ~ .mc__donate-qr .mc__donate-code:nth-of-type(7) { display: block; }
.mc__donate-side { display: grid; gap: 18px; }
.mc__donate-amounts-label { font-weight: 600; margin: 0 0 10px; }
.mc__donate-amounts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mc__donate-amounts-row label { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; font-weight: 600; font-size: 14px; transition: border-color 0.15s, background 0.15s; }
.mc__donate-amounts-row label:hover { border-color: var(--accent); }
.mc__donate-pick:nth-of-type(1):checked ~ .mc__donate-side label[for$="-0"],
.mc__donate-pick:nth-of-type(2):checked ~ .mc__donate-side label[for$="-1"],
.mc__donate-pick:nth-of-type(3):checked ~ .mc__donate-side label[for$="-2"],
.mc__donate-pick:nth-of-type(4):checked ~ .mc__donate-side label[for$="-3"],
.mc__donate-pick:nth-of-type(5):checked ~ .mc__donate-side label[for$="-4"],
.mc__donate-pick:nth-of-type(6):checked ~ .mc__donate-side label[for$="-5"],
.mc__donate-pick:nth-of-type(7):checked ~ .mc__donate-side label[for$="-6"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.mc__donate-grid { position: relative; }
@media (max-width: 800px) { .mc__donate-grid { grid-template-columns: 1fr; } .mc__donate-qr { max-width: 340px; } }

/* Forms */
.mc__form-band { background: var(--bg-elev); border-block: 1px solid var(--line); }
.mc__form { display: grid; gap: 14px; max-width: 560px; }
.mc__form h3 { font-size: 22px; margin: 0 0 4px; }
.mc__form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
.mc__form input, .mc__form select, .mc__form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 11px; padding: 11px 13px; width: 100%; transition: border-color 0.15s, box-shadow 0.15s; }
.mc__form input:focus, .mc__form select:focus, .mc__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mc__form button { justify-self: start; }
.mc__form-status { margin: 0; font-size: 14px; color: var(--ok); min-height: 1.4em; }

/* Advertise: pricing / option lists */
.mc__section ul:not(.mc__hero-notes):not(.mc__notice-list) { padding-left: 1.2em; }
.mc__section li::marker { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .mc__route-flow { animation: none; }
  html { scroll-behavior: auto; }
  .mc__button, .mc__feature, .mc__stats-grid > div, .mc__post-card, .mc__shot-frame, .mc__faq-toggle, .lang-caret, .mc__text-link .ph { transition: none; }
  .mc__button:hover, .mc__feature:hover, .mc__stats-grid > div:hover, .mc__post-card:hover, .mc__shot:hover .mc__shot-frame { transform: none; }
}
@media print { .site-header, .site-footer, .mc__cta { display: none; } body { background: #fff; color: #000; } }
