/* BeadLink — samme visuelle språk som spillet: krem, brikker, pasteller. */

:root {
  --bg: #faf3ea;
  --surface: #fffdf8;
  --text: #26262a;
  --muted: #777064;
  --coral: #ef8b76;
  --sun: #f2c45c;
  --mint: #8bc4a0;
  --shadow: 0 6px 18px rgba(64, 51, 34, 0.14);
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211e1a;
    --surface: #2c2823;
    --text: #f0eae0;
    --muted: #a89e90;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 660px;
  margin: 0 auto;
  padding: 48px 24px 32px;
}

/* Topp/hero */
.hero { text-align: center; padding-top: 24px; }

.hero img.appicon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow: var(--shadow);
}

h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 20px 0 6px;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 32ch;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 26px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.badge.soon {
  background: transparent;
  color: var(--muted);
  border: 2px dashed var(--muted);
}

/* Pastell-skillelinje — lenkene fra spillet */
.links-divider {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 44px auto;
}

.links-divider span {
  width: 54px;
  height: 8px;
  border-radius: 999px;
}

.links-divider span:nth-child(1) { background: var(--coral); }
.links-divider span:nth-child(2) { background: var(--sun); }
.links-divider span:nth-child(3) { background: var(--mint); }

/* Kort */
.cards { display: grid; gap: 14px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Tekstsider */
article h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 34px 0 6px;
}

article p, article li { color: var(--text); font-size: 0.98rem; }
article .meta { color: var(--muted); font-size: 0.9rem; }

/* FAQ */
details {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

details summary {
  font-weight: 700;
  cursor: pointer;
}

details p { color: var(--muted); margin: 10px 0 2px; }

a { color: inherit; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 32px 24px 48px;
}

footer a { margin: 0 10px; }

.lang-note {
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-block;
}
