/* yrkesstolthet.org — design tokens (Claude Design 2026-08-07) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Lora:wght@400;500;600&display=swap");

:root {
  --yr-navy: #0b2545;
  --yr-navy-deep: #06152b;
  --yr-gold: #b8973a;
  --yr-gold-text: #8a6f2a;
  --yr-green: #1e6b4a;
  --yr-red: #8f3030;
  --yr-bg: #f4f6f8;
  --yr-surface: #ffffff;
  --yr-cert-paper: #fffdf8;
  --yr-border: #d5dae2;
  --yr-border-input: #c8ceda;
  --yr-text: #1d2430;
  --yr-text-2: #42506a;
  --yr-text-3: #6b7688;
  --yr-divider: #e4e8ee;
  --radius: 6px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--yr-bg);
  color: var(--yr-text);
  line-height: 1.65;
  font-size: 16px;
}
a { color: var(--yr-navy); }
.site-header {
  background: var(--yr-navy);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-bottom: 3px solid var(--yr-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-header a.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.site-header img.mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.site-nav a {
  color: #dce4ef;
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom: 2px solid var(--yr-gold);
  padding-bottom: 2px;
}
.site-nav .btn-outline {
  border: 1.5px solid var(--yr-gold);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  border-bottom: 1.5px solid var(--yr-gold) !important;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.kicker {
  color: var(--yr-gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
h1, h2, .serif {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--yr-navy);
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-size: 1.65rem; margin: 2rem 0 1rem; }
.lead { color: var(--yr-text-2); font-size: 1.05rem; max-width: 36rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: var(--yr-navy);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  margin: 0.25rem 0.5rem 0.25rem 0;
}
.btn-gold-outline {
  background: transparent;
  color: var(--yr-gold-text) !important;
  border: 1.5px solid var(--yr-gold);
}
.btn-secondary { background: var(--yr-gold); color: var(--yr-navy) !important; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin: 2rem 0;
}
.card {
  background: var(--yr-surface);
  border: 1px solid var(--yr-border);
  border-top: 3px solid var(--yr-gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
}
.card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--yr-navy);
}
.card .meta { color: var(--yr-text-3); font-size: 0.9rem; float: right; }
.card p { color: var(--yr-text-2); font-size: 0.95rem; clear: both; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.chip {
  border: 1px solid var(--yr-border-input);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  color: var(--yr-text-2);
}
.chip.gold { border-color: var(--yr-gold); color: var(--yr-gold-text); }
.good {
  border-left: 4px solid var(--yr-green);
  background: #eef8f3;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.warn {
  border-left: 4px solid var(--yr-red);
  background: #fdf0ee;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.site-footer {
  background: var(--yr-navy);
  color: #a8b4c4;
  padding: 1.5rem;
  font-size: 0.9rem;
}
.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: #dce4ef; text-decoration: none; margin-right: 1rem; }
.disclaimer {
  text-align: center;
  color: var(--yr-text-3);
  font-size: 0.9rem;
  padding: 1.5rem 1rem;
  max-width: 40rem;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin: 1rem 0 2.5rem;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .seal { max-width: 220px; margin: 0 auto; }
}
.seal {
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(11, 37, 69, 0.15);
}
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--yr-divider); text-align: left; }
th { background: var(--yr-navy); color: #fff; font-weight: 600; font-size: 0.9rem; }
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid var(--yr-border);
  color: var(--yr-navy);
}
.badge.l3 { border-color: var(--yr-gold); color: var(--yr-gold-text); }
