:root {
  font-family: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --page: oklch(0.982 0.01 165);
  --paper: oklch(0.996 0.004 150);
  --soft: oklch(0.952 0.025 165);
  --soft-blue: oklch(0.955 0.024 235);
  --line: oklch(0.88 0.018 165);
  --line-strong: oklch(0.75 0.032 165);
  --ink: oklch(0.23 0.026 165);
  --text: oklch(0.33 0.021 165);
  --muted: oklch(0.52 0.018 165);
  --brand: oklch(0.48 0.118 172);
  --brand-dark: oklch(0.38 0.104 172);
  --brand-soft: oklch(0.925 0.046 172);
  --blue: oklch(0.53 0.13 252);
  --blue-soft: oklch(0.94 0.032 252);
  --warm: oklch(0.62 0.115 55);
  --warm-soft: oklch(0.955 0.042 55);
  --shadow: 0 1px 2px oklch(0.2 0.02 165 / 0.06), 0 18px 48px oklch(0.25 0.025 165 / 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, oklch(0.996 0.004 150), transparent 360px),
    linear-gradient(90deg, oklch(0.88 0.018 165 / 0.26) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, oklch(0.88 0.018 165 / 0.2) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--page);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, oklch(0.996 0.004 150 / 0.78), transparent 42%),
    linear-gradient(180deg, oklch(0.925 0.046 172 / 0.54), oklch(0.955 0.024 235 / 0.24) 36%, transparent 70%);
}

a {
  color: inherit;
}

img {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  border: 1px solid oklch(0.88 0.018 165 / 0.72);
  border-radius: var(--radius);
  padding: 10px 12px 10px 14px;
  background: oklch(0.996 0.004 150 / 0.84);
  box-shadow: 0 8px 28px oklch(0.24 0.02 165 / 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a {
  border-radius: var(--radius);
  padding: 8px 4px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-links a:hover {
  background: var(--brand-soft);
}

.login-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.login-link:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  box-shadow: 0 8px 24px oklch(0.34 0.04 172 / 0.1);
}

.hero-section,
.section,
.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: 62px;
  min-height: min(700px, calc(100dvh - 150px));
  padding: 62px 0 66px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(46px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.68;
}

.hero-copy,
.hero-visual,
.founder-panel,
.message-card {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-action {
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 12px 26px oklch(0.42 0.09 172 / 0.22);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--brand-dark);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:hover {
  background: var(--brand-dark);
  box-shadow: 0 18px 36px oklch(0.36 0.09 172 / 0.26);
}

.secondary-action:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin: 0;
}

.hero-metrics div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 840;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid oklch(0.82 0.028 165);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(135deg, oklch(0.996 0.004 150 / 0.98), oklch(0.955 0.024 235 / 0.88)),
    var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, oklch(0.48 0.118 172 / 0.1) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, oklch(0.53 0.13 252 / 0.07) 1px, transparent 1px) 0 0 / 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  pointer-events: none;
}

.founder-panel,
.message-card,
.route-strip {
  position: relative;
  z-index: 1;
}

.founder-panel {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid oklch(0.84 0.024 165);
  border-radius: var(--radius);
  padding: 18px;
  background: oklch(0.996 0.004 150 / 0.92);
}

.founder-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--blue-soft));
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 900;
}

.panel-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.founder-panel h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.28;
}

.conversation-map {
  display: grid;
  gap: 12px;
  padding: 14px 0 2px;
}

.message-card {
  width: min(340px, 88%);
  border: 1px solid oklch(0.84 0.024 165);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: oklch(0.996 0.004 150 / 0.92);
}

.message-card:nth-child(2) {
  justify-self: end;
  border-color: oklch(0.76 0.06 172);
  background: var(--brand-soft);
}

.message-card-main {
  margin-top: 4px;
}

.message-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 820;
}

.message-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

.route-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid oklch(0.84 0.024 165);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: oklch(0.996 0.004 150 / 0.88);
}

.route-strip span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

.route-strip i {
  height: 1px;
  background: linear-gradient(90deg, var(--brand), oklch(0.48 0.118 172 / 0.12));
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.52fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2,
.cta-section h2 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.solution-copy p,
.system-copy p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.pain-grid,
.experience-grid,
.system-grid {
  display: grid;
  gap: 14px;
}

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

.pain-grid article,
.experience-grid div,
.system-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(0.996 0.004 150 / 0.82);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.72) inset;
}

.pain-grid article {
  min-height: 255px;
  padding: 24px;
}

.pain-grid span {
  color: var(--warm);
  font-size: 13px;
  font-weight: 900;
}

.pain-grid h3 {
  margin: 42px 0 18px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.pain-grid p,
.experience-grid p,
.system-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.solution-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-stack {
  display: grid;
  gap: 12px;
}

.identity-row {
  display: grid;
  grid-template-columns: 70px 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: oklch(0.996 0.004 150 / 0.9);
}

.identity-row span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.identity-row strong {
  color: var(--ink);
  font-size: 22px;
}

.identity-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.experience-section {
  background: linear-gradient(180deg, transparent, oklch(0.955 0.024 235 / 0.5), transparent);
}

.experience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.experience-grid div {
  padding: 28px;
  background: oklch(0.996 0.004 150 / 0.9);
}

.experience-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 880;
}

.system-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
}

.system-copy {
  position: sticky;
  top: 96px;
}

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

.system-grid article {
  min-height: 176px;
  padding: 22px;
}

.system-grid article:first-child {
  background: var(--brand-soft);
}

.system-grid h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 21px;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px;
  background: linear-gradient(135deg, var(--paper), var(--soft-blue));
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 860;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .solution-section,
  .system-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

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

  .section-heading,
  .pain-grid,
  .experience-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-copy {
    position: static;
  }

  .cta-section {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-section,
  .section,
  .cta-section,
  .site-footer {
    width: calc(100% - 28px);
    max-width: 1180px;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    top: 8px;
    width: calc(100% - 24px);
    margin-top: 8px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero-section {
    gap: 34px;
    padding-bottom: 56px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1.08;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    min-height: 0;
    padding: 16px;
    overflow: hidden;
  }

  .founder-panel,
  .identity-row {
    grid-template-columns: 1fr;
  }

  .founder-avatar {
    width: 58px;
    height: 58px;
  }

  .message-card {
    width: 100%;
  }

  .founder-panel h2 {
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .section {
    padding: 66px 0;
  }

  .pain-grid article,
  .experience-grid div,
  .system-grid article,
  .cta-section {
    padding: 22px;
  }

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