:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --ink: #142231;
  --muted: #556575;
  --primary: #0a5ea8;
  --secondary: #148a6b;
  --line: #d8e2ec;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 34, 49, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
}

.menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 23, 43, 0.74), rgba(10, 94, 168, 0.44));
}

.hero-content {
  position: relative;
  color: #f8fbff;
  max-width: 760px;
  padding: 4.4rem 0;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.95rem);
  line-height: 1.2;
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: #e5f0fb;
}

.cta-row {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn.primary {
  background: #17a57f;
  color: #fff;
}

.btn.light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

main {
  padding: 2.1rem 0 3.2rem;
}

section {
  margin: 1.4rem 0 2.1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.45rem;
}

.section-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.intro {
  color: var(--muted);
  margin: 0 0 0.95rem;
  max-width: 780px;
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.list li {
  margin-bottom: 0.45rem;
}

.page-hero {
  min-height: 42vh;
}

.feature-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.crumbs {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: #f9fcff;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    right: 1rem;
    top: 74px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem;
    display: none;
    min-width: 220px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
