:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #09090b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --accent: #eab308;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--foreground);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
a { color: inherit; }
main, footer { width: min(780px, calc(100% - 32px)); margin: 0 auto; }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; }
.brand svg { width: 18px; height: 18px; fill: var(--accent); }
.nav-link, .footer-link { display: inline-flex; align-items: center; gap: 5px; color: var(--muted-foreground); text-decoration: none; }
.nav-link:hover, .footer-link:hover { color: var(--foreground); }
.nav-link svg, .footer-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.hero { padding: 68px 0 64px; max-width: 620px; }
.eyebrow { margin: 0 0 14px; color: var(--muted-foreground); font-size: 13px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(38px, 7vw, 56px); line-height: 1.02; letter-spacing: -0.045em; }
.lede { max-width: 500px; margin-bottom: 24px; color: var(--muted-foreground); font-size: 16px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--background); text-decoration: none; font-size: 12px; font-weight: 600; }
.button:hover { background: var(--muted); }
.button.primary { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.button.primary:hover { background: #27272a; }

.features { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features article { display: grid; grid-template-columns: 18px minmax(180px, 30%) 1fr; gap: 14px; padding: 20px 0; }
.features article + article { border-top: 1px solid var(--border); }
.feature-icon { display: grid; width: 18px; height: 18px; place-items: center; color: var(--muted-foreground); }
.feature-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.features h2 { margin-bottom: 0; font-size: 14px; line-height: 1.35; letter-spacing: -0.01em; }
.features p { margin-bottom: 0; color: var(--muted-foreground); font-size: 13px; }

.note { max-width: 560px; padding: 64px 0 72px; }
.note h2 { margin-bottom: 10px; font-size: 24px; line-height: 1.15; letter-spacing: -0.035em; }
.note p { margin-bottom: 0; color: var(--muted-foreground); font-size: 14px; }

.policy { max-width: 640px; padding: 60px 0 72px; }
.policy h1 { font-size: clamp(38px, 7vw, 52px); }
.policy h2 { margin: 34px 0 8px; font-size: 15px; letter-spacing: -0.01em; }
.policy p { color: var(--muted-foreground); }
.policy .lede { color: var(--foreground); }
.policy code { padding: 2px 5px; border: 1px solid var(--border); border-radius: 4px; background: var(--muted); color: var(--foreground); font-size: 0.88em; }

.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; padding: 56px 0 72px; }
.demo-article { position: relative; max-width: 510px; }
.demo-article .eyebrow { margin-bottom: 12px; }
.demo-article h1 { font-size: clamp(34px, 5vw, 48px); }
.demo-article > p { color: var(--muted-foreground); font-size: 16px; line-height: 1.75; }
.demo-article mark { padding: 1px 2px; background: #ffe58f; color: var(--foreground); }
.demo-article blockquote { margin: 26px 0 0; padding-left: 14px; border-left: 2px solid var(--border); color: var(--muted-foreground); }
.demo-pin { position: absolute; right: 18px; bottom: 38px; display: grid; width: 22px; height: 22px; place-items: center; color: #71717a; }
.demo-pin svg, .demo-library svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.demo-note { position: absolute; right: -134px; bottom: -5px; width: 190px; padding: 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); box-shadow: 0 6px 18px rgba(18, 15, 32, 0.1); }
.demo-note-head { display: flex; justify-content: space-between; color: var(--muted-foreground); font-size: 10px; }
.demo-note p { margin: 8px 0 0; font-size: 12px; line-height: 1.45; }
.demo-library { align-self: start; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--background); font-size: 11px; }
.demo-library > header { display: flex; align-items: center; justify-content: space-between; padding: 11px; border-bottom: 1px solid var(--border); }
.demo-library header div { display: flex; flex-direction: column; gap: 1px; }
.demo-library header strong { font-size: 12px; }
.demo-library header span, .demo-host { color: var(--muted-foreground); font-size: 10px; }
.demo-search { margin: 10px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted-foreground); }
.demo-library section { border-top: 1px solid var(--border); }
.demo-page-title { margin: 0; padding: 10px 11px 1px; font-size: 11px; font-weight: 650; }
.demo-host { display: block; padding: 0 11px 9px; }
.demo-library article { display: grid; grid-template-columns: 15px 1fr; gap: 7px; padding: 9px 11px; border-top: 1px solid var(--border); color: var(--muted-foreground); }
.demo-library article p { margin: 0; line-height: 1.35; }
.demo-library article svg { width: 14px; height: 14px; }

footer { display: flex; gap: 16px; padding: 18px 0 28px; border-top: 1px solid var(--border); color: var(--muted-foreground); font-size: 12px; }
footer span { margin-right: auto; color: var(--foreground); font-weight: 650; }

@media (max-width: 680px) {
  main, footer { width: min(100% - 32px, 780px); }
  .hero { padding: 56px 0; }
  .features article { grid-template-columns: 18px 1fr; gap: 10px; padding: 18px 0; }
  .features p { grid-column: 2; }
  .note { padding: 56px 0; }
  .policy { padding: 48px 0 64px; }
  .demo-layout { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 56px; }
  .demo-note { right: 0; bottom: -64px; }
  .demo-pin { right: 36px; bottom: 18px; }
  .demo-library { margin-top: 58px; }
}
