/* Wave 0 landing and privacy pages. Tokens and logo from design/mockups/index.html. */
:root {
  --bg: #07090d;
  --panel: #0e1218;
  --panel-2: #131821;
  --border: #1c2330;
  --border-2: #273042;
  --text: #e9edf4;
  --text-2: #a2adbd;
  --brand-2: #a99dff;
  --brand-soft: rgba(124, 108, 255, 0.14);
  --up: #1fcb83;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-2);
  text-underline-offset: 3px;
}

a:hover {
  color: #c6bdff;
}

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

code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel-2);
}

.logo-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #a093ff, #6a5aff 55%, #17b57a);
  box-shadow: 0 6px 18px rgba(124, 108, 255, 0.35);
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Landing and 404: the sign-in card from the mockups */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 16px 28px;
  background:
    radial-gradient(900px 520px at 18% 8%, rgba(124, 108, 255, 0.22), transparent 60%),
    radial-gradient(760px 520px at 86% 92%, rgba(31, 203, 131, 0.14), transparent 60%), var(--bg);
}

.gridbg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 15%, transparent 70%);
}

.chart {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 280px;
  opacity: 0.55;
  pointer-events: none;
}

.card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 38px 32px 30px;
  border: 1px solid var(--border-2);
  border-radius: 22px;
  background: rgba(14, 18, 24, 0.82);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
}

.card .logo-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 16px;
}

.card .logo-mark svg {
  width: 28px;
  height: 28px;
}

.card h1 {
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lead {
  margin: 12px 0 0;
  color: var(--text-2);
}

.beta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 15px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 14px;
  font-weight: 600;
}

.beta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
}

.fine {
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.site-foot {
  position: relative;
  margin-top: 28px;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

/* Privacy policy */
.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 22px;
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

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

.doc {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}

.doc h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.doc h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.doc p,
.doc ul {
  margin: 8px 0 0;
}

.doc ul {
  padding-left: 22px;
}

.doc li + li {
  margin-top: 6px;
}

.updated {
  color: var(--text-2);
  font-size: 14px;
}

.page .site-foot {
  margin-top: 24px;
}

@media (max-width: 480px) {
  .card {
    padding: 30px 20px 24px;
    border-radius: 18px;
  }

  .card h1 {
    font-size: 24px;
  }

  .doc {
    padding: 22px 18px;
  }

  .doc h1 {
    font-size: 24px;
  }
}
