/* ============================================================
 * Tomawro MRO —— 版本展示頁視覺系統
 * 淺灰畫布 + 白卡 + 安全橙強調，直角工業排版
 * ============================================================ */

:root {
  --canvas: #F2F3F4;
  --paper: #FFFFFF;
  --ink: #14171A;
  --ink-2: #1D2126;
  --steel: #5F656C;
  --steel-2: #8A9099;
  --line: #E3E6E9;
  --line-soft: #ECEEF0;
  --orange: #EC5B22;
  --orange-deep: #D04A14;
  --orange-wash: #FCE7DC;
  --tier-tint: #FDF3EE;
  --nav-h: 72px;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-latin: "Barlow", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 900; line-height: 1.24; letter-spacing: 0; }
.icon { width: 16px; height: 16px; flex: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------------- 按鈕 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent; border-radius: 0;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.4;
  cursor: pointer; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-outline { background: transparent; border-color: #22262B; color: var(--ink); }
.btn-outline:hover { background: #F2F3F5; }
.btn-outline-light { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-dark { background: #17191C; border-color: #17191C; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------------- 導航 ---------------- */
.site-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(12,14,16,.55), rgba(12,14,16,0));
}
.nav-inner { display: flex; align-items: center; gap: 44px; height: var(--nav-h); }
.logo {
  display: inline-flex; align-items: center; line-height: 1;
}
.logo img { display: block; height: 23px; width: auto; }
.logo-light { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 13px; color: rgba(255,255,255,.78); transition: color .16s ease; }
.nav-links a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; isolation: isolate; background: #0B0D10; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 388px;
  gap: 44px; align-items: start;
  padding-top: calc(var(--nav-h) + 56px); padding-bottom: 66px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 9px; line-height: 1; width: fit-content;
  font-size: 13px; letter-spacing: .04em; color: var(--orange); font-weight: 500;
}
.sq { width: 7px; height: 7px; background: var(--orange); flex: none; }
.hero-en {
  font-family: var(--font-latin); font-weight: 300;
  font-size: clamp(18px, 1.85vw, 26px); line-height: 1.3;
  color: rgba(255,255,255,.78); margin: 22px 0 10px;
}
.hero h1 { font-size: clamp(40px, 4.3vw, 62px); line-height: 1.2; font-weight: 900; letter-spacing: .01em; }
.h1-l1 { display: block; color: #fff; white-space: nowrap; }
.h1-l2 { display: block; color: var(--orange); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 60px; }
.hero-ctas .btn { padding: 11px 22px; font-size: 13.5px; }

/* Hero 版本類型卡 */
.hero-card {
  position: relative; background: #fff; color: var(--ink);
  padding: 22px 26px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
}
.card-corner { position: absolute; width: 13px; height: 13px; border: 2px solid var(--orange); }
.card-corner-tl { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.card-corner-br { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }

.chart-head { display: flex; align-items: center; gap: 14px; }
.chart-title { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.chart-rule { flex: 1; height: 0; border-top: 1px dashed #C9CED4; }
.chart-dot { width: 6px; height: 6px; background: var(--orange); flex: none; }
.chart-plot {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  align-items: end; margin-top: 30px;
}
.chart-col { display: flex; flex-direction: column; justify-content: flex-end; }
.chart-val {
  text-align: center; font-family: var(--font-latin); font-size: 10.5px;
  color: var(--steel-2); letter-spacing: .06em; padding-bottom: 6px;
  border-bottom: 1px dotted #C9CED4; margin-bottom: 8px;
}
.chart-bar {
  width: 100%; background: linear-gradient(180deg, #2F5BE0, #2444A8);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12px;
}
.chart-bar span { color: #fff; font-family: var(--font-latin); font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.chart-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.chart-cap { text-align: center; }
.chart-cap strong { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.chart-cap span { display: block; font-size: 10px; color: var(--steel-2); line-height: 1.4; white-space: nowrap; }

/* ---------------- 區塊 ---------------- */
.section { padding: 54px 0; }
.sec-head { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .04em; color: var(--orange); font-weight: 500;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--orange); flex: none; }
.eyebrow-light { color: var(--orange); }
.sec-head h2 { font-size: clamp(28px, 3.1vw, 40px); margin: 16px 0 12px; font-weight: 900; }
.sec-sub { font-size: 14px; color: var(--steel); }
.ring {
  display: inline-block; width: 9px; height: 9px; margin-left: 8px;
  border: 2px solid #C4C9CF; border-radius: 50%; vertical-align: 12px;
}
.fine {
  margin-top: 22px; font-size: 11.5px; color: var(--steel-2);
  border-left: 2px solid var(--orange); padding-left: 10px;
}

/* 合作流程：整块浅灰底 */
#how { background: #F7F7F7; }

/* ---------------- 三步流程 ---------------- */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 264px;
  gap: 0 34px; margin-top: 52px; align-items: start;
}
.step { padding-right: 34px; border-right: 1px solid var(--line); }
.step:nth-of-type(3) { border-right: 0; }
.step-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 82px; height: 32px;
  background: var(--orange-wash); color: var(--orange);
  font-family: var(--font-latin); font-size: 14px; font-weight: 700;
  letter-spacing: .02em; text-align: center;
}
.step-title { font-size: 20px; margin-top: 40px; font-weight: 700; }
.step-rule { display: block; width: 26px; height: 2px; background: var(--orange); margin: 20px 0; }
.step-desc { font-size: 15px; color: var(--steel); }
.step-aside {
  position: relative;
  border-left: 0; padding-left: 34px;
  display: flex; flex-direction: column; gap: 22px; align-items: stretch;
}
/* 分割线：高 80px，垂直居中于实图；两侧间距视觉相等 */
.laptop-figure { position: relative; width: 100%; display: flex; justify-content: center; }
.laptop-figure::before {
  content: ""; position: absolute; left: -68px; top: 50%;
  width: 1px; height: 80px; background: var(--line);
  transform: translateY(-50%);
}

/* 筆記本配圖（Demo 賬號後台實圖） */
.laptop-img { display: block; height: 120px; width: auto; max-width: 100%; }
.step-aside .btn { font-size: 13px; padding: 11px 16px; width: 150px; align-self: center; }

/* ---------------- 版本卡 ---------------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.tier-card {
  display: flex; flex-direction: column;
  background: #fff; border-top: 4px solid var(--orange);
  padding: 26px 24px 24px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.tier-card:hover { box-shadow: 0 14px 34px rgba(16,24,40,.09); }
.tier-name { font-size: 21px; font-weight: 900; line-height: 1.3; }
.tier-sub { margin-top: 6px; font-size: 10.5px; color: var(--steel-2); letter-spacing: .04em; line-height: 1.5; }
.tier-spec { margin-top: 22px; margin-bottom: 26px; }
.spec-row { padding: 12px 0 13px; border-bottom: 1px dashed #DDE1E5; }
.spec-row:first-child { padding-top: 0; }
.spec-row dt { font-size: 11.5px; color: var(--steel-2); margin-bottom: 5px; }
.spec-row dd { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.55; }
/* 「適合用戶」文案长短不一，統一 42px（約兩行）讓四張卡片的後續字段對齊 */
.spec-row:first-child dd { min-height: 42px; }
.tier-cta {
  margin-top: auto; padding-top: 0; width: 100%;
  border: 1px solid #22262B; background: #fff; color: var(--ink);
  padding: 13px 16px; font-size: 13px;
}
.tier-cta:hover { background: var(--ink); color: #fff; }

/* ---------------- 矩陣 ---------------- */
.chips { display: flex; gap: 8px; margin: 40px 0 18px; }
.chip {
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  padding: 10px 20px; border-radius: 0;
  font-family: var(--font-body); font-size: 12.5px; color: var(--steel);
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: #B9BEC4; color: var(--ink); }
.chip.is-active { background: #17191C; border-color: #17191C; color: #fff; }

.legend-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 34px;
  border: 1px solid var(--orange); background: #fff;
  padding: 13px 20px;
}
.legend-item { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--steel); }
.legend-item strong { font-weight: 700; color: var(--ink); font-size: 12px; }
.legend-desc { color: var(--steel-2); }

.matrix-scroll { margin-top: 18px; background: #fff; border: 1px solid var(--line); overflow-x: auto; }
.matrix-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.matrix-table th {
  position: sticky; top: 0; z-index: 3;
  padding: 22px 12px; text-align: center; font-size: 14px; font-weight: 700;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 var(--line);
}
/* 寬屏下不需要橫向滾動，解除滾動容器，表頭才能隨頁面吸頂；窄屏保留橫滑 */
@media (min-width: 900px) {
  .matrix-scroll { overflow: visible; }
}
.matrix-table th.col-mod { width: 33%; font-size: 12.5px; font-weight: 500; color: #4B525A; }
.matrix-table th .th-name { display: block; }
.matrix-table th .th-sub { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--steel-2); }
.matrix-table td {
  padding: 15px 12px; text-align: center;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  transition: box-shadow .16s ease;
}
.matrix-table td.col-mod { font-weight: 500; color: #22262B; }
/* hover：在不改变底色上叠一层极淡的暗遮罩，保留 Max 欄的橙色底 */
.matrix-table tbody tr:not(.sec-row):hover td { box-shadow: inset 0 0 0 9999px rgba(20, 23, 26, .045); }

.feat-name {
  font-size: 13px; color: #22262B;
  display: inline-block; cursor: help;
  border-bottom: 1px dotted transparent;
  transition: border-color .16s ease, color .16s ease;
}
.feat-name:hover,
.feat-name.is-tip,
.feat-name:focus-visible { border-bottom-color: #A9B0B8; outline: none; }
/* 功能名後的 ⓘ 圖標與浮層保留在代碼中，依參考稿隱藏；如需顯示，給 body 加 class="show-finfo" */
.finfo { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 6px; padding: 0; border: 0; background: transparent; color: #B0B6BD; cursor: pointer; vertical-align: -3px; }
.finfo:hover { color: var(--orange); }
.finfo-ic { width: 13px; height: 13px; }
body:not(.show-finfo) .finfo { display: none; }

.sec-row td { background: #F7F8F9; padding: 12px; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.sec-row td.sec-cell { padding: 12px; }
.sec-row td.sec-meta { text-align: right; padding-right: 18px; }
.sec-inner { position: relative; display: block; text-align: center; }
.sec-name { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.sec-count { font-size: 11px; color: var(--steel-2); font-weight: 400; }
.sec-chip, .mod-icon { display: none; }

/* 各版本列底色一致：不再为 Max 列单独上底色 */
/* 聚焦某個版本：未選中的版本列壓暗，選中列與「功能和服務」列保持滿對比 */
.matrix-table[data-focus] .col-basic,
.matrix-table[data-focus] .col-pro,
.matrix-table[data-focus] .col-max,
.matrix-table[data-focus] .col-custom { opacity: .34; transition: opacity .18s ease; }
.matrix-table[data-focus="basic"] .col-basic,
.matrix-table[data-focus="pro"] .col-pro,
.matrix-table[data-focus="max"] .col-max,
.matrix-table[data-focus="custom"] .col-custom { opacity: 1; }
/* 表頭寫入燿：保持不透明，避免吸頂時透出下方行 */
.matrix-table[data-focus] th { opacity: 1; }

/* 支持標記 */
.mk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
.mk-full { background: #1F2A37; }
.mk-half { border: 1.6px solid #1F2A37; background: transparent; }
.mk-dash { width: auto; height: auto; border: 0; color: #9AA0A7; font-size: 13px; line-height: 1; }
.mk-tri { width: 13px; height: 13px; color: var(--orange); }
.mk-sep { color: #C4C9CF; margin: 0 4px; font-size: 10px; }
.cell-empty { color: #C4C9CF; }

/* ---------------- 頁腳 ---------------- */
.site-foot { background: #16181A; color: #fff; padding: 80px 0 34px; }
.foot-head { display: flex; flex-direction: column; align-items: flex-start; }
.foot-head h2 { color: #fff; }
.foot-head .sec-sub { color: rgba(255,255,255,.55); }
.foot-points {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 90px; margin: 48px 0 56px;
}
.foot-point { border-left: 2px solid var(--orange); padding-left: 16px; }
.foot-point h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.foot-point p { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.65; }
.foot-bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; flex-wrap: wrap;
}
.foot-brand .logo img { height: 26px; }
.copyright { margin-top: 10px; font-size: 11.5px; color: rgba(255,255,255,.5); }
.foot-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot-note { font-size: 12px; color: rgba(255,255,255,.55); }
.foot-cta .btn { padding: 11px 22px; font-size: 13px; }

/* ---------------- 功能簡介浮層 ---------------- */
.ftip {
  position: fixed; z-index: 140; width: 292px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16,24,40,.18);
  padding: 14px 16px 15px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}
.ftip.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.ftip-title { font-size: 14.5px; font-weight: 700; line-height: 1.4; margin-bottom: 7px; color: var(--ink, #181B20); }
.ftip-desc { font-size: 12px; color: var(--steel); line-height: 1.75; }

/* ---------------- 彈窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(12,15,18,.62); }
.modal-panel {
  position: relative; width: 100%; max-width: 560px;
  background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.32);
  padding: 30px 30px 26px;
  max-height: calc(100vh - 48px); overflow: auto;
  animation: panel-in .22s ease;
}
.modal-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .modal-panel { animation: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-title { font-size: 21px; margin: 12px 0 2px; }
.modal-close {
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  color: var(--steel); cursor: pointer;
  transition: border-color .15s, color .15s;
}
.modal-close:hover { border-color: var(--ink); color: var(--ink); }

.gate-sub { margin: 14px 0 18px; font-size: 13px; color: var(--steel); line-height: 1.7; }
.gate-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.gate-row label { font-size: 11px; letter-spacing: .1em; color: var(--steel); }
.gate-row input {
  width: 100%; padding: 11px 13px; font-size: 14px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-family: var(--font-body);
  transition: border-color .15s;
}
.gate-row input:focus { outline: none; border-color: var(--ink); }
.gate-code-row { display: flex; gap: 10px; }
.gate-code-row input { flex: 1; min-width: 0; letter-spacing: .18em; }
.gate-send { flex: none; white-space: nowrap; }
.gate-send:disabled { opacity: .5; cursor: not-allowed; border-color: var(--line); color: var(--steel); }
.gate-msg { font-size: 12.5px; line-height: 1.6; color: var(--steel); margin: 0 0 14px; }
.gate-msg:not(:empty) { padding: 9px 12px; border-left: 3px solid var(--line); background: #F7F8F9; }
.gate-msg.is-error { color: #B23A08; font-weight: 700; border-left-color: var(--orange-deep); background: var(--orange-wash); }
.gate-submit { width: 100%; }

.demo-list { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.demo-item { border: 1px solid var(--line); padding: 14px 16px 8px; }
.demo-item-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.demo-role { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.demo-role::before { content: ""; width: 7px; height: 7px; background: var(--orange); }
.demo-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--steel); border-bottom: 1px solid transparent; }
.demo-link:hover { color: var(--ink); border-color: var(--orange); }
.demo-link .icon { width: 12px; height: 12px; }
.demo-field { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; }
.demo-field + .demo-field { border-top: 1px dashed var(--line); }
.df-label { font-size: 11px; color: var(--steel); letter-spacing: .1em; }
.df-value {
  font-family: var(--font-latin); font-size: 13.5px; font-weight: 600;
  background: #F4F6F8; border: 1px solid var(--line-soft);
  padding: 6px 10px; overflow-wrap: anywhere;
}
.btn-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  cursor: pointer; font-family: var(--font-body);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-copy .icon { width: 13px; height: 13px; }
.btn-copy:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-copy.is-copied { background: var(--orange); border-color: var(--orange); color: #fff; }
.modal-note { margin-top: 18px; font-size: 12px; color: var(--steel); border-left: 2px solid var(--orange); padding-left: 10px; line-height: 1.7; }

.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 130;
  transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: #fff;
  padding: 10px 20px; font-size: 13px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%); }
body.no-scroll { overflow: hidden; }

.modal-close:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------------- 響應式 ---------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .hero-card { max-width: 460px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .step { padding-right: 0; }
  .step-aside { grid-column: 1 / -1; border-left: 0; padding-left: 0; max-width: 300px; }
  .laptop-figure::before { display: none; }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-points { gap: 24px 40px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 12px; }
  .section { padding: 56px 0; }
  .hero-inner { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 44px; }
  .steps-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .foot-points { grid-template-columns: 1fr; }
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .legend-box { gap: 10px 18px; }
  .chips { flex-wrap: wrap; }
}
