/* ==========================================================================
   GARZA 落点页（T-42）— 深色版品牌配色
   只给 landing.html / thanks.html 用，不影响 index / quote / visualize 三页。
   配色沿用全站 :root 的同一套品牌色（纸色 #f6f1e6 / 墨色 #232821 / 陶土色 #b45f42），
   这里换成「深底浅字」 rendition：底色用墨色系，强调色提亮一档保证深底上的可读性。

   老板改颜色：只改下面这一段变量；改宽度/留白：改 .wrap 与 clamp()；
   改卖点/文案：不在这个文件，去 landing.html 的 VARIANTS。
   零外链：字体全部用系统字体栈，图片全部用 CSS 渐变画，不请求任何网络资源。
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #191d19;
  --bg-2: #1e231e;
  --panel: #232821;
  --panel-2: #282e27;
  --ink: #f4efe4;
  --ink-2: #cfcaba;
  --muted: #989e92;
  --line: rgba(244, 239, 228, 0.13);
  --line-strong: rgba(244, 239, 228, 0.26);
  --accent: #d98264;
  --accent-deep: #b45f42;
  --gold: #d3ad6d;
  --sage: #a8b596;
  --radius: 22px;
  --shadow: 0 30px 70px -42px rgba(0, 0, 0, 0.9);

  /* 每个素材变体的主视觉色（data-variant 在 landing.html 里切换） */
  --art-a: #2c3a2c;
  --art-b: #131813;
  --glow: rgba(198, 210, 170, 0.42);

  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(120% 70% at 82% -10%, rgba(217, 130, 100, 0.09) 0%, transparent 55%),
    var(--bg);
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(217, 130, 100, 0.35);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4.6vw, 44px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.mono {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.top {
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-link {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.top-link:hover {
  background: rgba(244, 239, 228, 0.08);
  border-color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(30px, 5vw, 62px) clamp(26px, 4vw, 48px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.024em;
  max-width: 19ch;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero .sub {
  margin-top: 18px;
  max-width: 48ch;
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--ink-2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(244, 239, 228, 0.07);
}

.btn:active {
  transform: translateY(1px);
}

/* 首屏次级入口（T-46）：链到自家报价器，不跟主 CTA 抢位置 */
.hero-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-top: 14px;
  font-size: 14px;
}

.link-arrow {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 130, 100, 0.55);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hero-alt-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
   双路径入口（T-43）
   Hero 下方两个并列按钮；点一下只切 html[data-path]，下面的表单由 CSS 换显示。
   -------------------------------------------------------------------------- */

.path-picker {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: clamp(20px, 2.8vw, 32px);
  padding-top: clamp(16px, 2.2vw, 24px);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.path-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.path-hint {
  font-size: 12.5px;
  color: var(--muted);
}

.path-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.path-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(40, 46, 39, 0.65), rgba(30, 35, 30, 0.65));
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.path-opt:hover {
  border-color: rgba(244, 239, 228, 0.45);
  background: rgba(244, 239, 228, 0.06);
}

.path-opt[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(217, 130, 100, 0.18), rgba(217, 130, 100, 0.05));
  box-shadow: inset 0 0 0 1px var(--accent);
}

.path-opt-title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
}

.path-opt-sub {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.path-opt[aria-pressed="true"] .path-opt-sub {
  color: var(--ink-2);
}

/* 两套说明文案：按 html[data-path] 只显示对应的一套 */
html[data-path="trade"] [data-when="home"],
html[data-path="home"] [data-when="trade"] {
  display: none !important;
}

.path-notes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 48ch;
}

.path-notes li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.path-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
}

/* 两张表单只显示当前路径那一张；默认（脚本没跑）只留 trade，避免两套同时出现 */
.path-form {
  display: block;
}

html[data-path="trade"] .path-form[data-path="home"],
html[data-path="home"] .path-form[data-path="trade"],
html:not([data-path]) .path-form[data-path="home"] {
  display: none;
}

/* 主视觉：整面窗帘的 CSS 渐变，不用任何图片文件 */
.art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(168deg, var(--art-a) 0%, var(--art-b) 78%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(78% 58% at 50% 4%, var(--glow) 0%, rgba(255, 255, 255, 0.04) 46%, transparent 72%),
    linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 42%);
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0,
      rgba(0, 0, 0, 0.06) 9px,
      rgba(255, 255, 255, 0.11) 15px,
      rgba(0, 0, 0, 0.44) 24px,
      rgba(0, 0, 0, 0.44) 26px
    );
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

.art-rod {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 3%;
  right: 3%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(211, 173, 109, 0.85), rgba(211, 173, 109, 0.25));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.art-glow {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent);
}

/* 变体主视觉：同一张“布料”，不同素材不同光色 */
body[data-variant="li0101"] {
  --art-a: #3b2c1e;
  --art-b: #171310;
  --glow: rgba(224, 170, 96, 0.5);
}

body[data-variant="ig0109"] {
  --art-a: #22333a;
  --art-b: #101619;
  --glow: rgba(186, 222, 236, 0.55);
}

body[data-variant="pin01"] {
  --art-a: #3a2a2a;
  --art-b: #171112;
  --glow: rgba(228, 170, 150, 0.45);
}

/* --------------------------------------------------------------------------
   Selling points
   -------------------------------------------------------------------------- */

.points {
  padding-block: clamp(26px, 4vw, 46px) clamp(30px, 4.4vw, 54px);
  border-top: 1px solid var(--line);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.points-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: 10px;
  max-width: 34ch;
  text-wrap: balance;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  min-width: 0;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.9);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.card h3 {
  font-size: clamp(18px, 1.9vw, 21px);
  margin: 10px 0 8px;
  text-wrap: balance;
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Lead form
   -------------------------------------------------------------------------- */

.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(30px, 4.6vw, 58px) clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.lead-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  max-width: 18ch;
  text-wrap: balance;
}

.lead-copy .sub {
  margin-top: 14px;
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.assure {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.assure li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.assure li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.form-panel {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(40, 46, 39, 0.92), rgba(35, 40, 33, 0.92));
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field .opt {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

/* 尺寸字段（T-46）：勾选“不确定”后 size 可留空；小字说明量轨道 */
.field .check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  margin-top: 9px;
  margin-bottom: 0;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: var(--ink-2);
  cursor: pointer;
}

.field .check input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  flex: none;
  accent-color: var(--accent);
}

.field .check span {
  min-width: 0;
}

.field-help {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.field-help a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field-help a:hover {
  color: var(--accent);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #151915;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field select {
  padding-right: 38px;
  cursor: pointer;
}

.field select option {
  background: #151915;
  color: var(--ink);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7d8478;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(244, 239, 228, 0.4);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 130, 100, 0.2);
}

.form-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.form-submit:hover {
  background: var(--accent);
  color: #1b120d;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* 交易边界卡（T-46）：MOQ / 交期区间 / 条款 / 含不含安装，只写确认过的区间 */
.boundaries {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.boundaries li {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

.boundaries .b-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* 上线前的本地模式提示：只有 data-form-mode="local" 时显示 */
.mode-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.mode-note .dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold);
}

body[data-form-mode="remote"] .mode-note {
  display: none;
}

/* 表单服务（FormSubmit）传统蜜罐字段：真人看不见，机器人会填 */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.form-status {
  margin-top: 10px;
  font-size: 13px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 22px 34px;
}

.foot-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.foot-inner strong {
  color: var(--ink-2);
  font-weight: 600;
}

.foot-links a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.foot-links a:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

/* 信任资产（T-46）：公司实体 / 地址 / 工厂 / 联系方式占位；不编信息 */
.foot-company {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.foot-label {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.foot-company-name {
  color: var(--ink-2);
}

.foot-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.foot-why {
  margin-top: 16px;
}

.foot-why ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-why li {
  position: relative;
  flex: none;
  padding-left: 14px;
  font-size: 12px;
  color: var(--ink-2);
}

.foot-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

/* --------------------------------------------------------------------------
   Thanks page
   -------------------------------------------------------------------------- */

.done {
  max-width: 660px;
  padding-block: clamp(52px, 10vw, 120px) clamp(44px, 8vw, 96px);
}

.done-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(168, 181, 150, 0.12);
  color: var(--sage);
  margin-bottom: 26px;
}

.done h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  max-width: 16ch;
  text-wrap: balance;
}

.done .sub {
  margin-top: 18px;
  max-width: 44ch;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-2);
}

.done .sub strong {
  color: var(--ink);
  font-weight: 600;
}

.done-meta {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(35, 40, 33, 0.7);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.done-actions {
  margin-top: 30px;
}

.done-foot {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Measure page（T-46）
   量尺指南：全部用 CSS 画示意图，不引任何网图。
   -------------------------------------------------------------------------- */

.measure-hero {
  padding-block: clamp(34px, 5vw, 64px) clamp(8px, 1.5vw, 18px);
}

.measure-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  max-width: 20ch;
  text-wrap: balance;
}

.measure-hero .sub {
  margin-top: 16px;
  max-width: 56ch;
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-2);
}

.measure-figure-wrap {
  padding-block: clamp(18px, 3vw, 30px) 0;
}

.measure-fig {
  margin: 0;
}

.mf {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, #232a23 0%, #141814 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.mf-wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(211, 173, 109, 0.12), transparent 65%),
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
}

/* 轨道：要量的就是这一条 */
.mf-track {
  position: absolute;
  z-index: 3;
  top: 14%;
  left: 7%;
  right: 7%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(211, 173, 109, 0.95), rgba(211, 173, 109, 0.35));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.mf-track::before,
.mf-track::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px;
  height: 11px;
  border-radius: 1px;
  background: rgba(244, 239, 228, 0.5);
}

.mf-track::before {
  left: 1px;
}

.mf-track::after {
  right: 1px;
}

/* 窗框（示意）：不是量这个玻璃 */
.mf-window {
  position: absolute;
  top: 27%;
  left: 21%;
  right: 17%;
  bottom: 10%;
  border: 1px solid rgba(244, 239, 228, 0.3);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(244, 239, 228, 0.18) calc(50% - 0.5px), rgba(244, 239, 228, 0.18) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(180deg, transparent calc(50% - 0.5px), rgba(244, 239, 228, 0.18) calc(50% - 0.5px), rgba(244, 239, 228, 0.18) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(200deg, rgba(186, 210, 200, 0.14), rgba(20, 24, 20, 0.2));
}

/* 帘子：挂在轨道上，宽度跟轨道走 */
.mf-panel {
  position: absolute;
  z-index: 2;
  top: 16.5%;
  bottom: 10%;
  width: 9%;
  border-radius: 2px;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.35) 0,
      rgba(255, 255, 255, 0.1) 4px,
      rgba(0, 0, 0, 0.3) 8px,
      rgba(0, 0, 0, 0.3) 12px
    ),
    linear-gradient(180deg, rgba(217, 130, 100, 0.5), rgba(120, 70, 52, 0.32));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.mf-panel--l {
  left: 9%;
}

.mf-panel--r {
  right: 7%;
}

.mf-floor {
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: 10%;
  border-top: 1px dashed rgba(244, 239, 228, 0.35);
}

/* 宽度尺寸线：沿轨道，两端箭头，文字盖在线中间 */
.mf-dim {
  position: absolute;
  z-index: 4;
  color: var(--gold);
}

.mf-dim--w {
  top: 5%;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(217, 130, 100, 0.85);
}

.mf-dim--w::before,
.mf-dim--w::after {
  content: "";
  position: absolute;
  top: -3.5px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.mf-dim--w::before {
  left: 0;
  border-right: 6px solid rgba(217, 130, 100, 0.95);
}

.mf-dim--w::after {
  right: 0;
  border-left: 6px solid rgba(217, 130, 100, 0.95);
}

.mf-dim--w span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: #1b201b;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 高度尺寸线：从轨道下沿到地面 */
.mf-dim--d {
  top: 16.5%;
  bottom: 10%;
  right: 3.5%;
  width: 1px;
  background: rgba(217, 130, 100, 0.85);
}

.mf-dim--d::before,
.mf-dim--d::after {
  content: "";
  position: absolute;
  left: -3.5px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.mf-dim--d::before {
  top: 0;
  border-bottom: 6px solid rgba(217, 130, 100, 0.95);
}

.mf-dim--d::after {
  bottom: 0;
  border-top: 6px solid rgba(217, 130, 100, 0.95);
}

.mf-dim--d span {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  padding: 6px 2px;
  border-radius: 999px;
  background: #1b201b;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.measure-fig figcaption {
  max-width: 62ch;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.measure-steps {
  padding-block: clamp(30px, 5vw, 54px) clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line);
  margin-top: clamp(26px, 4vw, 44px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.steps li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.steps h2 {
  font-size: clamp(17px, 1.8vw, 20px);
  margin: 8px 0 7px;
  text-wrap: balance;
}

.steps p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.measure-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-block: clamp(6px, 1vw, 12px) clamp(40px, 6vw, 70px);
}

.measure-foot {
  flex-basis: 100%;
  max-width: 62ch;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero,
  .lead {
    grid-template-columns: minmax(0, 1fr);
  }

  .art {
    aspect-ratio: 16 / 9;
    max-height: none;
    order: 3;
  }

  .hero-copy {
    order: 1;
  }

  /* 375 首屏要先看到两个分流入口，主视觉排到它们后面 */
  .path-picker {
    order: 2;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .lead-copy {
    max-width: 46ch;
  }
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 18px 18px 20px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .brand-sub {
    display: none;
  }

  .top-link {
    padding: 7px 13px;
    font-size: 12.5px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .art {
    aspect-ratio: 4 / 3;
  }

  .path-picker {
    margin-top: 18px;
    padding-top: 16px;
    gap: 12px;
  }

  .path-opt {
    min-height: 72px;
    padding: 12px;
  }

  .path-opt-title {
    font-size: 14.5px;
  }

  .path-opt-sub {
    font-size: 11px;
  }

  .mf {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .mf-panel {
    width: 8%;
  }

  .measure-fig figcaption {
    font-size: 12px;
  }

  .measure-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
