:root {
  --bg: #ffffff;
  --text: #1c1c1c;
  --muted: #5f6368;
  --accent: #1c4587;
  --accent-2: #2e6bbf;
  --nav: #1c1c1c;
  --footer: #f2f4f8;
  --card-border: #dce3ef;
  --hero-overlay: rgba(7, 16, 30, 0.62);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Lexend", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 2.25rem));
  margin: 0 auto;
}

.site-header {
  background: var(--nav);
  color: #f9f9f9;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: rgba(249, 249, 249, 0.92);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(201, 218, 248, 0.22);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
}

.hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 5rem 0 4rem;
  color: #f9f9f9;
  background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-image);
  background-size: cover;
  background-position: center center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.hero p {
  margin: 0.65rem 0 0;
  max-width: 68ch;
  color: rgba(249, 249, 249, 0.94);
}

.hero .badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.section p,
.section li {
  color: #232323;
}

.highlight {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  color: var(--accent);
  text-align: center;
  margin: 0;
}

.under-construction {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(249, 249, 249, 0.86);
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(22, 41, 66, 0.06);
}

.card img,
.media-fixed {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card .content {
  padding: 1rem 1rem 1.2rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: #2d2f33;
  font-size: 0.95rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.58rem 0.92rem;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.button:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.button.primary:hover {
  background: var(--accent-2);
  color: #f9f9f9;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  background: #f8fbff;
  border: 1px solid #d9e7fb;
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.legal h3 {
  margin: 0.35rem 0 0.55rem;
  color: var(--accent);
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li {
  margin-bottom: 0.82rem;
}

.feature-list b {
  color: var(--accent);
}

.site-footer {
  background: var(--footer);
  border-top: 1px solid #d6dce8;
  margin-top: 3rem;
}

.footer-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap small {
  color: #3f4550;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.social {
  display: inline-flex;
  gap: 0.45rem;
}

.social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #5f6368;
}

.social img {
  width: 24px;
  height: 24px;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #1c1c1c;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0.7rem;
    gap: 0.3rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .cards-2,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 44vh;
    padding: 4.2rem 0 3.2rem;
  }
}
