:root {
  color-scheme: light;
  --ink: #171a15;
  --muted: #64695f;
  --paper: #f5f7f2;
  --green: #54d20e;
  --line: rgba(23, 26, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
}

header,
article,
footer {
  width: min(760px, calc(100% - 44px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: inherit;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.back {
  color: var(--muted);
  font-size: 14px;
  text-underline-offset: 3px;
}

article {
  padding: 70px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.intro {
  max-width: 650px;
  margin: 0 0 54px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 58px;
  padding: 24px 26px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.contact-card:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.contact-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-card:hover span {
  color: inherit;
}

.contact-card strong {
  font-size: clamp(17px, 3vw, 22px);
}

h2 {
  margin: 42px 0 12px;
  font-size: 20px;
}

p,
li {
  font-size: 16px;
  line-height: 1.7;
}

ul {
  padding-left: 22px;
}

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

.language-title {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

a {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 560px) {
  article {
    padding-top: 48px;
  }

  footer {
    flex-direction: column;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
