:root {
  color: #173837;
  background: #f5f6ef;
  font:
    16px/1.5 "DM Sans",
    system-ui,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
header {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  border-bottom: 1px solid #cbd6ca;
}
header strong {
  font-size: 27px;
  letter-spacing: -1.5px;
}
nav {
  display: flex;
  gap: 18px;
  margin-right: auto;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  border-radius: 7px;
  padding: 10px 14px;
  border: 1px solid #879e96;
}
button {
  background: #135b50;
  color: white;
  cursor: pointer;
}
button:disabled {
  background: #566963;
  cursor: default;
}
button[hidden] {
  display: none;
}
main {
  padding-bottom: 55px;
}
section {
  margin: 38px 0;
}
.eyebrow {
  font-weight: 650;
  color: #477066;
  margin: 0;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(43px, 7vw, 80px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 12px 0;
}
h1 span {
  color: #789980;
}
h2,
h3 {
  margin: 0 0 8px;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 20px;
}
p {
  max-width: 75ch;
}
.metrics,
.cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
article {
  padding: 20px;
  background: #fff;
  border: 1px solid #d5ded4;
  border-radius: 12px;
  overflow-wrap: anywhere;
}
article p {
  margin: 8px 0;
}
.metrics article {
  background: #e7eee5;
}
.metrics h2 {
  font-size: 14px;
  color: #46665b;
}
.metrics strong {
  font-size: clamp(18px, 2.8vw, 32px);
  letter-spacing: -0.04em;
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}
label {
  display: grid;
  gap: 5px;
}
input,
select {
  max-width: 100%;
  background: #fff;
  color: inherit;
}
#holdings {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
#action {
  font-weight: 600;
  overflow-wrap: anywhere;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ce8b26;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  header {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px 14px;
  }
  nav {
    order: 3;
    width: 100%;
  }
  header button {
    margin-left: auto;
  }
  .metrics,
  .cards {
    grid-template-columns: 1fr;
  }
  article {
    padding: 14px;
  }
  form > label {
    width: 100%;
  }
}
