:root {
  --bg: #f4f7fb;
  --ink: #111827;
  --muted: #657083;
  --line: #dbe3ee;
  --panel: #ffffff;
  --deep: #091321;
  --teal: #19a597;
  --amber: #ffb85b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: white;
  background: rgba(9, 19, 33, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.logo span {
  display: grid;
  width: 42px;
  height: 36px;
  place-items: center;
  color: var(--deep);
  background: var(--amber);
  border-radius: 8px;
  font-size: 13px;
}

.logo strong {
  display: grid;
  gap: 2px;
  line-height: 1.08;
}

.logo small {
  color: #95a8bf;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: #c8d5e5;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(145deg, rgba(25, 165, 151, 0.28), transparent 42%),
    var(--deep);
}

.hero-text {
  max-width: 720px;
}

.label,
.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .label {
  color: var(--amber);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.hero-text p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: #c8d5e5;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}

.metrics div {
  padding: 28px clamp(20px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 28px;
}

.metrics span {
  color: var(--muted);
  font-weight: 800;
}

.profile-section,
.solutions-section,
.principles-section,
.contact-section {
  padding: clamp(58px, 8vw, 98px) clamp(20px, 5vw, 72px);
}

.profile-section {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  background: var(--panel);
}

.profile-copy p,
.solution-list p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.solution-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.solution-list span {
  font-size: 20px;
  font-weight: 800;
}

.solution-list p {
  margin-bottom: 0;
}

.principles-section {
  color: white;
  background: #123138;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.principle-grid p {
  min-height: 130px;
  margin: 0;
  padding: 22px;
  color: #e5f7f5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-section {
  max-width: 920px;
}

.footer {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #c8d5e5;
  background: var(--deep);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer div {
  display: flex;
  justify-content: center;
  gap: 18px;
  width: 100%;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.footer a:hover {
  color: var(--amber);
}

.legal-page {
  min-height: calc(100vh - 143px);
  background: white;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) clamp(20px, 5vw, 72px);
}

.legal-content h1 {
  margin-bottom: 26px;
  text-align: center;
}

.legal-content h2 {
  margin-top: 30px;
  font-size: 22px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.78;
}

@media (max-width: 880px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .hero,
  .profile-section,
  .solution-list article,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer div {
    flex-direction: column;
    gap: 10px;
  }
}
