/* ---- Psios (indigo) colours (the only part that differs between sites) ---- */
:root {
  --brand-light: #4b3fd6;
  --brand-dark: #a79fff;
  --bg-light: #f7f7fb;
  --bg-dark: #0e0f1a;
}

/* ---- Shared layout (identical on all three sites; edit in _shared/ then run build-css.sh) ---- */
:root {
  --text: #16171d;
  --muted: #5b5e6b;
  --card: #ffffff;
  --line: rgba(20, 20, 40, 0.12);
  --brand: var(--brand-light);
  --bg: var(--bg-light);
  --on-brand: #ffffff;
  --radius: 18px;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #eef0f4;
    --muted: #a3a8b6;
    --card: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.12);
    --brand: var(--brand-dark);
    --bg: var(--bg-dark);
    --on-brand: #0b0c12;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; }
.mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; flex: none;
}
.mark svg { width: 22px; height: 22px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1.5px solid var(--brand); cursor: pointer;
  background: var(--brand); color: var(--on-brand); font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card p:last-child { margin-bottom: 0; }
.card .num {
  width: 34px; height: 34px; border-radius: 999px; border: 1.5px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); margin-bottom: 12px;
}
.tag.live { border-color: var(--brand); color: var(--brand); }
.price { font-size: 2rem; font-weight: 800; margin: 4px 0 8px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* Band */
.band {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; }

/* Lists */
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.list li:last-child { border-bottom: 0; }
.list .n { color: var(--brand); font-weight: 800; min-width: 1.5em; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Scorecard */
.scorecard { padding: 24px; }
.scorecard .row { margin: 14px 0; }
.scorecard .row-top { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 6px; gap: 12px; }
.scorecard .status { font-weight: 700; font-size: 0.85rem; }
.bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.bar.care span { opacity: 0.45; }
.bar.fair span { opacity: 0.72; }
.example-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 6px;
  border: 1px dashed var(--muted); color: var(--muted);
}
.rx { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
