/* Voxima — one stylesheet for every page. The app is black with glowing colour, so the site is too. */

:root {
  --bg: #000;
  --panel: #111114;
  --ink: #fff;
  --dim: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --violet: #a78bfa;
  --cyan: #5ee6ff;
  --magenta: #ff5cc8;
  --amber: #ffb454;
  --wide: 1080px;
  --text: 680px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

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

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

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

/* ---- Top bar ---- */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.bar nav { display: flex; gap: 22px; font-size: 15px; }
.bar nav a { color: var(--dim); text-decoration: none; }
.bar nav a:hover { color: var(--ink); }

/* ---- Hero ---- */

.hero { position: relative; overflow: hidden; }
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 96px;
}
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; }
.hero .lede { margin-top: 22px; font-size: clamp(18px, 2.1vw, 22px); color: var(--dim); max-width: 30em; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  text-decoration: none;
}
.pill.soon { background: rgba(255, 255, 255, 0.1); color: var(--ink); border: 1px solid var(--line); }
.cta .more { color: var(--dim); text-decoration: none; font-weight: 600; }
.cta .more:hover { color: var(--ink); }

/* A phone-shaped frame around a screenshot. */
.phone {
  width: min(330px, 78vw);
  margin: 0 auto;
  border-radius: 46px;
  padding: 9px;
  background: linear-gradient(160deg, #2c2c33, #0c0c0f);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 120px rgba(120, 90, 255, 0.28);
}
.phone img { border-radius: 38px; width: 100%; }

/* ---- Sections ---- */

section { padding: 84px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--violet); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
section h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 10px; max-width: 18em; }
section .intro { margin-top: 16px; color: var(--dim); max-width: 38em; font-size: 19px; }

.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}
.card h3 { font-size: 21px; font-weight: 700; }
.card p { margin-top: 10px; color: var(--dim); }
.dot { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 0 22px currentColor; background: currentColor; }
.c-cyan { color: var(--cyan); }
.c-magenta { color: var(--magenta); }
.c-amber { color: var(--amber); }
.c-violet { color: var(--violet); }
.card h3, .card p { color: inherit; }
.card h3 { color: var(--ink); }
.card p { color: var(--dim); }

.split {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split.flip .phone { order: 2; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.points li { padding-left: 28px; position: relative; }
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.points strong { display: block; font-size: 19px; }
.points span { color: var(--dim); }

/* A row of points that runs across the page, under a grid of cards. */
.points.wide { margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 40px; }

.banner { margin-top: 36px; width: 100%; max-width: 520px; border-radius: 26px; border: 1px solid var(--line); overflow: hidden; }

/* ---- Text pages (privacy, support) ---- */

.page { max-width: var(--text); margin: 0 auto; padding: 40px 20px 96px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.page .updated { margin-top: 10px; color: var(--faint); font-size: 15px; }
.page h2 { font-size: 24px; font-weight: 700; margin-top: 48px; }
.page h3 { font-size: 18px; font-weight: 700; margin-top: 28px; }
.page p, .page ul { margin-top: 14px; color: var(--dim); }
.page ul { padding-left: 22px; }
.page li { margin-top: 8px; }
.page strong { color: var(--ink); }
.summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.summary p:first-child { margin-top: 0; }

/* ---- Invitation page ---- */

.invite { max-width: 520px; margin: 0 auto; padding: 48px 20px 96px; text-align: center; }
.invite img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; }
.invite h1 { font-size: 32px; font-weight: 800; }
.invite p { margin-top: 14px; color: var(--dim); }
.code {
  margin: 28px auto 0;
  padding: 18px 24px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  font: 700 30px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  user-select: all;
}
.invite .pill { margin-top: 26px; }
.invite .small { font-size: 15px; color: var(--faint); }

/* ---- Footer ---- */

footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--faint); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; gap: 22px; }

/* ---- Small screens ---- */

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 28px 0 72px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .phone { order: 0; }
  section { padding: 64px 0; }
  .bar nav { gap: 16px; }
}

@media (max-width: 520px) {
  /* The top bar only has room for the two links people look for. */
  .bar nav .extra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
