/*
 * songbestie.com — one stylesheet, THE MIX tokens (client/src/theme/tokens.ts), light first (TASTE 17), the phone's own font
 * (TASTE 14: one family, 700/600/400, nothing under 13 px, four sizes: 30 title · 20 section · 17 body · 15 small).
 * No borders (TASTE 11): a table's rows share one bubble with inset hairlines; nothing sits in a fill inside a fill (TASTE 7).
 * The CSP allows this file and nothing inline, so every style lives here.
 */
:root {
  color-scheme: light dark;
  --page: #FBF8F1;
  --bubble: #F0EBE0;
  --hair: #D2CABB;
  --text: #17130D;
  --muted: #5E574B;
  --lit: #17130D;
  --lit-ink: #FFE07A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #000000;
    --bubble: #1C1C1E;
    --hair: #38383A;
    --text: #FFFFFF;
    --muted: #A0A0A6;
    --lit: #FFE07A;
    --lit-ink: #1F1A0A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* The top of every page but the home: the logo and the name, back to the home page. */
.top { display: flex; align-items: center; gap: 10px; padding: 20px 0 8px; font-weight: 700; text-decoration: none; width: max-content; }
.top img { width: 32px; height: 32px; border-radius: 7px; display: block; }

h1 { font-size: 30px; line-height: 1.2; font-weight: 700; margin: 28px 0 20px; letter-spacing: -0.01em; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 36px 0 10px; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 700; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 24px; }
li { margin: 0 0 8px; }
b { font-weight: 600; }

/* A table of the legal texts: one bubble, one row per line of the table, inset hairlines between rows. */
.rows { background: var(--bubble); border-radius: 14px; margin: 0 0 16px; padding: 0 16px; }
.row { padding: 12px 0; box-shadow: inset 0 -1px 0 var(--hair); }
.row:last-child { box-shadow: none; }
.row p { margin: 0; }
.row .first { font-weight: 600; }

.small { font-size: 15px; color: var(--muted); }
.stamp { margin: 40px 0 0; }

footer { margin: 48px 0 0; padding: 0 0 40px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* The home page: the logo, the name, one line, the one lit control (TASTE 9: the next step is getting the app). */
.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 0 24px; }
.hero img { width: 128px; height: 128px; border-radius: 29px; display: block; margin: 0 0 24px; }
.hero h1 { margin: 0 0 8px; }
.hero p { margin: 0 0 28px; }
.get { display: inline-block; background: var(--lit); color: var(--lit-ink); font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 999px; }
.get:focus-visible { outline-color: var(--lit); outline-offset: 3px; }
.home footer { margin: 0; text-align: center; }
.home footer nav { justify-content: center; }
.label { color: var(--muted); }
