/* ============================================================
   居居网官网 · 视觉系统
   来源：mini-program-redesign / DESIGN-SYSTEM v1.3.0
   原则：简洁扁平、单一浅色主题、纯色、无装饰渐变
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  --brand: #F84D43;
  --brand-btn: #D62E25;
  --brand-btn-hover: #BD271F;
  --brand-ink: #C62A21;
  --brand-soft: #FEEDEC;
  --brand-100: #FDD0CE;
  --brand-200: #FBABA7;

  --cream: #FCF0BE;
  --cream-50: #FDFAED;
  --cream-100: #FCF5D9;
  --cream-200: #FBF1C5;

  --ink: #1A1A1A;
  --ink-2: #2B2D33;
  --body: #4A4E55;
  --muted: #6B6F76;
  --faint: #74797F;

  --line: #E8E9EB;
  --line-strong: #D6D8DB;
  --bg: #FFFFFF;
  --bg-soft: #F8F8F8;

  --success: #07C160;
  --warning: #FF9F1A;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-num: "DIN Alternate", "SF Pro Display", var(--font-sans);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(26, 26, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.05), 0 12px 28px rgba(26, 26, 26, 0.05);
  --shadow-md: 0 18px 48px rgba(26, 26, 26, 0.10);
  --shadow-phone: 0 30px 64px rgba(14, 15, 19, 0.22);

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure, blockquote { margin: 0; }

::selection { background: var(--cream); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout & Typography ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--tight { padding: clamp(56px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream-50); }
.section--cream-solid { background: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head__text { max-width: 700px; }

.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}
.section-title em {
  display: inline-block;
  font-style: normal;
  color: var(--brand);
}

.section-lead {
  margin-top: 16px;
  max-width: 660px;
  font-size: 16.5px;
  line-height: 1.82;
  color: var(--body);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-ink);
  white-space: nowrap;
}
.text-link svg { transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--brand-btn-hover); }
.text-link:hover svg { transform: translateX(3px); }

.muted { color: var(--muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn svg { flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-btn);
  color: #fff;
  box-shadow: 0 6px 16px rgba(214, 46, 37, 0.18);
}
.btn--primary:hover {
  background: var(--brand-btn-hover);
  box-shadow: 0 8px 22px rgba(189, 39, 31, 0.24);
}

.btn--secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover {
  border-color: var(--ink);
  background: var(--bg);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 4px;
  padding-right: 4px;
}
.btn--ghost:hover { color: var(--brand-ink); }

.btn--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn--cream:hover { background: var(--cream-200); border-color: var(--cream-200); }

.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-text span {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--faint);
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%) scale(0);
  transition: transform 0.22s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--brand-ink); font-weight: 600; }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.menu-toggle:hover { background: var(--bg-soft); }
.menu-toggle__lines { position: relative; width: 20px; height: 14px; }
.menu-toggle__lines span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), opacity 0.2s;
}
.menu-toggle__lines span:nth-child(1) { top: 0; }
.menu-toggle__lines span:nth-child(2) { top: 6px; }
.menu-toggle__lines span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: #fff;
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu:focus { outline: none; }
.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mobile-menu__link span { font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0.08em; }
.mobile-menu__link.is-active { color: var(--brand-ink); }
.mobile-menu__cta { margin-top: 28px; }
.mobile-menu__meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.mobile-menu__meta a { color: var(--brand-ink); }
.mobile-menu__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 6. Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 76px);
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: 38px;
  width: 300px;
  height: 112px;
  border: 1px solid rgba(248, 77, 67, 0.22);
  border-radius: 50%;
  transform: rotate(-14deg);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 168px;
  top: 44px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.85;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--brand-ink); }
.breadcrumb span { color: var(--line-strong); }
.page-hero h1 {
  position: relative;
  max-width: 920px;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.page-hero h1 em { display: inline-block; font-style: normal; color: var(--brand); }
.page-lead {
  position: relative;
  max-width: 720px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.82;
  color: var(--body);
}
.page-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
}
.chip--brand {
  background: var(--brand-soft);
  border-color: var(--brand-100);
  color: var(--brand-ink);
}
.chip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ---------- 7. Home Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
}
.hero-title .accent { color: var(--brand); }
.hero-lead {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--body);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 30px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-100);
}
.hero-meta span:first-child::before { background: var(--brand); }

.hero-visual { position: relative; z-index: 1; padding: 10px 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  top: -78px;
  width: 480px;
  height: 480px;
  max-width: 120%;
  border: 1px solid #F2E3C3;
  border-radius: 50%;
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 22px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  pointer-events: none;
}
.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.06 / 1;
  border-radius: var(--r-2xl);
  background: var(--cream-100);
  box-shadow: var(--shadow-sm);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: inherit;
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.float-card--prompt {
  left: -30px;
  bottom: 34px;
  width: 306px;
  padding: 16px 18px 15px;
}
.float-card--result {
  right: -14px;
  top: 26px;
  width: 196px;
  padding: 12px;
}
.mini-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-label .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(248, 77, 67, 0.12);
}
.mini-prompt {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 500;
}
.mini-progress {
  height: 4px;
  margin-top: 13px;
  border-radius: 4px;
  background: var(--brand-soft);
  overflow: hidden;
}
.mini-progress i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.mini-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--faint);
}
.mini-foot strong { font-family: var(--font-num); font-size: 11px; color: var(--brand-ink); }
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.result-head b { color: var(--success); font-size: 10px; }
.result-thumbs { display: flex; gap: 6px; margin-top: 9px; }
.result-thumbs img {
  width: 38px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.result-thumbs span {
  width: 38px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.result-title { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.result-sub { margin-top: 2px; font-size: 10.5px; color: var(--faint); }

/* ---------- 8. Capability strip ---------- */
.capability-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.capability-item {
  display: flex;
  gap: 15px;
  padding: 30px clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.capability-item:first-child { border-left: 0; padding-left: 0; }
.capability-item:last-child { padding-right: 0; }
.capability-num {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  padding-top: 3px;
}
.capability-item h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.capability-item p { margin-top: 3px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

/* ---------- 9. Cards / grids ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.biz-card {
  display: flex;
  flex-direction: column;
  min-height: 296px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}
.biz-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.biz-top { display: flex; align-items: center; justify-content: space-between; }
.biz-num {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.biz-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
  margin: 28px 0 20px;
}
.biz-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.biz-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.biz-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-ink);
}
.biz-card:hover .biz-link svg { transform: translateX(3px); }
.biz-link svg { transition: transform 0.25s var(--ease); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--cream-50);
  color: var(--brand-ink);
  border: 1px solid var(--cream-200);
}
.feature-card h3 { margin-top: 22px; font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.feature-card p { margin-top: 9px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.feature-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-ink);
}
.feature-card:hover .feature-more span:last-child { transform: translateX(3px); }
.feature-more span:last-child { transition: transform 0.25s var(--ease); }

/* ---------- 10. Product showcase + phone ---------- */
.showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(32px, 5vw, 60px);
  border-radius: var(--r-2xl);
  background: var(--cream-50);
  overflow: hidden;
}
.showcase::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(198, 170, 57, 0.28);
  border-radius: 50%;
  pointer-events: none;
}
.showcase-copy { position: relative; z-index: 1; }
.showcase-copy .section-title { font-size: clamp(28px, 3.2vw, 40px); }
.showcase-copy .section-lead { font-size: 15.5px; }
.steps { margin-top: 30px; }
.step {
  display: flex;
  gap: 15px;
  padding: 16px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
.step:last-child { border-bottom: 1px solid rgba(26, 26, 26, 0.08); }
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-ink);
}
.step h3 { font-size: 14.5px; font-weight: 600; }
.step p { margin-top: 2px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.showcase-actions { margin-top: 28px; }

.phone-wrap { position: relative; display: flex; justify-content: center; z-index: 1; }
.phone {
  position: relative;
  width: 300px;
  padding: 10px;
  border-radius: 46px;
  background: #0E0F13;
  border: 1px solid #2A2E38;
  box-shadow: var(--shadow-phone);
}
.phone::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 96px;
  width: 2px;
  height: 54px;
  border-radius: 2px;
  background: #2A2E38;
}
.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 588px;
  overflow: hidden;
  border-radius: 37px;
  background: #0E0F13;
  color: #F4F5F7;
}
.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 2px;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.app-status__icons { display: flex; align-items: center; gap: 4px; }
.app-status__icons i {
  display: block;
  width: 12px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.app-status__icons i:last-child { width: 16px; background: rgba(255, 255, 255, 0.75); border: 0; }
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 12px;
  font-size: 12.5px;
  font-weight: 600;
}
.app-nav__icon { display: flex; flex-direction: column; gap: 2.5px; width: 14px; }
.app-nav__icon span { height: 1.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.7); }
.app-nav__icon span:nth-child(2) { width: 70%; }
.app-body { flex: 1; display: flex; flex-direction: column; padding: 4px 16px 14px; min-height: 0; }
.app-prompt {
  align-self: flex-end;
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--brand-btn);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.55;
  box-shadow: 0 6px 14px rgba(248, 77, 67, 0.22);
}
.app-result {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-result img { width: 100%; height: 214px; object-fit: cover; }
.app-result__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(14, 15, 19, 0.72);
  color: #fff;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.app-result__count {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1A1A1A;
  font-size: 8.5px;
  font-weight: 700;
}
.app-tools {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.app-tools span {
  flex: 1;
  text-align: center;
  font-size: 9.5px;
  color: #A2A7B2;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.app-tools span:first-child { border-left: 0; color: #F4F5F7; }
.app-suggest { display: flex; gap: 6px; margin-top: 10px; }
.app-suggest span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #20232B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 8.5px;
  color: #A2A7B2;
}
.app-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: #20232B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9.5px;
  color: #6E7380;
}
.app-send {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.phone-note {
  position: absolute;
  right: -22px;
  bottom: 58px;
  max-width: 150px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 11px;
  line-height: 1.55;
  color: var(--body);
}
.phone-note strong { display: block; margin-bottom: 3px; font-size: 11.5px; color: var(--ink); }

/* ---------- 11. Scenario cards ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.scene-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-100); }
.scene-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.scene-card:hover .scene-media img { transform: scale(1.035); }
.scene-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.scene-tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.scene-body h3 { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.scene-body p { margin-top: 9px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.scene-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-ink);
}

/* ---------- 12. About band / CTA ---------- */
.about-band {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.about-quote {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.34;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.about-quote em { font-style: normal; color: var(--brand); }
.about-text { margin-top: 20px; font-size: 15px; line-height: 1.85; color: var(--body); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-facts strong {
  display: block;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-facts span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.about-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: var(--r-2xl);
  background: var(--cream-100);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--body);
  font-size: 11px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-2xl);
  background: var(--cream);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 110px;
  border: 1px solid rgba(198, 170, 57, 0.45);
  border-radius: 50%;
  transform: rotate(-14deg);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 196px;
  top: 30px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand);
}
.cta-copy { position: relative; z-index: 1; max-width: 640px; }
.cta-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.cta-copy p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--body); }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* ---------- 13. Footer ---------- */
.site-footer {
  padding-top: 64px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-chips span {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}
.footer-col h4 {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--body); }
.footer-col a:hover { color: var(--brand-ink); }
.footer-col .footer-note { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--faint); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--body); }
.footer-contact a:hover { color: var(--brand-ink); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--faint);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a:hover { color: var(--brand-ink); }

/* ---------- 14. Page modules (product / features / scenarios) ---------- */
.module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(52px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.module:last-of-type { border-bottom: 0; }
.module-media { position: relative; }
.module-media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}
.module-media--panel { order: 0; }
.module--reverse .module-media { order: -1; }
.module--flip .module-media { order: 2; }
.module-copy { min-width: 0; }
.module-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-ink);
}
.module-num::after { content: ""; width: 26px; height: 1px; background: var(--brand-200); }
.module h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.module-lead { margin-top: 14px; font-size: 15px; line-height: 1.8; color: var(--body); }
.check-list { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.check-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--body);
}
.check-list svg { flex: none; margin-top: 4px; color: var(--brand-ink); }
.module-actions { margin-top: 26px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(52px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-of-type { border-bottom: 0; }
.feature-row--reverse .feature-media { order: -1; }
.feature-copy h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.feature-copy .module-lead { max-width: 520px; }

.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.anchor-list { display: flex; gap: 6px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.anchor-list::-webkit-scrollbar { display: none; }
.anchor-link {
  flex: none;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.anchor-link:hover { background: var(--bg-soft); color: var(--ink); }
.anchor-link.is-active { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }

/* ---------- 15. UI Mockups (features) ---------- */
.ui-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.ui-bar__dots { display: flex; gap: 4px; }
.ui-bar__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.ui-bar__dots i:first-child { background: var(--brand-200); }
.ui-canvas { padding-top: 16px; }
.ui-bubble {
  max-width: 84%;
  margin-left: auto;
  padding: 11px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-100);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
}
.ui-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ui-result-grid figure { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; }
.ui-result-grid img { width: 100%; height: 100%; object-fit: cover; }
.ui-result-grid figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.62);
  color: #fff;
  font-size: 8px;
}
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ui-chips span {
  padding: 5px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 9.5px;
  color: var(--muted);
}
.ui-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--faint);
}
.ui-footer b { color: var(--brand-ink); font-weight: 600; }

.layer-list { display: flex; flex-direction: column; gap: 8px; }
.layer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11.5px;
  color: var(--body);
}
.layer-row.is-active { border-color: var(--brand-100); background: var(--brand-soft); color: var(--brand-ink); }
.layer-thumb {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 7px;
  overflow: hidden;
  background: var(--cream-100);
}
.layer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.layer-row__meta { flex: 1; min-width: 0; }
.layer-row__meta strong { display: block; font-size: 11.5px; font-weight: 600; }
.layer-row__meta span { display: block; font-size: 9.5px; color: var(--muted); }
.layer-eye { color: var(--faint); }
.layer-row.is-active .layer-eye { color: var(--brand-ink); }
.layer-canvas {
  position: relative;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.layer-canvas img { width: 100%; height: 100%; object-fit: cover; }
.layer-box {
  position: absolute;
  left: 22%;
  top: 30%;
  width: 38%;
  height: 46%;
  border: 1.5px solid var(--brand);
  border-radius: 4px;
}
.layer-box::before {
  content: "沙发 · 可移动";
  position: absolute;
  left: -1px;
  top: -19px;
  padding: 2px 6px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-btn);
  color: #fff;
  font-size: 7.5px;
  white-space: nowrap;
}

.feed-ui { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feed-item { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.feed-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feed-item div { padding: 8px 9px 10px; }
.feed-item strong { display: block; font-size: 10.5px; font-weight: 600; line-height: 1.45; }
.feed-item span { display: block; margin-top: 4px; font-size: 8.5px; color: var(--faint); }
.feed-tabs { display: flex; gap: 14px; padding: 0 2px 12px; font-size: 10.5px; color: var(--muted); }
.feed-tabs b { color: var(--ink); font-weight: 600; position: relative; }
.feed-tabs b::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 2px; border-radius: 2px; background: var(--brand); transform: translateX(-50%); }

.product-ui { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.product-ui__img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.product-ui__img img { width: 100%; height: 100%; object-fit: cover; }
.product-ui h4 { font-size: 14px; font-weight: 600; }
.product-ui .price { margin-top: 6px; font-family: var(--font-num); font-size: 19px; font-weight: 700; color: var(--brand-ink); }
.product-ui .price small { font-size: 10px; font-weight: 500; color: var(--muted); }
.spec-pills { display: flex; gap: 5px; margin-top: 10px; }
.spec-pills span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; font-size: 9px; color: var(--muted); }
.spec-pills span.on { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.product-ui .ui-cta {
  margin-top: 12px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--brand-btn);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.dash-ui { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.dash-side {
  padding: 12px 10px;
  border-radius: 12px;
  background: #0E0F13;
  color: #A2A7B2;
  font-size: 9px;
  line-height: 2.4;
}
.dash-side strong { display: block; margin-bottom: 8px; color: #fff; font-size: 10px; }
.dash-side .on { color: var(--brand); font-weight: 600; }
.dash-main { display: flex; flex-direction: column; gap: 10px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-stat { padding: 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; }
.dash-stat span { display: block; font-size: 8.5px; color: var(--faint); }
.dash-stat strong { display: block; margin-top: 3px; font-family: var(--font-num); font-size: 16px; }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.dash-chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--brand-100);
}
.dash-chart i:nth-child(2n) { background: var(--brand-200); }
.dash-chart i:nth-child(3n) { background: var(--brand); }

/* asset list mockup */
.asset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}
.asset-head strong { font-size: 11.5px; color: var(--ink); font-weight: 600; }
.asset-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.asset-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.asset-thumb { flex: none; width: 44px; height: 44px; border-radius: 7px; overflow: hidden; }
.asset-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-meta { flex: 1; min-width: 0; }
.asset-meta strong { display: block; font-size: 11px; font-weight: 600; line-height: 1.4; }
.asset-meta span { display: block; margin-top: 2px; font-size: 9px; color: var(--faint); }
.asset-status {
  flex: none;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 8.5px;
  font-weight: 600;
}
.asset-status--done { background: #E8F7EF; color: #0B8A4B; }
.asset-status--review { background: #FFF4E5; color: #9A5B00; }

/* order mini timeline */
.order-line { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.order-line i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
}
.order-line i.on { background: var(--brand); }
.order-line span { font-size: 8.5px; color: var(--faint); white-space: nowrap; }
.order-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9px; color: var(--faint); }

/* ---------- 15b. Timeline ---------- */
.timeline { border-top: 1px solid var(--line); }
.timeline-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
.timeline-body h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.timeline-body p { margin-top: 4px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
.timeline-body .timeline-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  font-size: 9.5px;
  font-weight: 600;
  color: #8A7526;
  vertical-align: 2px;
}

@media (max-width: 720px) {
  .timeline-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .timeline-year { font-size: 16px; }
}

/* ---------- 15c. Scenario points / workflow ---------- */
.scenario-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.point-box {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.point-box h4 {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.point-box ul { display: flex; flex-direction: column; gap: 8px; }
.point-box li {
  position: relative;
  padding-left: 13px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--body);
}
.point-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}
.point-box--brand { background: var(--brand-soft); border-color: var(--brand-100); }
.point-box--brand h4 { color: var(--brand-ink); }
.point-box--brand li::before { background: var(--brand); }

.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.workflow-step {
  position: relative;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.workflow-step__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 700;
}
.workflow-step h3 { margin-top: 16px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.workflow-step p { margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

@media (max-width: 900px) {
  .workflow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .scenario-points { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr; }
}

/* ---------- 16. Comparison table / spec table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th,
table.data td {
  padding: 15px 20px;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.65;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.data .is-brand { color: var(--brand-ink); font-weight: 600; }
.table-note { margin-top: 12px; font-size: 11.5px; color: var(--faint); }
.support-stack { display: flex; flex-direction: column; gap: 56px; }
.support-table { max-width: 1000px; }
.support-table table.data { min-width: 0; }
.support-table table.data th,
.support-table table.data td { padding: 14px 18px; font-size: 13.5px; }
.support-table table.data td:first-child { white-space: normal; width: 150px; }

/* ---------- 17. Support / FAQ ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-card {
  display: block;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.quick-card:hover { transform: translateY(-3px); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.quick-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.quick-card h3 { margin-top: 20px; font-size: 16.5px; font-weight: 600; }
.quick-card p { margin-top: 7px; font-size: 13px; line-height: 1.7; color: var(--muted); }

.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  max-width: 760px;
  padding: 0 4px 22px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--body);
}
.faq details a { color: var(--brand-ink); font-weight: 600; }

.info-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.info-card h3 { font-size: 16px; font-weight: 600; }
.info-card > p { margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.info-list { margin-top: 18px; border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; color: var(--ink-2); word-break: break-word; }

/* ---------- 18. Contact / form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact-card__icon { color: var(--brand-ink); }
.contact-card h3 { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-card a,
.contact-card p { display: block; margin-top: 5px; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.55; word-break: break-word; }
.contact-card a:hover { color: var(--brand-ink); }
.contact-card small { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; color: var(--faint); }
.copy-btn {
  margin-top: 8px;
  padding: 0;
  font-size: 10.5px;
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.copy-btn:hover { color: var(--brand-ink); }

.contact-form {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xs);
}
.contact-form h2 { font-size: 22px; letter-spacing: -0.02em; }
.contact-form > p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--brand-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #A5A9B0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(248, 77, 67, 0.12);
}
.form-actions { margin-top: 18px; }
.form-note { margin-top: 12px; font-size: 11px; line-height: 1.7; color: var(--faint); }
.form-status {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-100);
  font-size: 12px;
  line-height: 1.65;
  color: var(--brand-ink);
}
.form-status.is-visible { display: block; }

.org-card {
  margin-top: 20px;
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.org-card h3 { font-size: 14px; font-weight: 600; }
.org-card p { margin-top: 6px; font-size: 12px; line-height: 1.75; color: var(--muted); }

/* ---------- 19. Legal pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 96px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.toc h2 {
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.toc ol { display: flex; flex-direction: column; }
.toc a {
  display: block;
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--brand-ink); border-left-color: var(--brand); font-weight: 600; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--muted);
}
.legal-meta b { color: var(--ink-2); font-weight: 600; }

.prose { max-width: 820px; min-width: 0; }
.prose h2 {
  margin: 52px 0 14px;
  padding-top: 6px;
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 26px 0 8px; font-size: 16px; font-weight: 600; }
.prose p { margin: 12px 0; font-size: 14.5px; line-height: 1.9; color: var(--body); }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; }
.prose li { margin: 6px 0; font-size: 14.5px; line-height: 1.85; color: var(--body); }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand-ink); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.prose th { background: var(--bg-soft); font-weight: 600; color: var(--ink-2); }
.callout {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--cream-50);
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--body);
}
.callout strong { color: var(--ink); }

/* ---------- 20. 404 ---------- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 72px 0 96px;
  text-align: center;
}
.error-mark { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow-sm); }
.error-code {
  margin-top: 28px;
  font-family: var(--font-num);
  font-size: clamp(64px, 12vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--brand);
}
.error-page h1 { margin-top: 14px; font-size: 26px; letter-spacing: -0.02em; }
.error-page p { margin-top: 10px; max-width: 460px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.error-actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }

/* ---------- 20b. Anchor offsets ---------- */
section[id], .module[id], .feature-row[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-row[id] { scroll-margin-top: calc(var(--header-h) + 80px); }

/* ---------- 21. Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- 22. Responsive ---------- */
.footer-col--contact { justify-self: end; max-width: 280px; }

@media (max-width: 1120px) {
  .nav-list { gap: 18px; }
  .nav-link { font-size: 13px; }
  .hero-grid { gap: 40px; }
  .float-card--prompt { left: -10px; }
  .showcase { grid-template-columns: minmax(0, 1fr) 340px; }
  .phone { width: 280px; }
  .phone-screen { height: 552px; }
  .phone-note { right: -8px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 680px; width: 100%; }
  .hero-frame { aspect-ratio: 1.25 / 1; }
  .hero-visual::before { right: -80px; top: -60px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 8px; }
  .phone-note { right: 12%; }
  .about-band { grid-template-columns: 1fr; }
  .about-figure { max-width: 720px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; justify-self: start; max-width: none; }
  .module, .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .module--reverse .module-media, .module--flip .module-media, .feature-row--reverse .feature-media { order: 0; }
  .module-media, .feature-media { max-width: 720px; width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc {
    position: static;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .toc ol { flex-direction: row; flex-wrap: wrap; gap: 4px; width: 100%; min-width: 0; }
  .toc a { border-left: 0; border-radius: var(--r-pill); padding: 6px 11px; background: var(--bg-soft); }
  .toc a.is-active { background: var(--brand-soft); border-left-color: transparent; }
}

@media (max-width: 820px) {
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-item { border-left: 0; padding-left: 0; }
  .capability-item:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 24px; }
  .capability-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .capability-item:last-child { padding-right: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-actions { width: 100%; }
  .quick-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head .text-link { margin-top: -4px; }
  .hero { padding-top: 40px; }
  .page-hero h1 { font-size: 32px; line-height: 1.16; }
  .hero-title { font-size: clamp(38px, 10.4vw, 52px); line-height: 1.08; }
  .hero-lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual::before { width: 300px; height: 300px; right: -110px; top: -40px; }
  .float-card--prompt {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -26px 12px 0;
    padding: 13px 15px;
  }
  .float-card--result { display: none; }
  .biz-grid, .feature-grid, .scene-grid { grid-template-columns: 1fr; }
  .biz-card { min-height: 0; padding: 24px 22px 22px; }
  .biz-icon { margin: 16px 0 14px; }
  .biz-link { padding-top: 16px; }
  .feature-card { padding: 24px; }
  .feature-card h3 { margin-top: 18px; }
  .feature-more { padding-top: 14px; }
  .feature-icon { width: 38px; height: 38px; }
  .showcase { padding: 26px 20px 32px; border-radius: var(--r-xl); }
  .showcase::before { display: none; }
  .phone { width: 260px; }
  .phone-screen { height: 516px; }
  .app-result img { height: 188px; }
  .phone-note { display: none; }
  .about-facts { gap: 12px; }
  .about-facts strong { font-size: 20px; }
  .cta-band { padding: 30px 24px; border-radius: var(--r-xl); }
  .cta-band::after { right: 60px; top: 22px; }
  .cta-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; justify-self: start; max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero::before { right: -160px; }
  .page-hero::after { display: none; }
  .module, .feature-row { padding: 44px 0; }
  .ui-panel { padding: 15px; }
  .dash-ui { grid-template-columns: 1fr; }
  .dash-side { display: flex; flex-wrap: wrap; gap: 10px; line-height: 1.6; }
  .dash-side strong { width: 100%; margin-bottom: 0; }
  .table-wrap { border-radius: var(--r-sm); }
  .legal-layout { padding-top: 32px; }
  .prose h2 { margin-top: 42px; }
  .prose table { width: 100%; table-layout: fixed; white-space: normal; }
  .support-table table.data td:first-child,
  .support-table table.data th:first-child { width: 88px; white-space: nowrap; }
  .prose th, .prose td { padding: 8px; font-size: 11.5px; line-height: 1.6; word-break: break-word; }
}

@media (max-width: 480px) {
  .hero-meta { gap: 8px 14px; font-size: 11.5px; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { width: 100%; }
  .capability-item { padding: 20px 0; }
  .capability-item:nth-child(2n) { padding-left: 18px; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .about-facts > div:last-child { grid-column: 1 / -1; }
  .contact-form { padding: 22px 18px; }
  .app-status { padding-left: 16px; padding-right: 16px; }
  .ui-result-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 23. Motion & print ---------- */
@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 print {
  .site-header, .site-footer, .anchor-nav, .toc, .cta-band, .mobile-menu { display: none !important; }
  .legal-layout { display: block; padding: 0; }
  .prose { max-width: none; }
  body { font-size: 12pt; }
}
