:root {
  color-scheme: light;
  --ink: #15333d;
  --muted: #42616a;
  --ocean: #075e60;
  --paper: #faf6ed;
  --line: #d6dfd8;
  --heading: Georgia, "Times New Roman", serif;
  --body: system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--body);
}

a { color: var(--ocean); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid #ae5222; outline-offset: 4px; }

.shell { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.site-nav, .site-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.site-nav { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.site-nav > a { font-weight: 650; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-inline-end: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand img { border-radius: .625rem; }
.language { white-space: nowrap; }
[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 32rem;
  margin-block: 2rem 2.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #0d555d;
  color: #fffbee;
}
.hero-copy { align-self: center; padding: clamp(1.5rem, 5vw, 4.5rem); }
.hero-copy p { max-width: 31ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero h1, .document h1 {
  margin: 0;
  font: 700 clamp(2.4rem, 7vw, 5rem)/1.06 var(--heading);
  letter-spacing: -.035em;
}
.hero-art { position: relative; background: #438d93; }
.hero-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 74%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  display: inline-block;
  padding: .65rem 1.05rem;
  border-radius: .65rem;
  background: #fff1d3;
  color: #15333d;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #fbdba0; }
.button:focus-visible { outline-color: #ffdc91; }

.document { overflow-wrap: anywhere; width: min(45rem, 100%); margin: 2.5rem auto 3rem; }
.document h2 { margin: 1.85rem 0 .35rem; font-size: 1.25rem; line-height: 1.35; }
.document p, .document ul { margin: .5rem 0 1rem; }
.document ul { padding-inline-start: 1.4rem; }
.updated { color: var(--muted); }
.site-foot { border-top: 1px solid var(--line); padding-block: 1rem 1.5rem; color: var(--muted); }

@media (max-width: 39rem) {
  .shell { width: calc(100% - 2rem); }
  .site-nav { gap: .55rem 1rem; }
  .brand { width: 100%; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-block: 1rem 1.5rem; }
  .hero-art { height: 17rem; }
  .document { margin-block: 1.5rem 2rem; }
}
