/* savioscan.com — the Savio site. Same palette as the app (Prism): white,
 * a warm glow, orange actions, ink text. System fonts only: no requests to
 * third parties, no cookies. */
:root {
  --bg: #ffffff;
  --ink: #172c31;
  --muted: #566d72;
  --panel: #f4f8fa;
  --line: rgba(52, 88, 100, 0.16);
  --soft: #fef4e8;
  --glow: #feeedb;
  --accent: #9f5500;
  --action: #f58300;
  --on-action: #000000;
  --good: #1e8e3e;
  --score-1: #e0473c;
  --score-2: #f29b30;
  --score-3: #7cc242;
  --score-4: #1e8e3e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080a0d;
    --ink: #f0f4f6;
    --muted: #a3b2b9;
    --panel: #171d24;
    --line: rgba(215, 239, 249, 0.14);
    --soft: #3f2f1e;
    --glow: #3f260a;
    --accent: #f58300;
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% 0%, var(--glow) 0, transparent 45%),
    radial-gradient(ellipse at 100% 30%, var(--soft) 0, transparent 50%), var(--bg);
  background-attachment: fixed;
}
a {
  color: var(--accent);
}
a:hover {
  text-decoration-thickness: 2px;
}
.wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}
header.site {
  padding: 22px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.brand img {
  width: 34px;
  height: 34px;
}
nav.site a {
  margin-inline-start: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
nav.site a:hover,
nav.site a[aria-current='page'] {
  color: var(--ink);
}
main {
  padding: 24px 0 64px;
}
.hero {
  display: grid;
  gap: 18px;
  padding: 40px 0 28px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 650;
  max-width: 14ch;
}
.hero p {
  margin: 0;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
  color: var(--on-action);
  background: var(--action);
}
.button.secondary {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
}
.badge {
  display: inline-block;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--soft);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.card {
  padding: 22px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.card h2,
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.scale {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.scale li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chip {
  display: inline-grid;
  place-items: center;
  min-width: 78px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chip.s4 {
  background: var(--score-4);
}
.chip.s3 {
  background: var(--score-3);
}
.chip.s2 {
  background: var(--score-2);
}
.chip.s1 {
  background: var(--score-1);
}
/* Legal and help pages */
.doc {
  max-width: 720px;
}
.doc h1 {
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 24px 0 4px;
}
.doc .updated {
  color: var(--muted);
  margin: 0 0 26px;
}
.doc h2 {
  font-size: 21px;
  margin: 34px 0 8px;
  letter-spacing: -0.3px;
}
.doc h3 {
  font-size: 17px;
  margin: 22px 0 6px;
}
.doc ul {
  padding-inline-start: 22px;
}
.doc li {
  margin: 4px 0;
}
.note {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--soft);
  border-inline-start: 4px solid var(--action);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 10px 0;
}
table.data th,
table.data td {
  text-align: start;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
table.data th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
footer.site {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}
footer.site a {
  color: var(--muted);
}
@media (max-width: 560px) {
  nav.site a {
    margin-inline-start: 12px;
    font-size: 14px;
  }
  .brand {
    font-size: 20px;
  }
  .table-scroll {
    overflow-x: auto;
  }
}
