:root {
  --paper: #f4efe6;
  --paper-light: #ffffff;
  --ink: #173d3d;
  --muted: #627371;
  --line: #d9e2de;
  --teal: #3f9a96;
  --teal-dark: #176261;
  --beige: #e8dfd1;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Avenir Next', Avenir, 'Trebuchet MS', sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--teal-dark);
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
  color: white;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 14px Arial, sans-serif;
}

nav a {
  color: var(--muted);
}

.nav-cta {
  color: var(--paper-light);
  background: var(--teal-dark);
  padding: 11px 17px;
  border-radius: 5px;
}

.nav-cta:hover {
  color: white;
}

.hero {
  padding: 112px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.overline {
  margin: 0 0 22px;
  color: var(--teal-dark);
  font: 700 12px Arial, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 25px;
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.cta-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid var(--teal-dark);
  border-radius: 5px;
  background: var(--teal-dark);
  color: white;
  font: 700 14px Arial, sans-serif;
}

.button:hover {
  color: white;
  background: var(--teal);
}

.button-light {
  color: var(--teal-dark);
  background: transparent;
  border-color: var(--line);
}

.button-light:hover {
  color: var(--teal-dark);
  background: var(--paper-light);
}

.hero-note {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.hero-note::before {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 34px;
  background: var(--teal);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-note strong {
  display: block;
  margin-bottom: 18px;
  font-size: 27px;
  font-weight: normal;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

section {
  padding: 92px 0;
}

.section-intro {
  max-width: 620px;
  margin-bottom: 42px;
}

.section-intro p {
  color: var(--muted);
  font-size: 18px;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.item {
  padding: 28px 30px 18px 0;
  border-bottom: 1px solid var(--line);
}

.item + .item {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.item p {
  margin-bottom: 0;
  color: var(--muted);
}

.soft-section {
  background: var(--beige);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.split p {
  color: var(--muted);
  font-size: 18px;
}

.simple-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 98, 97, 0.25);
}

.simple-list li {
  padding: 17px 0;
  border-bottom: 1px solid rgba(23, 98, 97, 0.25);
  font-size: 19px;
}

.simple-list li::before {
  content: '→';
  display: inline-block;
  width: 30px;
  color: var(--teal-dark);
}

.contact {
  padding: 104px 0 112px;
  text-align: center;
}

.contact p {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.contact .button {
  margin-top: 30px;
}

.email {
  display: block;
  margin-top: 20px;
  color: var(--teal-dark);
  font: 600 15px Arial, sans-serif;
}

footer {
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 13px Arial, sans-serif;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav a[aria-current='page'] {
  font-weight: 700;
}

@media (max-width: 780px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .topbar-inner {
    min-height: 68px;
  }

  .topbar nav a:not(.nav-cta) {
    display: none;
  }

  .footer-nav a {
    display: inline;
  }

  .hero {
    padding: 74px 0 65px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .hero-copy {
    font-size: 18px;
  }

  section {
    padding: 68px 0;
  }

  .three-up {
    grid-template-columns: 1fr;
  }

  .item,
  .item + .item {
    padding: 24px 0;
    border-left: 0;
  }

  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-nav {
    margin-top: 0;
    justify-content: flex-end;
  }

  .footer-inner p {
    margin: 0;
  }
}
