:root {
  --ink: #1f1b16;
  --muted: #5f594f;
  --paper: #fbf6ee;
  --paper-deep: #f3e7d4;
  --accent: #e86a33;
  --accent-dark: #c25425;
  --teal: #2f7a6b;
  --gold: #f3c56b;
  --card: #ffffff;
  --line: rgba(31, 27, 22, 0.12);
  --shadow: 0 22px 50px rgba(24, 19, 12, 0.14);
  --font-display: "Source Han Serif SC", "Noto Serif SC", "STZhongsong", "Songti SC", serif;
  --font-body: "HarmonyOS Sans", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0.2px;
  line-break: strict;
}

body.theme-warm {
  background:
    radial-gradient(circle at 15% 10%, rgba(243, 197, 107, 0.3), transparent 45%),
    radial-gradient(circle at 85% 5%, rgba(47, 122, 107, 0.18), transparent 50%),
    linear-gradient(180deg, #fff9f1 0%, #f4e6d3 100%);
}

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

p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 80%, rgba(232, 106, 51, 0.12), transparent 55%),
    radial-gradient(circle at 10% 85%, rgba(47, 122, 107, 0.1), transparent 60%);
}

.page.inner {
  background:
    radial-gradient(circle at 10% 20%, rgba(232, 106, 51, 0.12), transparent 50%),
    linear-gradient(180deg, #fff7ee 0%, #f3e6d4 100%);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(251, 246, 238, 0.7);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
}

.header-inner > * {
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--accent), var(--teal));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.brand-text strong {
  display: block;
  font-size: 1.3rem;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(31, 27, 22, 0.08);
  color: var(--ink);
}

.header-cta {
  display: flex;
  gap: 0.8rem;
}

.btn {
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.2s ease;
  font-family: var(--font-body);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 16px 30px rgba(232, 106, 51, 0.28);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

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

.btn.ghost:hover {
  border-color: rgba(31, 27, 22, 0.35);
}

.hero {
  padding: 2.8rem 0 3.2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(243, 197, 107, 0.35), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(47, 122, 107, 0.25), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 2.9vw, 3.2rem);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.4rem 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pill {
  background: rgba(31, 27, 22, 0.07);
  border: 1px solid rgba(31, 27, 22, 0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-panel {
  display: grid;
  gap: 1.1rem;
}

.hero-panel-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  backdrop-filter: blur(10px);
}

.hero-panel-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.9rem;
}

.icon-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-list li::before {
  content: "◆";
  color: var(--accent);
  margin-right: 0.5rem;
}

.seal {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 2px dashed var(--accent);
  color: var(--accent);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  transform: rotate(-8deg);
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stats div {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-size: 1.3rem;
  color: var(--accent);
}

.stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 2.8rem 0;
}

.section-title {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  max-width: 920px;
}

.section-title h2,
.section-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.section-title p {
  color: var(--muted);
  max-width: 38rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.card-grid > * {
  min-width: 0;
}

.info-card {
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(24, 19, 12, 0.08);
}

.info-card h3 {
  font-family: var(--font-display);
  margin-bottom: 0.6rem;
}

.info-card p {
  color: var(--muted);
}

.compliance {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.compliance-grid > * {
  min-width: 0;
}

.compliance-card {
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.compliance-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.compliance-card strong {
  display: block;
  font-weight: 600;
  line-height: 1.45;
}

.compliance-card strong,
.contact-list strong,
.footer-bottom {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.timeline-item {
  padding: 1.1rem 1.3rem;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.timeline-item h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--muted);
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.grid-two > * {
  min-width: 0;
}

.panel {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 1.3rem;
  box-shadow: 0 16px 32px rgba(25, 17, 5, 0.08);
}

.panel h3 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}

.panel p + p {
  margin-top: 0.8rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✔";
  margin-right: 0.6rem;
  color: var(--teal);
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.process-step {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 1.3rem;
  box-shadow: 0 12px 26px rgba(25, 17, 5, 0.08);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(232, 106, 51, 0.12);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(47, 122, 107, 0.12);
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 600;
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.link-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.link-list a {
  color: var(--accent-dark);
  font-weight: 600;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--muted);
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(232, 106, 51, 0.2);
  border-color: rgba(232, 106, 51, 0.5);
}

.site-footer {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  padding-top: 1rem;
  font-size: 0.82rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

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

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .hero {
  animation: heroFade 0.9s ease-out;
}

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    width: 100%;
    justify-content: flex-start;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .nav a {
    white-space: nowrap;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}
