/* ==========================================================================
   四川言外科技有限公司 · yanwaiai.com 官网与 1.0 纯净版合规中心样式表
   设计基调：克制、清透、可信赖的企业官网与合规阅读体验
   色板来源：Brand.kt（言外蓝 #3346FF / 蓝紫微光 #6A5CFF / 夜墨 #0C0D1C）
   字体栈：全免费系统无衬线字体，零商业字体版权风险
   ========================================================================== */

:root {
  --yw-bg: #FFFFFF;
  --yw-surface: #F6F8FC;
  --yw-surface-2: #EEF2FA;
  --yw-ink: #0C0D1C;
  --yw-ink-2: #4A4E69;
  --yw-mute: #7A7F9A;
  --yw-line: rgba(12, 13, 28, 0.08);
  --yw-line-strong: rgba(12, 13, 28, 0.14);

  --yw-blue: #3346FF;
  --yw-violet: #6A5CFF;
  --yw-blue-soft: rgba(51, 70, 255, 0.08);
  --yw-blue-border: rgba(51, 70, 255, 0.22);
  --yw-grad: linear-gradient(135deg, #3346FF 0%, #6A5CFF 100%);

  --yw-green: #15803D;
  --yw-green-bg: #ECFDF3;
  --yw-green-border: rgba(21, 128, 61, 0.18);

  --yw-amber: #B45309;
  --yw-amber-bg: #FFFBEB;
  --yw-amber-border: rgba(180, 83, 9, 0.22);

  --yw-radius-sm: 10px;
  --yw-radius-md: 16px;
  --yw-radius-lg: 22px;
  --yw-shadow-sm: 0 1px 2px rgba(12, 13, 28, 0.04), 0 6px 20px rgba(15, 23, 62, 0.04);
  --yw-shadow-md: 0 4px 12px rgba(12, 13, 28, 0.05), 0 20px 48px rgba(15, 23, 62, 0.08);
  --yw-ease: cubic-bezier(0.16, 1, 0.3, 1);

  --yw-sans: -apple-system, BlinkMacSystemFont, "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yw-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--yw-bg);
  color: var(--yw-ink);
  font-family: var(--yw-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

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

.yw-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.yw-mono {
  font-family: var(--yw-mono);
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==================== 顶部统一导航栏 ==================== */
.yw-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--yw-line);
}

.yw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.yw-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.yw-brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(51, 70, 255, 0.22);
}

.yw-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
  min-width: 0;
}

.yw-brand-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--yw-ink);
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.yw-brand-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--yw-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.yw-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yw-ink-2);
  white-space: nowrap;
  transition: color 0.18s var(--yw-ease), background 0.18s var(--yw-ease);
}

.yw-nav a:hover {
  color: var(--yw-ink);
  background: var(--yw-surface);
}

.yw-nav a.is-active {
  color: var(--yw-blue);
  background: var(--yw-blue-soft);
}

.yw-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--yw-ink);
  border: 1px solid var(--yw-line);
  background: #fff;
  flex-shrink: 0;
}

.yw-menu-btn:hover {
  background: var(--yw-surface);
}

.yw-mobile-drawer {
  display: none;
  border-top: 1px solid var(--yw-line);
  background: #FFFFFF;
  padding: 10px 24px 16px;
}

.yw-mobile-drawer.is-open {
  display: block;
}

.yw-mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--yw-ink-2);
}

.yw-mobile-drawer a + a {
  margin-top: 2px;
}

.yw-mobile-drawer a.is-active {
  color: var(--yw-blue);
  background: var(--yw-blue-soft);
}

.yw-mobile-drawer .yw-route-tag {
  font-family: var(--yw-mono);
  font-size: 12px;
  color: var(--yw-mute);
  font-weight: 500;
}

/* ==================== 首页首屏 Hero ==================== */
.yw-hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(640px 360px at 84% 12%, rgba(106, 92, 255, 0.09) 0%, transparent 70%),
    radial-gradient(520px 320px at 14% 0%, rgba(51, 70, 255, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--yw-line);
  overflow: hidden;
}

.yw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
}

.yw-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.yw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}

.yw-badge-corp {
  background: #FFFFFF;
  color: var(--yw-ink-2);
  border: 1px solid var(--yw-line-strong);
}

.yw-badge-pure {
  background: var(--yw-blue-soft);
  color: var(--yw-blue);
  border: 1px solid var(--yw-blue-border);
}

.yw-badge-green {
  background: var(--yw-green-bg);
  color: var(--yw-green);
  border: 1px solid var(--yw-green-border);
}

.yw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yw-blue);
  flex-shrink: 0;
}

.yw-dot-green {
  background: #16A34A;
}

.yw-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--yw-ink);
  margin-bottom: 18px;
}

.yw-grad-text {
  background: var(--yw-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yw-hero-desc {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--yw-ink-2);
  max-width: 540px;
  margin-bottom: 28px;
}

.yw-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.yw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s var(--yw-ease), box-shadow 0.2s var(--yw-ease), background 0.18s var(--yw-ease), border-color 0.18s var(--yw-ease);
}

.yw-btn-primary {
  background: var(--yw-grad);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(51, 70, 255, 0.26);
}

.yw-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(51, 70, 255, 0.34);
}

.yw-btn-secondary {
  background: #FFFFFF;
  color: var(--yw-ink);
  border: 1px solid var(--yw-line-strong);
  box-shadow: 0 2px 8px rgba(12, 13, 28, 0.04);
}

.yw-btn-secondary:hover {
  border-color: var(--yw-blue-border);
  color: var(--yw-blue);
  background: #FAFBFF;
}

.yw-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--yw-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--yw-ink-2);
}

.yw-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yw-trust-item svg {
  color: var(--yw-green);
  flex-shrink: 0;
}

/* ==================== 首屏右侧真机展示框 ==================== */
.yw-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.yw-phone-frame {
  width: 286px;
  max-width: 100%;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(155deg, #3A4054 0%, #191D2B 48%, #2E3448 100%);
  box-shadow:
    0 28px 64px rgba(15, 23, 62, 0.18),
    0 6px 18px rgba(15, 23, 62, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
}

.yw-phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #F4F5FA;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.yw-phone-statusbar {
  height: 28px;
  padding: 0 18px;
  background: #F4F5FA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #161823;
}

.yw-phone-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #141824;
  box-shadow: inset 0 0 0 2px #262C3E;
}

.yw-phone-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 2140;
  background: #F4F5FA;
  overflow: hidden;
}

.yw-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.yw-phone-homebar {
  height: 16px;
  background: #F4F5FA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yw-phone-homebar span {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: rgba(12, 13, 28, 0.22);
}

.yw-screen-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.yw-screen-tab {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yw-ink-2);
  background: #FFFFFF;
  border: 1px solid var(--yw-line-strong);
  transition: all 0.18s var(--yw-ease);
}

.yw-screen-tab:hover {
  border-color: var(--yw-blue-border);
  color: var(--yw-blue);
}

.yw-screen-tab.is-active {
  background: var(--yw-blue);
  color: #FFFFFF;
  border-color: var(--yw-blue);
  box-shadow: 0 4px 12px rgba(51, 70, 255, 0.24);
}

.yw-screen-caption {
  font-size: 12.5px;
  color: var(--yw-mute);
  text-align: center;
  max-width: 320px;
}

/* ==================== 关键数据条 ==================== */
.yw-metrics-band {
  background: #FFFFFF;
  border-bottom: 1px solid var(--yw-line);
}

.yw-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yw-metric-cell {
  padding: 28px 20px;
  border-right: 1px solid var(--yw-line);
}

.yw-metric-cell:last-child {
  border-right: none;
}

.yw-metric-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--yw-ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.yw-metric-num em {
  font-style: normal;
  color: var(--yw-blue);
}

.yw-metric-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--yw-ink);
  margin-bottom: 2px;
}

.yw-metric-sub {
  font-size: 12.5px;
  color: var(--yw-mute);
  line-height: 1.5;
}

/* ==================== 通用板块 ==================== */
.yw-section {
  padding: 76px 0;
}

.yw-section-tint {
  background: var(--yw-surface);
  border-top: 1px solid var(--yw-line);
  border-bottom: 1px solid var(--yw-line);
}

.yw-sec-head {
  max-width: 660px;
  margin-bottom: 40px;
}

.yw-sec-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.yw-sec-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yw-blue);
  margin-bottom: 8px;
}

.yw-sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--yw-ink);
  margin-bottom: 10px;
  text-wrap: balance;
}

.yw-sec-head p {
  font-size: 15.5px;
  color: var(--yw-ink-2);
  line-height: 1.72;
  text-wrap: pretty;
}

/* ==================== 6 卡片特性网格 ==================== */
.yw-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.yw-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 24px;
  box-shadow: var(--yw-shadow-sm);
  transition: transform 0.2s var(--yw-ease), border-color 0.2s var(--yw-ease), box-shadow 0.2s var(--yw-ease);
}

.yw-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--yw-blue-border);
  box-shadow: var(--yw-shadow-md);
}

.yw-feature-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--yw-blue-soft);
  color: var(--yw-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.yw-feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--yw-ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.yw-feature-card p {
  font-size: 14px;
  color: var(--yw-ink-2);
  line-height: 1.72;
}

/* ==================== 真机实拍三联展廊 + 发行信息 ==================== */
.yw-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.yw-gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-lg);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--yw-shadow-sm);
}

.yw-gallery-phone {
  width: 214px;
  max-width: 100%;
  border-radius: 30px;
  padding: 7px;
  background: linear-gradient(155deg, #3A4054 0%, #191D2B 55%, #2D3347 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 62, 0.14);
  margin-bottom: 18px;
}

.yw-gallery-screen {
  border-radius: 24px;
  overflow: hidden;
  background: #F4F5FA;
  aspect-ratio: 1080 / 2140;
}

.yw-gallery-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.yw-gallery-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--yw-ink);
  margin-bottom: 6px;
}

.yw-gallery-card p {
  font-size: 13.5px;
  color: var(--yw-ink-2);
  line-height: 1.65;
}

.yw-release-bar {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.yw-release-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.yw-release-left img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(51, 70, 255, 0.2);
}

.yw-release-meta h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--yw-ink);
  margin-bottom: 4px;
}

.yw-release-meta p {
  font-size: 13.5px;
  color: var(--yw-ink-2);
}

.yw-release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yw-pill-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yw-ink-2);
}

/* ==================== 合规中心三卡片直达 ==================== */
.yw-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.yw-compliance-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 24px;
  box-shadow: var(--yw-shadow-sm);
  transition: transform 0.2s var(--yw-ease), border-color 0.2s var(--yw-ease), box-shadow 0.2s var(--yw-ease);
}

.yw-compliance-card:hover {
  transform: translateY(-2px);
  border-color: var(--yw-blue-border);
  box-shadow: var(--yw-shadow-md);
}

.yw-compliance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.yw-route-pill {
  font-family: var(--yw-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--yw-blue);
  background: var(--yw-blue-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.yw-compliance-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--yw-ink);
  margin-bottom: 8px;
}

.yw-compliance-card p {
  font-size: 13.8px;
  color: var(--yw-ink-2);
  line-height: 1.7;
}

.yw-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--yw-blue);
}

/* ==================== 关于公司与官方联系 ==================== */
.yw-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.yw-company-story h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--yw-ink);
  margin-bottom: 14px;
}

.yw-company-story p {
  font-size: 15px;
  color: var(--yw-ink-2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.yw-company-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.yw-info-card {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 24px;
  box-shadow: var(--yw-shadow-sm);
}

.yw-info-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--yw-ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yw-line);
}

.yw-kv-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.yw-kv-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  font-size: 14px;
  align-items: baseline;
}

.yw-kv-key {
  color: var(--yw-mute);
  font-weight: 500;
}

.yw-kv-val {
  color: var(--yw-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.yw-email-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.yw-email-link {
  color: var(--yw-blue);
  font-family: var(--yw-mono);
  font-weight: 600;
}

.yw-email-link:hover {
  text-decoration: underline;
}

.yw-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--yw-ink-2);
  background: var(--yw-surface);
  border: 1px solid var(--yw-line-strong);
  transition: all 0.16s ease;
}

.yw-copy-btn:hover {
  color: var(--yw-blue);
  border-color: var(--yw-blue-border);
  background: var(--yw-blue-soft);
}

.yw-copy-btn.is-copied {
  color: var(--yw-green);
  border-color: var(--yw-green-border);
  background: var(--yw-green-bg);
}

/* ==================== 合规文档页通用布局（privacy / terms / data-list） ==================== */
.yw-doc-hero {
  background: linear-gradient(180deg, #F7F9FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--yw-line);
  padding: 40px 0 32px;
}

.yw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--yw-mute);
  margin-bottom: 14px;
}

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

.yw-doc-hero h1 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  color: var(--yw-ink);
  margin-bottom: 14px;
}

.yw-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--yw-ink-2);
}

.yw-doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yw-doc-meta strong {
  color: var(--yw-ink);
  font-weight: 600;
}

.yw-doc-body {
  padding: 36px 0 72px;
}

.yw-doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* 左侧桌面端目录 */
.yw-toc-aside {
  position: sticky;
  top: 84px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 18px 16px;
}

.yw-toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--yw-mute);
  margin-bottom: 10px;
  padding-left: 8px;
}

.yw-toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yw-toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13.2px;
  line-height: 1.45;
  color: var(--yw-ink-2);
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease;
}

.yw-toc-list a:hover {
  background: rgba(51, 70, 255, 0.06);
  color: var(--yw-ink);
}

.yw-toc-list a.is-current {
  background: var(--yw-blue-soft);
  color: var(--yw-blue);
  font-weight: 700;
}

.yw-toc-divider {
  height: 1px;
  background: var(--yw-line);
  margin: 14px 0;
}

.yw-toc-sibling {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yw-toc-sibling a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--yw-ink-2);
}

.yw-toc-sibling a:hover {
  background: #FFFFFF;
  color: var(--yw-blue);
}

/* 手机端可折叠目录 */
.yw-mobile-toc {
  display: none;
  margin-bottom: 20px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-sm);
  overflow: hidden;
}

.yw-mobile-toc summary {
  list-style: none;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yw-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yw-mobile-toc summary::-webkit-details-marker {
  display: none;
}

.yw-mobile-toc .yw-toc-chevron {
  transition: transform 0.2s ease;
  color: var(--yw-mute);
}

.yw-mobile-toc[open] .yw-toc-chevron {
  transform: rotate(180deg);
}

.yw-mobile-toc-body {
  padding: 0 12px 12px;
  border-top: 1px solid var(--yw-line);
}

.yw-mobile-toc-body a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--yw-ink-2);
}

.yw-mobile-toc-body a:hover {
  background: #FFFFFF;
  color: var(--yw-blue);
}

/* 顶部核心摘要卡 */
.yw-summary-card {
  background: linear-gradient(135deg, #F5F7FF 0%, #F8FAFC 100%);
  border: 1px solid var(--yw-blue-border);
  border-radius: var(--yw-radius-md);
  padding: 20px 22px;
  margin-bottom: 28px;
}

.yw-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.yw-summary-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--yw-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yw-summary-note {
  font-size: 12px;
  color: var(--yw-mute);
}

.yw-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.yw-summary-item {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: 12px;
  padding: 12px 13px;
}

.yw-summary-item b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--yw-blue);
  margin-bottom: 2px;
}

.yw-summary-item.is-green b {
  color: var(--yw-green);
}

.yw-summary-item span {
  display: block;
  font-size: 12.5px;
  color: var(--yw-ink-2);
  line-height: 1.48;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 文档正文阅读区 */
.yw-article {
  max-width: 780px;
  min-width: 0;
}

.yw-prose {
  color: var(--yw-ink);
  font-size: 15px;
  line-height: 1.85;
}

.yw-prose p {
  margin-bottom: 16px;
  color: var(--yw-ink-2);
}

.yw-prose strong {
  color: var(--yw-ink);
  font-weight: 700;
}

.yw-prose h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--yw-ink);
  margin: 34px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--yw-line);
  scroll-margin-top: 84px;
  line-height: 1.38;
}

.yw-prose h2:first-of-type {
  margin-top: 22px;
}

.yw-prose h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--yw-ink);
  margin: 22px 0 10px;
  scroll-margin-top: 84px;
}

.yw-prose ol,
.yw-prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--yw-ink-2);
}

.yw-prose li {
  margin-bottom: 12px;
}

.yw-prose li p {
  margin-bottom: 6px;
}

.yw-prose code {
  font-family: var(--yw-mono);
  font-size: 13px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--yw-ink);
  overflow-wrap: anywhere;
}

.yw-prose a {
  color: var(--yw-blue);
  font-weight: 600;
}

.yw-prose a:hover {
  text-decoration: underline;
}

.yw-contact-box {
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 14px 0 16px;
}

.yw-contact-box p {
  margin-bottom: 6px;
  color: var(--yw-ink);
  font-size: 14.5px;
}

.yw-contact-box p:last-child {
  margin-bottom: 0;
}

.yw-doc-callout {
  background: var(--yw-green-bg);
  border: 1px solid var(--yw-green-border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0 22px;
  color: #14532D;
  font-size: 14.5px;
  line-height: 1.75;
}

.yw-doc-callout strong {
  color: #14532D;
}

/* ==================== 双清单结构化表格与移动端卡片适配 ==================== */
.yw-list-block {
  background: #FFFFFF;
  border: 1px solid var(--yw-line);
  border-radius: var(--yw-radius-md);
  padding: 26px 24px;
  margin-bottom: 24px;
  box-shadow: var(--yw-shadow-sm);
  scroll-margin-top: 84px;
}

.yw-list-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--yw-line);
}

.yw-list-block-head h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 20px;
  font-weight: 800;
  color: var(--yw-ink);
}

.yw-table-wrap {
  width: 100%;
  margin: 16px 0 20px;
}

.yw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  line-height: 1.65;
  border: 1px solid var(--yw-line);
  border-radius: 12px;
  overflow: hidden;
}

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

.yw-table thead th {
  background: var(--yw-surface);
  color: var(--yw-ink);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.yw-table tbody tr:last-child td {
  border-bottom: none;
}

.yw-table td {
  color: var(--yw-ink-2);
}

.yw-table td code {
  font-size: 12.2px;
}

.yw-table td strong {
  color: var(--yw-ink);
}

.yw-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.48;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.yw-status-local {
  background: var(--yw-green-bg);
  color: var(--yw-green);
}

.yw-status-vibrate {
  background: var(--yw-blue-soft);
  color: var(--yw-blue);
}

.yw-status-none {
  background: var(--yw-surface-2);
  color: var(--yw-ink-2);
}

.yw-not-collected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.yw-nc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yw-ink-2);
}

.yw-nc-chip i {
  font-style: normal;
  color: var(--yw-green);
  font-weight: 800;
}

/* 开源声明折叠面板 */
.yw-collapse-box {
  margin-top: 22px;
  border: 1px solid var(--yw-line);
  border-radius: 14px;
  background: var(--yw-surface);
  overflow: hidden;
}

.yw-collapse-box summary {
  list-style: none;
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--yw-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.yw-collapse-box summary::-webkit-details-marker {
  display: none;
}

.yw-collapse-inner {
  padding: 4px 18px 18px;
  background: #FFFFFF;
  border-top: 1px solid var(--yw-line);
}

/* 文档底部关联导航 */
.yw-doc-footer-nav {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--yw-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yw-doc-nav-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--yw-surface);
  border: 1px solid var(--yw-line);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.yw-doc-nav-card:hover {
  border-color: var(--yw-blue-border);
  background: #FAFBFF;
}

.yw-doc-nav-card span {
  font-size: 12px;
  color: var(--yw-mute);
}

.yw-doc-nav-card strong {
  font-size: 14.5px;
  color: var(--yw-ink);
}

/* ==================== 统一企业与备案页脚 ==================== */
.yw-footer {
  background: #F8FAFD;
  border-top: 1px solid var(--yw-line);
  padding: 44px 0 36px;
  color: var(--yw-ink-2);
}

.yw-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--yw-line);
}

.yw-footer-brand {
  max-width: 420px;
}

.yw-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.yw-footer-brand-row img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.yw-footer-brand-row strong {
  font-size: 15px;
  color: var(--yw-ink);
}

.yw-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--yw-mute);
}

.yw-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
}

.yw-footer-links a {
  color: var(--yw-ink-2);
  transition: color 0.16s ease;
}

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

.yw-footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  font-size: 12.5px;
  color: var(--yw-mute);
}

.yw-filing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.yw-filing-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yw-ink-2);
  transition: color 0.16s ease;
}

.yw-filing-link:hover {
  color: var(--yw-blue);
}

.yw-filing-pending {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--yw-amber-bg);
  border: 1px solid var(--yw-amber-border);
  color: var(--yw-amber);
  font-size: 11px;
  font-weight: 600;
}

/* 复制提示气泡 */
.yw-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 14px);
  background: #0C0D1C;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(12, 13, 28, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--yw-ease);
  z-index: 100;
}

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

/* ==================== 响应式适配（平板 / 728px 嵌入 / 375px 手机） ==================== */
@media (max-width: 960px) {
  .yw-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .yw-hero-desc {
    max-width: none;
  }

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

  .yw-metric-cell:nth-child(2n) {
    border-right: none;
  }

  .yw-metric-cell:nth-child(1),
  .yw-metric-cell:nth-child(2) {
    border-bottom: 1px solid var(--yw-line);
  }

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

  .yw-gallery-grid,
  .yw-compliance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .yw-gallery-card {
    padding: 16px 12px 16px;
  }

  .yw-gallery-phone {
    width: 172px;
    border-radius: 24px;
    padding: 6px;
  }

  .yw-gallery-screen {
    border-radius: 19px;
  }

  .yw-compliance-card {
    padding: 18px 16px;
  }

  .yw-company-grid {
    grid-template-columns: 1fr;
  }

  .yw-doc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .yw-toc-aside {
    display: none;
  }

  .yw-mobile-toc {
    display: block;
  }

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

@media (max-width: 680px) {
  .yw-wrap {
    padding: 0 16px;
  }

  .yw-nav {
    display: none;
  }

  .yw-menu-btn {
    display: inline-flex;
  }

  .yw-hero {
    padding: 36px 0 44px;
  }

  .yw-section {
    padding: 48px 0;
  }

  .yw-sec-head {
    margin-bottom: 26px;
  }

  .yw-features-grid,
  .yw-gallery-grid,
  .yw-compliance-grid,
  .yw-doc-footer-nav {
    grid-template-columns: 1fr;
  }

  .yw-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .yw-btn {
    width: 100%;
  }

  .yw-kv-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .yw-list-block {
    padding: 18px 16px;
  }

  .yw-doc-hero {
    padding: 28px 0 24px;
  }

  .yw-doc-body {
    padding: 24px 0 52px;
  }

  .yw-summary-card {
    padding: 16px;
  }

  /* 手机端表格转为清晰堆叠卡片，零横向溢出 */
  .yw-table-responsive,
  .yw-table-responsive thead,
  .yw-table-responsive tbody,
  .yw-table-responsive tr,
  .yw-table-responsive td {
    display: block;
    width: 100%;
  }

  .yw-table-responsive {
    border: none;
    overflow: visible;
  }

  .yw-table-responsive thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .yw-table-responsive tbody tr {
    background: var(--yw-surface);
    border: 1px solid var(--yw-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
  }

  .yw-table-responsive tbody tr:last-child {
    margin-bottom: 0;
  }

  .yw-table-responsive td {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(12, 13, 28, 0.08);
  }

  .yw-table-responsive td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .yw-table-responsive td::before {
    content: attr(data-label);
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--yw-mute);
    margin-bottom: 2px;
  }
}

@media (max-width: 420px) {
  .yw-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yw-metric-cell {
    padding: 18px 14px;
  }

  .yw-metric-num {
    font-size: 22px;
  }

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

  .yw-brand-sub {
    display: none;
  }

  .yw-phone-frame {
    width: 264px;
  }
}

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

@media print {
  .yw-header,
  .yw-toc-aside,
  .yw-mobile-toc,
  .yw-doc-footer-nav,
  .yw-copy-btn {
    display: none !important;
  }
  .yw-doc-layout {
    display: block;
  }
  .yw-article {
    max-width: 100%;
  }
  body {
    background: #FFFFFF;
    color: #000000;
  }
}
