/* Shared styles for the static guide pages (talk-to-strangers/, video-chat/,
   ...). These pages exist so search engines have real text to read: the app
   itself draws to a canvas. Plain HTML + this file, no JavaScript needed. */

:root {
  --bg: #F3F6FB; --surface: #FFFFFF; --border: #DDE3EE;
  --text: #0E1422; --muted: #576274; --faint: #8792A6;
  --primary: #2563EB; --primary-bright: #4DA3FF; --accent: #2DD4A7; --link: #2563EB; --eyebrow: #0B7F65;
  --shadow: 0 8px 24px rgba(30, 58, 138, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0D14; --surface: #141925; --border: #262F42;
    --text: #E9EDF6; --muted: #8C97AE; --faint: #5C6780;
    --link: #4DA3FF; --eyebrow: #2DD4A7;
    --shadow: 0 8px 24px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0D14; --surface: #141925; --border: #262F42;
  --text: #E9EDF6; --muted: #8C97AE; --faint: #5C6780;
  --link: #4DA3FF; --eyebrow: #2DD4A7;
  --shadow: 0 8px 24px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--link); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text) !important; text-decoration: none; font-weight: 500; font-size: 18px;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #2563EB, #4DA3FF);
  color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(59, 130, 246, .35);
}
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn:focus-visible { outline: 3px solid var(--primary-bright); outline-offset: 3px; }

.hero { padding: 32px 0 8px; }
.eyebrow {
  color: var(--eyebrow); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px;
}
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; }

article h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; margin: 40px 0 10px; }
article h3 { font-size: 18px; margin: 24px 0 6px; }
article p, article li { color: var(--muted); }
article strong { color: var(--text); }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 20px 22px; box-shadow: var(--shadow); margin: 24px 0;
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  color: #fff; background: linear-gradient(135deg, #2563EB, #4DA3FF);
}

.cta { text-align: center; padding: 28px 22px; }
.cta p { margin: 0 0 16px; }

details { border-top: 1px solid var(--border); padding: 12px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 700; color: var(--text); }
details p { margin: 8px 0 0; }

footer.site {
  margin-top: 48px; padding: 28px 0 40px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: 14px;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer.site nav a { color: var(--muted) !important; text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; }
footer.site nav a[aria-current="page"] { color: var(--text) !important; font-weight: 700; }
