:root {
  color-scheme: light;
  --paper: #fffaf3;
  --card: #ffffff;
  --ink: #2b211d;
  --muted: #786a62;
  --line: #eadfd5;
  --tomato: #e94324;
  --orange: #ff8a1f;
  --green: #27834a;
  --shadow: 0 18px 55px rgba(99, 52, 29, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tomato);
  text-underline-offset: 0.2em;
}

.site-header,
.site-footer,
.page {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--tomato);
  color: white;
  font-size: 20px;
  box-shadow: 0 7px 18px rgba(233, 67, 36, 0.24);
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--tomato);
}

.page {
  padding: 44px 0 72px;
}

.hero {
  padding: 54px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
  position: relative;
}

.hero::after {
  content: "饼";
  position: absolute;
  right: -16px;
  bottom: -86px;
  color: rgba(233, 67, 36, 0.07);
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(35px, 7vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.subtitle {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.notice {
  margin: 26px 0 0;
  padding: 14px 18px;
  border: 1px solid #f2d2c9;
  border-radius: 14px;
  background: #fff3ed;
  color: #81402f;
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card,
.article {
  border: 1px solid rgba(234, 223, 213, 0.85);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(99, 52, 29, 0.07);
}

.card {
  display: block;
  min-height: 185px;
  padding: 28px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  margin-bottom: 18px;
  color: var(--tomato);
  font-size: 28px;
}

.card h2 {
  margin-bottom: 8px;
  font-size: 21px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.article {
  padding: clamp(26px, 6vw, 58px);
}

.article h1 {
  font-size: clamp(32px, 6vw, 50px);
}

.article h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  padding-top: 6px;
  font-size: 21px;
}

.article h3 {
  margin-top: 25px;
  margin-bottom: 6px;
  font-size: 17px;
}

.article p,
.article li {
  color: #514640;
}

.article ul {
  padding-left: 1.25em;
}

.meta {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
}

.contact-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 16px;
  background: #fff2ea;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--tomato);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .page {
    padding-top: 22px;
  }

  .hero {
    padding: 34px 26px 42px;
    border-radius: 22px;
  }

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

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