:root {
  --bg: #fbfaf7;
  --bg-tint: #f4f1ea;
  --ink: #1c1b19;
  --ink-soft: #4a4843;
  --muted: #8a867d;
  --line: #e6e2d9;
  --gold: #b08d57;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 52px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}

.logo em {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  transition: color 0.2s;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  color: var(--gold) !important;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
}

.hero .container {
  width: 100%;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0 22px;
}

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.facts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Sections */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-tinted {
  background: var(--bg-tint);
}

.grid-2 {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: baseline;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 20px;
}

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

/* Focus cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.card {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line);
}

.card + .card {
  padding-left: 28px;
}

.card:last-child {
  border-right: 0;
}

.card-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  margin: 14px 0 12px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Fund terms */
.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.term {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.term dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.term dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.01em;
}

.term small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footnote {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 0 28px 64px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 30px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
}

.steps h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 6px;
}

.steps p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* Contact */
.contact {
  padding: 160px 0;
}

.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card:nth-child(2) {
    border-right: 0;
  }
  .card:nth-child(3) {
    padding-left: 0;
  }
  .card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .terms {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 24px;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section {
    padding: 80px 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card,
  .card + .card {
    padding: 28px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .term dd {
    font-size: 26px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
