/* Shared stylesheet for the public site (spotly.soyova.com).
   Same palette as the publishing page (static/demo.html) so the site and the
   app the TikTok reviewer sees in the demo video read as one product. */
:root {
  --bg: #0f1115; --card: #171a21; --line: #262b36; --text: #e8eaed;
  --muted: #98a0ad; --accent: #fe2c55; --ok: #22c55e;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: #ff5c7c; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; color: #e8eaed; }

/* Header — the Terms and Privacy links sit here, on every page, in plain sight:
   TikTok's review guidelines require them reachable without opening a menu. */
header.site {
  border-bottom: 1px solid var(--line); background: #10131a;
  position: sticky; top: 0; z-index: 10;
}
header.site .bar {
  max-width: 900px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
header.site .brand {
  display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px;
  color: var(--text); text-decoration: none; margin-right: auto;
}
header.site .brand img { width: 26px; height: 26px; border-radius: 6px; }
header.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
header.site nav a:hover, header.site nav a.on { color: var(--text); }
header.site nav a.on { box-shadow: 0 2px 0 var(--accent); }

main { max-width: 900px; margin: 0 auto; padding: 44px 20px 24px; }
h1 { font-size: 32px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 20px; margin: 40px 0 12px; }
h3 { font-size: 16px; margin: 26px 0 8px; }
p, li { color: #c3c9d4; font-size: 16px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.kicker {
  color: var(--accent); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 10px;
}
ul, ol { padding-left: 22px; }
li { margin: 7px 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Numbered walkthrough */
ol.steps { list-style: none; padding: 0; counter-reset: step; }
ol.steps > li {
  counter-increment: step; position: relative; padding: 0 0 0 46px; margin: 0 0 22px;
}
ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--card);
  border: 1px solid var(--line); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
ol.steps b { color: var(--text); }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
td code { color: #ffd0da; }

.note {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 14px 18px; margin: 22px 0;
}
.note p { margin: 0; font-size: 15px; }

.faq { border-top: 1px solid var(--line); padding-top: 18px; }
.faq h3 { margin-top: 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 56px; background: #10131a; }
footer.site .inner {
  max-width: 900px; margin: 0 auto; padding: 26px 20px 40px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  font-size: 14px; color: #6b7280;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site .sep { color: #3a3f4b; }
footer.site .who { margin-right: auto; }

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  header.site .brand { margin-right: 0; width: 100%; }
}
