:root {
  --bg: #f4efe7;
  --paper: rgba(255, 250, 243, 0.82);
  --ink: #1f2933;
  --muted: #52606d;
  --line: rgba(31, 41, 51, 0.12);
  --brand: #0f766e;
  --brand-deep: #134e4a;
  --accent: #c96f3b;
  --shadow: 0 20px 50px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 59, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 32%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  line-height: 1.7;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header,
.hero,
.section,
.footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  padding-top: 18px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.78);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand__eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.nav__link--active {
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand-deep);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 48px 0 32px;
}

.hero--compact {
  min-height: auto;
  padding-top: 28px;
}

.hero__inner {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero__inner::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 68%);
}

.eyebrow,
.section__label {
  margin: 0 0 12px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title--home {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0;
}

h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.hero__lead,
.card p,
.panel li,
.timeline__item p,
.footer p {
  color: var(--muted);
}

.hero__lead {
  max-width: 760px;
  font-size: 1.16rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fffaf3;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.44);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand-deep);
}

.page-hero {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 12px;
}

.page-hero__lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 28px 0 56px;
}

.section__heading {
  margin-bottom: 24px;
}

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

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

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

.cards--overview .card {
  min-height: 100%;
}

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

.card,
.panel,
.timeline__item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card,
.panel {
  padding: 28px;
}

.panel ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.section--accent {
  padding-bottom: 72px;
}

.card--accent {
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.86), rgba(246, 235, 224, 0.96));
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 26px;
  align-items: start;
}

.timeline__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fffaf3;
  font-size: 1.2rem;
}

.footer {
  padding: 0 0 44px;
}

.footer p {
  margin-bottom: 8px;
}

@media (max-width: 820px) {
  .site-header__inner,
  .nav {
    align-items: flex-start;
  }

  .site-header__inner {
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero__inner {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .cards--three,
  .cards--two,
  .grid--feature,
  .timeline__item {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    gap: 16px;
  }

  h1 {
    line-height: 1.02;
  }
}
