/* General: base styles. */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 var(--body-font); -webkit-font-smoothing: antialiased; }
body, button, a, input { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border-radius: 0; }
button, a, summary { touch-action: manipulation; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--accent); color: var(--accent-ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line); font: 22px/1 var(--body-font); transition: border-color .2s, color .2s, background .2s; }
.icon-button:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }
.icon-button svg { height: 19px; width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .theme-toggle,
html:not(.js) .project-tabs,
html:not(.js) .project-footer { display: none; }
html:not(.js) .cursor { animation: none; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 10px/1.7 var(--body-font); letter-spacing: .8px; text-transform: uppercase; }
.eyebrow-divider { padding-inline: 4px; color: var(--faint); }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 8%, transparent); }
.shell-command { color: var(--faint); font: 12px/1.8 var(--body-font); }
.shell-command span { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; gap: 30px; padding: 13px 22px; font: 12px/1.5 var(--body-font); border: 1px solid transparent; transition: transform .2s, background .2s; }
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--accent) 87%, var(--text)); }
.button span { font-size: 20px; line-height: 1; }
.text-link { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; font: 12px/1.5 var(--body-font); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link span { color: var(--accent); font-size: 20px; }
[data-motion="paused"] .cursor { animation-play-state: paused; }
.cursor { display: inline-block; color: var(--accent); animation: cursor-blink 1.4s step-end infinite; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .icon-button { width: 40px; height: 40px; }
  .eyebrow-divider { padding-inline: 0; }
  .button { gap: 22px; padding-inline: 17px; font-size: 11px; }
  .text-link { font-size: 11px; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  html:not([data-motion="running"]) .cursor { animation: none; }
}
