/* ScamRadar — "Varm" designsystem (delad över alla sidor) */
:root {
  --bg: #FBF3EA;
  --card-bg: #FFFFFF;
  --card-bg-hover: #FFFBF6;
  --text: #2E211A;
  --text-strong: #3A2A20;
  --muted: #6B584B;
  --muted-2: #8A7A6C;
  --accent: #C05A3C;
  --accent-hover: #9C4529;
  --accent-soft: #F2C9B4;
  --success: #8FA98A;
  --border: #EADFD5;
  --border-soft: #E8CFC2;
  --blob-1: #F4D9C6;
  --blob-2: #E8CFC2;
  --radius: 28px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(120, 80, 50, 0.12);
}
* { box-sizing: border-box; }
body {
  font-family: 'Karla', -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
h1, h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--text-strong); }
h1 { font-size: 2.1rem; margin: 0 0 8px 0; }
h1 em, h2 em { color: var(--accent); font-style: italic; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text-strong); font-weight: 700; }
p { color: var(--muted); }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.blob {
  position: fixed; border-radius: 50%; filter: blur(2px); z-index: 0; pointer-events: none;
}
.blob-1 { width: 480px; height: 480px; background: var(--blob-1); opacity: 0.55; top: -160px; right: -160px; }
.blob-2 { width: 380px; height: 380px; background: var(--blob-2); opacity: 0.5; bottom: -140px; left: -140px; }

.page { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; position: relative; z-index: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.nav-links { display: flex; gap: 18px; font-size: 0.92rem; font-weight: 600; }
.nav-links a { text-decoration: none; }

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card + .card { margin-top: 24px; }

.logo-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.logo-header img { height: 38px; width: auto; }
.logo-header span { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 1.5rem; color: var(--text-strong); }

textarea {
  width: 100%; min-height: 120px; font-size: 1rem; padding: 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--card-bg-hover); font-family: inherit; resize: vertical; color: var(--text);
}
textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }

button, .btn {
  display: inline-block; padding: 12px 24px; font-size: 1rem; cursor: pointer; margin-top: 14px;
  border: none; border-radius: var(--radius-sm); font-weight: 700; font-family: inherit;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
button:hover, .btn:hover { background: var(--accent-hover); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: var(--card-bg-hover); color: var(--text-strong); border: 1px solid var(--border);
  font-weight: 600;
}
.btn-ghost:hover { background: #fff; color: var(--text-strong); }

#result { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-sm); display: none; }
.Låg { background: #E9F1E7; color: #46583F; }
.Medel { background: #FBEEDD; color: #8A5A2B; }
.Hög { background: #F7DCD3; color: #7C2E1B; }
.disclaimer { font-size: 0.85rem; opacity: 0.85; margin-top: 12px; }
ul.signals { padding-left: 20px; }

.trust-row { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); margin: 6px 0; }
.trust-row svg { flex-shrink: 0; }

footer { margin-top: 40px; font-size: 0.85rem; color: var(--muted-2); text-align: center; position: relative; z-index: 1; }
footer a { color: var(--muted-2); text-decoration: underline; }

.guide-card { margin-top: 14px; }
.guide-card h3 { margin-top: 0; }

#reportBox button { background: none; border: 1px solid var(--border); color: var(--text-strong); font-weight: 400; padding: 8px 16px; }
#reportBox button:hover { background: var(--card-bg-hover); transform: none; }
