:root {
  color-scheme: light;
  --heading: #32415c;
  --body: #4e74bc;
  --accent: #4266aa;
  --bg: #ffffff;
  --surface: #ffffff;
  --footer-bg: #222222;
  --footer-text: #f6f6f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Averta", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-family: "FreightText", "Georgia", "Times New Roman", serif;
  font-weight: 400;
}

a {
  color: var(--heading);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px)  { .container { max-width: 576px;  } }
@media (min-width: 768px)  { .container { max-width: 768px;  } }
@media (min-width: 992px)  { .container { max-width: 992px;  } }
@media (min-width: 1200px) { .container { max-width: 1400px; } }

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 65px;
}

@media (min-width: 1100px) {
  .header-inner {
    min-height: 120px;
  }
}

.logo img {
  width: 200px;
}

.nav a {
  font-family: "Averta", "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
}

.hero {
  background: var(--surface);
  padding: 72px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 34px;
  max-width: 960px;
  width: 100%;
}

.hero p {
  margin: 0 0 140px;
  color: var(--body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.home__graphic {
  position: absolute;
  right: 0;
  bottom: 50px;
  width: 68.75%;
  max-width: 900px;
  pointer-events: none;
  z-index: 0;
}

.home__svg {
  position: relative;
  right: -16%;
}

.home__svg img {
  display: block;
  width: 100%;
  height: auto;
}

.page {
  background: var(--surface);
  padding: 64px 0 80px;
}

.page h1 {
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 16px;
}

.page p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 35px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.site-footer a {
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 4fr 2fr 3fr;
  align-items: start;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 16px;
}

.footer-links a {
  display: inline-block;
  margin-top: 8px;
}

.footer-note {
  padding-top: 0;
}

.footer-bottom {
  border-top: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  padding-top: 15px;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: var(--footer-text);
  margin-top: 32px;
}

@media (min-width: 992px) {
  .footer-bottom {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    margin-top: 2.25rem;
  }
}

@media (min-width: 576px) {
  .hero h1,
  .page h1 {
    font-size: 30px;
  }
}

@media (min-width: 768px) {
  .hero h1,
  .page h1 {
    font-size: 36px;
  }
}

@media (min-width: 1440px) {
  .hero h1 {
    font-size: 2.5vw;
    max-width: 66.6667%;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
  }

  .hero {
    padding: 30px 0 80px;
  }

  .hero-rings {
    position: static;
    width: 100%;
    margin-top: 32px;
  }

  .home__graphic {
    position: static;
    width: 100%;
    margin-top: 32px;
  }

  .home__svg {
    right: 0;
  }

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