:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  --text: #162033;
  --muted: #556070;
  --line: #d8e0ea;
  --accent: #3c3b6e;
  --accent-2: #b22234;
  --accent-soft: #eef3fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.narrow { width: min(760px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 0;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.01em;
}
nav { display: flex; gap: 1.25rem; margin-left: 1.5rem; }
nav a { color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--accent); text-decoration: none; }

.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}
.hero-flag {
  width: 104px;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 4px;
  border: 1px solid rgba(22, 32, 51, 0.10);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  display: block;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}
h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  max-width: 11ch;
  color: #10233d;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46rem;
}
.actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}
.button.primary {
  background: linear-gradient(135deg, var(--accent), #2f5aa8);
  color: #ffffff;
}
.button.secondary {
  background: #ffffff;
  border-color: #c9d3df;
  color: var(--text);
}
.button:hover { text-decoration: none; opacity: 0.96; }

.section {
  padding: 4.5rem 0;
}
.section.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}
.feature h3 {
  color: #10233d;
  margin-bottom: 0.35rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
}
.note { color: var(--muted); }
.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
  }
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
