:root {
  --paper: #D1CFCF;
  --ink: #101010;
  --muted: rgba(16, 16, 16, 0.58);
  --line: rgba(16, 16, 16, 0.16);
  --blue: #0038c7;
  --red: #ff4a2f;
  --dark: #050505;
  --cloud-white:
    radial-gradient(ellipse at 24% 16%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 26%, transparent 54%),
    radial-gradient(ellipse at 78% 22%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.36) 28%, transparent 58%),
    radial-gradient(ellipse at 52% 54%, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.58) 38%, rgba(255, 255, 255, 0.22) 68%, transparent 100%),
    linear-gradient(180deg, #f4f3f1 0%, #dfdddd 54%, #f7f6f3 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cloud-white);
  color: var(--ink);
  font-family: "Source Han Sans SC", "思源黑体", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-frame {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr auto;
}

.page-frame a {
  pointer-events: auto;
}

.brand {
  grid-column: 2;
  justify-self: center;
}

.page-nav {
  grid-column: 1;
  display: grid;
  gap: 18px;
  width: max-content;
  color: var(--muted);
}

.page-nav a,
.top-links a {
  transition: color 180ms ease;
}

.page-nav a:hover,
.top-links a:hover,
.page-nav a.active,
.top-links a.active {
  color: var(--blue);
}

.top-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.page-main {
  position: relative;
  z-index: 2;
}

.page-hero {
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px 32px 96px;
}

.page-hero-inner,
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 20px;
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  width: min(1040px, 100%);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  font-size: clamp(40px, 6vw, 92px);
  line-height: 1.04;
  font-weight: 800;
}

h3 {
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.12;
}

p {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.78;
}

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

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

.strong {
  color: var(--ink);
  font-weight: 700;
}

.lead {
  width: min(760px, 100%);
  margin-top: 28px;
}

.section {
  min-height: 80svh;
  padding: 110px 32px;
  border-top: 1px solid var(--line);
}

.section.dark {
  background: var(--dark);
  color: var(--paper);
}

.section.dark p {
  color: rgba(241, 241, 236, 0.68);
}

.section.dark .strong {
  color: var(--paper);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-top: 42px;
}

.card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.38);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.card:nth-child(3n) {
  border-right: 0;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
}

.wide {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.image-panel {
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(16, 16, 16, 0.08);
}

.list {
  display: grid;
  border-top: 1px solid var(--line);
}

.list-item {
  display: grid;
  grid-template-columns: 110px 0.9fr 1.3fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.cta {
  min-height: 70svh;
  display: grid;
  place-items: center;
  padding: 110px 32px;
  text-align: center;
}

.cta a {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: color 180ms ease, background 180ms ease;
}

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

@media (max-width: 900px) {
  .page-frame {
    padding: 20px;
    grid-template-columns: 1fr 1fr;
  }

  .brand {
    display: none;
  }

  .top-links {
    grid-column: 1 / 3;
    grid-row: 3;
    justify-self: center;
    align-self: end;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(12px);
  }

  .page-nav {
    gap: 10px;
  }

  .page-hero {
    padding: 130px 20px 86px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 82px);
  }

  .section,
  .cta {
    padding: 92px 20px;
  }

  .wide,
  .grid,
  .list-item {
    display: block;
  }

  .card {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .image-panel {
    margin-top: 32px;
  }

  .list-item h3,
  .list-item p {
    margin-top: 14px;
  }
}
