/* support.vikke.co: plain static pages, system fonts, no scripts. */
:root {
  --bg: #fafafb;
  --dot: #dcdae3;
  --surface: #ffffff;
  --tile: #f3f2f7;
  --text: #1a1828;
  --muted: #6b6880;
  --accent: #6c5ce7;
  --border: #e6e4ec;
  --shadow: 0 1px 2px rgba(26, 24, 40, 0.04);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121119;
    --dot: #2a2837;
    --surface: #1c1a26;
    --tile: #262434;
    --text: #f1f0f6;
    --muted: #a9a6bb;
    --accent: #a29bfe;
    --border: #2e2b3d;
    --shadow: none;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 18px 18px;
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); }

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* Top bar: brand, then the "Need more help?" card */
.bar { display: grid; gap: 0.75rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 7px; }

.bar-card, .note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.bar-card span { font-size: 1.05rem; }

.pill {
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.pill:hover { border-color: var(--accent); }

/* Hero */
.hero { text-align: center; padding: 3rem 0 2rem; }

.mascot {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 0.5rem;
}

.hero h1 { font-size: 1.9rem; font-weight: 600; line-height: 1.2; margin: 0; }
.hero p { color: var(--muted); font-size: 1.2rem; margin: 0.4rem 0 0; }

/* Topic cards */
.topics { display: grid; gap: 0.6rem; max-width: 32rem; margin: 0 auto; }

.topic {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.topic:hover { border-color: var(--accent); }

.icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--tile);
  color: var(--muted);
}

.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text { display: grid; line-height: 1.35; }
.text strong { font-weight: 500; }
.text span { color: var(--muted); }

/* Answers */
.answers { margin-top: 3rem; }

section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 0.4rem;
  margin: 0.9rem 0;
  box-shadow: var(--shadow);
  scroll-margin-top: 1rem;
}

h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin: 0 0 0.5rem; }
section p, section ul { margin: 0 0 0.9rem; }
section ul { padding-left: 1.2rem; }

.note { margin-top: 2rem; color: var(--muted); }

/* Not-found page */
.plain { text-align: center; padding: 3rem 0; }
.plain h1 { font-size: 1.9rem; font-weight: 600; margin: 0 0 0.4rem; }
.plain p { color: var(--muted); }
