:root {
  --bg: #d4d6d6;
  --card: #f2f3f3;
  --border: #c7cfdb;
  --text: #24324b;
  --muted: #52627d;
  --accent: #1b6fe6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.shell {
  max-width: 1120px;
  margin: 28px auto 48px;
  padding: 0 16px 40px;
}

.site-head {
  margin-bottom: 14px;
}

.page-header-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-cross-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brand-cross-core,
.brand-cross-outline {
  fill: none;
  stroke: none;
}

.brand-cross-glow {
  display: none;
}

.brand-cross-chaser {
  fill: none;
  stroke: url(#swissCrossGlowGradient);
  stroke-width: 5.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 85 15;
  filter: url(#swissCrossGlowFilter);
  opacity: 0.92;
  animation: brandCrossTrace 9.2s linear infinite, brandCrossPulse 2.8s ease-in-out infinite;
}

.brand-name {
  font-size: clamp(1.2rem, 2.1vw, 1.62rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-weight: 400 !important;
  color: #2b3f5f;
}

@keyframes brandCrossTrace {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes brandCrossPulse {
  0%,
  100% {
    opacity: 0.84;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-cross-chaser {
    animation: none;
  }
}

.nav {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8c4d5;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #314663;
  text-decoration: none;
  background: #f0f3f6;
}

.nav a:hover,
.nav a:focus-visible {
  background: #f7f9fb;
  color: #273c58;
  border-color: #aebdce;
  outline: none;
}

.card {
  border: none;
  border-radius: 14px;
  background: var(--card);
  box-shadow: none;
  padding: 22px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.15;
  text-wrap: balance;
}

.meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

h2 {
  margin: 20px 0 9px;
  font-size: 1.22rem;
}

h3 {
  margin: 16px 0 8px;
  font-size: 1.01rem;
}

p {
  margin: 0 0 11px;
  line-height: 1.68;
  color: var(--muted);
}

ul,
ol {
  margin: 0 0 11px;
  padding-left: 21px;
  line-height: 1.62;
  color: var(--muted);
}

li + li {
  margin-top: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.subcard {
  border: 1px solid #d4dbe5;
  border-radius: 12px;
  background: #f4f6f8;
  padding: 12px;
}

.callout {
  border: 1px solid #f0b7bf;
  background: #fff4f5;
  color: #9a2039;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}

a {
  color: var(--accent);
}

.footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .shell {
    padding-top: 18px;
  }

  .card {
    padding: 17px;
  }
}
