:root {
    --spruce: #0A1714;
    --spruce-2: #10241F;
    --spruce-3: #16302A;
    --bone: #F2EEE4;
    --bone-2: #E7E1D3;
    --bone-3: #D8D1BF;
    --signal: #E9A33B;
    --signal-soft: #F3C67C;
    --mint: #86BFA9;
    --wine: #A2444D;
    --stone: #8C8779;
    --stone-d: #7C8A84;
    --ink: #101613;

    --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", STSong, "SimSun", serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

    --pad: clamp(22px, 5vw, 92px);
    --maxw: 1220px;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }

  body {
    margin: 0;
    background: var(--spruce);
    color: var(--bone);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  ::selection { background: var(--signal); color: var(--spruce); }

  /* width:100% is required: inside the hero's flex column, `margin:0 auto`
     would otherwise make this a shrink-to-fit item and collapse the width. */
  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

  /* ============ type ============ */
  .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--signal);
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .eyebrow::after {
    content: ""; flex: 1; height: 1px;
    background: currentColor; opacity: .3;
  }
  .eyebrow.on-light { color: var(--wine); }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .01em;
    text-wrap: balance;
    margin: 0;
  }
  h1 {
    font-size: clamp(46px, 8.2vw, 104px);
    line-height: 1.12;
    letter-spacing: -.005em;
  }
  h1 em {
    font-style: normal;
    color: var(--signal);
    display: block;
  }
  h2 {
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.28;
    color: var(--ink);
  }
  .dark h2 { color: var(--bone); }

  .lede {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.9;
    color: var(--stone-d);
    max-width: 60ch;
  }
  .on-light .lede { color: #5C6B60; }
  .lede strong { color: inherit; font-weight: 600; }

  .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

  /* ============ bands ============ */
  .band { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
  .band.dark { background: var(--spruce); color: var(--bone); }
  .band.light { background: var(--bone); color: var(--ink); }
  .band.light .eyebrow::after { opacity: .35; }

  .rule {
    height: 34px;
    width: 100%;
    display: block;
    color: inherit;
    opacity: .22;
  }

  /* ============ hero ============ */
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(90px, 12vh, 150px) 0 0;
    position: relative;
    overflow: hidden;
    background: var(--spruce);
  }
  .hero .wrap { position: relative; z-index: 2; }
  .hero-sub {
    margin-top: clamp(26px, 3.4vw, 44px);
    max-width: 46ch;
    font-size: clamp(15.5px, 1.45vw, 18px);
    line-height: 1.95;
    color: #A8B4AE;
  }
  .hero-sub strong { color: var(--bone); font-weight: 600; }

  .hero-meta {
    margin-top: clamp(32px, 4vw, 54px);
    display: flex;
    gap: clamp(20px, 4vw, 54px);
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .09em;
    color: var(--stone-d);
  }
  .hero-meta span { display: flex; align-items: baseline; gap: 9px; }
  .hero-meta b {
    font-size: 19px;
    font-weight: 500;
    color: var(--signal);
    letter-spacing: 0;
  }

  /* waveform stage */
  .trace-stage {
    position: relative;
    margin-top: clamp(30px, 4vw, 52px);
    border-top: 1px solid rgba(233,163,59,.16);
    border-bottom: 1px solid rgba(233,163,59,.16);
    background:
      linear-gradient(180deg, rgba(233,163,59,.045), rgba(233,163,59,0) 55%),
      var(--spruce);
    height: clamp(150px, 21vh, 240px);
  }
  #pcg { display: block; width: 100%; height: 100%; }

  .trace-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0 0;
    flex-wrap: wrap;
  }
  .trace-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--stone-d);
    text-transform: uppercase;
  }

  .play {
    appearance: none;
    border: 1px solid rgba(233,163,59,.45);
    background: rgba(233,163,59,.07);
    color: var(--signal);
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: .13em;
    padding: 10px 18px;
    border-radius: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background .25s, border-color .25s, color .25s;
  }
  .play:hover { background: rgba(233,163,59,.15); border-color: var(--signal); }
  .play:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
  .play .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 rgba(233,163,59,.55);
  }
  .play.playing .dot { animation: pulse 0.82s infinite; }
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233,163,59,.5); }
    70% { box-shadow: 0 0 0 11px rgba(233,163,59,0); }
    100% { box-shadow: 0 0 0 0 rgba(233,163,59,0); }
  }

  /* breathing room at the bottom of the hero so the trace bar never
     crowds the viewport edge at short viewport heights */
  .hero .wrap { padding-bottom: clamp(28px, 5vh, 56px); }

  /* ============ stats ============ */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 46px);
    margin-top: clamp(34px, 4vw, 58px);
  }
  .stat { border-top: 1px solid rgba(134,191,169,.28); padding-top: 22px; }
  .stat .n {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1;
    color: var(--signal);
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
  }
  .stat .n small { font-size: .42em; color: var(--bone); margin-left: 2px; }
  .stat p {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.75;
    color: #9FADA7;
    max-width: 24ch;
  }
  .stat p b { color: var(--bone); font-weight: 500; }

  /* ============ breaks ============ */
  .breaks {
    display: grid;
    gap: 0;
    margin-top: clamp(38px, 5vw, 66px);
    border-top: 1px solid var(--bone-3);
  }
  .break-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 260px) 1fr;
    gap: clamp(16px, 3vw, 44px);
    padding: clamp(26px, 3.4vw, 40px) 0;
    border-bottom: 1px solid var(--bone-3);
    align-items: baseline;
  }
  .break-item .idx {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--wine);
    padding-top: 6px;
  }
  .break-item h3 {
    font-size: clamp(21px, 2.4vw, 29px);
    color: var(--ink);
    line-height: 1.4;
  }
  .break-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #5C6B60;
    max-width: 52ch;
  }

  /* ============ method ============ */
  .method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 76px);
    margin-top: clamp(38px, 5vw, 64px);
    align-items: start;
  }
  .chain { display: flex; flex-direction: column; gap: 0; }
  .chain-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(134,191,169,.2);
  }
  .chain-row:first-child { border-top: 1px solid rgba(134,191,169,.2); }
  .chain-row .step {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--signal);
    letter-spacing: .1em;
    min-width: 26px;
  }
  .chain-row .nm { font-size: 15.5px; color: var(--bone); font-weight: 500; }
  .chain-row .fn { margin-left: auto; font-size: 13px; color: var(--stone-d); text-align: right; }

  .quality-card {
    background: var(--spruce-2);
    border: 1px solid rgba(134,191,169,.18);
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: 2px;
  }
  .quality-card h4 {
    margin: 0 0 20px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 500;
  }
  .qrow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(134,191,169,.16);
  }
  .qrow:last-child { border-bottom: none; padding-bottom: 0; }
  .qrow span { font-size: 13.5px; color: #A8B4AE; }
  .qrow b {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--mint);
    font-weight: 500;
  }

  /* ============ kano ============ */
  .kano-layout { margin-top: clamp(34px, 4.5vw, 56px); }
  .kano-figure {
    margin: 0;
    max-width: 800px;
    background: #FBF8F0;
    border: 1px solid var(--bone-3);
    padding: clamp(12px, 1.6vw, 22px);
  }
  .kano-figure svg { display: block; width: 100%; height: auto; }
  .kano-figure figcaption {
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--stone);
    line-height: 1.7;
  }
  .kano-legend {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 clamp(16px, 2.4vw, 34px);
    margin-top: clamp(22px, 2.6vw, 32px);
  }
  .kleg {
    padding: 15px 0 4px;
    border-top: 2px solid var(--bone-3);
  }
  .kleg .top { display: flex; align-items: baseline; gap: 9px; }
  .kleg .tag {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .kleg .tag.o { background: rgba(134,191,169,.22); color: #2C6E5B; }
  .kleg .tag.a { background: rgba(233,163,59,.2); color: #91631A; }
  .kleg .tag.m { background: rgba(162,68,77,.14); color: var(--wine); }
  .kleg .tag.i { background: rgba(140,135,121,.18); color: #6E6A5D; }
  .kleg .names { font-size: 14px; color: var(--ink); margin-top: 9px; line-height: 1.7; }
  .kleg .val {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--stone);
    margin-top: 4px;
    line-height: 1.6;
  }
  .kleg .val b { color: var(--wine); font-weight: 500; }

  /* ============ price ============ */
  .price-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(24px, 4vw, 60px); }
  .price-big {
    font-family: var(--serif);
    font-size: clamp(44px, 7.4vw, 92px);
    color: var(--signal);
    line-height: 1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  .price-big small { font-size: .34em; color: var(--bone); margin-left: 6px; }

  .ruler {
    margin-top: clamp(38px, 5vw, 62px);
    position: relative;
  }
  .ruler svg { width: 100%; height: auto; display: block; overflow: visible; }

  .price-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 44px);
    margin-top: 26px;
    border-top: 1px solid rgba(134,191,169,.22);
    padding-top: 24px;
  }
  .pn .k {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    color: var(--stone-d);
    text-transform: uppercase;
  }
  .pn .v {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    color: var(--bone);
    margin-top: 6px;
    line-height: 1.3;
  }
  .pn .v em { font-style: normal; color: var(--signal); }
  .pn p { margin: 8px 0 0; font-size: 13px; color: var(--stone-d); line-height: 1.7; }

  /* ============ segments ============ */
  .seg-list { margin-top: clamp(34px, 4.5vw, 56px); border-top: 1px solid var(--bone-3); }
  .seg-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 190px) 78px 1fr;
    gap: clamp(14px, 2.4vw, 30px);
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--bone-3);
  }
  .seg-row .no { font-family: var(--mono); font-size: 11.5px; color: var(--stone); }
  .seg-row .nm { font-size: 15.5px; color: var(--ink); font-weight: 500; }
  .seg-row .pc {
    font-family: var(--mono);
    font-size: 17px;
    color: var(--wine);
    font-variant-numeric: tabular-nums;
  }
  .seg-row.core .pc { color: #1F4B43; font-weight: 600; }
  .seg-row .bar { display: flex; align-items: center; gap: 12px; }
  .seg-row .bar i {
    display: block;
    height: 5px;
    background: var(--bone-3);
    border-radius: 3px;
    position: relative;
    flex: 1;
  }
  .seg-row .bar i::after {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: var(--w, 0%);
    background: #B6AE9B;
    border-radius: 3px;
  }
  .seg-row.core .bar i::after { background: #1F4B43; }
  .seg-row .note { font-size: 12.5px; color: var(--stone); white-space: nowrap; }

  /* ============ product ============ */
  .prod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(134,191,169,.18);
    margin-top: clamp(34px, 4.5vw, 56px);
    border: 1px solid rgba(134,191,169,.18);
  }
  .prod-card {
    background: var(--spruce);
    padding: clamp(26px, 3.2vw, 42px);
  }
  .prod-card .n {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--signal);
  }
  .prod-card h3 {
    font-size: clamp(20px, 2.2vw, 26px);
    color: var(--bone);
    margin: 14px 0 12px;
    line-height: 1.45;
  }
  .prod-card p { margin: 0; font-size: 14px; line-height: 1.9; color: #9FADA7; max-width: 34ch; }

  /* ============ closing ============ */
  .closing {
    background: var(--spruce-3);
    text-align: center;
    padding: clamp(90px, 13vw, 170px) 0;
  }
  .closing blockquote {
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(28px, 4.6vw, 56px);
    line-height: 1.42;
    color: var(--bone);
    max-width: none;   /* line breaks are authored with <br>, don't re-wrap */
  }
  .closing blockquote em { font-style: normal; color: var(--signal); }
  .closing .sig {
    margin-top: clamp(30px, 4vw, 48px);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--stone-d);
    text-transform: uppercase;
  }

  /* ============ footer ============ */
  footer {
    background: var(--spruce);
    padding: clamp(48px, 6vw, 76px) 0 clamp(38px, 5vw, 56px);
    border-top: 1px solid rgba(134,191,169,.15);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(26px, 4vw, 60px);
  }
  .foot-grid h5 {
    margin: 0 0 12px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--signal);
    font-weight: 500;
  }
  .foot-grid p, .foot-grid li {
    font-size: 13px;
    line-height: 1.9;
    color: var(--stone-d);
    margin: 0;
  }
  .foot-grid ul { margin: 0; padding: 0; list-style: none; }
  .foot-grid li { display: flex; justify-content: space-between; gap: 14px; }
  .foot-grid li span { color: #6E7C76; }
  .foot-note {
    margin-top: clamp(34px, 4vw, 52px);
    padding-top: 22px;
    border-top: 1px solid rgba(134,191,169,.14);
    font-size: 11.5px;
    line-height: 1.9;
    color: #67756F;
    max-width: 88ch;
  }
  .foot-note b { color: #8D9A94; font-weight: 500; }

  /* ============ reveal ============ */
  /* Only hide when JS is available (html.js is set by an inline script),
     so the page is fully readable if scripting fails or is blocked. */
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
  .js .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

  /* ============ responsive ============ */
  @media (max-width: 900px) {
    .breaks { }
    .break-item { grid-template-columns: 52px 1fr; }
    .break-item p { grid-column: 2; }
    .method-grid { grid-template-columns: 1fr; }
    .kano-layout { grid-template-columns: 1fr; }
    .kano-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: 1fr; gap: 0; }
    .stat { padding: 22px 0; }
    .prod-grid { grid-template-columns: 1fr; }
    .price-notes { grid-template-columns: 1fr; gap: 22px; }
    .seg-row { grid-template-columns: 36px 1fr 64px; }
    .seg-row .bar { display: none; }
    .foot-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .trace-stage { height: 130px; }
    .hero-meta { gap: 16px 26px; }
    .chain-row .fn { display: none; }
    .scroll-cue { display: none; }
    .seg-row .note { display: none; }
  }

/* ============ PWA · 安装入口 ============ */
.install-chip {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  appearance: none;
  cursor: pointer;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid rgba(233,163,59,.5);
  background: rgba(10,23,20,.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--signal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  transition: background .25s, border-color .25s, opacity .3s;
}
.install-chip:hover { background: rgba(18,36,31,.96); border-color: var(--signal); }
.install-chip:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.install-chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulseInstall 2.2s infinite;
}
@keyframes pulseInstall {
  0% { box-shadow: 0 0 0 0 rgba(233,163,59,.45); }
  70% { box-shadow: 0 0 0 9px rgba(233,163,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,163,59,0); }
}
.install-chip[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .install-chip__dot { animation: none; }
}

/* ============ 安全区（刘海屏 / 沉浸式状态栏） ============ */
@supports (padding: env(safe-area-inset-left)) {
  .wrap {
    padding-left: calc(var(--pad) + env(safe-area-inset-left));
    padding-right: calc(var(--pad) + env(safe-area-inset-right));
  }
  footer {
    padding-bottom: calc(clamp(38px, 5vw, 56px) + env(safe-area-inset-bottom));
  }
}

/* ============ AI 宠物健康助手 ============ */
.chat-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(70px, calc(env(safe-area-inset-bottom) + 70px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  appearance: none;
  cursor: pointer;
  padding: 12px 17px;
  border-radius: 999px;
  border: 1px solid rgba(134,191,169,.48);
  background: rgba(16,36,31,.96);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 13px;
  box-shadow: 0 10px 34px rgba(0,0,0,.32);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.chat-fab:hover { transform: translateY(-2px); border-color: var(--signal); background: rgba(22,48,42,.98); }
.chat-fab:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.chat-fab__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(233,163,59,.42);
  animation: chatPulse 2.2s infinite;
}
@keyframes chatPulse {
  0% { box-shadow: 0 0 0 0 rgba(233,163,59,.42); }
  70% { box-shadow: 0 0 0 9px rgba(233,163,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,163,59,0); }
}

.chat-panel {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(126px, calc(env(safe-area-inset-bottom) + 126px));
  z-index: 90;
  width: min(390px, calc(100vw - 28px));
  height: min(590px, calc(100dvh - 155px));
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(134,191,169,.25);
  border-radius: 22px;
  background: #F8F5EC;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.44);
  display: flex;
  flex-direction: column;
}
.chat-panel[hidden] { display: none; }
.chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  background: var(--spruce-2);
  color: var(--bone);
  border-bottom: 1px solid rgba(134,191,169,.16);
}
.chat-panel__head div { min-width: 0; }
.chat-panel__head strong { display: block; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.chat-panel__head span { display: block; margin-top: 3px; font-size: 10.5px; color: #91A49B; letter-spacing: .03em; }
.chat-close {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: #C8D1CD;
  font-size: 24px; line-height: 1;
  cursor: pointer;
}
.chat-close:hover { background: rgba(255,255,255,.12); color: var(--bone); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.chat-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 14px; }
.chat-row.user { justify-content: flex-end; }
.chat-avatar {
  flex: 0 0 auto;
  width: 29px; height: 29px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--spruce-2);
  color: var(--signal);
  font-family: var(--serif);
  font-size: 13px;
}
.chat-bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #ECE7DA;
  color: #26332E;
}
.chat-row.assistant .chat-bubble { border-top-left-radius: 5px; }
.chat-row.user .chat-bubble {
  background: var(--spruce-3);
  color: #F2EEE4;
  border-top-right-radius: 5px;
}
.chat-row.typing .chat-bubble { color: #6D766F; font-size: 12.5px; }
.chat-suggestions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 8px 14px 9px;
  scrollbar-width: none;
}
.chat-suggestions::-webkit-scrollbar { display: none; }
.chat-suggestions button {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid #D8D1BF;
  background: #F4F0E6;
  color: #56635C;
  border-radius: 999px;
  padding: 7px 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  cursor: pointer;
}
.chat-suggestions button:hover { border-color: #9BAE9F; color: #27473E; }
.chat-inputbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  align-items: end;
  padding: 11px 12px calc(11px + env(safe-area-inset-bottom));
  border-top: 1px solid #E0D9C9;
  background: #F8F5EC;
}
.chat-inputbar textarea {
  width: 100%;
  min-height: 42px;
  max-height: 110px;
  resize: none;
  border: 1px solid #D8D1BF;
  border-radius: 13px;
  padding: 10px 11px;
  outline: none;
  background: #FFFCF6;
  color: #1D2924;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.55;
}
.chat-inputbar textarea:focus { border-color: #7A9B8F; box-shadow: 0 0 0 3px rgba(134,191,169,.13); }
.chat-inputbar button {
  height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  background: var(--spruce-2);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
}
.chat-inputbar button:hover { background: #1A3B33; }
.chat-inputbar button:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 560px) {
  .chat-fab { bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px)); }
  .install-chip { display: none !important; }
  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
    width: auto;
    height: min(620px, calc(100dvh - 96px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab__pulse { animation: none; }
}


/* ============ 答辩展示精修版 UI（艺术气息 / 精致） ============ */
body {
  background:
    radial-gradient(circle at 16% 12%, rgba(233,163,59,.08), transparent 23%),
    radial-gradient(circle at 86% 20%, rgba(134,191,169,.08), transparent 22%),
    linear-gradient(180deg, #08120F 0%, #0A1714 42%, #0A1714 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 7%, rgba(243,198,124,.06), transparent 20%),
    radial-gradient(circle at 10% 76%, rgba(134,191,169,.05), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 22%, rgba(255,255,255,.018) 76%, transparent);
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
  z-index: 0;
}
header, section, footer { position: relative; z-index: 1; }
.band.dark {
  background:
    radial-gradient(circle at 84% 18%, rgba(233,163,59,.05), transparent 24%),
    radial-gradient(circle at 0% 78%, rgba(134,191,169,.05), transparent 26%),
    var(--spruce);
}
.band.light {
  background:
    radial-gradient(circle at 95% 2%, rgba(233,163,59,.09), transparent 28%),
    radial-gradient(circle at 5% 90%, rgba(134,191,169,.08), transparent 24%),
    linear-gradient(180deg, #F6F2E9 0%, #F2EEE4 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(4px);
}
.hero::before {
  width: min(40vw, 540px);
  aspect-ratio: 1;
  right: -8vw;
  top: 6vh;
  background: radial-gradient(circle, rgba(233,163,59,.16), rgba(233,163,59,.02) 44%, transparent 66%);
  opacity: .9;
}
.hero::after {
  width: min(32vw, 420px);
  aspect-ratio: 1;
  left: -7vw;
  bottom: 10vh;
  background: radial-gradient(circle, rgba(134,191,169,.13), rgba(134,191,169,.03) 45%, transparent 68%);
}
.hero .eyebrow {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(233,163,59,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 14px 38px rgba(0,0,0,.18);
}
.hero .eyebrow::after { display: none; }
.hero-sub {
  position: relative;
  padding: 20px 24px 0 0;
  max-width: 50ch;
}
.hero-sub::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 2px;
  width: 2px;
  height: calc(100% - 6px);
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(233,163,59,.7), rgba(243,198,124,0));
}
.hero-meta span {
  padding: 11px 16px;
  border: 1px solid rgba(134,191,169,.15);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.trace-stage {
  border: 1px solid rgba(233,163,59,.12);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 32px 70px rgba(0,0,0,.24);
}
.trace-bar {
  margin-top: 12px;
  padding: 14px 16px 0;
  border-top: 1px solid rgba(255,255,255,.04);
}
.stats { gap: clamp(18px, 2.2vw, 26px); }
.stat {
  padding: 24px 22px 18px;
  border: 1px solid rgba(134,191,169,.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 22px 52px rgba(0,0,0,.12);
}
.stat p { max-width: none; }
.breaks {
  gap: 12px;
  border-top: 0;
}
.break-item {
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid rgba(216,209,191,.72);
  border-radius: 24px;
  background: rgba(255,251,243,.64);
  box-shadow: 0 18px 46px rgba(87,75,43,.06);
}
.break-item .idx {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(233,163,59,.15), rgba(233,163,59,.04));
  color: #966018;
}
.method-grid,
.kano-layout,
.price-head,
.ruler,
.seg-list,
.prod-grid,
.closing .wrap { position: relative; }
.quality-card,
.kano-figure,
.prod-card,
.seg-row,
.ruler {
  box-shadow: 0 24px 56px rgba(20,18,10,.08);
}
.quality-card {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19,38,33,.98), rgba(12,26,22,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 28px 64px rgba(0,0,0,.22);
}
.kano-figure {
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233,163,59,.08), transparent 26%),
    linear-gradient(180deg, #FFFCF5, #FBF8F0);
  box-shadow: 0 24px 58px rgba(97,82,38,.1);
}
.kano-legend { gap: 16px; }
.kleg {
  padding: 18px 0 8px;
}
.price-big {
  text-shadow: 0 12px 30px rgba(233,163,59,.16);
}
.price-notes {
  gap: 18px;
}
.pn {
  padding: 20px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(134,191,169,.14);
}
.seg-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}
.seg-row {
  padding: 20px 22px;
  border: 1px solid rgba(216,209,191,.72);
  border-radius: 22px;
  background: rgba(255,251,243,.62);
  box-shadow: 0 16px 42px rgba(87,75,43,.06);
}
.prod-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}
.prod-card {
  border: 1px solid rgba(134,191,169,.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233,163,59,.05), transparent 30%),
    linear-gradient(180deg, rgba(16,36,31,.98), rgba(10,23,20,1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 24px 60px rgba(0,0,0,.16);
}
.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(233,163,59,.10), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(134,191,169,.08), transparent 24%),
    linear-gradient(180deg, #122720 0%, #10241F 100%);
}
.closing::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(233,163,59,.12);
  box-shadow: 0 0 0 22px rgba(233,163,59,.03), 0 0 0 52px rgba(233,163,59,.015);
}
footer {
  background:
    radial-gradient(circle at 100% 10%, rgba(233,163,59,.05), transparent 30%),
    linear-gradient(180deg, #0A1714 0%, #091411 100%);
}
.foot-grid > div {
  padding: 20px 0 0;
}

/* AI Chat refined */
body.chat-open::before { opacity: 1; }
body.chat-open::after { opacity: .055; }
.chat-fab {
  overflow: hidden;
  gap: 11px;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(134,191,169,.34);
  background: linear-gradient(180deg, rgba(16,36,31,.96), rgba(12,27,23,.96));
  box-shadow: 0 20px 54px rgba(0,0,0,.35);
}
.chat-fab__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.08) 28%, transparent 52%);
  transform: translateX(-120%);
  animation: chatSweep 6s ease-in-out infinite;
}
@keyframes chatSweep {
  0%, 70%, 100% { transform: translateX(-120%); }
  14%, 24% { transform: translateX(130%); }
}
.chat-fab__icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #FFD79A;
  background: linear-gradient(180deg, rgba(233,163,59,.22), rgba(233,163,59,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.chat-fab__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.chat-fab__label strong {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.chat-fab__label small {
  font-size: 10px;
  color: #A7B7B0;
  letter-spacing: .04em;
}
.chat-panel {
  width: min(430px, calc(100vw - 28px));
  height: min(650px, calc(100dvh - 148px));
  border: 1px solid rgba(134,191,169,.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233,163,59,.08), transparent 26%),
    linear-gradient(180deg, #FFFDF8 0%, #F7F2E7 100%);
  box-shadow: 0 34px 86px rgba(0,0,0,.44);
}
.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 100%, rgba(134,191,169,.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.28), transparent 25%);
}
.chat-panel__head {
  position: relative;
  padding: 16px 18px 15px;
  background: linear-gradient(180deg, rgba(12,27,23,.98), rgba(16,36,31,.98));
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
}
.chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.chat-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(233,163,59,.30), rgba(233,163,59,.10));
  color: #FFE1AB;
  font-family: var(--serif);
  font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.chat-status {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(134,191,169,.24);
  background: rgba(255,255,255,.04);
  color: #B7C7C0;
  font-size: 10px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.chat-panel__head strong { font-size: 19px; }
.chat-panel__head span { font-size: 11px; color: #A7B7B0; }
.chat-close {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  color: #DCE4E1;
}
.chat-messages {
  position: relative;
  padding: 16px 16px 10px;
}
.chat-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16,36,31,.06);
  color: #4C5F57;
  font-size: 11.5px;
  line-height: 1.7;
  border: 1px solid rgba(134,191,169,.18);
}
.chat-row { gap: 11px; margin-bottom: 16px; }
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(180deg, #123127, #0F241E);
  color: #FFD79A;
  box-shadow: 0 10px 24px rgba(16,36,31,.14);
}
.chat-bubble {
  max-width: 84%;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #F2ECDD, #ECE5D6);
  box-shadow: 0 14px 36px rgba(87,75,43,.08);
}
.chat-row.assistant .chat-bubble { border-top-left-radius: 7px; }
.chat-row.user .chat-bubble {
  background: linear-gradient(180deg, #17352D, #112822);
  color: #F6F1E5;
  box-shadow: 0 16px 36px rgba(16,36,31,.14);
}
.chat-row.intro .chat-bubble {
  background:
    radial-gradient(circle at 100% 0%, rgba(233,163,59,.14), transparent 34%),
    linear-gradient(180deg, #F7F1E3, #EFE7D8);
}
.chat-row.intro .chat-bubble strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #14342D;
}
.chat-row.intro .chat-bubble span {
  display: block;
  color: #4B5E56;
}
.chat-suggestions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 14px 10px;
}
.chat-suggestions button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(216,209,191,.9);
  border-radius: 18px;
  background: rgba(255,252,246,.88);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.chat-suggestions button:hover {
  transform: translateY(-1px);
  border-color: #9BAE9F;
  box-shadow: 0 12px 30px rgba(87,75,43,.06);
}
.chat-suggestions button .sg-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(134,191,169,.16), rgba(134,191,169,.06));
  font-size: 16px;
}
.chat-suggestions button span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.chat-suggestions button b {
  font-size: 12.8px;
  color: #20342E;
  font-weight: 600;
}
.chat-suggestions button small {
  color: #6A756F;
  font-size: 10.8px;
}
.chat-inputbar {
  position: relative;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(216,209,191,.75);
  background: rgba(250,246,237,.9);
}
.chat-inputbar textarea {
  min-height: 46px;
  border-radius: 15px;
  border: 1px solid rgba(216,209,191,.95);
  background: rgba(255,253,249,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.chat-inputbar button {
  height: 46px;
  min-width: 62px;
  border-radius: 14px;
  background: linear-gradient(180deg, #17352D, #112822);
  box-shadow: 0 14px 30px rgba(16,36,31,.16);
}
.chat-inputbar button:hover { background: linear-gradient(180deg, #1A3B33, #14302A); }
@media (max-width: 920px) {
  .stats { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .chat-status { display: none; }
}
@media (max-width: 760px) {
  .hero .eyebrow { display: inline-flex; }
  .hero-sub { padding-right: 0; }
  .hero-sub::before { left: -12px; }
  .break-item {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }
  .break-item p { grid-column: 2; }
  .price-notes,
  .foot-grid { gap: 14px; }
}
@media (max-width: 560px) {
  .chat-fab {
    left: 12px;
    right: 12px;
    width: auto;
    justify-content: flex-start;
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 14px));
  }
  .chat-fab__label small { display: none; }
  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px));
    width: auto;
    height: min(680px, calc(100dvh - 96px));
    border-radius: 26px;
  }
  .chat-panel__head {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
  }
  .chat-brand__mark { width: 40px; height: 40px; border-radius: 14px; }
  .chat-panel__head strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab__glow { animation: none; }
}


/* ============ High-Tech Presentation Layer ============ */
:root {
  --tech-line: rgba(134,191,169,.22);
  --tech-line-strong: rgba(134,191,169,.42);
  --tech-glow: rgba(134,191,169,.16);
  --amber-glow: rgba(233,163,59,.22);
}

.hero {
  background:
    linear-gradient(90deg, rgba(134,191,169,.025) 1px, transparent 1px),
    linear-gradient(rgba(134,191,169,.025) 1px, transparent 1px),
    radial-gradient(circle at 76% 18%, rgba(134,191,169,.09), transparent 20%),
    radial-gradient(circle at 88% 34%, rgba(233,163,59,.08), transparent 18%),
    #081410;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}
.hero .wrap::before {
  content: "";
  position: absolute;
  top: -80px;
  right: var(--pad);
  width: min(34vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134,191,169,.45));
  box-shadow: 0 18px 0 rgba(134,191,169,.08), 0 36px 0 rgba(134,191,169,.04);
}
.tech-topline {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(134,191,169,.12);
  border-bottom: 1px solid rgba(134,191,169,.12);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .16em;
  color: #6F8F83;
  text-transform: uppercase;
}
.tech-topline span:first-child { color: #A8C9BC; }
.tech-topline span:nth-child(2) { text-align: center; opacity: .72; }
.tech-topline i,
.product-console i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #86BFA9;
  box-shadow: 0 0 0 4px rgba(134,191,169,.08), 0 0 14px rgba(134,191,169,.48);
  animation: techStatus 2.4s ease-in-out infinite;
}
@keyframes techStatus {
  0%,100% { opacity: .55; box-shadow: 0 0 0 4px rgba(134,191,169,.05), 0 0 8px rgba(134,191,169,.2); }
  50% { opacity: 1; box-shadow: 0 0 0 6px rgba(134,191,169,.09), 0 0 18px rgba(134,191,169,.45); }
}
.hero .eyebrow {
  border-color: rgba(134,191,169,.18);
  background: linear-gradient(180deg, rgba(134,191,169,.045), rgba(255,255,255,.015));
  color: #E5B467;
}
h1 {
  position: relative;
  text-shadow: 0 24px 60px rgba(0,0,0,.25);
}
h1::after {
  content: "01 / LISTEN";
  position: absolute;
  right: -4px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(134,191,169,.38);
  writing-mode: vertical-rl;
}
.hero-meta span {
  position: relative;
  overflow: hidden;
  border-color: rgba(134,191,169,.18);
  background: linear-gradient(180deg, rgba(13,32,27,.9), rgba(9,23,19,.72));
}
.hero-meta span::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(134,191,169,.55), transparent);
  opacity: .45;
}

.trace-stage {
  isolation: isolate;
  border-color: rgba(134,191,169,.18);
  background:
    linear-gradient(90deg, rgba(134,191,169,.035) 1px, transparent 1px),
    linear-gradient(rgba(134,191,169,.035) 1px, transparent 1px),
    radial-gradient(circle at 92% 0%, rgba(233,163,59,.07), transparent 28%),
    #091813;
  background-size: 36px 36px, 36px 36px, auto, auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015), inset 0 0 70px rgba(134,191,169,.035), 0 36px 90px rgba(0,0,0,.28);
}
.trace-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(134,191,169,.025) 48%, rgba(134,191,169,.10) 50%, rgba(134,191,169,.025) 52%, transparent 100%);
  opacity: .8;
  z-index: 2;
}
.trace-tech {
  position: absolute;
  top: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: rgba(166,201,188,.58);
  text-transform: uppercase;
}
.trace-tech b { color: #E9A33B; font-weight: 500; }
.trace-tech--tl { left: 18px; }
.trace-tech--tr { right: 18px; }
.trace-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15%;
  width: 14%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(134,191,169,.08), rgba(134,191,169,.18), transparent);
  filter: blur(1px);
  animation: traceScan 7s linear infinite;
}
@keyframes traceScan { to { transform: translateX(860%); } }
.trace-corner { position: absolute; z-index: 4; width: 22px; height: 22px; pointer-events: none; }
.trace-corner::before,.trace-corner::after { content:""; position:absolute; background:rgba(134,191,169,.45); }
.trace-corner::before { width:22px; height:1px; }
.trace-corner::after { width:1px; height:22px; }
.trace-corner--a { left:10px; top:10px; }
.trace-corner--b { right:10px; top:10px; transform:rotate(90deg); }
.trace-corner--c { right:10px; bottom:10px; transform:rotate(180deg); }
.trace-corner--d { left:10px; bottom:10px; transform:rotate(270deg); }
.trace-label::before {
  content: "●";
  margin-right: 9px;
  color: #86BFA9;
  text-shadow: 0 0 12px rgba(134,191,169,.5);
}
.play {
  border-color: rgba(134,191,169,.28);
  background: rgba(134,191,169,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

/* section instrumentation */
.band > .wrap { position: relative; }
.band > .wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: var(--pad);
  width: 72px;
  height: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: .08;
}
.band.light > .wrap::after { opacity: .12; }
.band .eyebrow {
  font-size: 10px;
}
.band .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

.stat,
.quality-card,
.prod-card {
  position: relative;
  overflow: hidden;
}
.stat::before,
.quality-card::before,
.prod-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 62%, rgba(134,191,169,.04) 62.2%, transparent 62.5%);
}
.stat::after,
.quality-card::after,
.prod-card::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(134,191,169,.36);
  border-right: 1px solid rgba(134,191,169,.36);
}
.stat .n,
.price-big {
  font-variant-numeric: tabular-nums;
}
.break-item,
.seg-row {
  position: relative;
  overflow: hidden;
}
.break-item::after,
.seg-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(31,75,67,.42), transparent);
}
.kano-figure {
  position: relative;
  overflow: hidden;
}
.kano-figure::after {
  content: "ANALYTIC MATRIX";
  position: absolute;
  right: 18px;
  top: 13px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: rgba(31,75,67,.35);
}
.ruler::before {
  content: "PRICING SIGNAL / PSM";
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(134,191,169,.46);
}

.product-console {
  display: flex;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin-top: clamp(34px,4vw,50px);
  padding: 11px 14px;
  border: 1px solid rgba(134,191,169,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  color: #71877E;
  text-transform: uppercase;
}
.product-console span:first-child {
  margin-right: auto;
  color: #A4C0B5;
}
.prod-grid { margin-top: 14px; }
.prod-card .n::before {
  content: "[ ";
  color: rgba(134,191,169,.45);
}
.prod-card .n::after {
  content: " ]";
  color: rgba(134,191,169,.45);
}
.prod-card:hover {
  border-color: rgba(134,191,169,.28);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 32px 72px rgba(0,0,0,.20), 0 0 36px rgba(134,191,169,.035);
}
.prod-card { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }

/* premium AI console */
.chat-fab {
  border-color: rgba(134,191,169,.46);
  background:
    linear-gradient(90deg, rgba(134,191,169,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13,34,28,.985), rgba(8,24,19,.985));
  background-size: 16px 100%, auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.42), 0 0 30px rgba(134,191,169,.055);
}
.chat-fab__icon {
  border: 1px solid rgba(233,163,59,.22);
  background: radial-gradient(circle, rgba(233,163,59,.25), rgba(233,163,59,.07));
}
.chat-panel {
  border-color: rgba(134,191,169,.30);
  background:
    linear-gradient(90deg, rgba(31,75,67,.028) 1px, transparent 1px),
    linear-gradient(rgba(31,75,67,.028) 1px, transparent 1px),
    radial-gradient(circle at 100% 0%, rgba(134,191,169,.10), transparent 28%),
    linear-gradient(180deg,#FFFDF8,#F7F2E7);
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 50px rgba(134,191,169,.06);
}
.chat-panel__head {
  background:
    linear-gradient(90deg, rgba(134,191,169,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11,30,24,.99), rgba(8,24,19,.99));
  background-size: 22px 100%, auto;
}
.chat-brand__mark {
  position: relative;
  border: 1px solid rgba(233,163,59,.22);
}
.chat-brand__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(233,163,59,.12);
  border-radius: 10px;
}
.chat-status {
  position: relative;
  padding-left: 22px;
}
.chat-status::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #86BFA9;
  box-shadow: 0 0 12px rgba(134,191,169,.5);
  animation: techStatus 2.4s ease-in-out infinite;
}
.chat-note {
  background: rgba(31,75,67,.055);
  border-style: dashed;
  border-color: rgba(31,75,67,.22);
}
.chat-suggestions button {
  position: relative;
  overflow: hidden;
  border-color: rgba(31,75,67,.14);
}
.chat-suggestions button::after {
  content: "›";
  margin-left: auto;
  color: rgba(31,75,67,.42);
  font-size: 18px;
}
.chat-inputbar button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134,191,169,.22);
}
.chat-inputbar button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134,191,169,.55), transparent);
}

.system-signature {
  display: grid;
  grid-template-columns: 40px auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .14em;
  color: #577068;
  text-transform: uppercase;
}
.system-signature span {
  height: 1px;
  background: linear-gradient(90deg,#86BFA9,transparent);
}
.system-signature b { color: #809A90; font-weight: 500; }
.system-signature em { justify-self: end; font-style: normal; opacity: .55; }

@media (max-width: 760px) {
  .tech-topline { grid-template-columns: 1fr auto; gap: 10px; }
  .tech-topline span:nth-child(2) { display: none; }
  h1::after { display: none; }
  .trace-tech--tr { display: none; }
  .product-console span:not(:first-child) { display: none; }
  .system-signature { grid-template-columns: 28px 1fr; }
  .system-signature em { display: none; }
}
@media (max-width: 560px) {
  .tech-topline { margin-bottom: 22px; font-size: 8px; }
  .trace-tech { top: 12px; left: 15px; }
  .chat-panel { box-shadow: 0 28px 70px rgba(0,0,0,.42); }
}
@media (prefers-reduced-motion: reduce) {
  .trace-scan,
  .tech-topline i,
  .product-console i,
  .chat-status::before { animation: none; }
}


/* ============ 版式修正 v4：标题两行 + 中文孤行控制 ============ */
/* 首屏标题固定为两行；不要再使用 ch 限宽，中文字体的 ch 会把标题误压成 3~5 字宽。 */
h1,
.hero-title {
  max-width: none !important;
  width: fit-content;
}
.hero-title {
  font-size: clamp(42px, 7.1vw, 92px);
  line-height: 1.14;
  letter-spacing: -.015em;
}
.hero-title__line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
.hero-title > span { color: var(--bone); }
.hero-title > em { color: var(--signal); }
.hero-title::after {
  left: calc(100% + 34px);
  right: auto;
  bottom: 10px;
}

/* 标题由浏览器做均衡换行，避免最后只剩几个字。 */
h2 {
  max-width: 18em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
}
h3,
h4,
h5,
.eyebrow,
.price-big,
.pn .v,
.chat-panel__head strong,
.chat-suggestions button b {
  text-wrap: balance;
}

/* 正文启用 pretty wrapping，现代 Chromium 会主动减少中文段落尾部孤字/孤词。 */
.hero-sub,
.lede,
.stat p,
.break-item p,
.qrow span,
.kleg .names,
.kleg .val,
.pn p,
.seg-row .note,
.prod-card p,
.closing blockquote,
.foot-grid p,
.foot-grid li,
.foot-note,
.chat-note,
.chat-bubble,
.chat-suggestions button small {
  text-wrap: pretty;
}

/* 适当放宽正文承载区域，让中文不要被窄列切成碎行。 */
.hero-sub { max-width: 35em; }
.lede { max-width: 38em; }
.stat p { max-width: 28em; }
.break-item p { max-width: 50em; }
.prod-card p { max-width: 30em; }
.foot-grid p { max-width: 34em; }

/* 收尾金句也做均衡，而不是强制短第二行。 */
.closing blockquote {
  max-width: 15em;
  text-wrap: balance;
}

/* 中等屏幕：保持首屏仍然严格两行。 */
@media (max-width: 760px) {
  .hero-title {
    font-size: clamp(40px, 10.8vw, 68px);
  }
  .hero-title::after { display: none; }
  h2 { max-width: 100%; }
}

/* 小屏防止 7 个汉字的第二行因为内边距再次被挤开。 */
@media (max-width: 380px) {
  .hero-title { font-size: 38px; }
  .hero .wrap { padding-left: 18px; padding-right: 18px; }
}
\n\n/* ============ AI 连接状态 ============ */\n.chat-status {\n  position: relative;\n  padding-left: 25px;\n}\n.chat-status::before {\n  content: "";\n  position: absolute;\n  left: 10px;\n  top: 50%;\n  width: 7px;\n  height: 7px;\n  margin-top: -3.5px;\n  border-radius: 50%;\n  background: #81918A;\n  box-shadow: 0 0 0 5px rgba(129,145,138,.08);\n}\n.chat-status.online::before {\n  background: #78C8A8;\n  box-shadow: 0 0 0 5px rgba(120,200,168,.10), 0 0 16px rgba(120,200,168,.38);\n}\n.chat-status.warning::before {\n  background: #E9A33B;\n  box-shadow: 0 0 0 5px rgba(233,163,59,.10);\n}\n.chat-status.offline::before {\n  background: #A86A68;\n  box-shadow: 0 0 0 5px rgba(168,106,104,.10);\n}\n.chat-row.system-tip .chat-bubble {\n  background: linear-gradient(180deg, #F3EEE2, #ECE5D7);\n  color: #53615A;\n  border: 1px solid rgba(162,68,77,.10);\n  font-size: 12.8px;\n}\n