:root {
  color-scheme: dark;
  --background: #090a0b;
  --surface: #0d0e10;
  --text: #e9e8e6;
  --muted: #77797d;
  --line: #25272a;
  --accent: #6e14e4;
  --accent-soft: rgba(154, 47, 216, 0.13);
  --page-gutter: clamp(22px, 4.2vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.035), transparent 46%),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--text);
  background: rgba(150, 69, 217, 0.35);
}

.site-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  padding: 28px var(--page-gutter) 22px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: var(--background);
  background: var(--text);
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  min-height: 34px;
}

.topbar-meta,
.eyebrow,
.footer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.topbar-meta {
  margin: 0;
  color: var(--muted);
}

.topbar-meta span {
  padding: 0 5px;
  color: var(--accent);
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 0 92px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 25px;
  color: #8b8c8e;
}

.eyebrow-index {
  color: var(--accent);
}

.wordmark {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: var(--text);
  font-size: clamp(76px, 12.2vw, 166px);
  font-weight: 780;
  letter-spacing: -0.105em;
  line-height: 0.86;
}

.wordmark > span:nth-child(2) {
  color: #c8c8c6;
}

.wordmark-period {
  margin-left: 0.05em;
  color: var(--accent);
}

.divider {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 1px;
  margin-top: clamp(46px, 6.8vw, 88px);
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}

.divider span {
  position: absolute;
  top: -1px;
  left: 50%;
  width: clamp(76px, 9vw, 132px);
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(150, 69, 217, 0.16);
}

.primary-nav {
  display: flex;
  justify-content: center;
  margin-top: 39px;
  gap: 12px;
}

.links {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid #292b2e;
  color: #e6e5e3;
  background: rgba(255, 255, 255, 0.012);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.links:hover {
  transform: translateY(-2px);
  border-color: rgba(138, 69, 217, 0.7);
  color: #fff;
  background: var(--accent-soft);
}

.links:active {
  transform: translateY(0);
}

.links-icon {
  width: 17px;
  height: 17px;
  color: #d7d7d5;
}

.link-arrow {
  margin-left: 8px;
  color: var(--accent);
  font-size: 15px;
  transition: transform 180ms ease;
}

.links:hover .link-arrow {
  transform: translate(2px, -2px);
}

.footer {
  gap: 18px;
  color: #66696c;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer p {
  margin: 0;
}

.footer span[aria-hidden="true"] {
  padding: 0 3px;
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .site-shell {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .hero {
    padding: 66px 0 76px;
  }

  .wordmark {
    font-size: clamp(66px, 17vw, 104px);
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .divider {
    margin-top: 52px;
  }

  .primary-nav {
    margin-top: 31px;
  }

  .footer {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 360px) {
  .topbar-meta {
    font-size: 8px;
  }

  .footer {
    gap: 10px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
