:root {
  font-family: Arial, 'Malgun Gothic', sans-serif;
  color: #173c35;
  background: #fafbf7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
}
a {
  color: #25653e;
  text-underline-offset: 5px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: white;
  border-bottom: 1px solid #dfe5dc;
  padding: 22px max(24px, calc((100% - 1120px) / 2));
}
header img {
  display: block;
  width: 270px;
  height: auto;
}
nav {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  font-size: 16px;
}
main {
  max-width: 1120px;
  margin: 60px auto;
  padding: 0 24px;
  min-height: 60vh;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 26px;
  line-height: 1.45;
}
.eyebrow,
small,
.meta {
  font-size: 14px;
  color: #53675d;
}
.reading {
  max-width: 790px;
  margin: auto;
}
.reading h2 {
  margin-top: 48px;
}
.reading p {
  white-space: normal;
  overflow-wrap: anywhere;
}
.summary {
  font-size: 21px;
  color: #4e6258;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.cards article {
  background: white;
  border: 1px solid #dce3d8;
  border-radius: 16px;
  padding: 28px;
}
.cards span {
  font-size: 14px;
}
.top,
.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.actions {
  justify-content: flex-start;
  margin: 24px 0;
}
label {
  display: block;
  font-weight: bold;
  margin: 22px 0;
}
input,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  border: 1px solid #a9b9aa;
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: #193b31;
  margin-top: 8px;
}
textarea {
  resize: vertical;
  font-size: 18px;
  line-height: 1.8;
}
input[readonly] {
  background: #f0f2ec;
}
button,
.button {
  background: #22513f;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px 22px;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #173b30;
}
:focus-visible {
  outline: 3px solid #5359a0;
  outline-offset: 4px;
}
aside {
  background: #e9f0dd;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}
details {
  background: white;
  border: 1px solid #dce3d8;
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
summary {
  cursor: pointer;
}
.login {
  max-width: 460px;
  margin: auto;
}
footer {
  border-top: 1px solid #dce3d8;
  padding: 30px;
  text-align: center;
  font-size: 14px;
}
hr {
  border: 0;
  border-top: 1px solid #dce3d8;
  margin: 40px 0;
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  header {
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 14px;
  }
  header img {
    width: 225px;
  }
  nav {
    gap: 20px;
    font-size: 14px;
  }
  main {
    margin: 36px auto;
    padding: 0 20px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cards article {
    padding: 22px;
  }
  h2 {
    font-size: 23px;
  }
  .summary {
    font-size: 18px;
  }
  textarea {
    font-size: 16px;
  }
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
}
input,
textarea {
  font-weight: 400;
}
