/* Shared styles for Villkor / Återbetalning / Integritet — Tivi Nordic (tivinordic.com) */
:root {
  --swe-blue: #006aa7;
  --swe-blue-deep: #003b5c;
  --swe-gold: #fecc00;
  --ink: #0c1222;
  --paper: #f6f9fc;
  --mist: #e8f1f7;
  --muted: #5a6b7d;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 249, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 59, 92, 0.08);
}
.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--swe-blue), var(--swe-blue-deep));
  display: grid;
  place-items: center;
  color: var(--swe-gold);
  font-family: var(--font-display);
  font-weight: 700;
}
.back-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--swe-blue);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.doc-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 59, 92, 0.12);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--swe-blue-deep);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--swe-blue-deep);
  margin: 2rem 0 0.65rem;
}
h2:first-of-type { margin-top: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }
li { margin-bottom: 0.35rem; }
.doc-note {
  background: var(--mist);
  border-left: 4px solid var(--swe-blue);
  padding: 1rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(0, 59, 92, 0.1);
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
footer a { color: var(--swe-blue); }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.policy-table th,
.policy-table td {
  padding: 0.55rem 0.35rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 59, 92, 0.1);
}
.policy-table th {
  border-bottom: 2px solid rgba(0, 59, 92, 0.2);
  font-weight: 700;
}
.policy-table td:first-child { padding-left: 0; }