/* =========================================================
   邑企标 · 产品宣传微站
   视觉：陈皮橙 + 陈化棕 + 米白 + 墨绿
   ========================================================= */

/* 自托管子集字体：仅包含本站用到的字符，避免依赖外部字体服务 */
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/serif-600.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/serif-700.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sans-600.woff2") format("woff2");
}

:root {
  --orange: #C46A1B;
  --orange-bright: #E08A35;
  --orange-deep: #9E4F10;
  --orange-soft: #F3DFC6;
  --brown: #5C3A21;
  --brown-deep: #2B2118;
  --green: #1E3A2F;
  --green-soft: #2E5142;
  --cream: #F6EFE3;
  --paper: #FBF7EF;
  --white: #FFFDF8;
  --ink: #2B2118;
  --muted: #7A6A58;
  --muted-light: #A08C74;
  --line: rgba(92, 58, 33, 0.14);
  --line-strong: rgba(92, 58, 33, 0.28);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow-sm: 0 8px 24px rgba(92, 58, 33, 0.08);
  --shadow-md: 0 20px 50px rgba(92, 58, 33, 0.12);
  --shadow-lg: 0 36px 90px rgba(43, 33, 24, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--orange);
  color: var(--white);
}

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

a {
  color: inherit;
}

button {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

section[id],
main[id] {
  scroll-margin-top: 92px;
}

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease,
    border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-lg {
  padding: 15px 27px;
  font-size: 14px;
}

.btn-solid {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 26px rgba(196, 106, 27, 0.28);
}

.btn-solid:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(196, 106, 27, 0.3);
}

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

.btn-ghost:hover {
  background: rgba(92, 58, 33, 0.06);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--brown-deep);
  border-color: rgba(246, 239, 227, 0.4);
}

.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-cream {
  background: var(--cream);
  color: var(--brown-deep);
  box-shadow: 0 14px 32px rgba(43, 33, 24, 0.18);
}

.btn-cream:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background-color 0.3s ease,
    border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(251, 247, 239, 0.985);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(196, 106, 27, 0.24);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.18em;
}

.brand-type small {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav > a {
  position: relative;
  font-size: 13.5px;
  color: var(--brown);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--orange);
  transition: right 0.3s var(--ease);
}

.nav > a:hover {
  color: var(--orange-deep);
}

.nav > a:hover::after {
  right: 0;
}

.nav-cta {
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 247, 239, 0.7);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 90;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--brown);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 86px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 920px;
  height: 920px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 138, 53, 0.22), transparent 62%);
}

.hero-glow::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -420px;
  top: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 47, 0.08), transparent 68%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(92, 58, 33, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 58, 33, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 38%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 38%, #000 0%, transparent 72%);
}

.hero-code {
  position: absolute;
  right: 5%;
  top: 13%;
  display: grid;
  grid-template-columns: repeat(3, 9px);
  gap: 9px;
  opacity: 0.32;
}

.hero-code i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--brown);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-code i.is-empty {
  opacity: 0;
  transform: scale(0.4);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(196, 106, 27, 0.14);
}

.hero h1 {
  margin: 22px 0 24px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  position: relative;
  color: var(--orange);
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: 6%;
  height: 10px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(224, 138, 53, 0.3), rgba(224, 138, 53, 0.05));
  transform: skewX(-12deg);
}

.hero-lead {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.65;
  color: var(--brown);
}

.hero-sub {
  max-width: 430px;
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  font-size: 10.5px;
  color: var(--muted);
}

.hero-chips li::before {
  content: "·";
  margin-right: 5px;
  color: var(--orange);
  font-weight: 700;
}

/* ---------- 手机样机 ---------- */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
}

.hero-halo {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 138, 53, 0.24), rgba(246, 239, 227, 0) 68%);
  filter: blur(8px);
}

.hero-halo::before,
.hero-halo::after {
  content: "";
  position: absolute;
  inset: -26px;
  border: 1px solid rgba(196, 106, 27, 0.16);
  border-radius: 50%;
}

.hero-halo::after {
  inset: -58px;
  border-color: rgba(196, 106, 27, 0.08);
}

.phone {
  position: relative;
  width: 318px;
  height: 656px;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(150deg, #3a2a1e, #1d1611 60%);
  box-shadow: 0 40px 80px rgba(43, 33, 24, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  flex: none;
}

.phone::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 128px;
  width: 3px;
  height: 54px;
  border-radius: 3px;
  background: #4a3626;
}

.phone::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 158px;
  width: 3px;
  height: 76px;
  border-radius: 3px;
  background: #4a3626;
}

.phone-notch {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 3;
  width: 106px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1d1611;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 41px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}

.status-icons {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}

.status-icons i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}

.status-icons i:nth-child(1) {
  height: 5px;
}

.status-icons i:nth-child(2) {
  height: 8px;
}

.status-icons i:nth-child(3) {
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ink) 70%, transparent 70%);
  border: 1px solid var(--ink);
}

.mini-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 7px;
  font-size: 10px;
  color: var(--muted);
  flex: none;
}

.mini-topbar strong {
  color: var(--ink);
  font-size: 11px;
}

.mini-back {
  font-size: 20px;
  line-height: 1;
  color: var(--brown);
}

.mini-more {
  letter-spacing: 1px;
  font-size: 12px;
}

.product-visual {
  position: relative;
  margin: 2px 13px 0;
  height: 204px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #fff6e6, #f1d8b4 72%);
  border: 1px solid rgba(92, 58, 33, 0.08);
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.55), transparent 46%);
  pointer-events: none;
}

.product-visual img {
  width: 78%;
  filter: drop-shadow(0 16px 18px rgba(92, 58, 33, 0.18));
}

.demo-flag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.5);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.seal-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(30, 58, 47, 0.88);
  color: #f6efe3;
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.seal-chip span {
  font-size: 9px;
}

.product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px 0;
}

.product-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
}

.product-head p {
  margin: 2px 0 0;
  font-size: 9.5px;
  color: var(--muted);
}

.mini-verified {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 58, 47, 0.08);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 16px 0;
}

.product-tags span {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(196, 106, 27, 0.09);
  color: var(--orange-deep);
  font-size: 8px;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 9px 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.product-meta div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  background: var(--white);
}

.product-meta span {
  font-size: 7.5px;
  color: var(--muted);
}

.product-meta b {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cred-strip {
  display: flex;
  justify-content: space-between;
  margin: 9px 16px 0;
  padding: 7px 4px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.cred-strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 7.5px;
  color: var(--muted);
}

.cred-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(196, 106, 27, 0.09);
  color: var(--orange-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.mini-cta {
  margin: auto 16px 13px;
  padding: 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(92, 58, 33, 0.12);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 42px rgba(92, 58, 33, 0.14);
  animation: floaty 6s ease-in-out infinite;
}

.float-check {
  left: -8px;
  top: 124px;
}

.float-qr {
  right: -12px;
  bottom: 104px;
  animation-delay: -3s;
}

.float-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f4ec;
  color: #2f7a4f;
  font-size: 13px;
  font-weight: 700;
}

.float-card strong {
  display: block;
  font-size: 10.5px;
  line-height: 1.3;
}

.float-card small {
  display: block;
  margin-top: 1px;
  font-size: 8.5px;
  color: var(--muted);
}

.float-qr img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.hero-note {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- 信任条 ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 227, 0.52);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}

.trust-inner div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.trust-inner div:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-inner b {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.trust-inner span {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  padding: clamp(76px, 9vw, 126px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.section-kicker span {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.section-head h2 {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-lead {
  max-width: 590px;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.section-head-light h2 {
  color: var(--cream);
}

.section-head-light .section-kicker {
  color: #b7a18a;
}

.section-head-light .section-lead {
  color: #c9b49c;
}

/* ---------- 三笔账 ---------- */
.pain {
  background: linear-gradient(180deg, var(--paper), #f8f1e4);
}

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

.pain-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--brown);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 253, 248, 0.68);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pain-index {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.pain-icon {
  width: 44px;
  height: 44px;
  margin: 22px 0 18px;
  color: var(--brown);
}

.pain-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
}

.pain-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.pain-note {
  margin: 36px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--brown);
}

/* ---------- 五件事 ---------- */
.capabilities {
  background: var(--cream);
}

.lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.lifecycle::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.cap-card {
  position: relative;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 106, 27, 0.34);
  box-shadow: var(--shadow-sm);
}

.cap-index {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--orange);
}

.cap-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: var(--orange-deep);
}

.cap-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cap-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
}

.cap-card h3 span {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cap-card p {
  margin: 0 0 15px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cap-tags li {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  color: var(--brown);
  white-space: nowrap;
}

.cap-note {
  margin: 34px 0 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--brown);
}

/* ---------- 标签演示 ---------- */
.label-section {
  overflow: hidden;
  background: var(--brown-deep);
  color: var(--cream);
}

.label-section::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  top: -300px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 106, 27, 0.22), transparent 64%);
  pointer-events: none;
}

.label-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 239, 227, 0.18), transparent);
}

.label-workbench {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.control-group {
  margin-bottom: 20px;
}

.control-label {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b7a18a;
}

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.seg {
  border: 0;
  border-radius: 999px;
  padding: 7px 15px;
  background: transparent;
  color: #d8c8b4;
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.seg:hover {
  color: var(--cream);
}

.seg.is-active {
  background: var(--cream);
  color: var(--brown-deep);
  font-weight: 600;
}

.segmented-sm .seg {
  padding: 6px 9px;
  font-size: 10.5px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.field > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #b7a18a;
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font: inherit;
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:hover,
.field select:hover {
  border-color: rgba(246, 239, 227, 0.3);
}

.field input:focus,
.field select:focus {
  border-color: var(--orange-bright);
  background: rgba(255, 255, 255, 0.08);
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row .field {
  min-width: 0;
}

.label-hint {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #c9b49c;
  transition: color 0.2s ease;
}

.label-hint.is-error {
  color: #f0a27a;
}

.control-foot {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.8;
  color: #9c8871;
}

.label-preview-wrap {
  min-width: 0;
}

.print-bed {
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid rgba(246, 239, 227, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #3a2a1e, #241b15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.3);
}

.demo-label {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 72 / 50;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 9.5px;
  line-height: 1.4;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.label-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(92, 58, 33, 0.26);
}

.label-brand {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
}

.label-brand span {
  margin-left: 7px;
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.label-geo {
  padding: 1px 6px;
  border: 1px solid var(--orange);
  border-radius: 2px;
  color: var(--orange-deep);
  font-size: 7.5px;
  white-space: nowrap;
}

.label-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0 8px;
  padding-right: 0;
}

.label-title {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.label-grade {
  flex: none;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.label-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  padding-right: 0;
}

.label-line {
  display: flex;
  gap: 4px;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.45;
  white-space: nowrap;
}

.label-line span {
  flex: none;
  color: var(--muted);
}

.label-line b {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
}

.label-bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.label-standard {
  max-width: 60%;
  font-size: 7.5px;
  line-height: 1.5;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.label-qr {
  width: 62px;
  height: 62px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.label-qr img {
  width: 100%;
  height: 100%;
}

.label-watermark {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right center;
  font-size: 7px;
  letter-spacing: 0.32em;
  color: rgba(92, 58, 33, 0.2);
}

.label-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(43, 33, 24, 0.86);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(13px, 2.4vw, 18px);
  letter-spacing: 0.08em;
  text-align: center;
  backdrop-filter: blur(2px);
}

.label-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 0 4px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #9c8871;
}

/* ---------- 后台现场 ---------- */
.workspace {
  background: var(--paper);
}

.workspace-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.ws-tab {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws-tab:hover {
  color: var(--brown);
}

.ws-tab.is-active {
  background: var(--brown-deep);
  color: var(--cream);
  font-weight: 600;
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(92, 58, 33, 0.12);
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8f1e4;
}

.app-dots {
  display: inline-flex;
  gap: 5px;
}

.app-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(92, 58, 33, 0.22);
}

.app-dots i:first-child {
  background: rgba(196, 106, 27, 0.7);
}

.app-title {
  font-size: 11.5px;
  font-weight: 600;
}

.app-badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(196, 106, 27, 0.1);
  color: var(--orange-deep);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.ws-panel {
  display: none;
  padding: 26px;
}

.ws-panel.is-active {
  display: block;
}

.ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ledger-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
}

.ledger-head span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}

.mini-btn {
  flex: none;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mini-btn:hover {
  background: var(--cream);
}

.ledger-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 18px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.ledger-tab {
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ledger-tab:hover {
  color: var(--brown);
}

.ledger-tab.is-active {
  background: rgba(196, 106, 27, 0.1);
  color: var(--orange-deep);
  font-weight: 600;
}

.ledger-caption {
  margin: 10px 0 12px;
  font-size: 10.5px;
  color: var(--muted);
}

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

.table-hint {
  display: none;
  margin: -2px 0 8px;
  font-size: 9.5px;
  color: var(--muted);
}

.ledger-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12px;
}

.ledger-table th {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-strong);
  background: #fbf7ef;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.ledger-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ledger-table tbody tr {
  transition: background-color 0.2s ease;
}

.ledger-table tbody tr:hover {
  background: #fbf7ef;
}

.ledger-table td:nth-child(4),
.ledger-table td:nth-child(5),
.ledger-table td:nth-child(6) {
  font-variant-numeric: tabular-nums;
}

.ledger-table td.is-empty {
  color: var(--muted-light);
}

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

.ledger-sum {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.ledger-sum b {
  margin: 0 3px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--orange-deep);
}

.ledger-note {
  max-width: 380px;
  margin: 0;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted-light);
  text-align: right;
}

/* 货柜 */
.container-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 26px;
}

.tree {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.tree-root {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.tree-root span {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}

.tree-root-second {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.tree-group {
  margin: 16px 0 5px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}

.tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 3px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tree-item span:last-child {
  flex: none;
  font-size: 9.5px;
  color: var(--muted);
}

.tree-item:hover {
  background: rgba(92, 58, 33, 0.05);
}

.tree-item.is-active {
  background: rgba(196, 106, 27, 0.1);
  color: var(--orange-deep);
  font-weight: 600;
}

.tree-item.is-active span:last-child {
  color: var(--orange-deep);
}

.container-detail {
  min-width: 0;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-kicker {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.detail-head h3 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 22px;
}

.status-pill {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e8f4ec;
  color: #2f7a4f;
  font-size: 9px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.detail-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #fbf7ef;
}

.detail-grid span {
  font-size: 8.5px;
  color: var(--muted);
}

.detail-grid b {
  font-size: 11.5px;
  font-weight: 600;
}

.timeline-mini {
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
}

.timeline-mini-title {
  margin: 0 0 10px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

.mini-event {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 5px 0;
}

.mini-event span {
  font-family: var(--serif);
  font-size: 10px;
  color: var(--orange-deep);
}

.mini-event p {
  margin: 0;
  font-size: 10.5px;
  color: var(--muted);
}

.detail-note {
  margin: 14px 0 0;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted-light);
}

/* 扫码统计 */
.stats-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.chart-card,
.rank-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbf7ef;
}

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

.chart-head strong {
  font-size: 12px;
}

.chart-head span {
  font-size: 9.5px;
  color: var(--muted);
}

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

.bar-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
  min-width: 0;
}

.bar-col span {
  font-size: 8px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.bar-col i {
  display: block;
  width: 100%;
  max-width: 34px;
  height: var(--h);
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange));
}

.bar-col small {
  font-size: 8.5px;
  color: var(--muted);
}

.chart-note {
  margin: 12px 0 0;
  font-size: 9px;
  color: var(--muted-light);
}

.stats-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 78px 1fr 32px;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
}

.rank-row span {
  overflow: hidden;
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row i {
  display: block;
  width: var(--w);
  height: 5px;
  border-radius: 999px;
  background: var(--orange-soft);
}

.rank-row b {
  font-size: 9.5px;
  font-weight: 600;
  text-align: right;
}

.rank-list {
  display: grid;
  grid-template-columns: 16px 1fr 28px;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-top: 1px dashed var(--line);
}

.rank-list:first-of-type {
  border-top: 0;
}

.rank-list span {
  font-family: var(--serif);
  font-size: 10px;
  color: var(--orange);
}

.rank-list p {
  overflow: hidden;
  margin: 0;
  font-size: 10.5px;
  color: var(--brown);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-list b {
  font-size: 10px;
  text-align: right;
}

/* ---------- 一天 ---------- */
.day {
  background: linear-gradient(180deg, var(--cream), #f3e8d6);
}

.day-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 74px;
  width: 1px;
  background: var(--line-strong);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 25px;
  padding-bottom: 27px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 69px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: var(--cream);
}

.timeline time {
  padding-top: 1px;
  font-family: var(--serif);
  font-size: 12.5px;
  color: var(--orange-deep);
  letter-spacing: 0.03em;
}

.timeline h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 19px;
}

.timeline p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.today-card {
  position: sticky;
  top: 104px;
  padding: 26px;
  border-radius: 20px;
  background: var(--brown-deep);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.today-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 90% 0%, rgba(224, 138, 53, 0.24), transparent 46%);
  pointer-events: none;
}

.today-kicker {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #b7a18a;
}

.today-date {
  margin: 4px 0 22px;
  font-family: var(--serif);
  font-size: 14px;
}

.today-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(246, 239, 227, 0.14);
}

.today-stat strong {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: #e9a153;
  font-variant-numeric: tabular-nums;
}

.today-stat span {
  font-size: 11px;
  color: #c9b49c;
}

.today-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 239, 227, 0.14);
  font-size: 9.5px;
  color: #9c8871;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e9a153;
  box-shadow: 0 0 0 0 rgba(233, 161, 83, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 161, 83, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(233, 161, 83, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 161, 83, 0);
  }
}

/* ---------- 消费者 ---------- */
.consumer {
  overflow: hidden;
  background: var(--green);
  color: var(--cream);
}

.consumer::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  left: -260px;
  bottom: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 138, 53, 0.13), transparent 66%);
  pointer-events: none;
}

.consumer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

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

.consumer-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid rgba(246, 239, 227, 0.14);
}

.consumer-list b {
  font-family: var(--serif);
  font-size: 15px;
  color: #e9a153;
}

.consumer-list span {
  font-size: 12.5px;
  line-height: 1.85;
  color: #c9b49c;
}

.consumer-note {
  margin: 22px 0 0;
  font-size: 10.5px;
  color: #9c8871;
}

.consumer-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-consumer {
  width: 306px;
  height: 632px;
  background: linear-gradient(150deg, #14251d, #0d1812 62%);
}

.phone-consumer .phone-screen {
  background: var(--paper);
  color: var(--ink);
}

.scan-state {
  position: absolute;
  inset: 28px 0 0;
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px;
  background: var(--paper);
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s var(--ease);
}

.scan-state.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 10px;
  font-size: 10px;
  font-weight: 600;
}

.scan-demo {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.06);
  color: var(--muted);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.scan-product {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.scan-product img {
  width: 70px;
  height: 70px;
  flex: none;
  border-radius: 9px;
  background: radial-gradient(circle at 50% 40%, #fff6e6, #f1d8b4);
  object-fit: contain;
  padding: 5px;
}

.scan-product h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
}

.scan-product p {
  margin: 2px 0 0;
  font-size: 8px;
  color: var(--muted);
}

.scan-product-small img {
  width: 58px;
  height: 58px;
}

.scan-tags {
  display: flex;
  gap: 4px;
  margin-top: 5px;
}

.scan-tags span {
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(196, 106, 27, 0.09);
  color: var(--orange-deep);
  font-size: 7px;
}

.scan-meta {
  display: grid;
  gap: 0;
  margin-top: 9px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.scan-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
}

.scan-meta div:first-child {
  border-top: 0;
}

.scan-meta span {
  font-size: 8px;
  color: var(--muted);
}

.scan-meta b {
  font-size: 8.5px;
  font-weight: 600;
}

.nutrition {
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.nutrition-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.nutrition-head strong {
  font-size: 9px;
}

.nutrition-head span {
  font-size: 7px;
  color: var(--muted);
}

.nutrition-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3.5px 0;
  font-size: 7.5px;
}

.nutrition-row span {
  color: var(--muted);
}

.nutrition-row b {
  font-weight: 600;
}

.scan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.scan-btn:hover {
  background: var(--orange-deep);
}

.scan-btn-ghost {
  margin-top: 10px;
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--line-strong);
}

.scan-btn-ghost:hover {
  background: rgba(92, 58, 33, 0.05);
  color: var(--brown-deep);
}

.company-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.company-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-family: var(--serif);
  font-size: 19px;
}

.company-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
}

.company-card p {
  margin: 2px 0 0;
  font-size: 7.5px;
  color: var(--muted);
}

.scan-label {
  margin: 11px 0 5px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}

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

.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  text-align: center;
}

.cert span {
  font-family: var(--serif);
  font-size: 9px;
  color: var(--brown);
}

.cert small {
  font-size: 6.5px;
  line-height: 1.4;
  color: var(--muted);
}

.report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 5px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 8px;
}

.report-row span {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report-row b {
  flex: none;
  color: var(--orange-deep);
  font-size: 7.5px;
}

.channel {
  display: grid;
  grid-template-columns: 64px 1fr 14px;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-bottom: 7px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.channel:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.channel span {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
}

.channel small {
  overflow: hidden;
  font-size: 7.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.channel b {
  color: var(--orange-deep);
  font-size: 9px;
}

.scan-fine {
  margin: 8px 0 0;
  font-size: 6.5px;
  line-height: 1.6;
  color: var(--muted-light);
}

.scan-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scan-dots {
  display: flex;
  gap: 5px;
}

.scan-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(246, 239, 227, 0.24);
  transition: width 0.3s var(--ease), background-color 0.3s ease;
}

.scan-dots i.is-active {
  width: 16px;
  border-radius: 999px;
  background: #e9a153;
}

.scan-caption {
  margin: 0;
  font-size: 9px;
  color: #9c8871;
}

.phone-consumer.is-scanning::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 78px;
  z-index: 6;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(224, 138, 53, 0.9), transparent);
  box-shadow: 0 0 14px rgba(224, 138, 53, 0.7);
  animation: scanSweep 0.9s var(--ease);
  pointer-events: none;
}

@keyframes scanSweep {
  0% {
    top: 78px;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    top: 540px;
    opacity: 0;
  }
}

/* ---------- 开通 ---------- */
.start {
  background: var(--paper);
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: start;
}

.steps {
  display: grid;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step > span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--orange);
  opacity: 0.85;
}

.step h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 18px;
}

.step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.compliance-card {
  padding: 30px 28px;
  border-radius: 20px;
  background: var(--brown-deep);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.compliance-kicker {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #b7a18a;
}

.compliance-card h3 {
  margin: 8px 0 20px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
}

.compliance-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance-card li {
  padding: 13px 0;
  border-top: 1px solid rgba(246, 239, 227, 0.14);
}

.compliance-card b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 14px;
  color: #e9a153;
}

.compliance-card span {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  color: #c9b49c;
}

.compliance-foot {
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px dashed rgba(246, 239, 227, 0.16);
  font-size: 9px;
  line-height: 1.7;
  color: #9c8871;
}

.start-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.start-chips span {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
}

.start-note {
  margin: 16px 0 0;
  font-size: 10px;
  color: var(--muted-light);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.faq-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--orange-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid rgba(196, 106, 27, 0.35);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 16px;
  cursor: pointer;
}

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

.faq-list summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: var(--brown);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list p {
  max-width: 590px;
  margin: -4px 0 20px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 终章 ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 128px) 0;
  background: var(--orange);
  color: var(--brown-deep);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(255, 253, 248, 0.28), transparent 52%),
    linear-gradient(120deg, transparent 40%, rgba(158, 79, 16, 0.18));
  pointer-events: none;
}

.cta-pattern {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 460px;
  height: 460px;
  opacity: 0.2;
  background-image: radial-gradient(var(--brown-deep) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  transform: rotate(12deg);
}

.final-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.eyebrow-dark {
  color: rgba(43, 33, 24, 0.72);
}

.final-cta h2 {
  margin: 16px 0 34px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.final-link {
  border-bottom: 1px solid rgba(43, 33, 24, 0.35);
  color: var(--brown-deep);
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.final-link:hover {
  border-color: var(--brown-deep);
}

.final-note {
  margin: 30px 0 0;
  font-size: 9.5px;
  line-height: 1.7;
  color: rgba(43, 33, 24, 0.58);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 58px 0 22px;
  background: var(--brown-deep);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.7fr 1.3fr;
  gap: 38px;
}

.brand-footer .brand-mark {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-footer .brand-type strong {
  color: var(--cream);
}

.brand-footer .brand-type small {
  color: #9c8871;
}

.footer-brand p {
  margin: 15px 0 0;
  font-size: 11px;
  line-height: 1.9;
  color: #c9b49c;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col strong {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 13px;
  color: #e9a153;
}

.footer-col a,
.footer-col button {
  padding: 0;
  border: 0;
  background: none;
  color: #c9b49c;
  font: inherit;
  font-size: 11px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--cream);
}

.footer-note p {
  margin: 0 0 8px;
  font-size: 9.5px;
  line-height: 1.8;
  color: #9c8871;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 239, 227, 0.12);
  font-size: 9px;
  color: #9c8871;
}

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 24, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(450px, 100%);
  padding: 34px;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  animation: modalIn 0.28s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(92, 58, 33, 0.06);
  color: var(--brown);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background: rgba(92, 58, 33, 0.12);
}

.modal-card h3 {
  margin: 12px 0 9px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.3;
}

.modal-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.qr-placeholder {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 22px 0;
  padding: 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--white);
}

.qr-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 96px;
  height: 96px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: repeating-linear-gradient(
    45deg,
    rgba(92, 58, 33, 0.03),
    rgba(92, 58, 33, 0.03) 6px,
    transparent 6px,
    transparent 12px
  );
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.qr-copy strong {
  display: block;
  font-size: 11.5px;
}

.qr-copy span {
  display: block;
  margin: 2px 0 6px;
  color: var(--orange-deep);
  font-size: 11px;
  font-weight: 600;
}

.qr-copy small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted-light);
}

.modal-note {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  color: var(--muted-light);
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

html {
  scroll-padding-top: 84px;
}

[id] {
  scroll-margin-top: 84px;
}

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 200;
  max-width: calc(100% - 40px);
  padding: 10px 18px;
  border: 1px solid rgba(246, 239, 227, 0.14);
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.92);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
  backdrop-filter: blur(10px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 滚动出现 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 32px;
  }

  .float-check {
    left: -2px;
  }

  .float-qr {
    right: -4px;
  }

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

  .lifecycle::before {
    display: none;
  }

  .cap-card:nth-child(4),
  .cap-card:nth-child(5) {
    grid-column: auto;
  }

  .label-workbench {
    gap: 36px;
  }

  .day-grid,
  .consumer-grid,
  .start-grid,
  .faq-grid {
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .float-check {
    left: 3%;
  }

  .float-qr {
    right: 3%;
  }

  .label-workbench {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .label-controls {
    max-width: 560px;
  }

  .day-grid,
  .consumer-grid,
  .start-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .today-card {
    position: static;
    max-width: 480px;
  }

  .consumer-demo {
    margin-top: 6px;
  }

  .container-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tree {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(1180px, calc(100% - 36px));
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 90px 24px 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink);
  }

  .nav > a::after {
    display: none;
  }

  .nav .nav-cta {
    margin-top: 10px;
    padding: 13px 30px;
    font-size: 14px;
  }

  .site-header {
    padding: 12px 0;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 70px;
  }

  .hero h1 {
    font-size: clamp(42px, 9vw, 62px);
  }

  .hero-visual {
    min-height: 620px;
  }

  .trust-inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    padding: 20px 0;
  }

  .trust-inner div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

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

  .cap-card:last-child {
    grid-column: span 2;
  }

  .ledger-head {
    flex-direction: column;
  }

  .ledger-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ledger-note {
    max-width: none;
    text-align: left;
  }

  .app-badge {
    display: none;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .brand-type strong {
    font-size: 17px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 13px 18px;
  }

  .hero-chips {
    margin-top: 26px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone {
    width: 280px;
    height: 580px;
  }

  .phone-screen {
    border-radius: 36px;
  }

  .product-visual {
    height: 172px;
  }

  .float-check {
    left: -2px;
    top: 92px;
  }

  .float-qr {
    right: -4px;
    bottom: 70px;
  }

  .float-card {
    padding: 8px 10px 8px 8px;
    gap: 7px;
  }

  .float-card small {
    display: none;
  }

  .float-qr img {
    width: 32px;
    height: 32px;
  }

  .hero-note {
    font-size: 8.5px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(29px, 8vw, 38px);
    margin: 12px 0 14px;
  }

  .section-lead {
    font-size: 13.5px;
    line-height: 1.85;
  }

  .pain-card {
    padding: 22px;
  }

  .pain-icon {
    margin: 16px 0 14px;
  }

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

  .cap-card:last-child {
    grid-column: auto;
  }

  .cap-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 14px;
    padding: 18px;
  }

  .cap-index {
    top: 14px;
    right: 14px;
  }

  .cap-icon {
    grid-row: span 2;
    width: 36px;
    height: 36px;
    margin: 2px 0 0;
  }

  .cap-card h3 {
    font-size: 19px;
  }

  .cap-card p {
    margin-bottom: 10px;
  }

  .cap-tags {
    grid-column: 2;
  }

  .label-section {
    padding-top: 58px;
  }

  .seg {
    padding: 7px 10px;
    font-size: 10.5px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .print-bed {
    padding: 16px;
    border-radius: 16px;
  }

  .demo-label {
    padding: 10px 11px;
  }

  .label-brand {
    font-size: 10px;
  }

  .label-title {
    font-size: 14px;
  }

  .label-title-row {
    padding-right: 46px;
    margin: 6px 0 5px;
  }

  .label-lines {
    grid-template-columns: 1fr;
    gap: 1px;
    padding-right: 48px;
  }

  .label-line {
    font-size: 6.5px;
  }

  .label-qr {
    width: 40px;
    height: 40px;
  }

  .label-standard {
    font-size: 5.5px;
  }

  .label-bottom {
    left: 11px;
    right: 11px;
    bottom: 8px;
  }

  .label-meta {
    font-size: 8.5px;
  }

  .workspace-tabs {
    display: flex;
    width: 100%;
  }

  .ws-tab {
    flex: 1;
    padding: 8px 6px;
    font-size: 10px;
  }

  .ws-panel {
    padding: 16px;
  }

  .ledger-head strong {
    font-size: 19px;
  }

  .ledger-tabs {
    gap: 2px;
  }

  .ledger-tab {
    padding: 6px;
    font-size: 9px;
  }

  .ledger-caption {
    font-size: 9.5px;
  }

  .table-hint {
    display: block;
  }

  .ledger-table {
    font-size: 11px;
    min-width: 560px;
  }

  .ledger-table th,
  .ledger-table td {
    padding: 9px 8px;
  }

  .ledger-sum b {
    font-size: 19px;
  }

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

  .bar-chart {
    gap: 6px;
    height: 160px;
  }

  .bar-col span {
    font-size: 7px;
  }

  .timeline::before {
    left: 59px;
  }

  .timeline li {
    grid-template-columns: 59px 1fr;
    gap: 18px;
    padding-bottom: 22px;
  }

  .timeline li::before {
    left: 54px;
  }

  .timeline time {
    font-size: 11px;
  }

  .timeline h3 {
    font-size: 17px;
  }

  .today-card {
    padding: 22px;
  }

  .phone-consumer {
    width: 282px;
    height: 590px;
  }

  .consumer-list li {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .compliance-card {
    padding: 24px 20px;
  }

  .compliance-card h3 {
    font-size: 22px;
  }

  .faq-list summary {
    font-size: 14.5px;
    padding: 15px 0;
  }

  .final-actions {
    flex-direction: column;
    gap: 16px;
  }

  .final-cta h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .modal-card {
    padding: 26px 20px;
  }

  .qr-placeholder {
    gap: 12px;
    padding: 12px;
  }

  .qr-box {
    width: 82px;
    height: 82px;
  }
}

@media (max-width: 380px) {
  .phone {
    width: 262px;
    height: 548px;
  }

  .product-visual {
    height: 158px;
  }

  .float-card {
    display: none;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-consumer {
    width: 262px;
    height: 558px;
  }
}
