@font-face {
  font-family: 'Aboreto';
  src: url('Aboreto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif Display';
  src: url('NotoSerifDisplay-Italic-VariableFont_wdth%2Cwght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('Quicksand/static/Quicksand-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --turquoise: #25C0C9;
  --peach: #FDD9BC;
  --ink: #2B2B2B;
  --accent: #C7672A;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background: var(--peach);
  font-size: 18px;
  line-height: 1.55;
}

h1,
h2,
nav.main {
  font-family: 'Aboreto', serif;
}

a {
  color: inherit;
}

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

section,
header,
footer {
  padding: 60px 24px;
}

.wrap {
  width: 100%;
  margin: 0 auto;
}

.bg-turquoise {
  background: var(--turquoise);
  color: #fff;
}

.bg-peach {
  background: var(--peach);
  color: var(--ink);
}

.header .top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

nav.main {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: .2em;
  text-transform: uppercase;
}

nav.main a {
  text-decoration: none;
  opacity: .95;
  padding: 4px 0;
}

nav.main a:hover {
  opacity: .7;
}

.divider {
  max-width: 960px;
  margin: 30px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .4);
}

h1.hero {
  font-family: 'Noto Serif Display', Georgia, serif;
  text-align: center;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-family: 'Aboreto', serif;
  color: var(--accent);
  letter-spacing: .12em;
  font-size: clamp(16px, 1.8vw, 20px);
  text-transform: uppercase;
  margin: 40px 0 16px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  font-family: 'Aboreto', serif;
  color: var(--accent);
  letter-spacing: .08em;
  font-size: clamp(15px, 1.5vw, 17px);
  margin: 28px 0 12px;
}

.legal p,
.legal address {
  margin: 0 0 18px;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px);
  font-style: normal;
}

.legal ul {
  margin: 0 0 18px;
  padding-left: 1.3em;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px);
}

.legal li {
  margin: 0 0 8px;
}

.legal .updated {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-style: italic;
  color: rgba(43, 43, 43, .75);
  margin-bottom: 40px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  opacity: .75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copy {
  text-align: center;
  font-size: 14px;
  margin-top: 24px;
  color: rgba(43, 43, 43, .7);
}

@media (max-width: 767px) {
  section,
  header,
  footer {
    padding: 48px 20px;
  }

  body {
    font-size: 16px;
  }

  .header .top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .logo {
    width: 72px;
    height: 72px;
  }

  nav.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    width: 100%;
    max-width: 400px;
    letter-spacing: .1em;
    font-size: 15px;
  }

  nav.main a {
    flex: 0 0 calc(50% - 8px);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    text-align: center;
    line-height: 1.3;
  }

  nav.main a:last-child {
    flex: 0 0 100%;
  }

  .divider {
    margin: 32px auto 0;
  }

  h1.hero {
    margin: 32px auto 8px;
    font-size: clamp(22px, 5.5vw, 32px);
    padding: 0 4px;
  }

  .legal h2 {
    letter-spacing: .08em;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}
