:root {
  color-scheme: dark;
  --bg: #101317;
  --bg-glow: #192216;
  --panel: #191d23;
  --panel-raised: #202631;
  --ink: #f3f4ee;
  --muted: #a0a8b4;
  --faint: #717a86;
  --line: #2d3541;
  --accent: #9db65c;
  --accent-ink: #13200a;
  --warm: #ec6d3d;
  --code: #11151a;
  --shadow: rgba(0, 0, 0, .25);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4ef;
  --bg-glow: #e3ead8;
  --panel: #ffffff;
  --panel-raised: #f5f7f0;
  --ink: #182016;
  --muted: #586151;
  --faint: #77816f;
  --line: #d7ddcf;
  --accent: #7d963e;
  --accent-ink: #f8faef;
  --warm: #bf5130;
  --code: #f1f3eb;
  --shadow: rgba(37, 52, 23, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(800px 500px at 0 0, var(--bg-glow), transparent 72%), var(--bg); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { font-size: .9em; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.04em; }
.brand-home { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent); border-radius: 10px; box-shadow: 0 3px 10px var(--shadow), inset 0 0 0 3px color-mix(in srgb, var(--accent) 5%, transparent); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.byline { color: var(--muted); font-size: .74rem; letter-spacing: 0; margin-left: 2px; }
.byline strong { color: var(--ink); }
.byline-avatar { width: 24px; height: 24px; margin-left: -4px; object-fit: cover; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 2px 5px var(--shadow); }
.theme-switcher { display: inline-flex; padding: 3px; gap: 2px; background: var(--panel-raised); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 2px 7px var(--shadow); }
.theme-switcher button { appearance: none; border: 0; color: var(--muted); background: transparent; cursor: pointer; width: 35px; height: 30px; border-radius: 6px; font: 700 .8rem/1 inherit; }
.theme-switcher button:first-child { width: 48px; }
.theme-switcher button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hero { padding: 86px 18px 74px; text-align: center; }
.eyebrow, .kicker { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warm) 16%, transparent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.3rem, 8vw, 6.5rem); line-height: .95; letter-spacing: -.075em; margin: 18px 0 25px; }
h1 em { color: var(--accent); font-style: normal; }
.lede { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; font-size: .88rem; }
.button-primary { background: var(--accent); color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 18%, transparent); }
.button-quiet { color: var(--muted); background: var(--panel); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.feature-card, .panel { border: 1px solid var(--line); border-radius: 11px; background: color-mix(in srgb, var(--panel) 93%, transparent); box-shadow: 0 9px 28px var(--shadow); }
.feature-card { padding: 26px; }
.feature-card .icon { color: var(--accent); display: block; font-weight: 900; font-size: 1.6rem; height: 37px; }
.feature-card h2 { font-size: 1rem; margin: 8px 0 5px; letter-spacing: -.025em; }
.feature-card p, .muted { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.panel { padding: 34px; margin: 18px 0; }
.section-heading { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 24px; }
.section-heading > span { width: 33px; height: 33px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); color: var(--accent); font-size: .72rem; font-weight: 900; }
.section-heading .kicker { margin: 0 0 2px; }
.section-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.045em; line-height: 1.1; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li > span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); border-radius: 50%; font: 800 .72rem/1 inherit; }
.steps h3 { font-size: 1rem; margin: 0 0 6px; letter-spacing: -.02em; }
.steps p, .compact > p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
pre { overflow: auto; padding: 14px 16px; margin: 10px 0 0; border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); border-radius: 7px; background: var(--code); color: color-mix(in srgb, var(--ink) 92%, var(--accent)); font-size: .78rem; line-height: 1.65; white-space: pre; }
.callout { margin: 26px 0 0; padding: 13px 16px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--muted); font-size: .88rem; }
.callout strong { color: var(--ink); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two-up .panel { margin: 0; }
.hot-potato { background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 94%, var(--warm)), var(--panel) 60%); }
.commands { margin-top: 18px; }
.command-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.command-grid code { min-height: 58px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--code); color: var(--accent); display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.command-grid small { color: var(--muted); font: .75rem/1.3 Inter, ui-sans-serif, sans-serif; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 36px 18px 44px; color: var(--muted); font-size: .78rem; }
footer a { color: var(--ink); font-weight: 750; }

@media (max-width: 760px) { .site-header { min-height: 80px; } .byline, .byline-avatar { display: none; } .hero { padding: 60px 5px 50px; } .feature-grid, .two-up { grid-template-columns: 1fr; } .panel { padding: 24px 20px; } .command-grid { grid-template-columns: 1fr; } footer { align-items: flex-start; flex-direction: column; padding-left: 0; } }
@media (max-width: 420px) { .shell { width: min(100% - 24px, 1160px); } .brand { font-size: 1.1rem; } .brand-mark { width: 38px; height: 38px; } .theme-switcher button:first-child { width: 42px; } .theme-switcher button { width: 30px; } }
