@font-face {
  font-family: "Claws Syne";
  src: url("/fonts/Syne-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Claws Manrope";
  src: url("/fonts/Manrope-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Claws Manrope";
  src: url("/fonts/Manrope-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light dark;
  --paper: #fffefa;
  --surface: #f4f5f3;
  --ink: #101c34;
  --muted: #526077;
  --teal: #047a73;
  --line: #dfe5e2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Claws Manrope", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

header {
  border-bottom: 1px solid var(--line);
}

nav,
main,
footer {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding-inline: clamp(24px, 6vw, 80px);
}

nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark,
h1 {
  font-family: "Claws Syne", "Claws Manrope", sans-serif;
}

.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1;
  text-decoration: none;
}

.home-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

main {
  min-height: calc(100dvh - 206px);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 9vw, 132px);
  padding-top: clamp(64px, 10vw, 128px);
  padding-bottom: clamp(72px, 11vw, 144px);
}

.brand-copy {
  display: grid;
  justify-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 18px 0 0;
  font-size: clamp(3.8rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 38rem;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

dl {
  width: min(100%, 570px);
  margin: 42px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.asset-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  margin-top: 34px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: #fffefa;
  font-weight: 700;
  text-decoration: none;
}

.asset-link:focus-visible,
.home-link:focus-visible,
.wordmark:focus-visible,
footer a:focus-visible {
  outline: 3px solid #ef6b67;
  outline-offset: 4px;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 26px 74px rgb(7 150 141 / 0.12);
}

figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

footer {
  min-height: 134px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 780px) {
  main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  figure {
    width: min(100%, 520px);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  nav,
  main,
  footer {
    padding-inline: 20px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 4.7rem);
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1422;
    --surface: #121b2b;
    --ink: #fffefa;
    --muted: #b7c1d1;
    --teal: #75d4ce;
    --line: #26344a;
  }

  figure img {
    box-shadow: 0 26px 74px rgb(0 0 0 / 0.32);
  }
}
