@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: light dark;
  --background: #f8fafc;
  --surface: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --quiet: #64748b;
  --line: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --on-accent: #f8fafc;
  --trace: rgb(37 99 235 / 18%);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #020617;
    --surface: #0f172a;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --quiet: #94a3b8;
    --line: #334155;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --on-accent: #020617;
    --trace: rgb(59 130 246 / 22%);
  }
}

* { box-sizing: border-box; }
::selection { background: var(--accent); color: var(--on-accent); }
html { min-width: 320px; background: var(--background); scrollbar-color: var(--accent) var(--surface); }
html::-webkit-scrollbar { width: .75rem; }
html::-webkit-scrollbar-track { background: var(--surface); }
html::-webkit-scrollbar-thumb { border: .1875rem solid var(--surface); border-radius: .5rem; background: var(--accent); }
body { margin: 0; min-height: 100dvh; background: var(--background); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-150%); border-radius: .5rem; background: var(--text); color: var(--background); padding: .5rem .75rem; }
.skip-link:focus { transform: none; outline: 3px solid var(--accent); outline-offset: 2px; }
main { display: grid; grid-template-rows: auto 1fr auto; width: min(100% - 2rem, 80rem); min-height: 100dvh; margin: 0 auto; }
main:focus { outline: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.125rem; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.development-state { display: flex; align-items: center; gap: .625rem; margin: 0; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.development-state span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .25rem var(--trace); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(16rem, 5fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: clamp(3.5rem, 8vw, 6rem) 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; max-width: 48rem; }
h1 { max-width: 13ch; margin: 0; font-family: "Archivo Variable", ui-sans-serif, sans-serif; font-size: clamp(3rem, 7vw, 6rem); font-stretch: 72%; font-weight: 700; letter-spacing: -.04em; line-height: .96; text-wrap: balance; }
.hero-copy p { max-width: 36rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.65; }
.status-link { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 2.75rem; margin-top: 2rem; border-radius: .5rem; background: var(--accent); color: var(--on-accent); padding: .75rem 1rem; font-weight: 700; text-decoration: none; transition: background-color 180ms cubic-bezier(.2, 0, 0, 1), transform 100ms cubic-bezier(.2, 0, 0, 1); white-space: nowrap; }
.status-link:hover { background: var(--accent-hover); }
.status-link:active { transform: translateY(1px); }
.status-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.status-link svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.trace { position: relative; align-self: stretch; min-height: 28rem; opacity: .92; }
.trace::before { content: ""; position: absolute; inset: 8% 0 4%; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, var(--surface), transparent 72%); }
.trace-line { position: absolute; display: block; height: 1px; background: var(--accent); transform-origin: left center; opacity: .45; }
.trace-line-a { top: 28%; left: 16%; width: 61%; transform: rotate(24deg); }
.trace-line-b { top: 51%; left: 39%; width: 50%; transform: rotate(-35deg); }
.trace-line-c { top: 71%; left: 18%; width: 52%; transform: rotate(-12deg); }
.trace-node { position: absolute; display: block; width: clamp(3rem, 5vw, 4.5rem); aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; background: var(--background); box-shadow: inset 0 0 0 .75rem var(--trace); }
.trace-node-a { top: 17%; left: 8%; }
.trace-node-b { top: 43%; right: 4%; }
.trace-node-c { bottom: 8%; left: 30%; }
footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 1.25rem 0 1.75rem; color: var(--quiet); font-size: .8125rem; }
footer p { margin: 0; }

@media (max-width: 48rem) {
  main { width: min(100% - 2rem, 44rem); }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
  h1 { max-width: 11ch; font-size: clamp(3rem, 14vw, 5rem); }
  .trace { grid-row: 2; min-height: 13rem; }
  .trace::before { inset: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 26rem) {
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: .25rem; }
  .hero-copy p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .trace { animation: trace-settle 600ms cubic-bezier(.16, 1, .3, 1) both; }
  .trace-node { animation: node-settle 600ms cubic-bezier(.16, 1, .3, 1) both; }
  .trace-node-b { animation-delay: 80ms; }
  .trace-node-c { animation-delay: 160ms; }
  @keyframes trace-settle { from { opacity: .55; } to { opacity: .92; } }
  @keyframes node-settle { from { opacity: .35; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
}

@media (forced-colors: active) {
  .development-state span, .trace-node { forced-color-adjust: none; }
}
