/* Polari site. Tokens mirror web/src/styles.css (dark) and web/public/privacy.html (light). */
:root {
  --bg: #0b0a10;
  --card: #14121c;
  --card-2: #1b1826;
  --line: rgba(239, 233, 255, 0.1);
  --line-2: rgba(239, 233, 255, 0.16);
  --text: #efe9ff;
  --muted: #a49cbd;
  --link: #b79cff;
  --lav: #b79cff;
  --rose: #ff6fa8;
  --amber: #ffb46b;
  --grad: linear-gradient(120deg, var(--lav) 0%, var(--rose) 55%, var(--amber) 100%);
  --grad-text: var(--grad);
  --aurora-a: rgba(183, 156, 255, 0.14);
  --aurora-b: rgba(255, 111, 168, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf8ff;
    --card: #ffffff;
    --card-2: #f3effc;
    --line: rgba(27, 22, 38, 0.1);
    --line-2: rgba(27, 22, 38, 0.16);
    --text: #1b1626;
    --muted: #5d5670;
    --link: #6a3fd9;
    --aurora-a: rgba(183, 156, 255, 0.22);
    --aurora-b: rgba(255, 111, 168, 0.12);
    /* darker stops so gradient headings keep >= 4.5:1 on the light background */
    --grad-text: linear-gradient(120deg, #6a3fd9 0%, #c8246f 55%, #a84e0c 100%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: -20vh -30vw auto;
  height: 70vh;
  background: radial-gradient(50% 60% at 30% 30%, var(--aurora-a), transparent 70%),
    radial-gradient(40% 50% at 75% 20%, var(--aurora-b), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
main { flex: 1; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 650; line-height: 1.15; margin: 0; }
p { margin: 0 0 12px; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 14px; border-radius: 999px; }

/* header / footer */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; gap: 18px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #160e1a; box-shadow: 0 8px 28px -10px rgba(255, 111, 168, 0.55); }
.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 6px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--card-2);
  line-height: 1.2;
}
.store-badge small { font-size: 12px; color: var(--muted); }
.store-badge strong { font-size: 17px; }

/* sections */
section { padding: 48px 0 8px; }
section > .wrap > h2 { font-size: 28px; margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.hero { padding: 40px 0 24px; }
.hero h1 { font-size: 36px; line-height: 1.08; max-width: 14em; margin-bottom: 16px; }
.hero .lead { margin-bottom: 28px; }
.hero .note { margin-top: 16px; font-size: 15px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 20px; padding: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #160e1a;
  font-weight: 700;
  margin-bottom: 12px;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); margin-right: 8px; vertical-align: 1px; }
.promise { background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: 24px 20px; margin-top: 8px; }
.promise ul { padding-left: 20px; margin: 12px 0 16px; }
.promise li { margin: 6px 0; }
.adult { display: flex; gap: 14px; align-items: flex-start; }
.adult h2 { font-size: 21px; margin-bottom: 6px; }
.badge-18 { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--rose); font-weight: 700; font-family: var(--font-display); }

/* long-form pages (privacy, support) */
.doc { max-width: 720px; padding-top: 24px; }
.doc h1 { font-size: 32px; margin-bottom: 6px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; margin: 20px 0 6px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 650; }
code { font-size: 0.9em; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 40px; }
  .hero h1 { font-size: 60px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .promise { padding: 36px; }
  section > .wrap > h2 { font-size: 34px; }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.doc .actions { margin-top: 20px; }
