:root {
  --ink: #162033;
  --muted: #5f6b7c;
  --teal: #1f6b72;
  --navy: #1f3556;
  --hero: #eef4fb;
  --paper: #fbfaf7;
  --border: #d8dde6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.header-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

.header-link:hover {
  color: var(--teal);
}

/* Hero */

.hero {
  background: var(--hero);
  padding: 140px 0 125px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #e7e4dc;
  top: -70px;
  right: -85px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.kicker,
.section-label {
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 860px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.button {
  display: inline-block;
  padding: 15px 25px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.primary {
  background: var(--navy);
  color: var(--white);
}

.primary:hover {
  background: #162a48;
}

.secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}

.secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Company section */

.company-section {
  padding: 95px 0;
  background: var(--paper);
}

.company-section h2 {
  margin: 0 0 28px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.company-section p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #d9e0e8;
  padding: 42px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    padding: 115px 0 100px;
  }

  h1 {
    max-width: 850px;
    font-size: clamp(3rem, 8vw, 5.4rem);
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-wrap {
    padding: 22px 0;
  }

  .hero {
    padding: 90px 0 80px;
  }

  .hero::after {
    width: 190px;
    height: 190px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.7rem);
    line-height: 1.02;
  }

  .lead {
    font-size: 1.1rem;
  }

  .company-section {
    padding: 70px 0;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }
}