:root {
  --bg: #f4efe7;
  --bg-soft: #fcfaf6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --line: rgba(13, 47, 69, 0.12);
  --line-strong: rgba(13, 47, 69, 0.24);
  --text: #173042;
  --text-soft: rgba(23, 48, 66, 0.76);
  --brand: #0d2f45;
  --brand-alt: #1b6c73;
  --accent: #c98d4b;
  --accent-soft: rgba(201, 141, 75, 0.18);
  --shadow: 0 24px 80px rgba(11, 35, 51, 0.12);
  --shadow-soft: 0 10px 30px rgba(11, 35, 51, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 141, 75, 0.22), transparent 26%),
    radial-gradient(circle at top right, rgba(27, 108, 115, 0.18), transparent 24%),
    linear-gradient(180deg, #faf6ef 0%, #f6f0e6 34%, #f4efe7 100%);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 246, 239, 0.72);
  border-bottom: 1px solid rgba(13, 47, 69, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-alt) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: rgba(13, 47, 69, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(13, 47, 69, 0.08);
  color: var(--brand);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto auto 15% -6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(201, 141, 75, 0.16);
  filter: blur(14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 44px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 1.3rem;
  color: var(--brand-alt);
}

.hero-text,
.page-hero p,
.section-heading p,
.feature-card p,
.value-card p,
.showcase-panel p,
.info-card p,
.prose-card p,
.legal-section p,
.legal-section li,
.contact-card p {
  color: var(--text-soft);
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-alt) 100%);
  color: #fff;
  box-shadow: 0 18px 32px rgba(13, 47, 69, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(13, 47, 69, 0.12);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #e2b47c 100%);
  box-shadow: 0 0 0 6px rgba(201, 141, 75, 0.14);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(13, 47, 69, 0.08);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 580px;
}

.phone-stack {
  position: absolute;
  width: min(100%, 350px);
  aspect-ratio: 0.62;
  border-radius: 36px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(9, 27, 38, 0.95), rgba(19, 50, 66, 0.92));
  box-shadow: var(--shadow);
  animation: drift 7s ease-in-out infinite;
}

.phone-front {
  top: 12px;
  right: 8%;
  transform: rotate(-6deg);
}

.phone-back {
  left: 4%;
  bottom: 30px;
  transform: rotate(8deg);
  animation-delay: -2.5s;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 26px 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(201, 141, 75, 0.25), transparent 28%),
    linear-gradient(180deg, #fbf8f1 0%, #eff4f1 100%);
}

.mock-card,
.mock-pill,
.showcase-panel,
.feature-card,
.value-card,
.cta-card,
.info-card,
.prose-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.mock-card {
  padding: 16px;
  border-radius: 20px;
}

.mock-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.mock-card strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.accent-card {
  background: linear-gradient(145deg, rgba(13, 47, 69, 0.94), rgba(27, 108, 115, 0.94));
  color: #fff;
}

.accent-card span {
  color: rgba(255, 255, 255, 0.72);
}

.light-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 241, 231, 0.92));
}

.mock-pill {
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(27, 108, 115, 0.16), rgba(13, 47, 69, 0.08));
}

.mock-list {
  display: grid;
  gap: 12px;
}

.mock-list div {
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(13, 47, 69, 0.08), rgba(13, 47, 69, 0.02));
}

.mock-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 150px;
}

.mock-chart span {
  display: block;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(27, 108, 115, 0.78), rgba(201, 141, 75, 0.42));
}

.mock-chart span:nth-child(1) {
  height: 58%;
}

.mock-chart span:nth-child(2) {
  height: 82%;
}

.mock-chart span:nth-child(3) {
  height: 70%;
}

.section,
.page-hero {
  padding: 34px 0 46px;
}

.page-main .page-hero {
  padding-top: 72px;
}

.section-muted {
  background: rgba(255, 255, 255, 0.28);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.left-aligned {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.feature-grid,
.value-grid,
.showcase-grid,
.info-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

.feature-card,
.value-card,
.showcase-panel,
.info-card,
.prose-card,
.legal-card,
.cta-card {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.feature-card h3,
.value-card h3,
.showcase-panel h3,
.timeline-item h3,
.legal-section h2 {
  margin: 0 0 10px;
}

.feature-icon,
.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 47, 69, 0.96), rgba(27, 108, 115, 0.9));
  color: #fff;
  font-weight: 700;
}

.showcase {
  display: grid;
  gap: 24px;
}

.showcase-panel {
  min-height: 190px;
}

.cta-section {
  padding-bottom: 68px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at top right, rgba(201, 141, 75, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(13, 47, 69, 0.96), rgba(27, 108, 115, 0.92));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-card .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.prose-card,
.legal-card {
  background: rgba(255, 255, 255, 0.78);
}

.prose-card p + p,
.legal-section + .legal-section {
  margin-top: 18px;
}

.legal-card {
  display: grid;
  gap: 10px;
}

.legal-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
}

.info-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.info-card strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.45;
}

.compact-cta {
  margin-top: 4px;
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid rgba(13, 47, 69, 0.08);
  background: rgba(13, 47, 69, 0.03);
}

.footer-grid,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid {
  padding-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-meta {
  color: var(--text-soft);
}

.footer-meta {
  padding-top: 18px;
  border-top: 1px solid rgba(13, 47, 69, 0.08);
  flex-wrap: wrap;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(var(--angle, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--angle, 0deg));
  }
}

.phone-front {
  --angle: -6deg;
}

.phone-back {
  --angle: 8deg;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .showcase-grid,
  .value-grid,
  .info-grid,
  .contact-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
  }

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

  .phone-front {
    right: 2%;
  }

  .phone-back {
    left: 2%;
  }

  .cta-card {
    display: grid;
  }

  .footer-grid,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero-grid {
    padding-top: 52px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

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

  .phone-stack {
    width: min(86vw, 310px);
  }

  .section,
  .page-hero {
    padding: 26px 0 36px;
  }

  .feature-card,
  .value-card,
  .showcase-panel,
  .info-card,
  .prose-card,
  .legal-card,
  .cta-card,
  .timeline-item {
    padding: 22px;
  }
}
