:root {
  color-scheme: light;
  --ink: #16211e;
  --ink-muted: #52635e;
  --surface: #ffffff;
  --canvas: #f4f7f5;
  --canvas-muted: #eaf0ed;
  --border: #cdd8d3;
  --border-dark: rgba(151, 191, 175, 0.32);
  --mint: #0b7a63;
  --mint-bright: #3ad6ae;
  --mint-soft: #dff4ee;
  --amber: #b4690b;
  --amber-soft: #fff0d8;
  --coral: #c94f38;
  --coral-soft: #fde7e1;
  --violet: #6d4bd8;
  --violet-soft: #eee9ff;
  --stage: #05100d;
  --stage-surface: rgba(10, 31, 27, 0.82);
  --stage-text: #f5fbf9;
  --stage-muted: #a9c1ba;
  --shadow: 0 10px 30px rgba(22, 33, 30, 0.1);
  --radius: 8px;
  --control-radius: 6px;
  --font: "PingFang SC", "HarmonyOS Sans", "MiSans", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--control-radius);
  background: var(--stage);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--mint-bright);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 16, 13, 0.96);
  color: var(--stage-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border: 3px solid var(--mint-bright);
  border-radius: 6px;
  background:
    linear-gradient(to right, transparent 46%, var(--mint-bright) 46%, var(--mint-bright) 60%, transparent 60%),
    linear-gradient(to bottom, transparent 54%, var(--amber) 54%, var(--amber) 68%, transparent 68%);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-name span {
  display: block;
  color: var(--mint-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  position: fixed;
  inset: 64px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 20px 40px;
  background: var(--stage);
  overflow-y: auto;
}

.site-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--control-radius);
  color: var(--stage-text);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(58, 214, 174, 0.14);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 92px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--stage-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-button svg {
  width: 18px;
  height: 18px;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--mint-bright);
  color: #04110d;
}

.button-primary:hover {
  background: #65e5bd;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--stage-text);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 36px;
  overflow: hidden;
  background: var(--stage);
  color: var(--stage-text);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 214, 174, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 214, 174, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
}

.energy-curve {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  width: 100%;
  height: 58%;
}

.energy-curve path {
  stroke: var(--mint-bright);
  stroke-width: 4;
  stroke-linecap: round;
}

.energy-curve .curve-soft {
  stroke: rgba(180, 105, 11, 0.62);
  stroke-width: 3;
  stroke-dasharray: 10 12;
}

.energy-curve circle {
  fill: #ffd68a;
}

.peak-line {
  position: absolute;
  top: 18%;
  right: 16%;
  width: 1px;
  height: 38%;
  background: rgba(255, 214, 138, 0.38);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow,
.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-bright);
  font-size: 14px;
  font-weight: 700;
}

.section .eyebrow {
  color: var(--mint);
}

.live-band .eyebrow {
  color: var(--mint-bright);
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-copy {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--stage-muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.hero-preview {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 14px;
  border: 1px solid rgba(151, 191, 175, 0.28);
  border-radius: var(--radius);
  background: var(--stage-surface);
  backdrop-filter: blur(6px);
}

.preview-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(151, 191, 175, 0.22);
}

.preview-label {
  display: block;
  color: var(--stage-muted);
  font-size: 13px;
}

.preview-header strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.preview-status {
  display: none;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(58, 214, 174, 0.38);
  border-radius: var(--control-radius);
  color: var(--mint-bright);
  font-size: 13px;
  font-weight: 700;
}

.preview-status svg {
  width: 14px;
  height: 14px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.preview-metric {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(151, 191, 175, 0.18);
  border-radius: var(--radius);
  background: rgba(4, 17, 13, 0.42);
}

.preview-metric span {
  display: block;
  color: var(--stage-muted);
  font-size: 13px;
}

.preview-metric strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.2;
}

.preview-metric small {
  display: none;
  color: var(--stage-muted);
  font-size: 12px;
  line-height: 1.45;
}

.preview-report {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.report-draft,
.report-annotation,
.preview-evidence {
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius);
}

.report-draft {
  border: 1px solid rgba(151, 125, 255, 0.32);
  background: rgba(89, 61, 168, 0.18);
}

.report-annotation {
  border: 1px solid rgba(255, 214, 138, 0.3);
  background: rgba(180, 105, 11, 0.14);
}

.preview-evidence {
  display: none;
  border: 1px solid rgba(151, 191, 175, 0.2);
  background: rgba(4, 17, 13, 0.42);
}

.report-draft span,
.report-annotation span,
.preview-evidence span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.report-draft span {
  color: #c9b8ff;
}

.report-annotation span {
  color: #ffd68a;
}

.preview-evidence span {
  color: var(--stage-muted);
}

.report-draft svg,
.report-annotation svg {
  width: 14px;
  height: 14px;
}

.report-draft p,
.report-annotation p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.preview-evidence strong {
  display: block;
  margin-top: 4px;
  color: var(--stage-text);
  font-size: 13px;
  line-height: 1.5;
}

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

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--canvas);
}

.section-muted {
  background: var(--canvas-muted);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2,
.live-layout h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  text-wrap: balance;
}

.section-head p,
.live-layout > div > p {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.flow-grid,
.role-grid,
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.flow-item,
.role-card,
.trust-grid article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(22, 33, 30, 0.04);
}

.flow-item h3,
.role-card h3,
.trust-grid article h3,
.growth-notes h3,
.assistant-rules h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.flow-item p,
.role-card p,
.trust-grid article p,
.growth-notes p,
.assistant-rules p {
  margin: 0;
  color: var(--ink-muted);
}

.icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--control-radius);
  background: var(--mint-soft);
  color: var(--mint);
}

.icon-shell svg {
  width: 20px;
  height: 20px;
}

.demo-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.demo-tabs button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--control-radius);
  background: var(--canvas);
  color: var(--ink-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.demo-tabs button svg {
  width: 17px;
  height: 17px;
}

.demo-tabs button:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.demo-tabs button.is-active {
  border-color: var(--mint);
  background: var(--mint-soft);
  color: var(--mint);
}

.demo-panel {
  display: none;
  padding: 0;
}

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

.panel-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 16px;
}

.panel-title h3 {
  margin: 0;
  font-size: 18px;
}

.panel-title span {
  color: var(--ink-muted);
  font-size: 13px;
}

.analysis-layout,
.growth-layout,
.assistant-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.timeline-card,
.summary-card {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

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

.timeline li {
  position: relative;
  padding-left: 18px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.timeline li.is-highlight::before {
  background: var(--amber);
}

.timeline .time {
  display: block;
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.timeline strong {
  display: block;
  margin: 3px 0 4px;
  font-size: 16px;
}

.timeline p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.summary-card > p {
  margin: 0;
  color: var(--ink);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 8px;
  border-radius: var(--control-radius);
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}

.ai-badge svg {
  width: 14px;
  height: 14px;
}

.evidence-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 14px;
}

.evidence-list svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
}

.growth-layout,
.assistant-layout {
  background: #ffffff;
}

.phone-preview {
  max-width: 340px;
  margin: 24px auto;
  padding: 20px 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--stage);
  color: var(--stage-text);
}

.phone-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.phone-top span {
  color: var(--mint-bright);
  font-size: 13px;
  font-weight: 700;
}

.phone-top strong {
  font-size: 18px;
}

.phone-goal {
  margin: 0 0 16px;
  color: var(--stage-muted);
  font-size: 14px;
}

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

.practice-list li {
  padding: 10px;
  border: 1px solid rgba(151, 191, 175, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.practice-list strong {
  display: block;
  font-size: 15px;
}

.practice-list span {
  display: block;
  margin-top: 3px;
  color: var(--stage-muted);
  font-size: 13px;
  line-height: 1.5;
}

.phone-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(151, 191, 175, 0.22);
  color: var(--stage-muted);
  font-size: 12px;
  line-height: 1.55;
}

.growth-notes,
.assistant-rules {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.growth-notes article,
.assistant-rules article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
}

.growth-notes h3,
.assistant-rules h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.growth-notes p,
.assistant-rules p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.assistant-rules .icon-shell {
  grid-row: span 2;
}

.chat-preview {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: var(--canvas-muted);
}

.chat-row {
  max-width: 88%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.chat-row span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}

.chat-row p {
  margin: 0;
  font-size: 15px;
}

.chat-row.is-ai {
  justify-self: end;
  border-color: rgba(109, 75, 216, 0.24);
  background: var(--violet-soft);
}

.chat-row.is-ai span {
  color: var(--violet);
}

.live-band {
  padding: 64px 0;
  background: #10231e;
  color: #f4fbf8;
}

.live-layout {
  display: grid;
  gap: 28px;
}

.live-layout h2 {
  color: #ffffff;
}

.live-layout > div:first-child > p {
  max-width: 620px;
  color: #b8cdc6;
}

.danmaku-panel {
  min-width: 0;
  border: 1px solid rgba(151, 191, 175, 0.26);
  border-radius: var(--radius);
  background: rgba(5, 16, 13, 0.5);
  overflow: hidden;
}

.danmaku-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(151, 191, 175, 0.2);
  background: rgba(5, 16, 13, 0.5);
}

.danmaku-header span {
  color: var(--stage-muted);
  font-size: 13px;
}

.danmaku-header strong {
  color: var(--mint-bright);
  font-size: 14px;
}

.danmaku-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.danmaku-item,
.danmaku-reply {
  max-width: 90%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(151, 191, 175, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.danmaku-item span,
.danmaku-reply span {
  display: block;
  margin-bottom: 4px;
  color: var(--stage-muted);
  font-size: 12px;
  font-weight: 700;
}

.danmaku-item p,
.danmaku-reply p {
  margin: 0;
  color: #e9f5f1;
  font-size: 14px;
  line-height: 1.55;
}

.danmaku-reply {
  justify-self: end;
  border-color: rgba(58, 214, 174, 0.34);
  background: rgba(58, 214, 174, 0.12);
}

.danmaku-reply span {
  color: var(--mint-bright);
}

.danmaku-reply.is-fan {
  border-color: rgba(151, 125, 255, 0.36);
  background: rgba(109, 75, 216, 0.18);
}

.danmaku-reply.is-fan span {
  color: #c9b8ff;
}

.danmaku-reply.is-gift {
  border-color: rgba(255, 214, 138, 0.36);
  background: rgba(180, 105, 11, 0.18);
}

.danmaku-reply.is-gift span {
  color: #ffd68a;
}

.danmaku-footer {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(151, 191, 175, 0.2);
  color: var(--stage-muted);
  font-size: 12px;
  line-height: 1.55;
}

.live-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.live-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
}

.live-points svg {
  width: 18px;
  height: 18px;
  color: var(--mint-bright);
}

.live-points span {
  color: #b8cdc6;
  font-size: 15px;
  line-height: 1.55;
}

.live-points strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
}

.site-footer {
  padding: 36px 0;
  background: #04100c;
  color: #b8cdc6;
}

.footer-inner {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-company {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer address {
  margin: 0;
  max-width: 680px;
  color: #b8cdc6;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .preview-status {
    display: inline-flex;
  }

  .preview-header {
    flex-direction: row;
    align-items: center;
  }

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

  .preview-report {
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }

  .preview-evidence {
    display: block;
  }

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

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

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

  .field {
    grid-template-columns: 120px 1fr;
    align-items: start;
  }

  .field small {
    grid-column: 2;
  }
}

@media (min-width: 760px) {
  .hero {
    padding-top: 74px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head h2,
  .live-layout h2 {
    font-size: 34px;
  }

  .analysis-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .timeline-card {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .growth-layout {
    grid-template-columns: 340px 1fr;
    align-items: start;
  }

  .phone-preview {
    margin: 24px 0 24px 20px;
  }

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

  .chat-preview {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .live-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

}

@media (min-width: 900px) {
  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .site-nav a {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 15px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
