/* Skelvon Labs. Tokens mirror brand/src/geometry.json -- change them there first. */
:root {
  --night: #15171D;
  --panel: #1E212A;
  --line: #2A2E39;
  --star: #DCDEE5;
  --indigo: #8C9BF5;
  --indigo-bright: #A8B4F8;
  --orbit: #4A5061;
  --mute: #9AA0AF;

  --sans: "Sora", system-ui, -apple-system, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--star);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-bright); text-decoration: underline; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
/* The header uses the full mark, which the brand rules hold to 44px and up. */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--star);
}
.logo:hover { color: var(--star); text-decoration: none; }
.logo img { display: block; }
nav.site { display: flex; gap: 22px; font-size: 15px; }
nav.site a { color: var(--mute); }
nav.site a:hover { color: var(--star); }

/* Hero */
.hero { padding: 76px 0 64px; }
.eyebrow {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
}
h1 {
  margin: 0;
  font-size: clamp(34px, 6.2vw, 58px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.04;
  max-width: 14ch;
  text-wrap: balance;
}
.lede {
  margin: 24px 0 0;
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--mute);
  max-width: 62ch;
  text-wrap: pretty;
}

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.section-lede {
  margin: 0 0 32px;
  color: var(--mute);
  max-width: 62ch;
  text-wrap: pretty;
}

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.card h3 a { color: var(--star); }
.card h3 a:hover { color: var(--indigo-bright); }
.card p { margin: 0; font-size: 15px; color: var(--mute); text-wrap: pretty; }
.status {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  border: 1px solid var(--orbit);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Prose */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 18px; color: var(--mute); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--star); font-weight: 500; }

/* Footer */
footer.site {
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--mute);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.legal { font-family: var(--mono); font-size: 12px; line-height: 1.8; }

@media (max-width: 760px) {
  .products { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 44px; }
  nav.site { gap: 16px; font-size: 14px; }
}
@media (max-width: 420px) {
  nav.site a.hide-xs { display: none; }
  .logo { gap: 10px; font-size: 18px; }
  nav.site { gap: 12px; font-size: 13px; }
}
/* The mark stays at 44px; below this width the nav gives way instead. */
@media (max-width: 340px) {
  nav.site a:first-child { display: none; }
}
