:root {
  --text: #202124;
  --muted: #5f6368;
  --line: #e6e8eb;
  --accent: #cc3333;
  --accent-dark: #a62828;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --ink: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--accent-dark);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(230, 232, 235, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  flex: none;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 14px;
}

.nav-links a {
  color: #4b5563;
}

.nav-links a:hover {
  color: var(--accent);
}

.policy-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 20px 32px;
}

.policy-header {
  margin-bottom: 34px;
  padding-bottom: 24px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.policy-header h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.28;
}

.policy-header p,
.site-footer {
  color: #7a7f87;
  font-size: 14px;
}

.policy-body h2 {
  margin: 34px 0 14px;
  color: var(--accent);
  font-size: 22px;
  line-height: 1.35;
}

.policy-body h3 {
  margin: 24px 0 10px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.4;
}

.policy-body p,
.policy-body li {
  color: #4c5563;
}

.policy-body p {
  margin: 10px 0;
}

.policy-body ul {
  margin: 8px 0 18px;
  padding-left: 1.35em;
}

.policy-body li {
  margin: 6px 0;
}

.policy-body table {
  display: block;
  width: 100%;
  margin: 18px 0 28px;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.policy-body th,
.policy-body td {
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
}

.policy-body th {
  color: var(--ink);
  background: #f1f3f5;
}

.sensitive,
.sensitive-text {
  color: var(--accent);
  font-weight: 700;
}

.home-main {
  color: #111827;
  background: #ffffff;
}

.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  place-items: center;
  padding: 90px 20px;
  background:
    linear-gradient(rgba(8, 11, 24, 0.68), rgba(8, 11, 24, 0.78)),
    radial-gradient(circle at 18% 20%, rgba(222, 69, 84, 0.45), transparent 32%),
    radial-gradient(circle at 78% 34%, rgba(44, 130, 201, 0.38), transparent 34%),
    linear-gradient(135deg, #111827 0%, #4a1f35 50%, #18253c 100%);
}

.hero-content {
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 10vw, 104px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(22px, 4vw, 34px);
}

.hero-line {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.58);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-width: 170px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
}

.button-primary {
  color: #111827;
  background: #ffffff;
}

.button-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.11);
}

.section-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-inner.narrow {
  max-width: 760px;
  text-align: center;
}

.mission-section,
.features-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #faf8ff;
}

.loop-section,
.benefits-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #ffffff;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 72px;
}

.section-tag,
.group-label {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 16px;
  border-radius: 999px;
  color: #7c3aed;
  background: #ede9fe;
  font-size: 14px;
  font-weight: 800;
}

.pink-tag {
  color: #db2777;
  background: #fce7f3;
}

.mission-section h2,
.section-title h2,
.download-section h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.18;
}

.mission-section h2 span,
.section-title h2 span {
  color: #7c3aed;
}

.quote-lines {
  margin: 36px 0 30px;
  padding-left: 22px;
  border-left: 2px solid #ddd6fe;
  color: #8a8f98;
  font-size: 15px;
}

.quote-lines p,
.promise-lines p {
  margin: 8px 0;
}

.promise-lines {
  color: #303844;
  font-size: 15px;
  font-weight: 600;
}

.promise-lines strong {
  color: #7c3aed;
}

.home-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.nest-card {
  min-height: 410px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: linear-gradient(135deg, #f5f3ff, #ffffff 50%, #fdf2f8);
}

.home-card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 30px;
}

.nest-card .home-card-icon {
  width: auto;
  height: auto;
  margin-bottom: 22px;
  background: transparent;
  font-size: 72px;
}

.home-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
}

.home-card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.section-title {
  margin-bottom: 72px;
  text-align: center;
}

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

.loop-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 900;
}

.loop-card .subtitle {
  margin-bottom: 12px;
  color: #8b5cf6;
  font-weight: 700;
}

.loop-card.violet span { color: #7c3aed; }
.loop-card.pink span { color: #db2777; }
.loop-card.amber span { color: #d97706; }
.loop-card.emerald span { color: #059669; }

.feature-group + .feature-group {
  margin-top: 54px;
}

.feature-group {
  position: relative;
}

.feature-group::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 120px;
  right: 0;
  height: 1px;
  background: #e6e8eb;
}

.group-label {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}

.violet-label { color: #7c3aed; background: #ede9fe; }
.pink-label { color: #db2777; background: #fce7f3; }
.amber-label { color: #d97706; background: #fef3c7; }
.emerald-label { color: #059669; background: #d1fae5; }

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

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

.benefit-grid .home-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}

.benefit-grid .home-card-icon {
  grid-row: span 2;
}

.download-section {
  padding: 116px 0;
  color: #ffffff;
  background:
    linear-gradient(rgba(8, 11, 24, 0.78), rgba(8, 11, 24, 0.86)),
    radial-gradient(circle at 32% 18%, rgba(168, 85, 247, 0.36), transparent 34%),
    radial-gradient(circle at 72% 76%, rgba(236, 72, 153, 0.25), transparent 30%),
    #0b1020;
}

.download-section h2 {
  color: #ffffff;
}

.download-section p {
  margin: 18px 0 38px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 18px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 92px;
}

.section h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 32px;
}

.not-found {
  min-height: 52vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.home-page .site-footer {
  max-width: none;
  color: rgba(255, 255, 255, 0.48);
  border-color: rgba(255, 255, 255, 0.1);
  background: #0b1020;
}

@media (max-width: 760px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .policy-main {
    padding-top: 28px;
  }

  .policy-header h1 {
    font-size: 24px;
  }

  .policy-body h2 {
    font-size: 20px;
  }

  .policy-body th,
  .policy-body td {
    min-width: 180px;
    padding: 10px;
  }

  .two-column,
  .loop-grid,
  .feature-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .mission-section,
  .loop-section,
  .features-section,
  .benefits-section,
  .download-section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 38px;
    text-align: left;
  }

  .benefit-grid .home-card {
    grid-template-columns: 1fr;
  }

  .feature-group::before {
    display: none;
  }
}
