:root {
  color-scheme: light;
  --ink: #18213a;
  --body: #52606f;
  --muted: #7a8794;
  --line: rgba(42, 59, 79, 0.14);
  --surface: rgba(255, 255, 255, 0.82);
  --solid: #ffffff;
  --green: #1f9f83;
  --leaf: #6fd19e;
  --blue: #4878d9;
  --aqua: #3fc9c4;
  --coral: #f28a76;
  --gold: #f5bf56;
  --soft: #f4f8f4;
  --shadow: 0 24px 70px rgba(40, 67, 91, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(145deg, rgba(237, 247, 241, 0.98), rgba(248, 251, 255, 0.98) 48%, rgba(255, 247, 241, 0.95)),
    radial-gradient(circle at 8% 16%, rgba(111, 209, 158, 0.26), transparent 30%),
    radial-gradient(circle at 92% 24%, rgba(72, 120, 217, 0.18), transparent 28%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 33, 58, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 33, 58, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 68%);
  pointer-events: none;
}

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

a:hover {
  color: var(--green);
}

p {
  color: var(--body);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.glass {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border-radius: 22px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 14px 22px rgba(31, 159, 131, 0.26));
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: -2px;
}

.top-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 760;
}

.top-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.top-nav a:hover {
  background: rgba(31, 159, 131, 0.1);
}

.language-switch select {
  height: 42px;
  padding: 0 36px 0 15px;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.78fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 78px 0 54px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(3rem, 7vw, 6.3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.22rem;
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 900;
  border-radius: 999px;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 34px rgba(31, 159, 131, 0.28);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  padding: 10px 13px;
  color: var(--body);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(420px, 100%);
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(24, 33, 58, 0.96), rgba(39, 70, 92, 0.94)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 46px;
  box-shadow: 0 34px 90px rgba(24, 33, 58, 0.28);
}

.phone-shell::before {
  display: block;
  width: 94px;
  height: 5px;
  margin: 4px auto 12px;
  content: "";
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.phone-screen {
  min-height: 640px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 251, 249, 0.98), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 90% 0%, rgba(111, 209, 158, 0.3), transparent 34%);
  border-radius: 36px;
}

.app-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.app-top small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.mini-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 15px;
}

.vitality-widget {
  position: relative;
  display: grid;
  place-items: center;
  width: 212px;
  height: 212px;
  margin: 28px auto 18px;
  background: rgba(237, 247, 241, 0.95);
  border: 1px solid rgba(31, 159, 131, 0.12);
  border-radius: 34px;
}

.vitality-widget svg {
  position: absolute;
  width: 172px;
  height: 172px;
  transform: rotate(-88deg);
}

.ring-base,
.ring-score {
  fill: none;
  stroke-width: 14;
}

.ring-base {
  stroke: rgba(31, 159, 131, 0.13);
}

.ring-score {
  stroke: var(--green);
  stroke-linecap: round;
  stroke-dasharray: 280 383;
}

.score {
  z-index: 1;
  font-size: 3.25rem;
  font-weight: 950;
  line-height: 1;
}

.score span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

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

.insight-grid div,
.report-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(42, 59, 79, 0.1);
  border-radius: 18px;
}

.insight-grid small,
.feature-card p,
.policy-link small,
.report-card p,
.timeline-preview p,
.contact-card p {
  color: var(--body);
  font-size: 0.92rem;
}

.insight-grid strong {
  display: block;
}

.report-card {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 12px;
}

.report-card p {
  margin: 4px 0 0;
}

.status-dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  border-radius: 999px;
}

.timeline-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.timeline-card span {
  height: 56px;
  background: rgba(31, 159, 131, 0.1);
  border-radius: 16px;
}

.timeline-card span:nth-child(2),
.timeline-card span:nth-child(5) {
  height: 78px;
}

.timeline-card .active {
  height: 104px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.product-section,
.records-section,
.split-section,
.support-wrap {
  padding: 44px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 26px;
}

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

.feature-card {
  min-height: 292px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 38px;
  color: white;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  border-radius: 18px;
}

.records-section {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 22px;
  align-items: center;
}

.records-copy p:last-child {
  max-width: 620px;
  font-size: 1.06rem;
}

.timeline-preview {
  padding: 16px;
  border-radius: var(--radius-xl);
}

.timeline-preview article {
  position: relative;
  padding: 18px 18px 18px 78px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 59, 79, 0.1);
  border-radius: 20px;
}

.timeline-preview article + article {
  margin-top: 12px;
}

.timeline-preview article span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  font-weight: 900;
  background: var(--ink);
  border-radius: 15px;
}

.timeline-preview article p {
  margin: 5px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 18px;
  align-items: stretch;
  padding-bottom: 74px;
}

.safety-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
}

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

.policy-link {
  display: block;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.policy-link span {
  display: block;
  font-size: 1.16rem;
  font-weight: 950;
}

.policy-link small {
  display: block;
  margin-top: 6px;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--body);
}

.footer-mark {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

.site-footer strong {
  margin-left: 8px;
  color: var(--ink);
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-page {
  background:
    linear-gradient(145deg, rgba(237, 247, 241, 0.98), rgba(248, 251, 255, 0.98) 48%, rgba(255, 247, 241, 0.95));
}

.legal-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.legal-hero {
  padding: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
}

.warning-hero {
  border-color: rgba(242, 138, 118, 0.32);
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
}

.legal-card {
  padding: 38px;
  border-radius: var(--radius-xl);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 1.38rem;
  line-height: 1.2;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--body);
}

.legal-card a {
  color: var(--green);
  font-weight: 800;
}

.legal-card table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-card th,
.legal-card td {
  min-width: 220px;
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-card th {
  color: var(--ink);
  background: rgba(31, 159, 131, 0.08);
}

.legal-card tr:last-child td {
  border-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.contact-card h2 {
  font-size: 1.4rem;
}

.contact-card a {
  color: var(--green);
  font-weight: 900;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .top-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section-heading,
  .records-section,
  .split-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .site-header,
  .section-wrap,
  .site-footer,
  .legal-wrap {
    width: min(100% - 20px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4.1rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .phone-shell {
    border-radius: 34px;
    padding: 12px;
  }

  .phone-screen {
    min-height: 580px;
    padding: 18px;
    border-radius: 28px;
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-card,
  .legal-hero {
    padding: 24px;
    border-radius: 26px;
  }
}
