:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #edf3f7;
  --surface-blue: #dfeaf1;
  --text: #17212b;
  --muted: #637282;
  --line: #d9e2ea;
  --accent: #426a80;
  --accent-strong: #24495d;
  --shadow: 0 24px 80px rgba(42, 67, 84, 0.13);
  --radius: 18px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(180, 209, 223, 0.55), transparent 28rem),
    radial-gradient(circle at 5% 18%, rgba(219, 230, 235, 0.8), transparent 24rem),
    var(--bg);
  font-family:
    "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--accent-strong);
}

.btn-primary:hover {
  background: #18384a;
}

.btn-secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
