:root {
  color-scheme: light;
  --bg: #f7f3ea;
  --ink: #17211f;
  --muted: #5f6b67;
  --line: #d8d0c2;
  --paper: #fffaf1;
  --accent: #1d6f62;
  --accent-2: #b94f2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(185, 79, 46, 0.12), transparent 28rem),
    linear-gradient(135deg, #f7f3ea 0%, #eef4ef 52%, #f8efe4 100%);
  color: var(--ink);
  font-family:
    "LXGW WenKai Screen",
    "Noto Serif SC",
    "Microsoft YaHei",
    sans-serif;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
}

nav {
  display: flex;
  gap: clamp(0.8rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.96rem;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 58vh;
  display: grid;
  align-content: center;
  padding: clamp(48px, 9vw, 104px) 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font: 700 0.78rem/1.2 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.85;
}

.section {
  padding: clamp(42px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

article {
  min-height: 230px;
  padding: 26px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(216, 208, 194, 0.9);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(23, 33, 31, 0.08);
}

article span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent-2);
  font-weight: 800;
}

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

article p,
.split p {
  color: var(--muted);
  line-height: 1.85;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 1fr);
  gap: clamp(28px, 8vw, 96px);
  align-items: start;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  article {
    min-height: 0;
  }
}
