:root {
  --bg: #f5efe6;
  --paper: rgba(255, 252, 246, 0.9);
  --ink: #17130f;
  --muted: #62594d;
  --line: rgba(23, 19, 15, 0.12);
  --accent: #d75f38;
  --accent-2: #45533d;
  --code: #261c17;
  --shadow: 0 22px 70px rgba(36, 24, 11, 0.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 95, 56, 0.18), transparent 28rem),
    radial-gradient(circle at top right, rgba(69, 83, 61, 0.18), transparent 24rem),
    linear-gradient(180deg, #fbf6ed 0%, var(--bg) 55%, #efe5d8 100%);
}
a { color: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.lang-pill { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 700; }
.button.primary { background: var(--ink); color: #fff9f0; border-color: var(--ink); }
.button.accent { background: var(--accent); color: #fff9f0; border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; padding: 28px 0 46px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.hero-copy { padding: clamp(28px, 5vw, 48px); }
.eyebrow { display: inline-flex; padding: 8px 13px; border: 1px solid rgba(215, 95, 56, 0.28); border-radius: 999px; color: #8f2d12; background: rgba(215, 95, 56, 0.08); font-size: 12px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h1 { margin-top: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 80px); line-height: 0.94; letter-spacing: -0.055em; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: 19px; letter-spacing: -0.02em; }
p { line-height: 1.7; color: var(--muted); }
.lead { font-size: 20px; max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.terminal { padding: 24px; background: #17130f; color: #f8efe2; border-radius: 28px; min-height: 100%; }
.terminal pre { overflow-x: auto; margin: 0; white-space: pre-wrap; line-height: 1.65; }
.terminal .muted { color: #b9aa98; }
.section { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.section-head p { max-width: 640px; margin: 0; }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 252, 246, 0.74); }
.card p { margin-bottom: 0; }
.badge { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(69, 83, 61, 0.1); color: var(--accent-2); font-size: 12px; font-weight: 800; }
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 26px 0 58px; }
.sidebar { position: sticky; top: 16px; align-self: start; padding: 20px; }
.sidebar a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; }
.sidebar a:hover { color: var(--ink); }
.content { padding: clamp(24px, 5vw, 46px); }
.content h1 { font-size: clamp(38px, 5vw, 58px); }
.content h2 { margin-top: 34px; font-size: 30px; }
.content h3 { margin-top: 24px; }
.content p, .content li { color: var(--muted); line-height: 1.75; }
.content pre { padding: 18px; overflow-x: auto; border-radius: 18px; background: var(--code); color: #fff4e6; }
.content code { font-size: 0.94em; }
.content :not(pre) > code { padding: 0.16rem 0.34rem; border-radius: 6px; background: rgba(23, 19, 15, 0.08); color: var(--ink); }
.callout { padding: 18px; border: 1px solid rgba(215, 95, 56, 0.28); border-radius: 18px; background: rgba(215, 95, 56, 0.08); }
.footer { padding: 36px 0 52px; color: var(--muted); border-top: 1px solid var(--line); }
.footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
@media (max-width: 840px) {
  .hero, .grid.cols-2, .grid.cols-3, .docs-layout { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { flex-wrap: wrap; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .sidebar { position: static; }
}
