/* Brand colours from assets-src/icon.svg: navy #0F1B3D background with the
   four spinner colours (red, blue, green, yellow). */
:root {
  --brand-navy: #0f1b3d;
  --brand-red: #e53935;
  --brand-blue: #1e88e5;
  --brand-green: #43a047;
  --brand-yellow: #fdd835;
  --brand-ink: #1a2038;
  --brand-muted: #5b6380;
  --brand-surface: #f4f6fb;
  --brand-surface-2: #ffffff;
  --brand-border: rgba(15, 27, 61, 0.12);
  --brand-shadow: 0 10px 30px rgba(15, 27, 61, 0.2);
}

body {
  background-color: var(--brand-surface);
  color: var(--brand-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

nav.brand-primary,
footer.brand-primary {
  background-color: var(--brand-navy);
  box-shadow: none;
}
nav.brand-primary {
  border-bottom: 4px solid;
  border-image: linear-gradient(90deg, var(--brand-red) 25%, var(--brand-blue) 25% 50%, var(--brand-green) 50% 75%, var(--brand-yellow) 75%) 1;
}
nav.brand-primary a,
nav.brand-primary .brand-logo {
  color: #ffffff;
}
nav.brand-primary .lang-switch a {
  opacity: 0.75;
  font-weight: 600;
  padding: 0 10px;
}
nav.brand-primary .lang-switch a.active,
nav.brand-primary .lang-switch a:hover {
  opacity: 1;
}

.brand-text {
  color: var(--brand-navy) !important;
}

a {
  color: var(--brand-blue);
}

.section p {
  line-height: 1.6;
}

/* Hero */
.hero {
  padding: 48px 0 24px;
}
.hero h1 {
  color: var(--brand-navy);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  font-size: 3rem;
}
.hero .tagline {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 24px;
}
.hero .hero-art {
  text-align: center;
}
.hero .hero-art img {
  max-width: 100%;
  height: auto;
  max-height: 340px;
  border-radius: 24px;
  box-shadow: var(--brand-shadow);
}

/* Feature cards */
.features {
  padding: 24px 0 48px;
}
.features h2.section-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 32px;
  font-size: 2rem;
}
.card-feature {
  background: var(--brand-surface-2);
  border: 1px solid var(--brand-border);
  border-radius: 20px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;
}
.card-feature .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--brand-navy);
  color: var(--brand-yellow);
  margin-bottom: 16px;
}
.card-feature .feature-icon i {
  font-size: 34px;
}
.card-feature h5 {
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 1.25rem;
}
.card-feature p {
  color: var(--brand-muted);
  margin: 0;
  line-height: 1.55;
}

/* Forms */
.btn {
  background-color: var(--brand-blue);
}
.btn:hover,
.btn:focus {
  background-color: var(--brand-navy);
}

/* Footer */
footer.brand-primary .white-text {
  color: #ffffff !important;
}
footer.brand-primary .small-print {
  font-size: 0.85rem;
  opacity: 0.8;
}
footer.brand-primary .footer-copyright {
  background-color: rgba(0, 0, 0, 0.25);
}

blockquote {
  border-left: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

@media (max-width: 600px) {
  .hero {
    padding: 24px 0 8px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .hero-copy,
  .hero .tagline {
    text-align: center;
  }
  .hero .hero-art {
    margin-top: 24px;
  }
}
