/* Shared style for Gavekort.NO sub-pages */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #12233c;
  --muted: #5b6b82;
  --faint: #8a97ab;
  --line: #e3e8ef;
  --accent: #1d4ed8;
  --accent-soft: #eaf0ff;
}

html,
body {
  min-height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.2px;
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.topnav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}
.topnav a:hover {
  color: var(--text);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.page-card h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.page-card .lede {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.page-card h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.page-card p,
.page-card li {
  color: #3a4a63;
  font-size: 15px;
}
.page-card ul,
.page-card ol {
  padding-left: 20px;
  margin: 8px 0;
}
.page-card p + p {
  margin-top: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}
.back-link:hover {
  text-decoration: underline;
}

.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.foot-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--faint);
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 16px;
}
.foot-links a:hover {
  color: var(--text);
}
