:root {
  --bg: #eef2f4;
  --text: #14222d;
  --accent: #0f5f8f;
  --accent-dark: #0a466b;
  --card: rgba(255, 255, 255, 0.78);
  --border: rgba(20, 34, 45, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 0%, #c8dce7 0%, transparent 45%),
    radial-gradient(circle at 90% 8%, #dce9ef 0%, transparent 42%),
    var(--bg);
  min-height: 100vh;
}

.background-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 76%, #d5e6ee 0%, transparent 46%);
  opacity: 0.8;
  z-index: -1;
}

.site-header,
main,
.site-footer {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 1.6rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #0f5f8f, #6fb5da);
  position: relative;
  box-shadow: 0 8px 16px rgba(15, 95, 143, 0.24);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0.38rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.76);
}

.brand-star {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: #fff8f0;
  border-radius: 0.2rem;
  right: 0.28rem;
  top: 0.28rem;
  transform: rotate(45deg);
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.07rem;
}

.flag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.flag-no {
  display: block;
  width: 1.9rem;
  height: 1.35rem;
  border-radius: 0.18rem;
  box-shadow: inset 0 0 0 1px rgba(20, 34, 45, 0.14);
  background:
    linear-gradient(to right, transparent 0 30%, #ffffff 30% 42%, #1f4f86 42% 50%, #ffffff 50% 62%, transparent 62% 100%),
    linear-gradient(to bottom, transparent 0 36%, #ffffff 36% 47%, #1f4f86 47% 55%, #ffffff 55% 66%, transparent 66% 100%),
    #ba1f33;
}

.hero {
  padding: 4rem 0 2.8rem;
  animation: rise 700ms ease-out both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  opacity: 0.72;
}

h1,
h2 {
  font-family: "Newsreader", serif;
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  max-width: 14ch;
  margin-top: 0.9rem;
}

.lead {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button {
  text-decoration: none;
  border-radius: 12px;
  padding: 0.78rem 1.15rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.55);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  transform: translateY(14px);
  opacity: 0;
  animation: rise 500ms ease-out both;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 220ms;
}

.card h2 {
  font-size: 1.2rem;
}

.card p {
  margin: 0.55rem 0 0;
  line-height: 1.5;
}

.vision {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0 2rem;
}

.vision h2 {
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  max-width: 23ch;
}

.vision p {
  margin-top: 0.9rem;
  max-width: 60ch;
  line-height: 1.65;
}

.story {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.8rem;
}

.story h2 {
  font-size: clamp(1.3rem, 2.7vw, 2.2rem);
}

.story p {
  margin-top: 0.85rem;
  max-width: 62ch;
  line-height: 1.68;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .brand-text {
    font-size: 1rem;
  }
}
