:root {
  --ink-900: #10253f;
  --ink-800: #163457;
  --ink-700: #375979;
  --ink-600: #5e7894;
  --paper: #f4f8fb;
  --white: #ffffff;
  --line: rgba(18, 64, 112, 0.12);
  --primary: #124f8e;
  --primary-strong: #0d3a68;
  --accent: #b8862b;
  --accent-soft: #eadcb5;
  --success: #2f7d59;
  --danger: #c65b43;
  --shadow-sm: 0 10px 30px rgba(14, 48, 88, 0.08);
  --shadow-md: 0 18px 48px rgba(14, 48, 88, 0.12);
  --shadow-lg: 0 28px 72px rgba(8, 28, 51, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--paper);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  line-height: 1.65;
  font-size: 16px;
}

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

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

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

button {
  cursor: pointer;
}

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

.section {
  padding: 88px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-header h2,
.section-header h3 {
  margin: 10px 0 0;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.2;
}

.section-header p {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(18, 79, 142, 0.08);
  border: 1px solid rgba(18, 79, 142, 0.1);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 16px 30px rgba(13, 58, 104, 0.24);
}

.btn-secondary {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(18, 79, 142, 0.16);
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
  border-color: rgba(18, 79, 142, 0.24);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--primary);
}

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

.form-shell {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 64, 112, 0.12);
  box-shadow: var(--shadow-md);
}

.form-shell form {
  display: grid;
  gap: 14px;
}

.field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(18, 79, 142, 0.14);
  background: #f8fbfe;
  color: var(--ink-900);
}

.field:focus {
  outline: 2px solid rgba(18, 79, 142, 0.18);
  border-color: rgba(18, 79, 142, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(11, 39, 72, 0.1);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(145deg, var(--accent) 0%, var(--primary) 100%);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  position: relative;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 79, 142, 0.16);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.05rem;
}

.list-reset {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer {
  padding: 36px 0 54px;
  color: var(--ink-600);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(18, 79, 142, 0.12);
}

.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 120%);
  box-shadow: var(--shadow-md);
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-header h2,
  .section-header h3 {
    font-size: clamp(1.72rem, 7vw, 2.25rem);
  }

  .hero-copy h1 {
    margin: 10px 0 14px;
    font-size: clamp(2.08rem, 10vw, 3rem);
    line-height: 1.12;
  }

  .hero-copy p,
  .section-header p,
  .card p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .card,
  .form-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .stat-card {
    padding: 18px 20px;
  }

  .field {
    padding: 13px 15px;
    border-radius: 14px;
  }

  .btn {
    padding: 13px 20px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(18, 79, 142, 0.12);
    box-shadow: var(--shadow-sm);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 10px;
  }

  .float-cta {
    display: inline-flex;
  }
}
