/* Resona static site — shared styles.
   No external fonts, no tracking, no cookies. Dark theme matching the app
   (brand purple #7C5CFF → teal #4CD3C2 over a near-black #0E0E18). */

:root {
  --bg: #0e0e18;
  --bg-card: #12121e;
  --bg-card-2: #171722;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ececf2;
  --text-dim: #a6a6b8;
  --text-faint: #6f6f86;
  --purple: #7c5cff;
  --teal: #4cd3c2;
  --radius: 18px;
  --max: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { max-width: var(--max); margin: 0 auto; padding: 28px 22px 64px; }

a { color: var(--teal); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

/* ---------- header / brand ---------- */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .dot { color: var(--teal); -webkit-text-fill-color: var(--teal); }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
header.site nav { display: flex; gap: 18px; font-size: 0.95rem; }
header.site nav a { color: var(--text-dim); }
header.site nav a:hover { color: var(--text); }

/* ---------- typography ---------- */
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 38px 0 10px;
  padding-top: 6px;
}
h3 { font-size: 1.02rem; margin: 22px 0 4px; color: var(--text); }
p { margin: 0 0 14px; color: var(--text); }
.lede { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 10px; }
.updated { color: var(--text-faint); font-size: 0.9rem; margin: 0 0 22px; }
strong { color: #fff; font-weight: 700; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin: 6px 0; }

/* ---------- cards / callouts ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
}
.callout {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.10), rgba(76, 211, 194, 0.06));
  border: 1px solid rgba(124, 92, 255, 0.25);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- pricing pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.pill {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.pill b { color: #fff; }

/* ---------- landing hero ---------- */
.hero { text-align: center; padding: 26px 0 8px; }
.hero h1 { font-size: 2.4rem; }
.hero .lede { max-width: 540px; margin: 8px auto 22px; }
.subscores {
  display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px;
}
.chip {
  border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 600;
  border: 1px solid var(--border);
}
.chip.depth { color: #c9b8ff; }
.chip.confidence { color: #8fd5ff; }
.chip.warmth { color: #ffcf8f; }
.chip.clarity { color: #8fffe0; }

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 14px; font-weight: 700;
  border: 1px solid var(--border); color: var(--text);
}
.btn.primary {
  background: linear-gradient(90deg, var(--purple), var(--teal));
  color: #0b0b13; border: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }

/* ---------- footer ---------- */
footer.site {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: 0.88rem;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
footer.site nav { display: flex; gap: 16px; }
footer.site a { color: var(--text-faint); }
footer.site a:hover { color: var(--text-dim); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 2rem; }
}
