:root {
  --ink: #17212f;
  --text: #344054;
  --muted: #667085;
  --line: #d9e1e8;
  --paper: #ffffff;
  --wash: #f3f7f5;
  --forest: #0f3b2d;
  --blue: #2457d6;
  --gold: #b98628;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

.hero {
  min-height: 78vh;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(12, 22, 32, 0.9) 0%, rgba(12, 22, 32, 0.76) 42%, rgba(12, 22, 32, 0.2) 100%),
    url("assets/dmitry-markosyants.jpg");
  background-position: center right;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav-links a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: auto auto 72px;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  color: #ffffff;
  font-size: 68px;
  line-height: 1.02;
  font-weight: 820;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 24px;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  font-weight: 760;
}

.button.primary {
  color: var(--ink);
  background: #ffffff;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 74px 0;
}

.muted {
  background: var(--wash);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.18;
}

p {
  margin: 0;
}

.intro-grid,
.proof-layout,
.boundary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: 76px;
  align-items: start;
}

.intro-grid > p,
.boundary-grid > p {
  font-size: 22px;
  line-height: 1.5;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.focus-card {
  min-height: 236px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.focus-card h2 {
  font-size: 25px;
}

.focus-card p {
  margin-top: 18px;
}

.proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 17px 0 17px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 11px;
  height: 11px;
  background: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.timeline article {
  padding-top: 18px;
  border-top: 3px solid var(--forest);
}

.timeline span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.timeline h2 {
  margin-top: 12px;
  font-size: 23px;
}

.timeline p {
  margin-top: 12px;
}

.boundary {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.boundary h2 {
  color: #ffffff;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #101820;
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.footer h2 {
  color: #ffffff;
  font-size: 24px;
}

.footer p {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(12, 22, 32, 0.62) 0%, rgba(12, 22, 32, 0.72) 46%, rgba(12, 22, 32, 0.94) 100%),
      url("assets/dmitry-markosyants.jpg");
    background-position: center top;
  }

  .nav,
  .hero-content,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 680px);
  }

  .hero-content {
    margin-bottom: 42px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 20px;
  }

  .intro-grid,
  .proof-layout,
  .boundary-grid,
  .focus-grid,
  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .intro-grid > p,
  .boundary-grid > p {
    font-size: 19px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

  h2 {
    font-size: 27px;
  }

  .button {
    width: 100%;
  }
}
