/* Landing and privacy pages: Nova Split design system tokens
   (nova-1/docs/design/Nova Split - Design System.html). */
:root {
  color-scheme: light dark;
  --bg: #f3f3f5;
  --surface: #fff;
  --surface-2: #f6f6f8;
  --text: #18181b;
  --text-2: #6c6c75;
  --text-3: #a0a0a8;
  --hairline: rgba(0, 0, 0, 0.075);
  --hairline-2: rgba(0, 0, 0, 0.12);
  --accent: #6e56cf;
  --accent-soft: color-mix(in oklab, var(--accent) 12%, transparent);
  --accent-grad: linear-gradient(
    135deg,
    color-mix(in oklab, var(--accent), #000 9%),
    color-mix(in oklab, var(--accent), #fff 13%)
  );
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #1a1a1d;
    --surface-2: #232327;
    --text: #f4f4f5;
    --text-2: #a0a0a9;
    --text-3: #6c6c75;
    --hairline: rgba(255, 255, 255, 0.08);
    --hairline-2: rgba(255, 255, 255, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: color-mix(in oklab, var(--accent), #000 22%);
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px max(16px, env(safe-area-inset-left)) 40px;
  flex: 1 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 14px;
}

.brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

h1 {
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.04;
  letter-spacing: -1.4px;
  font-weight: 700;
  margin: 14px 0 14px;
  text-wrap: balance;
}

.lede {
  font-size: 17px;
  color: var(--text-2);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}

h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}

section {
  padding: 40px 0 0;
}

.note {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0 0 14px;
}

.bots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  transition: filter 120ms ease;
}

.btn.primary {
  background: var(--accent-grad);
  color: #fff;
}

.btn:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.93);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  text-wrap: pretty;
}

.doc {
  margin-top: 32px;
}

.doc .card + .card {
  margin-top: 10px;
}

.doc .card p + p {
  margin-top: 10px;
}

.doc .card h3 {
  margin-bottom: 10px;
}

ul.rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul.rules li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-2);
  text-wrap: pretty;
}

ul.rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.updated {
  font-size: 12.5px;
  color: var(--text-3);
  margin: 0 0 18px;
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12.5px;
  color: var(--text-2);
}

footer .line {
  margin: 0;
}

footer .line + .line {
  margin-top: 4px;
}
