:root {
  color-scheme: light;
  --mc-white: #ffffff;
  --mc-cool: #eef2f4;
  --mc-charcoal: #171c21;
  --mc-cyan: #00a7c7;
  --mc-cyan-hover: #28bdd5;
  --mc-muted: #5b6770;
  --mc-mount: #dfe5e8;
  --mc-line: #c8d0d4;
  --mc-width: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; background: var(--mc-charcoal); }
body { min-width: 320px; background: var(--mc-white); color: var(--mc-charcoal); }
body, button { font-family: Inter, "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif; }
img, svg { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid var(--mc-cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--mc-charcoal);
}
.wrap { width: var(--mc-width); max-width: none; padding-left: 0; padding-right: 0; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: rgba(23, 28, 33, .96);
  backdrop-filter: blur(16px);
}
.nav { min-height: 70px; overflow: hidden; padding: 10px 0; gap: 18px; flex-wrap: wrap; }
.logo { color: var(--mc-white); font-family: Georgia, "Noto Serif TC", serif; font-weight: 700; letter-spacing: 0; }
.logo:hover { color: var(--mc-cyan); }
.logo .pin { display: inline-grid; width: 28px; height: 28px; place-items: center; margin-right: 8px; border: 1px solid rgba(0,167,199,.7); font-size: 15px; }
.nav-links { gap: 22px; }
.nav-links a { position: relative; color: #dfe5e8; font-size: .84rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--mc-white); }
.nav-links a[aria-current]::after { content: ""; position: absolute; inset: auto 0 -11px; height: 2px; background: var(--mc-cyan); }
.nav-links .lang { border-color: rgba(0,167,199,.55); border-radius: 3px; background: rgba(0,167,199,.1); color: var(--mc-cyan); }

.data-ribbon-layer { position: absolute; z-index: 0; inset: 66px 0 auto; height: 300px; color: var(--mc-cyan); pointer-events: none; opacity: .7; }
.data-ribbon-layer svg { width: 100%; height: 100%; overflow: visible; }
.data-ribbon-layer path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: mc-draw 1.5s ease .2s forwards; }
.data-ribbon-layer circle { fill: var(--mc-white); stroke: currentColor; stroke-width: 2; }

.page-home main > .hero { position: relative; isolation: isolate; z-index: 2; min-height: min(720px, calc(100svh - 70px)); padding: clamp(96px, 13vh, 150px) 0 70px; text-align: left; }
.page-home main > .hero::before,
.page-home main > .hero::after { content: ""; position: absolute; inset: 0 50%; z-index: -2; width: 100vw; transform: translateX(-50%); }
.page-home main > .hero::before {
  background: var(--mc-white);
}
.page-home main > .hero::after { z-index: -1; border-bottom: 1px solid var(--mc-line); background: transparent; }
.page-home .hero > :not(.data-ribbon-layer):not(.hero-card-fan) { position: relative; z-index: 2; }
.page-home .hero .data-ribbon-layer { left: 50%; width: 100vw; transform: translateX(-50%); }
.page-home .float-deco { display: none; }
.page-home .badge { border: 0; border-left: 3px solid var(--mc-cyan); border-radius: 0; padding: 3px 0 3px 13px; background: transparent; color: var(--mc-cyan); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; }
.page-home h1 { max-width: 680px; margin: 18px 0 0; color: var(--mc-charcoal); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 400; line-height: 1.03; letter-spacing: 0; text-align: left; }
.page-home .hero .sub { margin: 12px 0 0; color: var(--mc-charcoal); font-size: clamp(1rem, 2vw, 1.35rem); text-align: left; }
.page-home .hero .lead { max-width: 570px; margin: 22px 0 0; color: var(--mc-muted); font-size: 1.04rem; line-height: 1.75; text-align: left; }
.page-home .cta { justify-content: flex-start; margin-top: 28px; }
.page-home .btn { min-height: 48px; border-radius: 3px; padding: 12px 22px; }
.page-home .btn.primary, .page-home .btn.gold { border-color: var(--mc-cyan); background: var(--mc-cyan); color: var(--mc-charcoal); box-shadow: 0 14px 30px rgba(0,167,199,.18); }
.page-home .btn.primary:hover, .page-home .btn.gold:hover { background: var(--mc-cyan-hover); transform: translateY(-2px); }
.page-home .btn.ghost, .page-home .btn.outline { border-color: var(--mc-charcoal); color: var(--mc-charcoal); background: var(--mc-white); }
.page-home .hero-stats { justify-content: flex-start; max-width: 610px; margin: 36px 0 0; }
.page-home .hero-stats .chip { border-color: var(--mc-line); border-radius: 2px; background: var(--mc-cool); color: var(--mc-charcoal); }

.hero-card-fan { position: absolute; z-index: 3; right: 0; bottom: 42px; width: min(40vw, 470px); height: 420px; pointer-events: none; }
.hero-flip { position: absolute; right: 20%; bottom: 0; width: 34%; aspect-ratio: 2.5/3.5; padding: 0; border: 0; background: transparent; transform-origin: 50% 100%; perspective: 1000px; pointer-events: auto; }
.hero-flip:nth-child(1) { right: 50%; transform: rotate(-8deg) translateY(20px); }
.hero-flip:nth-child(2) { right: 26%; transform: rotate(1deg); }
.hero-flip:nth-child(3) { right: 2%; transform: rotate(9deg) translateY(20px); }
.site-card-inner { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform .5s ease; }
.hero-flip.is-flipped .site-card-inner, .slot.is-flipped .site-card-inner { transform: rotateY(180deg); }
.site-card-face { position: absolute; inset: 0; display: block; backface-visibility: hidden; }
.site-card-face.back { transform: rotateY(180deg); }
.site-card-face img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(0,0,0,.32)); }

.page-home main > section { padding: 78px 0; }
.page-home main > section:nth-of-type(odd) { background: var(--mc-white); }
.page-home main > section:nth-of-type(even) { background: var(--mc-cool); color: var(--mc-charcoal); }
.page-home section h2 { color: var(--mc-charcoal); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: 0; }
.page-home .h2-note, .page-home .prose, .preview-note { color: var(--mc-muted); }
.page-home main > section:nth-of-type(even) h2,
.page-home main > section:nth-of-type(even) .sub-h3 { color: var(--mc-charcoal); }
.page-home main > section:nth-of-type(even) .h2-note,
.page-home main > section:nth-of-type(even) .prose,
.page-home main > section:nth-of-type(even) .preview-note,
.page-home main > section:nth-of-type(even) .more-links { color: var(--mc-muted); }
.page-home main > section:nth-of-type(even) .prose strong,
.page-home main > section:nth-of-type(even) .more-links a { color: var(--mc-cyan); }
.page-home main > section:nth-of-type(even) .kicker { color: var(--mc-cyan); }
.page-home .board { position: relative; border: 1px solid var(--mc-line); border-radius: 5px; background: var(--mc-charcoal); box-shadow: 0 24px 58px rgba(23,28,33,.14); }
.page-home .board::before { content: "DATA BOARD · 13"; display: block; margin-bottom: 18px; color: var(--mc-cyan); font: 700 .65rem/1 monospace; letter-spacing: 2px; }
.page-home .row-label { color: #d1e5e8; }
.page-home .slot { position: relative; overflow: hidden; border: 1px solid var(--mc-line); border-radius: 4px; background: var(--mc-mount); color: transparent; perspective: 700px; }
.slot-card { position: absolute; inset: 0; }
.slot-card .site-card-face img { filter: none; }
.page-home .board .cap { color: #aac1c8; }
.previews { gap: 24px; }
.device .frame { border-radius: 6px; border: 1px solid var(--mc-line); background: var(--mc-charcoal); box-shadow: 0 24px 46px rgba(23,28,33,.17); }
.device .screen { position: relative; overflow: hidden; aspect-ratio: 260/500; background: var(--mc-charcoal); }
.page-home #preview .device .screen > svg { display: none !important; }
.data-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--mc-charcoal);
  color: var(--mc-cyan);
}
.data-preview::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0,167,199,.22); }
.preview-topline { position: absolute; z-index: 2; top: 5.5%; left: 7%; right: 7%; height: 5%; border-bottom: 1px solid rgba(0,167,199,.5); }
.preview-topline::before { content: "MIAOCHENG / OFC"; color: var(--mc-cyan); font: 700 6px/1 monospace; letter-spacing: 1px; }
.preview-topline::after { content: ""; position: absolute; right: 0; top: 0; width: 18px; height: 5px; border: 1px solid var(--mc-cyan); background: rgba(0,167,199,.2); }
.preview-mini-ribbon { position: absolute; z-index: 2; top: 15%; left: 0; width: 100%; height: 17%; }
.preview-mini-ribbon svg { width: 100%; height: 100%; }
.preview-mini-ribbon path { fill: none; stroke: var(--mc-cyan); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.preview-mini-ribbon circle { fill: var(--mc-charcoal); stroke: var(--mc-cyan); stroke-width: 1.5; }
.preview-board { position: absolute; z-index: 3; top: 33%; left: 8%; right: 8%; display: grid; gap: 7px; }
.preview-row { display: flex; min-height: 47px; justify-content: center; gap: 3px; border: 1px solid var(--mc-line); border-left: 2px solid var(--mc-cyan); padding: 4px 5px; background: var(--mc-mount); }
.preview-row img { width: 29px; height: 41px; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.preview-action { position: absolute; z-index: 3; left: 8%; right: 8%; bottom: 7%; display: grid; height: 7%; place-items: center; border: 1px solid var(--mc-cyan); background: var(--mc-cyan); color: var(--mc-charcoal); font: 700 7px/1 monospace; letter-spacing: 1.4px; }
.entry-board { position: absolute; z-index: 3; inset: 15% 6% 16%; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; }
.entry-row { min-height: 0; border-left: 2px solid var(--mc-cyan); padding: 4px 5px; background: #252b31; }
.entry-label { display: block; margin-bottom: 3px; color: #c6dce1; font: 700 6px/1 monospace; letter-spacing: .6px; }
.entry-cards { display: flex; height: calc(100% - 10px); justify-content: center; gap: 2px; }
.entry-slot { position: relative; flex: 0 1 31px; min-width: 0; height: 100%; overflow: hidden; border: 1px solid var(--mc-line); border-radius: 2px; padding: 0; background: var(--mc-mount); cursor: pointer; }
.entry-slot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.entry-slot.is-selected { border: 2px solid var(--mc-cyan); box-shadow: 0 0 0 2px rgba(0,167,199,.2), 0 0 16px rgba(0,167,199,.45); transform: translateY(-1px); }
.result-switch { position: absolute; z-index: 4; top: 15%; left: 7%; right: 7%; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.result-toggle { min-height: 25px; border: 1px solid #59636c; border-radius: 2px; background: var(--mc-charcoal); color: #dfe5e8; font: 700 6px/1 monospace; letter-spacing: .5px; cursor: pointer; }
.result-toggle[aria-pressed="true"] { border-color: var(--mc-cyan); background: var(--mc-cyan); color: var(--mc-charcoal); }
.result-toggle[aria-pressed="true"]:hover { background: var(--mc-cyan-hover); }
.result-panel { position: absolute; z-index: 3; inset: 23% 7% 16%; overflow: hidden; border: 1px solid #59636c; background: rgba(23,28,33,.96); }
.result-panel[hidden] { display: none; }
.result-summary { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; }
.result-metric { display: flex; min-width: 0; flex-direction: column; justify-content: center; border-right: 1px solid rgba(0,167,199,.13); border-bottom: 1px solid rgba(0,167,199,.13); padding: 6px; }
.result-key { color: #9fc2ca; font: 700 5.5px/1.2 monospace; letter-spacing: .45px; }
.result-value { margin-top: 4px; color: #fff; font: 700 8px/1.25 monospace; overflow-wrap: anywhere; }
.result-metric:last-child .result-value { color: var(--mc-cyan); font-size: 16px; }
.result-cards { padding: 9px 7px; }
.result-card-row { display: flex; height: 31%; justify-content: center; gap: 2px; margin-bottom: 4px; }
.result-card-row img { width: 30px; height: 42px; object-fit: contain; }
.ai-reserved-status { position: absolute; z-index: 3; top: 15%; left: 7%; right: 7%; display: grid; min-height: 25px; place-items: center; border: 1px solid var(--mc-cyan); background: rgba(0,167,199,.12); color: var(--mc-white); font: 700 6px/1 monospace; letter-spacing: .55px; }
.ai-report { position: absolute; z-index: 3; inset: 23% 7% 16%; display: grid; grid-template-rows: .9fr 1fr 1.15fr; gap: 4px; }
.ai-review-block { min-height: 0; overflow: hidden; border-left: 2px solid var(--mc-cyan); padding: 6px 7px; background: rgba(23,28,33,.94); }
.ai-review-block-1 { border-left-color: var(--mc-white); }
.ai-review-label { margin: 0 0 4px; color: var(--mc-cyan); font: 700 6px/1 monospace; letter-spacing: .5px; }
.ai-review-block-1 .ai-review-label { color: var(--mc-white); }
.ai-review-copy { margin: 0; color: #d3e1e4; font-size: 6.5px; line-height: 1.35; }
.ai-alternative-cards { position: absolute; right: 7px; bottom: 5px; display: flex; height: 33px; }
.ai-alternative-cards img { width: 23px; height: 33px; margin-left: -5px; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.preview-fantasy::after { content: "14"; position: absolute; z-index: 2; top: 23%; left: 50%; width: 52px; height: 52px; display: grid; place-items: center; transform: translateX(-50%); border: 1px solid var(--mc-cyan); border-radius: 50%; box-shadow: 0 0 34px rgba(0,167,199,.42); color: var(--mc-white); font: 400 23px/1 Georgia,serif; }
.preview-fan { position: absolute; z-index: 3; left: 9%; right: 9%; bottom: 22%; height: 43%; }
.preview-fan img { position: absolute; bottom: 0; left: 39%; width: 36%; filter: drop-shadow(0 7px 8px rgba(0,0,0,.42)); transform-origin: 50% 115%; }
.preview-fan img:nth-child(1) { transform: rotate(-28deg); }
.preview-fan img:nth-child(2) { transform: rotate(-18deg); }
.preview-fan img:nth-child(3) { transform: rotate(-9deg); }
.preview-fan img:nth-child(4) { transform: rotate(0); }
.preview-fan img:nth-child(5) { transform: rotate(9deg); }
.preview-fan img:nth-child(6) { transform: rotate(18deg); }
.preview-fan img:nth-child(7) { transform: rotate(28deg); }
.preview-score {
  background: var(--mc-charcoal);
}
.score-sheet { position: absolute; z-index: 2; inset: 18% 8% 9%; padding: 11% 9%; background: var(--mc-white); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.score-mark { display: grid; grid-template-columns: 1fr 42px; align-items: center; height: 13%; border-bottom: 1px solid #d4dcdb; }
.score-mark::before { content: ""; width: var(--bar,70%); height: 4px; background: var(--mc-charcoal); }
.score-mark::after { content: attr(data-score); color: var(--mc-cyan); font: 700 10px/1 monospace; text-align: right; }
.score-mark:nth-child(2)::before { --bar: 86%; }
.score-mark:nth-child(3)::before { --bar: 58%; }
.score-total { margin-top: 9%; border-top: 2px solid var(--mc-charcoal); padding-top: 9%; color: var(--mc-charcoal); text-align: right; font: 400 30px/1 Georgia,serif; }
.score-total::before { content: "+19"; }
.preview-score-cards { position: absolute; z-index: 4; left: 15%; bottom: 15%; display: flex; width: 48%; }
.preview-score-cards img { width: 46%; margin-left: -12%; transform: rotate(-5deg); filter: drop-shadow(0 5px 5px rgba(0,0,0,.3)); }
.preview-score-cards img:first-child { margin-left: 0; }
.preview-score-cards img:last-child { transform: rotate(6deg); }
.device figcaption .t { color: var(--mc-charcoal); }
.page-home #preview .device figcaption .t { color: var(--mc-charcoal); }
.page-home #preview .device figcaption .d { min-height: 3em; color: var(--mc-muted); }
.page-home #preview .screen::after { position: absolute; inset: 18% 10%; display: grid; place-items: center; color: #c9dce0; font-size: .78rem; text-align: center; }
html:not(.site-js) .locale-zh #preview .screen::after { content: "工具界面图需启用 JavaScript；下方文字保留完整功能说明。"; }
html:not(.site-js) .locale-en #preview .screen::after { content: "Enable JavaScript for the tool diagram; the caption retains the complete interface description."; }
.steps { gap: 1px; border: 1px solid var(--mc-line); background: var(--mc-line); }
.step { border: 0; border-radius: 0; background: var(--mc-white); box-shadow: none; }
.step-art { min-height: 174px; border-bottom-color: var(--mc-line); background: var(--mc-cool); }
.page-home #how .step-art > svg { display: none !important; }
.page-home #how .step-art::before { display: grid; width: 100%; min-height: 138px; place-items: center; border: 1px dashed #8aa5ad; color: var(--mc-muted); font-size: .78rem; text-align: center; }
.page-home.locale-zh #how .step-art::before { content: "工具界面图需启用 JavaScript；步骤文字可直接阅读。"; }
.page-home.locale-en #how .step-art::before { content: "Enable JavaScript for the tool diagram; the workflow text remains available."; }
.site-js .page-home #how .step-art::before { display: none; }
.workflow-ui { position: relative; width: 100%; max-width: 260px; height: 142px; overflow: hidden; border: 1px solid var(--mc-line); border-radius: 4px; background: var(--mc-charcoal); box-shadow: 0 12px 24px rgba(23,28,33,.16); }
.workflow-ui::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0,167,199,.2); }
.workflow-head { position: relative; z-index: 2; display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(0,167,199,.32); padding: 7px 9px; }
.workflow-label { color: #c7e8f0; font: 700 7px/1.2 monospace; letter-spacing: .6px; }
.workflow-value { color: var(--mc-cyan); font: 700 10px/1 monospace; }
.workflow-cards { position: relative; z-index: 2; display: flex; height: 72px; align-items: center; justify-content: center; gap: 4px; }
.workflow-cards img { width: 42px; height: 59px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.38)); }
.workflow-tracks { position: relative; z-index: 2; display: grid; gap: 4px; padding: 0 10px; }
.workflow-track { height: 3px; background: rgba(0,167,199,.28); }
.workflow-track:nth-child(2) { width: 78%; }
.workflow-track.accent { width: 46%; background: var(--mc-cyan); }
.step-num, .kicker { color: var(--mc-cyan); }
.step h3, .sub-h3 { color: var(--mc-charcoal); }
.step .chip, .hero-stats .chip { border-radius: 2px; }
.tip, .about-box { border-radius: 5px; border-color: var(--mc-line); background: var(--mc-cool); }
.page-home .about-box p { color: var(--mc-muted); }
.page-home .about-box strong { color: var(--mc-charcoal); }
.page-home table { border-radius: 4px; border-color: var(--mc-line); }
.page-home th { background: var(--mc-charcoal); }
.page-home td { border-color: var(--mc-line); }
.cta-banner { border: 1px solid var(--mc-charcoal); border-radius: 5px; background: var(--mc-charcoal); color: #dfe5e8; }
.cta-banner h2 { color: var(--mc-white) !important; }
.faq details { border: 0; border-top: 1px solid var(--mc-line); border-radius: 0; background: transparent; }
.faq details:last-of-type { border-bottom: 1px solid var(--mc-line); }
.faq summary { color: var(--mc-charcoal); }
.faq summary::after { color: var(--mc-cyan); }

.page-reference main { min-height: 70vh; padding: 0 0 36px; background: var(--mc-white); }
.page-reference main > .wrap { position: relative; padding-top: 44px; }
.site-js .page-reference main > .wrap { padding-top: 0; }
.page-reference .reference-intro { position: relative; isolation: isolate; margin-bottom: 30px; padding: 72px 0 34px; }
.page-reference .reference-intro::before,
.page-reference .reference-intro::after { content: ""; position: absolute; inset: 0 50%; z-index: -2; width: 100vw; transform: translateX(-50%); }
.page-reference .reference-intro::before { border-bottom: 1px solid var(--mc-line); background: var(--mc-white); }
.page-reference .reference-intro::after { z-index: -1; background: transparent; }
.page-reference .data-ribbon-layer { top: 0; left: 50%; width: 100vw; height: 190px; transform: translateX(-50%); opacity: .45; }
.page-reference .reference-intro > :not(.data-ribbon-layer) { position: relative; z-index: 2; }
.page-reference .crumbs, .page-reference .crumbs a { color: var(--mc-muted); }
.page-reference h1 { max-width: 800px; color: var(--mc-charcoal); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.page-reference .lead { max-width: 820px; color: var(--mc-muted); }
.page-reference .updated { min-height: 66px; color: var(--mc-muted); }
.page-reference .reference-intro .crumbs,
.page-reference .reference-intro .crumbs a { color: var(--mc-muted); }
.page-reference .reference-intro h1 { color: var(--mc-charcoal); }
.page-reference .reference-intro .lead { color: var(--mc-muted); }
.page-reference .reference-intro .updated { color: var(--mc-muted); }
.page-reference h2 { margin-top: 44px; color: var(--mc-charcoal); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 400; }
.page-reference .table-scroll { margin-top: 18px; border: 1px solid var(--mc-line); border-radius: 4px; background: var(--mc-white); }
.page-reference table { border: 0; border-radius: 0; background: transparent; }
.page-reference th { background: var(--mc-charcoal); color: var(--mc-white); }
.page-reference td { border-color: var(--mc-line); color: var(--mc-muted); }
.page-reference td:first-child { color: var(--mc-charcoal); }
.page-reference td.en, .page-reference .pts { color: var(--mc-cyan); }
.page-reference tr.hl td { background: var(--mc-cool); }
.page-reference .h-note, .page-reference .note { border-radius: 3px; border-color: var(--mc-line); background: var(--mc-cool); color: var(--mc-charcoal); }
.page-reference .faq details { margin: 0; }
.page-reference .mini-cta { border: 1px solid var(--mc-charcoal); border-radius: 5px; background: var(--mc-charcoal); }
.copy-link-button, .faq-copy-link { border: 0; font: inherit; cursor: pointer; }
.page-reference .mini-cta .copy-link-button { border-radius: 3px; padding: 9px 20px; background: var(--mc-cyan); color: var(--mc-charcoal); font-size: .92rem; font-weight: 700; }
.page-reference .mini-cta .copy-link-button:hover { background: var(--mc-cyan-hover); }
.page-reference .mini-cta .copy-link-button.copied { background: var(--mc-white); color: var(--mc-charcoal); }
.faq-copy-link { display: inline-flex; min-height: 34px; align-items: center; margin: 10px 0 0 8px; border: 1px solid var(--mc-charcoal); border-radius: 3px; padding: 5px 11px; background: var(--mc-white); color: var(--mc-charcoal); font-size: .85rem; font-weight: 700; }
.faq-copy-link:hover { border-color: var(--mc-cyan); color: var(--mc-charcoal); }
.faq-copy-link.copied { border-color: var(--mc-cyan); background: var(--mc-cool); }
footer { margin-top: 0; border-top: 1px solid rgba(255,255,255,.16); background: var(--mc-charcoal); color: #b9c2c8; }
footer p, footer a { color: #b9c2c8; }
footer a:hover { color: var(--mc-cyan); }

.reveal-pending { opacity: 0; transform: translateY(22px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
@keyframes mc-draw { to { stroke-dashoffset: 0; } }

@media (hover:hover) and (pointer:fine) {
  .hero-flip:hover .site-card-inner, .slot.filled:hover .site-card-inner { transform: rotateY(180deg); }
}
@media (max-width: 900px) {
  :root { --mc-width: min(100% - 36px, 760px); }
  .nav-links { gap: 13px; }
  .hero-card-fan { right: 0; width: 42vw; opacity: .7; }
  .page-home .hero .lead { max-width: 54vw; }
  .page-home main > section { padding: 62px 0; }
}
@media (max-width: 640px) {
  :root { --mc-width: calc(100vw - 28px); }
  html { scroll-padding-top: 104px; }
  header, .nav { min-height: auto; }
  .nav { padding: 10px 0 9px; align-items: flex-start; }
  .nav-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 8px; overflow: visible; padding-bottom: 2px; }
  .nav-links a { min-width: 0; padding-inline: 2px; white-space: normal; overflow-wrap: anywhere; font-size: .7rem; line-height: 1.25; text-align: center; }
  .nav-links .lang { padding: 4px 5px; }
  .nav-links a[aria-current]::after { bottom: -5px; }
  .page-home main > .hero { min-height: 690px; padding: 76px 0 250px; }
  .page-home h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .page-home .hero .lead { max-width: none; font-size: .96rem; }
  .page-home .cta { gap: 10px; }
  .page-home .btn { width: auto; min-height: 46px; padding: 11px 15px; font-size: .86rem; }
  .page-home .hero-stats { display: none; }
  .data-ribbon-layer { top: 100px; height: 180px; opacity: .46; }
  .hero-card-fan { right: 12px; bottom: 12px; width: min(78vw,300px); height: 245px; opacity: 1; }
  .hero-flip { width: 31%; }
  .hero-flip:nth-child(1) { right: 57%; }
  .hero-flip:nth-child(2) { right: 34%; }
  .hero-flip:nth-child(3) { right: 10%; }
  .page-home main > section { padding: 50px 0; }
  .page-home section h2 { font-size: 2.15rem; }
  .page-home .board { padding: 20px 14px; }
  .page-home .slot { width: 46px; height: 64px; }
  .page-home #how .step-art { width: 100%; }
  .previews { grid-template-columns: 1fr; }
  .device { max-width: 310px; margin-inline: auto; }
  .page-reference .reference-intro { padding-top: 48px; }
  .page-reference h1 { font-size: 2.35rem; overflow-wrap: anywhere; }
  .page-reference .lead { font-size: .94rem; }
  .page-reference .updated { min-height: 58px; }
  .page-reference .table-scroll { margin-inline: -2px; }
  .page-reference .mini-cta { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .data-ribbon-layer path { stroke-dashoffset: 0; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media (pointer: coarse), (hover: none) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .data-ribbon-layer path { stroke-dashoffset: 0; }
  .reveal, .reveal-pending, [data-reveal] { opacity: 1 !important; transform: none !important; }
}
