/* ---------------------------------------------------------------- fonts */

@font-face {
  font-family: Aeonik;
  src: url("assets/fonts/Aeonik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Aeonik;
  src: url("assets/fonts/Aeonik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Aeonik;
  src: url("assets/fonts/Aeonik-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */

:root {
  --bg: #0b091f;
  --bg-deep: #060510;
  --text: #eaedff;
  --muted: #8c8da3;
  --muted-ui: #b9bbc7;
  --accent: #516af6;
  --accent-border: rgba(81, 106, 246, .45);
  --accent-glow: rgba(81, 106, 246, .16);
  --frame-border: rgba(203, 208, 235, .16);

  --font: Aeonik, ui-sans-serif, system-ui, sans-serif;
  --measure: 68ch;
  --gutter: clamp(20px, 5vw, 40px);
}

/* ---------------------------------------------------------------- reset */

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* keeps the footer at the bottom on short pages (e.g. support) */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; }

img { max-width: 100%; height: auto; display: block; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  letter-spacing: 0;
  color: var(--muted-ui);
  background: rgba(6, 5, 16, .6);
  border: 1px solid rgba(203, 208, 235, .1);
  border-radius: 5px;
  padding: .1em .38em;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* clips the bleeding glow so it never widens the document */
  padding: clamp(72px, 15vh, 150px) var(--gutter) clamp(52px, 9vh, 96px);
  text-align: center;
}

/* signature radial accent glow on the dark ground */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0;
  z-index: -1;
  background: radial-gradient(ellipse 65% 52% at 50% 46%, var(--accent-glow), transparent 68%);
  pointer-events: none;
}

.hero__inner { max-width: 900px; margin: 0 auto; }

.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: clamp(42px, 10vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tagline {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  font-weight: 500;
  font-size: clamp(15px, 3.2vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5em;
}

.tagline__glyph {
  width: auto;
  height: 1.15em;
  opacity: .92;
}

.btn {
  display: inline-block;
  margin-top: clamp(28px, 5vw, 42px);
  padding: 14px 26px;
  border: 1px solid var(--accent-border);
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: clamp(15px, 2.6vw, 17px);
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(81, 106, 246, .34), 0 0 44px var(--accent-glow);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn:hover {
  background: #6178f7;
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(81, 106, 246, .42), 0 0 56px var(--accent-glow);
}

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

/* No listing to link to yet: rendered as a non-interactive label, so it must not
   invite a click. Overrides .btn:hover, so it has to come after it. */
.btn--pending,
.btn--pending:hover {
  cursor: default;
  background: var(--accent);
  transform: none;
  box-shadow: 0 10px 34px rgba(81, 106, 246, .34), 0 0 44px var(--accent-glow);
}

/* --------------------------------------------------------- product shot */

.shot {
  padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(64px, 10vw, 110px);
}

.shot__figure {
  max-width: 1080px;
  margin: 0 auto;
}

.shot__img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--frame-border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6), 0 0 50px rgba(81, 106, 246, .18);
}

.shot__caption {
  margin: clamp(24px, 4vw, 34px) auto 0;
  max-width: 62ch;
  text-align: center;
}

.shot__caption p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 17px);
}

/* signature caption chip with the accent bar on the left */
.chip {
  display: inline-block;
  margin-top: 18px !important;
  padding: 9px 16px 9px 18px;
  position: relative;
  background: rgba(6, 5, 16, .78);
  border: 1px solid var(--accent-border);
  border-radius: 15px;
  color: var(--muted-ui) !important;
  font-weight: 500;
  font-size: 14px !important;
  letter-spacing: -0.01em;
  text-align: left;
}

.chip::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  bottom: 9px;
  width: 4px;
  border-radius: 3px;
  background: var(--accent);
}

/* ---------------------------------------------------------------- prose */

.prose {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(56px, 9vw, 96px);
}

/* ------------------------------------------------- subpage header */

.subhead {
  position: relative;
  isolation: isolate;
  overflow: hidden; /* same reason as .hero — the glow must not widen the page */
}

.subhead::before {
  content: "";
  position: absolute;
  inset: -70% -10% 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 38%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.pagehead {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(38px, 7vh, 72px) var(--gutter) clamp(20px, 3vw, 30px);
}

.pagehead__back {
  display: inline-block;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color .18s ease;
}

.pagehead__back:hover { color: var(--text); }

.pagehead__title {
  margin: 18px 0 0;
  font-weight: 500;
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--muted-ui);
  font-weight: 400;
}

.prose p { margin: 0 0 18px; }

.prose__meta {
  color: var(--muted) !important;
  font-size: 14px;
  margin-bottom: 26px !important;
}

.prose h2 {
  margin: 40px 0 14px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--muted);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 28px 0 10px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 1.15em;
}

.prose li { margin-bottom: 12px; }

.prose li::marker { color: var(--accent); }

.prose strong { font-weight: 500; color: var(--text); }

/* -------------------------------------------------------------- support */

.support__link { margin-top: 22px; }

.support__link a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 2px;
  transition: border-color .18s ease, color .18s ease;
}

.support__link a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

.support__pending {
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid rgba(203, 208, 235, .1);
  margin-top: clamp(56px, 9vw, 96px);
  padding: 32px var(--gutter) 44px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-bottom: 22px;
}

.footer__nav a {
  color: var(--muted-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color .18s ease;
}

.footer__nav a:hover { color: var(--text); }

/* the page you are already on is shown but not presented as somewhere to go */
.footer__nav a[aria-current="page"] {
  color: var(--muted);
  cursor: default;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer__copy { margin-top: 8px !important; opacity: .75; }

/* ----------------------------------------------------------------- misc */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
