:root {
  --ink: #0d0f12;
  --ink-soft: #1c2026;
  --paper: #f5f1ea;
  --paper-2: #ece5db;
  --accent: #ff6b35;
  --accent-2: #16a39a;
  --accent-3: #f2b705;
  --muted: #6c717a;
  --line: #d6cbbd;
  --shadow: 0 24px 60px rgba(13, 15, 18, 0.16);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  margin: 0 0 12px;
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

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

main {
  position: relative;
  z-index: 1;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.18), transparent 40%),
              radial-gradient(circle at 80% 10%, rgba(22, 163, 154, 0.18), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(242, 183, 5, 0.16), transparent 50%),
              linear-gradient(135deg, #f7f2ea 0%, #f0e5d6 50%, #f7f2ea 100%);
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(245, 241, 234, 0.9);
  border-bottom: 1px solid rgba(214, 203, 189, 0.6);
}

.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.logo-text {
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.site-nav a,
.site-nav button {
  border: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav button:hover {
  background: rgba(13, 15, 18, 0.06);
}

.site-nav .cta {
  background: var(--ink);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-item {
  position: relative;
}

.mega {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
  padding: 24px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 720px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.mega.simple {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  min-width: 360px;
}

.nav-item:hover .mega,
.nav-item.open .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.mega-col a,
.mega.simple a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 56px);
}

.hero-content p {
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 15, 18, 0.08);
  font-size: 13px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--accent);
  color: white;
}

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

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metrics div {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
}

.hero-metrics strong {
  display: block;
  font-size: 20px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-link {
  font-weight: 600;
  color: var(--accent-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card strong {
  font-size: 24px;
  display: block;
}

.stat {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.panel {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(22, 163, 154, 0.12);
  color: var(--ink);
  font-weight: 600;
}

.list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  background: rgba(255, 107, 53, 0.12);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-2);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  background: white;
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}

.timeline-item strong {
  font-size: 20px;
}

.breadcrumb {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.page {
  padding-top: 8px;
}

.news-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.news-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-success {
  color: var(--accent-2);
  font-weight: 600;
}

.note {
  background: rgba(13, 15, 18, 0.06);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--muted);
}

.cta-section {
  background: var(--ink);
  color: white;
}

.cta-section h2,
.cta-section p {
  color: white;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  background: var(--ink);
  color: white;
  padding: 48px 24px 28px;
  margin-top: 64px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-item .mega {
    position: static;
    min-width: unset;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 12px 0 0 12px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-item button {
    width: 100%;
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

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

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
