:root {
  color-scheme: light;
  --ink: #432b1d;
  --muted: #765f4d;
  --paper: #fff9e9;
  --paper-strong: #fff2cd;
  --orange: #f36b21;
  --orange-dark: #c94813;
  --mint: #62a98b;
  --line: rgba(113, 71, 37, .18);
  --shadow: 0 18px 60px rgba(92, 50, 18, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 209, 92, .32), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(98, 169, 139, .22), transparent 30rem),
    #f4ead4;
  line-height: 1.72;
}
a { color: var(--orange-dark); text-underline-offset: 3px; }
header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(255, 249, 233, .86);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1040px; margin: auto; min-height: 66px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 850; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px;
  color: white; background: linear-gradient(145deg, #ff9a2f, #ef541a); box-shadow: 0 5px 14px rgba(216, 78, 19, .28);
}
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 680; text-decoration: none; }
nav a:hover { color: var(--orange-dark); }
main { max-width: 960px; margin: 54px auto 80px; padding: 0 24px; }
.hero, article {
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,249,233,.95));
  border: 1px solid rgba(255,255,255,.9); border-radius: 30px; box-shadow: var(--shadow);
}
.hero { padding: clamp(34px, 6vw, 70px); overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -70px; bottom: -95px;
  border: 34px solid rgba(243, 107, 33, .11); border-radius: 50%;
}
.eyebrow { color: var(--orange-dark); font-size: 13px; letter-spacing: .11em; font-weight: 850; text-transform: uppercase; }
h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; margin: 12px 0 20px; letter-spacing: -.04em; }
h2 { margin: 38px 0 12px; font-size: 24px; line-height: 1.25; }
h3 { margin: 26px 0 8px; font-size: 18px; }
p, li { color: var(--muted); }
.lead { max-width: 680px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; padding: 11px 18px; border-radius: 999px; font-weight: 760; text-decoration: none; }
.button.primary { color: white; background: linear-gradient(145deg, #ff8f28, #ee541a); box-shadow: 0 8px 20px rgba(216, 78, 19, .25); }
.button.secondary { color: var(--ink); background: var(--paper-strong); border: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.card { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.58); border: 1px solid var(--line); }
.card h3 { margin-top: 0; }
article { padding: clamp(28px, 6vw, 64px); }
article h1 { font-size: clamp(34px, 6vw, 52px); }
.meta { color: var(--muted); font-size: 14px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.callout { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--mint); background: rgba(98,169,139,.10); border-radius: 4px 16px 16px 4px; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink); }
code { padding: .16em .42em; border-radius: 6px; color: #78411f; background: #f4e4c6; }
footer { max-width: 960px; margin: 0 auto 40px; padding: 0 24px; color: var(--muted); font-size: 13px; }
footer .footer-line { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .nav { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
  nav { justify-content: flex-end; gap: 10px 14px; }
  main { margin-top: 28px; }
  .grid { grid-template-columns: 1fr; }
  article, .hero { border-radius: 22px; }
  table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
