:root {
  color-scheme: light;
  --background: #f4f1ea;
  --surface: #fffdf8;
  --ink: #1f2430;
  --muted: #626a78;
  --line: #ded9cf;
  --accent: #2947d1;
  --accent-soft: #e9edff;
  --shadow: 0 24px 70px rgba(52, 47, 37, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(41, 71, 209, 0.09), transparent 34rem),
    var(--background);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

a { color: inherit; }

.shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 24px 20px 72px;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(48px, 8vw, 92px);
}

.brand {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 750;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 10px;
  color: white;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 20px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.hero {
  align-items: center;
  display: grid;
  gap: clamp(36px, 8vw, 80px);
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(42px, 7vw, 70px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
  margin: 24px 0 0;
  max-width: 590px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #464d5b;
  font-size: 13px;
  padding: 9px 13px;
}

.formula-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 30px;
  transform: rotate(1.5deg);
}

.formula-card small { color: var(--muted); font-weight: 700; }
.formula {
  color: var(--accent);
  font-family: "Times New Roman", serif;
  font-size: clamp(29px, 5vw, 48px);
  line-height: 1.2;
  margin: 36px 0;
  text-align: center;
}
.formula-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 12vw, 130px);
}

.feature {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.feature h2 { font-size: 17px; margin: 0 0 10px; }
.feature p { color: var(--muted); line-height: 1.7; margin: 0; }

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 780px;
  padding: clamp(26px, 6vw, 54px);
}

.legal-card h1 { font-size: clamp(34px, 6vw, 48px); }
.legal-card h2 { font-size: 19px; margin: 32px 0 9px; }
.legal-card h3 { font-size: 16px; margin: 24px 0 7px; }
.legal-card p { color: var(--muted); line-height: 1.85; margin: 0; }
.legal-card a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.updated { color: var(--muted); font-size: 13px; margin-top: 10px !important; }

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 18px;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 22px;
}
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--accent); font-weight: 700; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .formula-card { transform: none; }
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
