/* Evolve — "Aurora" design tokens, mirrored from the app (src/constants/theme.ts). */

:root {
  --bg: #07090d;
  --surface: #0e131c;
  --surface-raised: #141b27;
  --border: #1c2534;
  --accent: #7cc4ff;
  --text: #f2f6fc;
  --text-secondary: #8a94a6;
  --text-faint: #525c6e;

  --str: #ff5c4d;
  --sta: #36d399;
  --knw: #4f8ff7;
  --mnd: #b07cf6;
  --hun: #f2a33c;

  --radius-card: 16px;
  --radius-sheet: 20px;

  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 18% -8%, rgba(124, 196, 255, 0.1), transparent 60%),
    radial-gradient(900px 620px at 96% 4%, rgba(176, 124, 246, 0.08), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

/* ── Header ─────────────────────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.brand-bars span {
  width: 4px;
  border-radius: 2px;
  display: block;
}

.brand-bars span:nth-child(1) {
  height: 9px;
  background: var(--sta);
}
.brand-bars span:nth-child(2) {
  height: 14px;
  background: var(--accent);
}
.brand-bars span:nth-child(3) {
  height: 20px;
  background: var(--mnd);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(124, 196, 255, 0.06);
}

.nav a[aria-current='page'] {
  color: var(--accent);
  border-color: rgba(124, 196, 255, 0.3);
  background: rgba(124, 196, 255, 0.08);
}

/* ── Card ───────────────────────────────────────────────────────────── */

.card {
  background: linear-gradient(180deg, var(--surface), #0a0e16);
  border: 1px solid var(--border);
  border-radius: var(--radius-sheet);
  padding: 36px 40px 40px;
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card + .card {
  margin-top: 20px;
}

/* ── Type ───────────────────────────────────────────────────────────── */

h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-weight: 700;
}

h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 34px 0 10px;
  font-weight: 600;
}

h3 {
  font-size: 15px;
  margin: 22px 0 6px;
  font-weight: 600;
  color: var(--text);
}

p,
li {
  color: #c4ccd8;
  font-size: 15.5px;
}

p {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
  margin: 0 0 12px;
}

li {
  margin-bottom: 7px;
}

li::marker {
  color: var(--text-faint);
}

strong,
b {
  color: var(--text);
  font-weight: 600;
}

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

a:hover {
  text-decoration: underline;
}

.lede {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

.meta {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 26px 0;
}

/* ── Pieces ─────────────────────────────────────────────────────────── */

.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: rgba(124, 196, 255, 0.06);
  border: 1px solid rgba(124, 196, 255, 0.22);
  box-shadow: 0 0 30px -14px rgba(124, 196, 255, 0.35);
}

.callout p:last-child {
  margin-bottom: 0;
}

.contact {
  margin: 20px 0 0;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  text-align: center;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contact a {
  font-size: 18px;
  font-weight: 600;
  word-break: break-word;
}

.contact .note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-faint);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
  padding: 0;
  list-style: none;
}

.pills li {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 9px;
}

.pill-str {
  color: var(--str);
  background: rgba(255, 92, 77, 0.13);
}
.pill-sta {
  color: var(--sta);
  background: rgba(54, 211, 153, 0.13);
}
.pill-knw {
  color: var(--knw);
  background: rgba(79, 143, 247, 0.13);
}
.pill-mnd {
  color: var(--mnd);
  background: rgba(176, 124, 246, 0.13);
}
.pill-hun {
  color: var(--hun);
  background: rgba(242, 163, 60, 0.14);
}

.no-list {
  list-style: none;
  padding-left: 0;
}

.no-list li {
  position: relative;
  padding-left: 26px;
}

.no-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 9px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--str);
}

.faq {
  border-top: 1px solid var(--border);
  padding: 16px 0 4px;
}

.faq:first-of-type {
  border-top: none;
}

.faq h3 {
  margin-top: 0;
}

.faq p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

.site-footer a {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Small screens ──────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .page {
    padding: 22px 14px 56px;
  }

  .card {
    padding: 24px 22px 28px;
    border-radius: var(--radius-card);
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 17.5px;
  }
}
