:root {
  color-scheme: light;
  --outside: #fafafa;
  --surface: #fff;
  --text: #27272a;
  --muted: #52525b;
  --icon: #71717a;
  --border: #e4e4e7;
  --subtle: #fafafa;
  --green: #16a34a;
  --blue: #2563eb;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root.dark {
  color-scheme: dark;
  --outside: #000;
  --surface: #18181b;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --icon: #a1a1aa;
  --border: #3f3f46;
  --subtle: #27272a80;
  --green: #4ade80;
  --blue: #60a5fa;
}
* { box-sizing: border-box; }
body { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; margin: 0; padding: 32px; background: var(--outside); color: var(--text); line-height: 1.75; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button, a { transition: background-color .18s, border-color .18s, color .18s; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.page { position: relative; width: 100%; max-width: 1120px; min-width: 0; padding: 48px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 65%, transparent); border-radius: 24px; box-shadow: 0 20px 60px -20px #18181b1a; }
.container { width: 100%; max-width: 1024px; margin-inline: auto; }
.site-header { width: auto; position: absolute; top: 24px; right: 24px; z-index: 2; }
.topbar { display: flex; align-items: center; justify-content: flex-end; min-height: 42px; position: relative; }
.header-actions { display: flex; align-items: center; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; color: var(--icon); background: var(--surface); border: 1px solid #71717a0d; box-shadow: 0 2px 9px #18181b06; border-radius: 999px; padding: 8px 12px; min-height: 42px; }
.icon-button:hover { color: var(--blue); border-color: var(--border); }
.icon-button svg { display: block; width: 24px; height: 24px; }
.moon-icon, .dark .sun-icon { display: none !important; }
.dark .moon-icon { display: block !important; }
.main-content { display: flex; flex-direction: column; }
.profile-heading { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.profile-details { min-width: 0; }
.profile-heading h1 { min-width: 0; margin-top: 0; }
.avatar-link { display: inline-flex; flex-shrink: 0; border-radius: 50%; }
.avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; background: var(--subtle); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
p, h1, h2 { margin: 0; }
.command { font: 14px/20px var(--mono); color: var(--green); }
h1 { margin-top: 16px; font-size: 48px; line-height: 1; letter-spacing: -.025em; font-weight: 700; }
.role { margin-top: 12px; color: var(--blue); font: 18px/28px var(--mono); }
.bio { margin-top: 24px; font-size: 16px; color: var(--muted); line-height: 28px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 6px; font: 600 14px/24px var(--mono); box-shadow: 0 1px 2px #0000000d; border: 1px solid transparent; }
.button-primary { color: #fff; background: #27272a; }
.button-primary:hover { background: #3f3f46; }
.button-secondary { background: var(--surface); border-color: #d4d4d8; }
.button-secondary:hover { background: var(--subtle); }
.dark .button-primary { background: #3f3f46; }
.dark .button-primary:hover { background: #52525b; }
.dark .button-secondary { border-color: #52525b; background: #27272a; }
.social-links { display: flex; gap: 24px; margin-top: 24px; align-items: center; flex-wrap: wrap; }
.social-link { display: inline-flex; padding: 4px; margin: -4px; color: var(--icon); }
.social-link svg { width: 24px; height: 24px; fill: currentColor; }
.social-link:hover { color: var(--text); }
.code-window { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #18181b; box-shadow: 0 25px 50px -12px #00000040; }
.code-titlebar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #27272a; border-bottom: 1px solid #3f3f4699; color: #a1a1aa; font: 12px/16px var(--mono); }
.window-dots { display: flex; gap: 8px; }
.window-dots span { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; }
.window-dots span:nth-child(2) { background: #eab308; }
.window-dots span:nth-child(3) { background: #22c55e; }
pre { overflow-x: auto; margin: 0; padding: 24px; color: #d4d4d8; font: 13px/1.625 var(--mono); tab-size: 2; }
code { font: inherit; }
.syntax-keyword { color: #c084fc; }
.syntax-type { color: #38bdf8; }
.syntax-comment { color: #71717a; }
.syntax-string { color: #4ade80; }
.syntax-number { color: #fb923c; }
.directory-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.directory-links a { padding: 12px 16px; border: 1px solid var(--border); background: var(--subtle); border-radius: 8px; color: var(--muted); font: 14px/24px var(--mono); text-align: center; }
.directory-links a span { color: var(--green); }
.directory-links a:hover { border-color: var(--blue); color: var(--text); }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 8px 16px; background: var(--surface); border: 1px solid var(--blue); border-radius: 6px; }
@media (max-width: 1023px) {
  .page { max-width: 736px; padding: 32px; }
  .container { max-width: 672px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .code-window { width: 100%; }
}
@media (max-width: 639px) {
  body { padding: 16px; }
  .page { padding: 24px; border-radius: 18px; }
  .site-header { top: 16px; right: 16px; }
  .profile-heading { gap: 12px; }
  .profile-heading h1 { font-size: clamp(28px, 7vw, 40px); }
  .avatar { width: 88px; height: 88px; }
  h1 { font-size: 40px; line-height: 1.1; }
  .role { font-size: 16px; line-height: 26px; }
  .cta-links { gap: 12px; }
  .button { padding-inline: 16px; }
  .directory-links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; gap: 12px; }
  pre { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
