:root {
  --blue: #1f5f99;
  --blue-dark: #0f2e48;
  --gold: #f5a623;
  --gold-soft: #ffd895;
  --text: #162033;
  --muted: #657084;
  --surface: #ffffff;
  --surface-alt: #eef4fa;
  --bg: #f5f7fb;
  --line: #d8e1ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: url("assets/hero-bg-max.jpg");
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 22, 35, 0.36), rgba(10, 29, 45, 0.84)),
    linear-gradient(120deg, rgba(15, 46, 72, 0.82), rgba(31, 95, 153, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 32px));
  text-align: center;
  color: #ffffff;
  padding: 56px 0;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(109, 122, 133, 0.44);
  box-shadow: 0 14px 30px rgba(7, 18, 31, 0.2);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.hero__brand:hover {
  background: rgba(121, 135, 147, 0.56);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.hero__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(7, 18, 31, 0.24);
}

.hero__brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.hero__brand-name-wrap {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero__brand-name {
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  width: min(700px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  line-height: 1.75;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--gold);
  color: #1d2430;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero__badge {
  min-width: 120px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(7, 18, 31, 0.14);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
  text-align: center;
}

.section--tight {
  padding: 72px 0;
}

.band {
  background: linear-gradient(180deg, #eff5fb, #f8fafc);
  border-top: 1px solid #e3eaf2;
  border-bottom: 1px solid #e3eaf2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section__intro {
  width: min(720px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.78;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
  text-align: left;
}

.features--four {
  grid-template-columns: repeat(4, 1fr);
}

.feature,
.highlight,
.workflow__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(22, 32, 51, 0.08);
}

.feature {
  padding: 28px;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(31, 95, 153, 0.1);
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.feature h3,
.highlight h3,
.workflow__item h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
}

.feature p,
.highlight p,
.workflow__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.highlights,
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}

.highlight,
.workflow__item {
  padding: 28px;
}

.highlight {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.workflow__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #ffffff;
  font-weight: 900;
}

.footer {
  padding: 34px 16px;
  text-align: center;
  color: #dbe6f1;
  background: var(--blue-dark);
}

.footer p {
  max-width: 720px;
  margin: 10px auto 18px;
  line-height: 1.7;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.topbar {
  padding: 22px 24px;
  background: var(--blue-dark);
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.legal {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
  line-height: 1.75;
}

.legal h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.35rem;
}

.legal p {
  margin: 0 0 14px;
}

.legal a {
  color: var(--blue);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .features--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .features,
  .features--four,
  .highlights,
  .workflow {
    grid-template-columns: 1fr;
  }

  .button {
    width: min(100%, 320px);
  }

  .hero__badges {
    gap: 10px;
  }

  .hero__badge {
    min-width: 0;
    width: calc(50% - 8px);
    font-size: 0.86rem;
    padding: 11px 12px;
  }

  .hero__brand {
    gap: 10px;
    padding-right: 10px;
  }

  .hero__brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .hero__brand-name-wrap {
    min-height: 48px;
    padding: 0 14px;
  }

  .hero__brand-name {
    font-size: 0.98rem;
    letter-spacing: 0.05em;
  }
}
