:root {
  color-scheme: light;
  --ink: #3f302d;
  --muted: #75635e;
  --paper: #fffaf1;
  --surface: rgba(255, 255, 255, 0.82);
  --line: rgba(101, 75, 67, 0.14);
  --coral: #f48675;
  --gold: #f6c86d;
  --blue: #8dbbc4;
  --green: #abc89d;
}

* { box-sizing: border-box; }
html { background: #f8efe3; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(246, 200, 109, .28), transparent 32rem),
    radial-gradient(circle at 92% 18%, rgba(244, 134, 117, .22), transparent 34rem),
    linear-gradient(180deg, #fffaf1 0%, #f8efe3 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 42px; }
.shell.narrow { width: min(820px, calc(100% - 40px)); }
.hero, .page-header {
  padding: clamp(34px, 7vw, 84px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(82, 57, 48, .10);
  backdrop-filter: blur(16px);
}
.eyebrow, .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9a6258;
}
h1 { margin: 18px 0 22px; font-family: Georgia, "Songti SC", serif; font-size: clamp(44px, 8vw, 84px); line-height: 1.04; letter-spacing: -.045em; }
.page-header h1 { font-size: clamp(42px, 7vw, 68px); }
h2 { margin: 12px 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
p, li { color: var(--muted); font-size: 17px; line-height: 1.85; }
.lead { max-width: 780px; font-size: clamp(18px, 2.2vw, 23px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750; }
.button.primary { color: white; background: #cf6d5e; box-shadow: 0 10px 26px rgba(207, 109, 94, .26); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0; }
.card, .stack-card, .contact {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 40px rgba(82, 57, 48, .07);
}
.card.coral { border-top: 6px solid var(--coral); }
.card.gold { border-top: 6px solid var(--gold); }
.card.blue { border-top: 6px solid var(--blue); }
.card.green { border-top: 6px solid var(--green); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.contact a { color: #b45d50; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.stack-card { margin-top: 18px; }
ul { padding-left: 1.25rem; }
footer { padding: 30px 4px 0; color: #917f79; font-size: 14px; text-align: center; }

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 1120px); padding-top: 24px; }
  .hero, .page-header { border-radius: 24px; padding: 28px 22px; }
  .grid { grid-template-columns: 1fr; }
  .card, .stack-card, .contact { border-radius: 22px; padding: 24px 20px; }
  .contact { align-items: flex-start; flex-direction: column; }
}
