/* info.css – shared styles for /info/* pages */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0b1220;
  --surface:  #111827;
  --border:   rgba(255,255,255,0.08);
  --text:     rgba(255,255,255,0.82);
  --muted:    rgba(255,255,255,0.38);
  --accent:   #7dd3fc;   /* ljusblå = radar */
  --gold:     #facc15;   /* gul = TÅG */
  --header-h: 48px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ── */
.info-main {
  flex: 1;
  margin-top: var(--header-h);
  padding: 56px 24px 64px;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero ── */
.info-hero {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.info-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 16px;
}

.info-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}

.info-subtitle {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}

/* ── Content ── */
.info-section {
  margin-bottom: 40px;
}

.info-section h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.info-section p {
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 300;
}

.info-section p:last-child { margin-bottom: 0; }

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
}

.info-section ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  color: var(--text);
  font-weight: 300;
}

.info-section ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.info-section a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.3);
  transition: border-color 0.15s, color 0.15s;
}

.info-section a:hover {
  color: #bae6fd;
  border-color: rgba(125, 211, 252, 0.7);
}

/* ── Card variant for about ── */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.info-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.info-card-value {
  font-size: 15px;
  color: var(--text);
}

.info-card-value a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 204, 21, 0.3);
  transition: border-color 0.15s;
}

.info-card-value a:hover {
  border-color: var(--gold);
}

/* ── Updated date stamp ── */
.info-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.info-updated::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.5);
}
