@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Newsreader:opsz,wght@6..72,600;6..72,700&display=swap");

:root {
  --bg: #f8f2e7;
  --bg-soft: #fffaf2;
  --paper: rgba(255, 250, 242, 0.92);
  --card: rgba(255, 248, 237, 0.86);
  --ink: #1f3128;
  --ink-soft: #4b5d52;
  --accent: #db6a35;
  --accent-deep: #9f4020;
  --teal: #1d7770;
  --gold: #e0ac32;
  --line: rgba(31, 49, 40, 0.12);
  --shadow: 0 18px 48px rgba(72, 49, 21, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(219, 106, 53, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 119, 112, 0.16), transparent 28%),
    linear-gradient(180deg, #fcf7ef 0%, #f6eddf 100%);
  font: 16px/1.6 "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  opacity: 0.36;
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  top: -80px;
  right: -120px;
  background: rgba(219, 106, 53, 0.28);
}

.site-shell::after {
  bottom: -140px;
  left: -120px;
  background: rgba(29, 119, 112, 0.18);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 49, 40, 0.14);
  background: rgba(255, 250, 242, 0.7);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.section-title,
.hero-title,
.page-title,
.content-title {
  margin: 0;
  font-family: "Newsreader", "Songti SC", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 10ch;
}

.section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-top: 1rem;
}

.page-title {
  font-size: clamp(2.3rem, 4vw, 4rem);
  max-width: 10ch;
}

.content-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.muted,
.lead,
.section-intro,
.page-lead {
  color: var(--ink-soft);
}

.lead {
  font-size: 1.08rem;
  max-width: 58ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 247, 239, 0.76);
  border-bottom: 1px solid rgba(31, 49, 40, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

.brand-text span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.site-nav a {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-current {
  background: rgba(29, 119, 112, 0.1);
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 16px 32px rgba(159, 64, 32, 0.24);
}

.button-secondary {
  background: rgba(29, 119, 112, 0.12);
  color: var(--ink);
}

.button-ghost {
  border: 1px solid rgba(31, 49, 40, 0.12);
  background: rgba(255, 250, 242, 0.6);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 4.4rem 0 3rem;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  align-items: center;
}

.hero-panel,
.page-panel,
.card,
.tool-shell,
.content-shell,
.cta-band,
.disclosure-panel,
.metric-card {
  border: 1px solid rgba(31, 49, 40, 0.1);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy,
.page-copy,
.cta-band,
.content-shell {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-panel {
  padding: 1.25rem;
}

.hero-stage {
  min-height: 500px;
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) - 10px);
  background:
    linear-gradient(135deg, rgba(29, 119, 112, 0.9), rgba(16, 57, 64, 0.95)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: #fff;
  display: grid;
  gap: 1.25rem;
  align-content: space-between;
}

.hero-stage h2,
.page-panel h2 {
  margin: 0;
  font-family: "Newsreader", "Songti SC", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.hero-stage p,
.page-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero-chip-grid {
  display: grid;
  gap: 0.8rem;
}

.hero-chip,
.stat-chip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-chip strong,
.stat-chip strong {
  font-size: 0.95rem;
}

.hero-chip span,
.stat-chip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: 2.4rem 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.grid-3,
.grid-2,
.content-grid,
.metric-grid,
.tool-grid,
.guide-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card,
.metric-card,
.tool-shell,
.disclosure-panel {
  padding: 1.3rem;
}

.card h3,
.metric-card h3,
.tool-shell h3,
.content-shell h3,
.footer-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.card p,
.metric-card p,
.tool-shell p,
.content-shell p {
  margin: 0;
  color: var(--ink-soft);
}

.card-list,
.content-list,
.check-list,
.results-list,
.steps-list,
.footer-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.card-list li,
.content-list li,
.check-list li,
.results-list li,
.steps-list li,
.footer-list li {
  margin-bottom: 0.45rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(219, 106, 53, 0.1);
  color: var(--accent-deep);
  font-size: 0.9rem;
}

.metric-card strong,
.result-number {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.2rem;
  align-items: stretch;
}

.cta-band {
  display: grid;
  gap: 1rem;
}

.cta-band strong {
  display: block;
  font-family: "Newsreader", "Songti SC", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.cta-side {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(29, 119, 112, 0.15), rgba(224, 172, 50, 0.14));
  border: 1px solid rgba(31, 49, 40, 0.1);
}

.page-hero {
  padding: 3.2rem 0 2.4rem;
}

.page-panel {
  padding: 1.25rem;
}

.page-panel-inner {
  min-height: 100%;
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) - 10px);
  background:
    linear-gradient(135deg, rgba(219, 106, 53, 0.96), rgba(159, 64, 32, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: #fff;
}

.page-panel .stat-chip {
  margin-top: 1rem;
}

.tool-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.tool-form,
.tool-result,
.note-box {
  padding: 1.35rem;
  border: 1px solid rgba(31, 49, 40, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.7);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.radio-group legend {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(31, 49, 40, 0.15);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  color: var(--ink);
}

.field small {
  color: var(--ink-soft);
}

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

.result-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(29, 119, 112, 0.08);
  border: 1px solid rgba(29, 119, 112, 0.12);
}

.result-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.tool-result h3,
.note-box h3 {
  margin-top: 0;
}

.article-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.article-body {
  display: grid;
  gap: 1rem;
}

.article-block {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid rgba(31, 49, 40, 0.1);
}

.article-block h2,
.article-block h3 {
  margin-top: 0;
}

.article-side {
  display: grid;
  gap: 1rem;
}

.site-footer {
  padding: 2.4rem 0 2.8rem;
}

.site-footer .footer-grid {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(31, 49, 40, 0.95);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-text span {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .brand-mark {
  box-shadow: none;
}

.site-footer-bottom {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .split-band,
  .tool-layout,
  .article-layout,
  .metric-grid,
  .grid-3,
  .guide-grid,
  .tool-grid,
  .grid-2,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

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

  .field-grid,
  .tool-result-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 2.4rem;
  }
}
