@font-face {
  font-family: "Geist Mono";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.2.0/dist/fonts/geist-mono/GeistMono-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #050505;
  --muted: #525252;
  --subtle: #a3a3a3;
  --text: #fafafa;
  --accent: #22d3ee;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--void);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--void);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

::selection {
  background: rgb(34 211 238 / 20%);
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.03;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

header {
  margin-bottom: 64px;
}

h1,
p {
  margin: 0;
}

h1 {
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.025em;
}

header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.reach {
  color: var(--subtle);
}

.reach-summary {
  padding-bottom: 24px;
  border-bottom: 1px solid rgb(250 250 250 / 5%);
}

.reach-summary p,
.reach-summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}

.reach-summary strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--text);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.025em;
}

.reach-counter {
  transform: translateY(10px);
  animation: counter-rise 800ms cubic-bezier(0.16, 1, 0.3, 1) 100ms forwards;
}

@keyframes counter-rise {
  to {
    transform: translateY(0);
  }
}

.platform-stats {
  padding: 20px 0;
  border-bottom: 1px solid rgb(250 250 250 / 5%);
}

.platform-stats h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.platform-stats dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.platform-stats dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.platform-stats dt,
.platform-stats dd {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
}

.platform-stats dt {
  color: var(--muted);
}

.platform-stats dd {
  color: var(--subtle);
  text-align: right;
}

.sponsor-nav {
  margin-top: 32px;
}

.contact-nav {
  margin-top: 32px;
}

.contact-nav + .sponsor-nav {
  margin-top: 8px;
}

nav {
  display: flex;
  flex-direction: column;
}

.link-row {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.link-label {
  color: var(--subtle);
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-icon {
  color: var(--muted);
  opacity: 0;
  transform: translateX(0);
  transition:
    opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-icon,
.link-icon svg {
  width: 14px;
  height: 14px;
}

.link-icon svg {
  display: block;
}

.link-line {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgb(34 211 238 / 40%);
  transition: width 300ms cubic-bezier(0, 0, 0.2, 1);
}

.link-row:hover .link-label,
.link-row:focus-visible .link-label {
  color: var(--text);
}

.link-row:hover .link-icon,
.link-row:focus-visible .link-icon {
  opacity: 1;
  transform: translateX(2px);
}

.link-row:hover .link-icon-back,
.link-row:focus-visible .link-icon-back {
  transform: translateX(-2px);
}

.link-row:hover .link-line,
.link-row:focus-visible .link-line {
  width: 100%;
}

a:focus-visible {
  outline: 1px solid rgb(34 211 238 / 70%);
  outline-offset: 5px;
}

.fade-in {
  opacity: 0;
  animation: fade-in-up 600ms cubic-bezier(0.16, 1, 0.3, 1) var(--delay)
    forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    animation: none;
  }

  .link-label,
  .link-icon,
  .link-line {
    transition: none;
  }

  .reach-counter {
    transform: none;
    animation: none;
  }
}
