/* ==========================================================================
   电选 · DIANXUAN  —  设计系统
   白 + 蓝 / iOS 质感 / 大圆角 / 半透明材质 / 克制的动效
   ========================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --blue: #0a6cff;
  --blue-strong: #0057e0;
  --blue-deep: #0b3f96;
  --blue-ink: #0a2a5e;
  --blue-50: #eff5ff;
  --blue-100: #dbe9ff;
  --blue-200: #bcd7ff;

  --ink: #0b1220;
  --ink-2: #33415a;
  --ink-3: #66748c;
  --ink-4: #93a0b4;
  --line: #e5eaf3;
  --line-2: #d7dfec;

  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --white: #ffffff;
  --green: #13a06b;
  --red: #e0483d;
  --amber: #b7791f;

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.04), 0 10px 30px -18px rgba(11, 18, 32, 0.18);
  --shadow-2: 0 2px 10px rgba(11, 18, 32, 0.05), 0 30px 60px -30px rgba(11, 18, 32, 0.28);
  --shadow-blue: 0 10px 30px -12px rgba(10, 108, 255, 0.45);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro TC", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 60px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% 0 auto 0;
  height: 720px;
  background:
    radial-gradient(60% 60% at 20% 0%, rgba(10, 108, 255, 0.11), transparent 70%),
    radial-gradient(50% 50% at 85% 5%, rgba(120, 170, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 750;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 720;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: -0.015em;
  font-weight: 650;
}

::selection {
  background: var(--blue-100);
}

:focus-visible {
  outline: 3px solid rgba(10, 108, 255, 0.35);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  transition: top 0.2s var(--ease);
}

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

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.container-narrow {
  width: min(920px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head p {
  max-width: 520px;
  color: var(--ink-3);
  margin-top: 12px;
  font-size: 0.98rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.muted {
  color: var(--ink-3);
}

.small {
  font-size: 0.86rem;
}

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

.nowrap {
  white-space: nowrap;
}

/* ------------------------------ Nav ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(247, 249, 253, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  box-shadow: 0 8px 24px -20px rgba(11, 18, 32, 0.45);
  background: rgba(250, 252, 255, 0.86);
}

.nav-inner {
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #1b84ef 0%, #0f68dc 48%, #0b52c4 100%);
  box-shadow: 0 6px 16px -8px rgba(10, 108, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 720;
  letter-spacing: 0.06em;
}

.brand-text em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--ink-4);
  margin-top: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 560;
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover {
  background: rgba(10, 108, 255, 0.07);
  color: var(--blue);
}

.nav-links a.is-active {
  color: var(--blue);
  background: rgba(10, 108, 255, 0.1);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(11, 18, 32, 0.05);
}

.icon-btn:active {
  transform: scale(0.92);
}

.nav-menu-btn {
  display: none;
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-border: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  border-color: #c3cede;
  box-shadow: var(--shadow-1);
}

.btn:active {
  transform: scale(0.975);
}

.btn-primary {
  --btn-bg: linear-gradient(180deg, #2f8aff 0%, var(--blue) 55%, #0061e8 100%);
  --btn-fg: #fff;
  --btn-border: transparent;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px -12px rgba(10, 108, 255, 0.6);
  border-color: transparent;
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.7);
}

.btn-quiet {
  --btn-bg: transparent;
  --btn-border: transparent;
  color: var(--blue);
  padding-inline: 12px;
}

.btn-quiet:hover {
  background: rgba(10, 108, 255, 0.07);
  box-shadow: none;
}

.btn-sm {
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 28px;
  border-radius: 16px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;
}

/* ------------------------------ Chips / Segmented ------------------------------ */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--blue-200);
  color: var(--blue);
}

.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(10, 108, 255, 0.8);
}

.chip-tag {
  cursor: default;
  font-size: 11.5px;
  padding: 4px 10px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-color: transparent;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 12px;
  background: rgba(11, 18, 32, 0.06);
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 580;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.segmented button.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 18, 32, 0.12), 0 4px 12px -6px rgba(11, 18, 32, 0.2);
}

/* ------------------------------ Forms ------------------------------ */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.12);
}

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

.input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--white);
  min-width: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.12);
}

.input-group input {
  flex: 1;
  width: 0;
  border: 0;
  background: transparent;
  padding: 9px 0;
  font: inherit;
  font-size: 15px;
  min-width: 0;
}

.input-group input:focus {
  outline: none;
}

.input-suffix {
  font-size: 13px;
  color: var(--ink-4);
  white-space: nowrap;
}

/* 滑块 */
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--fill, 50%), var(--line) var(--fill, 50%));
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.12);
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.25);
  transition: transform 0.15s var(--ease);
}

.range:active::-webkit-slider-thumb {
  transform: scale(1.08);
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}

.range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.12);
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.25);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  font-size: 12.5px;
  font-weight: 560;
  color: var(--ink-2);
}

.hero-badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.hero h1 {
  margin: 22px 0 20px;
}

.hero h1 .accent {
  background: linear-gradient(96deg, var(--blue) 0%, #4d9bff 55%, #7cbcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 540px;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.72;
  color: var(--ink-3);
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat-value {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-value small {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 3px;
}

.stat-label {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* Hero 选型卡 */
.selector {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 30px 80px -40px rgba(10, 60, 140, 0.4), 0 2px 10px rgba(11, 18, 32, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.selector::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(11, 18, 32, 0.05);
  pointer-events: none;
}

.selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.selector-head h3 {
  font-size: 16px;
  font-weight: 680;
}

.selector-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 600;
}

.selector-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 160, 107, 0.15);
}

.selector-step {
  margin-bottom: 16px;
}

.selector-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.selector-label span {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.selector .segmented {
  display: flex;
  width: 100%;
}

.selector .segmented button {
  flex: 1;
  padding: 9px 6px;
  font-size: 13px;
}

.selector-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.selector-foot .hint {
  font-size: 11.5px;
  color: var(--ink-4);
  line-height: 1.5;
}

/* ------------------------------ Section: buyers ------------------------------ */
.buyers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.buyer-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}

.buyer-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 108, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.buyer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--blue-100);
}

.buyer-card:hover::after {
  opacity: 1;
}

.buyer-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 18px;
}

.buyer-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.buyer-audience {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.buyer-card p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.65;
  min-height: 48px;
}

.buyer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 560;
}

.buyer-meta .arrow {
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.buyer-card:hover .buyer-meta .arrow {
  transform: translateX(4px);
}

/* ------------------------------ Product cards ------------------------------ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

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

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--blue-100);
}

.pc-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #f3f7ff 0%, #e9f0fb 100%);
  overflow: hidden;
}

.pc-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-art > svg {
  width: 100%;
  height: 100%;
}

.pc-art.has-photo {
  background: #fff;
}

.pc-art.has-photo > img {
  object-fit: contain;
  padding: 10px;
}

.pc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.badge-blue {
  background: rgba(10, 108, 255, 0.92);
  color: #fff;
  border-color: transparent;
}

.badge-soft {
  background: rgba(11, 18, 32, 0.55);
  color: #fff;
  border-color: transparent;
}

.compare-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 18, 32, 0.07);
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.2s var(--ease);
}

.compare-check:hover {
  border-color: var(--blue-200);
  color: var(--blue);
}

.compare-check.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(10, 108, 255, 0.9);
}

.pc-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.pc-name {
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -0.02em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-name a:hover {
  color: var(--blue);
}

.pc-tagline {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pc-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-4);
  margin-left: 3px;
}

.price-note {
  font-size: 11.5px;
  color: var(--ink-4);
  margin-top: 2px;
}

.pc-score {
  text-align: right;
  font-size: 12px;
  color: var(--ink-3);
}

.pc-score b {
  display: block;
  font-size: 17px;
  color: var(--blue);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

/* 评分环 */
.ring {
  --p: 0;
  --size: 62px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) calc(var(--p) * 1%), var(--line) 0);
  position: relative;
  flex-shrink: 0;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--white);
}

.ring span {
  position: relative;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

/* ------------------------------ Art ------------------------------ */
.art-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(155deg, #f2f7ff 0%, #e5eefb 55%, #dbe8fa 100%);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.art-panel > svg,
.art-panel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-panel.has-photo {
  background: #fff;
}

.art-panel.has-photo > img {
  object-fit: contain;
  padding: 14px;
}

.art-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ------------------------------ Compare teaser ------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
}

.check-item i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mini-compare {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.mini-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mini-compare th,
.mini-compare td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.mini-compare thead th {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-soft);
}

.mini-compare td:first-child,
.mini-compare th:first-child {
  color: var(--ink-3);
  font-weight: 560;
  width: 32%;
}

.mini-compare .best {
  color: var(--blue);
  font-weight: 680;
  background: rgba(10, 108, 255, 0.05);
}

.mini-compare tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------ Steps ------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  counter-increment: step;
}

.step-card::before {
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-50);
  padding: 4px 9px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ------------------------------ FAQ ------------------------------ */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 48px 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-4);
  transition: color 0.2s var(--ease), transform 0.25s var(--ease);
}

.faq-item[open] summary {
  color: var(--blue);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--blue);
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 48px 20px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ------------------------------ About ------------------------------ */
.about-lead {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--ink-3);
}

.formula-block {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  color: var(--blue-ink);
  overflow-x: auto;
}

.formula-block + .formula-block {
  margin-top: 12px;
}

.about-note {
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.8;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.privacy-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.55;
}

/* ------------------------------ Data band ------------------------------ */
.band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(130deg, #0b3f96 0%, #0a6cff 48%, #3f9dff 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(10, 60, 140, 0.8);
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  mask-image: linear-gradient(120deg, #000, transparent 70%);
}

.band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.band p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
  max-width: 420px;
  font-size: 15px;
}

.band-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.band-stat {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.band-stat b {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.band-stat span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------ CTA ------------------------------ */
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  align-items: center;
}

.cta-card h2 {
  max-width: 460px;
}

.cta-card p {
  color: var(--ink-3);
  margin-top: 12px;
  max-width: 440px;
}

.catalog-cta {
  margin: 48px auto 56px;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ------------------------------ 需求登记页 ------------------------------ */
.request-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.request-head {
  text-align: center;
}

.request-head .breadcrumb {
  justify-content: center;
}

.request-head p {
  margin: 12px auto 0;
  max-width: 640px;
}

.request-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-1);
  display: grid;
  gap: 28px;
}

.request-section {
  display: grid;
  gap: 10px;
}

.request-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 650;
}

.request-label small {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-4);
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.request-card .input,
.request-card .textarea {
  padding: 14px 16px;
  font-size: 15.5px;
  border-radius: 14px;
}

.request-card .textarea {
  min-height: 120px;
}

.request-card .chip {
  padding: 9px 16px;
  font-size: 13.5px;
}

.request-actions .btn-primary {
  min-width: 220px;
  padding: 15px 30px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.request-aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: static;
}

.request-aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
}

.request-aside-card h3 {
  font-size: 14.5px;
  margin-bottom: 10px;
}

.request-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.request-steps li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.request-steps b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.share-box {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.share-box .input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}

.request-success {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
}

.request-success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.request-success h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.request-success p {
  color: var(--ink-3);
}

.request-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .request-aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-card {
    padding: 22px 18px;
  }
}

/* ------------------------------ Page head ------------------------------ */
.page-head {
  padding: clamp(36px, 5vw, 56px) 0 24px;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-head p {
  color: var(--ink-3);
  max-width: 640px;
  margin-top: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-4);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

/* ------------------------------ Catalog ------------------------------ */
.catalog-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  padding: 14px 0;
  background: rgba(245, 247, 251, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
  margin-bottom: 28px;
}

.catalog-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 230px;
  flex: 1;
  max-width: 340px;
  color: var(--ink-4);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.searchbox:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.1);
}

.searchbox input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}

.searchbox input:focus {
  outline: none;
}

.result-count {
  font-size: 13px;
  color: var(--ink-3);
  margin-left: auto;
  white-space: nowrap;
}

.catalog-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.empty {
  padding: 72px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-2);
  background: rgba(255, 255, 255, 0.6);
}

.empty h3 {
  margin-bottom: 6px;
}

.empty p {
  color: var(--ink-3);
  font-size: 14px;
}

/* ------------------------------ Product detail ------------------------------ */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.detail-info .brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-4);
  margin-bottom: 12px;
}

.detail-info h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

.detail-tagline {
  color: var(--ink-3);
  font-size: 16px;
  margin-top: 10px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 8px;
}

.detail-price .price {
  font-size: 30px;
}

.price-hint {
  font-size: 12px;
  color: var(--ink-4);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.highlight {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.highlight span {
  display: block;
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.highlight b {
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.detail-block {
  margin-top: clamp(40px, 6vw, 72px);
}

.block-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.block-title h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.block-title span {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.prose p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
}

.prose p + p {
  margin-top: 14px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-head h3 {
  font-size: 16px;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cost-cell {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.cost-cell span {
  font-size: 11.5px;
  color: var(--ink-3);
}

.cost-cell b {
  display: block;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.02em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.formula {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-ink);
  font-size: 12.5px;
  font-family: var(--mono);
}

.score-list {
  display: grid;
  gap: 12px;
}

.score-row {
  display: grid;
  grid-template-columns: 74px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.score-track {
  height: 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6cb0ff, var(--blue));
  transition: width 0.8s var(--ease);
}

.score-row b {
  text-align: right;
  color: var(--ink);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.list-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.list-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 14px;
}

.list-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.list-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.list-pro li::before {
  background: var(--green);
}

.list-con li::before {
  background: var(--red);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table tr {
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child {
  border-bottom: 0;
}

.spec-table td {
  padding: 13px 4px;
}

.spec-table td:first-child {
  color: var(--ink-3);
  width: 42%;
}

.spec-table td:last-child {
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.tip-list {
  display: grid;
  gap: 10px;
  counter-reset: tip;
}

.tip {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.tip::before {
  counter-increment: tip;
  content: counter(tip);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ------------------------------ Compare page ------------------------------ */
.compare-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.compare-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
  font-size: 13.5px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
  border-bottom: 1px solid var(--line-2);
  padding-top: 20px;
  padding-bottom: 16px;
  vertical-align: bottom;
}

.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 3;
  width: 148px;
  min-width: 148px;
  color: var(--ink-3);
  font-weight: 560;
  border-right: 1px solid var(--line);
}

.compare-table thead th:first-child {
  z-index: 4;
  background: var(--white);
}

.compare-col {
  min-width: 190px;
}

.compare-col-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compare-col-head .name {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}

.compare-col-head .brand {
  font-size: 11.5px;
  color: var(--ink-4);
}

.remove-col {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--ink-4);
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
}

.remove-col:hover {
  color: var(--red);
}

.cell-best {
  background: rgba(10, 108, 255, 0.055);
}

.cell-best::after {
  content: "最优";
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-100);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: 1px;
  letter-spacing: 0.05em;
}

.cell-worst {
  color: var(--ink-4);
}

.total-row td {
  background: var(--bg-soft);
  font-weight: 700;
}

.total-row .total-score {
  font-size: 20px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.compare-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.compare-tools .range-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  flex: 1;
}

.compare-tools label {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.elec-value {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  min-width: 66px;
  text-align: right;
}

.compare-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.picker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.picker-item:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.picker-item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ------------------------------ Wizard ------------------------------ */
.wizard-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.wizard-aside {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.wizard-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
  margin: 14px 0 20px;
}

.wizard-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6cb0ff, var(--blue));
  transition: width 0.45s var(--ease);
}

.wizard-steps {
  display: grid;
  gap: 4px;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-4);
  transition: all 0.2s var(--ease);
}

.wizard-step b {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  background: var(--bg-soft);
  color: var(--ink-3);
  font-weight: 650;
}

.wizard-step.is-active {
  color: var(--ink);
  background: var(--blue-50);
}

.wizard-step.is-active b {
  background: var(--blue);
  color: #fff;
}

.wizard-step.is-done b {
  background: var(--blue-100);
  color: var(--blue);
}

.wizard-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-1);
  min-height: 420px;
}

.wizard-main h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 8px;
}

.wizard-main .lead {
  color: var(--ink-3);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.option-card {
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-2);
  background: var(--white);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.option-card:hover {
  border-color: var(--blue-200);
  background: #fbfdff;
}

.option-card.is-active {
  border-color: var(--blue);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(10, 108, 255, 0.1);
}

.option-card b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.option-card span {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.option-grid.intent {
  grid-template-columns: repeat(3, 1fr);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.weight-list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.weight-row {
  display: grid;
  grid-template-columns: 78px 1fr 42px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.weight-row b {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  font-size: 12.5px;
}

.preset-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  transition: all 0.25s var(--ease);
}

.result-card:hover {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-1);
}

.result-card .rc-name {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.result-card .rc-reasons {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-reasons li {
  font-size: 11.5px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 3px 8px;
}

.rc-reasons li.risk {
  color: var(--amber);
  background: #fdf6e8;
}

.rc-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-50);
  padding: 2px 7px;
  border-radius: 5px;
  margin-right: 6px;
  vertical-align: 1px;
}

/* ------------------------------ Sheet / Toast / Tray ------------------------------ */
.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

body.no-scroll {
  overflow: hidden;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in 0.24s var(--ease);
}

.sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: min(86vh, 780px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 26px 26px 0 0;
  padding: 10px 24px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px -20px rgba(11, 18, 32, 0.4);
  animation: sheet-up 0.36s var(--ease-out);
}

.sheet-wide {
  width: min(880px, 100%);
}

.sheet.is-closing {
  animation: sheet-down 0.22s var(--ease) forwards;
}

.sheet-root.is-closing .sheet-backdrop {
  animation: fade-out 0.22s var(--ease) forwards;
}

.sheet-grabber {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: var(--line-2);
  margin: 4px auto 14px;
  flex-shrink: 0;
}

.sheet-head h2 {
  font-size: 19px;
}

.sheet-head p {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}

.sheet-body {
  overflow-y: auto;
  padding: 18px 0 8px;
  -webkit-overflow-scrolling: touch;
}

.sheet-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.sheet-actions .btn {
  flex: 1;
}

.sheet-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-soft);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sheet-close:hover {
  background: var(--line);
}

.toast-root {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 32px);
}

.toast {
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.9);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 12px 32px -12px rgba(11, 18, 32, 0.6);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.24s var(--ease), transform 0.28s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.toast.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-error {
  background: rgba(160, 32, 24, 0.94);
}

.toast-success {
  background: rgba(9, 110, 74, 0.94);
}

.compare-tray {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  width: min(900px, calc(100% - 32px));
  padding: 10px 12px 10px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 20px 50px -24px rgba(11, 18, 32, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: tray-up 0.34s var(--ease-out);
}

.tray-items {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.tray-items::-webkit-scrollbar {
  display: none;
}

.tray-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 12px;
  white-space: nowrap;
  color: var(--ink-2);
}

.tray-chip button {
  border: 0;
  background: transparent;
  color: var(--ink-4);
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}

.tray-chip button:hover {
  color: var(--red);
}

.tray-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tray-count {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.tray-count b {
  color: var(--blue);
  font-weight: 700;
}

/* 路由切换后会把焦点交给 main，浏览器默认的焦点框会在页面底部露出一条蓝线 */
#view:focus,
#view:focus-visible {
  outline: none;
}

/* ------------------------------ Footer ------------------------------ */
.footer {
  margin-top: clamp(40px, 7vw, 96px);
  padding: 48px 0 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.85));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  gap: 14px;
  max-width: 420px;
}

.footer-brand strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-4);
}

/* ------------------------------ States ------------------------------ */
.boot-skeleton {
  padding: 64px 0;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skeleton-line {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2f8 25%, #f6f9fd 37%, #eef2f8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  margin-bottom: 14px;
}

.skeleton-line.tall {
  height: 44px;
}

.skeleton-line.w-40 {
  width: 40%;
}

.skeleton-line.w-70 {
  width: 70%;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.skeleton-card {
  height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #eef2f8 25%, #f6f9fd 37%, #eef2f8 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

.page-error {
  padding: 80px 0;
  text-align: center;
}

.page-error h1 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.page-error p {
  color: var(--ink-3);
  margin-bottom: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------ Admin ------------------------------ */
.admin-body {
  background: var(--bg);
}

.admin-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-side .brand {
  padding: 0 8px;
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease);
}

.admin-nav button:hover {
  background: var(--bg-soft);
}

.admin-nav button.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.admin-side-foot {
  margin-top: auto;
  font-size: 11.5px;
  color: var(--ink-4);
  padding: 0 8px;
  display: grid;
  gap: 8px;
}

.admin-main {
  padding: 26px clamp(18px, 3vw, 38px) 60px;
  min-width: 0;
}

.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-top h1 {
  font-size: 1.6rem;
}

.admin-top p {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.kpi span {
  font-size: 12px;
  color: var(--ink-3);
}

.kpi b {
  display: block;
  font-size: 28px;
  font-weight: 720;
  letter-spacing: -0.03em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.kpi small {
  font-size: 11.5px;
  color: var(--ink-4);
}

.admin-panel {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-1);
}

.admin-panel h2 {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding-top: 10px;
}

.bar {
  flex: 1;
  min-width: 6px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6cb0ff, var(--blue));
  position: relative;
  transition: height 0.5s var(--ease);
}

.bar.is-zero {
  background: var(--line-2);
}

.bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--ink-4);
  white-space: nowrap;
}

.bar-chart-wrap {
  padding-bottom: 22px;
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lead-table th,
.lead-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.lead-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  font-weight: 600;
}

.lead-table tr:hover td {
  background: #fbfcfe;
}

.status-select {
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  font-size: 12px;
  background: #fff;
}

.dropzone {
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 34px 20px;
  text-align: center;
  background: #fbfcff;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.dropzone:hover,
.dropzone.is-over {
  border-color: var(--blue);
  background: var(--blue-50);
}

.dropzone b {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.dropzone span {
  font-size: 12px;
  color: var(--ink-3);
}

.upload-bars {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.upload-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.upload-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width 0.2s linear;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  position: relative;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
}

.media-card .meta {
  padding: 8px 10px;
  font-size: 10.5px;
  color: var(--ink-4);
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.media-actions {
  display: flex;
  gap: 6px;
  padding: 0 10px 10px;
}

.media-actions button {
  flex: 1;
  padding: 5px 6px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 10.5px;
  cursor: pointer;
}

.media-actions button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.media-actions button.danger:hover {
  border-color: var(--red);
  color: var(--red);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(400px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 30px;
  box-shadow: var(--shadow-2);
}

.login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.login-card p {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.admin-boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 13px;
  align-content: center;
}

.admin-boot .brand-mark {
  margin: 0 auto;
}

.tab-bar {
  display: none;
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-sub {
    max-width: 100%;
  }

  .selector {
    max-width: 540px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyers,
  .steps,
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wizard-grid {
    grid-template-columns: 1fr;
  }

  .wizard-aside {
    position: static;
  }

  .wizard-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .band-inner,
  .cta-card,
  .split {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
  }

  .admin-nav {
    grid-auto-flow: column;
  }

  .admin-side-foot {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 56px;
  }

  .container,
  .container-narrow {
    width: calc(100% - 36px);
  }

  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stats {
    gap: 20px 28px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .segment-mobile {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .grid-3,
  .product-grid,
  .grid-2,
  .buyers,
  .steps,
  .option-grid,
  .option-grid.intent {
    grid-template-columns: 1fr;
  }

  .rail {
    grid-auto-columns: 84%;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .highlight {
    padding: 10px;
  }

  .highlight b {
    font-size: 13.5px;
  }

  .cost-grid {
    grid-template-columns: 1fr;
  }

  .proscons {
    grid-template-columns: 1fr;
  }

  .result-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .result-card .result-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
  }

  .wizard-steps {
    display: none;
  }

  .wizard-main {
    padding: 20px 16px;
  }

  .compare-tray {
    left: 8px;
    right: 8px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto;
    transform: none;
    padding: 9px 10px 9px 12px;
  }

  .tray-actions .btn {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .lead-form .row {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 18px 14px 50px;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .lead-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .sheet {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .selector-grid {
    grid-template-columns: 1fr;
  }

  .selector-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .selector-foot .hint {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-badge {
    font-size: 11.5px;
  }

  .highlights {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    padding: 11px 18px;
  }
}

/* ------------------------------ Motion ------------------------------ */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes sheet-up {
  from {
    opacity: 0.6;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheet-down {
  to {
    opacity: 0.5;
    transform: translateY(100%);
  }
}

@keyframes tray-up {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes shimmer {
  to {
    background-position: -400% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
