/* 向量律动 — design tokens */
:root {
  --ink: #0e2433;
  --ink-soft: #1c3a4d;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --teal-mist: #e6f7f5;
  --field: #f3faf9;
  --amber: #f59e0b;
  --white: #ffffff;
  --line: rgba(14, 36, 51, 0.1);
  --text: #243746;
  --muted: #5a7180;
  --header-h: 72px;
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(14, 36, 51, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(20, 184, 166, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(245, 158, 11, 0.08), transparent 50%),
    var(--field);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(243, 250, 249, 0.82);
  backdrop-filter: blur(14px);
  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(243, 250, 249, 0.94);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 7px 8px 8px;
  border-left: 2px solid var(--teal-bright);
  border-bottom: 2px solid var(--teal-bright);
  transform: skewX(-12deg);
}

.logo-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  right: 7px;
  top: 7px;
}

.logo-mark.small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

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

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.nav-cta:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(243, 250, 249, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px 8px;
  font-weight: 550;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-vectors {
  width: 100%;
  height: 100%;
}

.v-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-path 2.8s var(--ease) forwards;
}

.v2 {
  animation-delay: 0.25s;
}

.v3 {
  animation-delay: 0.5s;
}

.v-node {
  opacity: 0;
  animation: node-in 0.6s var(--ease) forwards;
}

.n1 {
  animation-delay: 1.4s;
}

.n2 {
  animation-delay: 1.6s;
}

.n3 {
  animation-delay: 1.8s;
}

@keyframes draw-path {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes node-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  animation: rise 0.9s var(--ease) both;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 36em;
  font-size: 1.05rem;
  color: var(--muted);
  animation: rise 0.9s var(--ease) 0.18s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 0.9s var(--ease) 0.26s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease,
    box-shadow 0.25s var(--ease);
}

.btn:focus-visible,
.nav a:focus-visible,
.nav-cta:focus-visible,
.beian:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: #0d9488;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14, 36, 51, 0.18);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.hero-status {
  position: relative;
  z-index: 1;
  margin: clamp(48px, 8vh, 80px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  animation: rise 0.9s var(--ease) 0.35s both;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(20, 184, 166, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

/* Sections */
.section {
  padding: clamp(72px, 12vw, 120px) clamp(20px, 4vw, 48px);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow.light {
  color: rgba(230, 247, 245, 0.75);
}

.section-title {
  margin: 0 0 20px;
  max-width: 16em;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-lead {
  margin: 0 0 48px;
  max-width: 42em;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Vision */
.vision {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.7)),
    var(--field);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.vision-main p {
  margin: 0 0 1.1em;
  color: var(--text);
  font-size: 1.05rem;
}

.vision-aside blockquote {
  margin: 0 0 28px;
  padding: 28px 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
}

.vision-aside blockquote p {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 600;
}

.vision-aside cite {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

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

.vision-points li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid var(--teal-bright);
}

.vision-points strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.vision-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product */
.product {
  background: var(--white);
}

.product-stage {
  display: flex;
  justify-content: center;
  margin: 0 0 64px;
  perspective: 1000px;
}

.phone {
  width: min(280px, 78vw);
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a3548, #0e2433);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotateX(6deg) rotateY(-8deg);
  animation: phone-float 5s ease-in-out infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: rotateX(6deg) rotateY(-8deg) translateY(0);
  }
  50% {
    transform: rotateX(6deg) rotateY(-8deg) translateY(-10px);
  }
}

.phone-notch {
  width: 96px;
  height: 18px;
  margin: 4px auto 10px;
  border-radius: 999px;
  background: #081722;
}

.phone-screen {
  border-radius: 26px;
  background: linear-gradient(180deg, #f7fffe, #eef8f6);
  padding: 18px 16px 20px;
  min-height: 360px;
  color: var(--ink);
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 18px;
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.app-goal {
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.app-goal small {
  display: block;
  opacity: 0.65;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.app-goal strong {
  font-size: 0.98rem;
  line-height: 1.4;
}

.app-track {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.track-row {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.track-row i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(14, 36, 51, 0.08);
  position: relative;
  overflow: hidden;
}

.track-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  border-radius: inherit;
  transform-origin: left;
  animation: fill-bar 1.4s var(--ease) both;
}

@keyframes fill-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.app-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
  padding-top: 8px;
  border-top: 1px dashed rgba(14, 36, 51, 0.12);
}

.feature-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-bright);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.feature-body h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
}

.feature-body p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

/* Audience */
.audience {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 40%),
    var(--teal-mist);
}

.audience-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.band {
  background: rgba(255, 255, 255, 0.72);
  padding: 28px 24px;
}

.band h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--ink);
}

.band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Services */
.services {
  background: var(--field);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.service-item {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--ink);
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

/* Approach */
.approach {
  background: var(--white);
}

.approach-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.approach-intro p {
  margin: 0 0 1.1em;
  color: var(--text);
  font-size: 1.05rem;
}

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

.principles li {
  display: grid;
  gap: 6px;
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--amber);
}

.principles strong {
  color: var(--ink);
  font-size: 1.05rem;
}

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

/* Waitlist */
.waitlist {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(20, 184, 166, 0.25), transparent 55%),
    var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.waitlist .section-title {
  color: var(--white);
}

.waitlist .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.roadmap li {
  position: relative;
  padding: 0 0 32px 28px;
}

.roadmap li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(14, 36, 51, 0.4);
}

.roadmap li.done::before {
  background: var(--teal-bright);
}

.roadmap li.now::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}

.rm-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.roadmap li.now .rm-label {
  color: var(--amber);
}

.roadmap strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.1rem;
}

.roadmap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  max-width: 40em;
}

/* About */
.about {
  background: var(--teal-mist);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.1em;
  color: var(--text);
}

.about-facts {
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  gap: 22px;
}

.about-facts div {
  display: grid;
  gap: 4px;
}

.about-facts dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px clamp(20px, 4vw, 48px) 36px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.beian {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.beian:hover {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}

.copyright {
  opacity: 0.55;
  font-size: 0.82rem !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .vision-grid,
  .approach-layout,
  .about-grid,
  .audience-bands,
  .service-list {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 56px 1fr;
  }

  .phone {
    transform: none;
    animation: none;
  }
}

@media (max-width: 780px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero-brand {
    letter-spacing: 0.02em;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

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

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