* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f8f3;
  color: #1e332f;
  font:
    16px/1.5 Inter,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
aside {
  width: 236px;
  background: #edf1e9;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 29px 19px;
  border-right: 1px solid #d7ded3;
}
aside a {
  display: block;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 14px;
}
.brand {
  font-family: Georgia, serif;
  font-size: 25px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}
.brand b {
  font: 33px/38px Georgia;
  text-align: center;
  color: #def4af;
  background: #20483f;
  width: 38px;
  border-radius: 11px;
}
.label,
.eyebrow,
small {
  font:
    700 10px/1.5 ui-monospace,
    monospace;
  letter-spacing: 1.5px;
}
.label {
  margin: 40px 12px 12px;
  color: #596e60;
}
.active,
aside a:hover {
  background: #dae5d8;
}
nav small {
  color: #59705e;
  margin-right: 8px;
}
.sidefoot {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font: 12px monospace;
  color: #58695d;
}
main {
  margin-left: 236px;
}
header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 17px 5%;
  border-bottom: 1px solid #d9dfd5;
  color: #58685f;
  font-size: 13px;
}
header span {
  padding: 0 11px;
  color: #8c9a90;
}
article {
  max-width: 1250px;
  padding: 28px 5% 60px;
  margin: auto;
}
.eyebrow,
small {
  color: #496756;
}
.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #749d52;
  border-radius: 50%;
  margin-right: 6px;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 {
  font-size: clamp(37px, 4.5vw, 65px);
  line-height: 1.12;
}
.intro {
  color: #54665c;
  margin: 10px 0 26px;
  max-width: 800px;
}
.hero {
  background: #173f36;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  padding: 27px 32px;
}
.mesh {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 45%;
  z-index: -1;
  background-image: radial-gradient(#57766a 0.8px, transparent 1px);
  background-size: 15px 15px;
}
.herotext {
  max-width: 60%;
}
.hero .eyebrow {
  color: #cee6aa;
}
.hero h2 {
  font-size: clamp(31px, 3vw, 47px);
  margin-top: 6px;
}
.hero p {
  font-size: 14px;
  color: #cdded4;
  margin: 0 0 18px;
}
.btn {
  display: inline-block;
  border-radius: 7px;
  background: #d7eda8;
  color: #173f36;
  font-weight: 650;
  padding: 10px 17px;
  font-size: 14px;
}
[hidden] {
  display: none !important;
}
.progress,
.card,
.row,
.quiz {
  background: #fff;
  border: 1px solid #d8dfd4;
  border-radius: 12px;
}
.progress {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
}
.progress span {
  display: block;
  font-size: 12px;
  color: #627268;
}
.progress div {
  flex: 1;
}
.progress b {
  font: 600 16px monospace;
}
progress {
  width: 34%;
  height: 7px;
  border: none;
  border-radius: 5px;
  overflow: hidden;
  background: #e4e9df;
}
progress::-webkit-progress-bar {
  background: #e4e9df;
}
progress::-webkit-progress-value {
  background: #628961;
}
progress::-moz-progress-bar {
  background: #628961;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px;
}
.sectionhead h2,
.quiz h2 {
  font-size: 30px;
}
.sectionhead span,
.card footer {
  font-size: 12px;
  color: #56665c;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.card {
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.symbol {
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: #e4edd8;
  color: #41643e;
  text-align: center;
  font: 32px/43px Georgia;
  margin-bottom: 16px;
}
.tint1 .symbol,
.tint4 .symbol {
  background: #e3eafa;
  color: #486692;
}
.tint2 .symbol {
  background: #f7e7d4;
  color: #8b633b;
}
.tint3 .symbol {
  background: #ede6f2;
  color: #745981;
}
.card h3 {
  font-size: 24px;
  margin: 5px 0;
}
.card p {
  font-size: 14px;
  color: #59685e;
  margin: 0 0 18px;
}
.card footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e4e8df;
  padding-top: 12px;
  margin-top: auto;
}
.card:hover,
.row:hover,
button:hover {
  border-color: #688b68;
}
.back,
.example a {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  margin-bottom: 8px;
}
.row span {
  margin-left: auto;
}
.example,
.quiz {
  padding: 24px;
  margin: 20px 0;
  border-radius: 12px;
}
.example {
  background: #e8eee0;
}
.quiz h2 {
  margin: 10px 0 16px;
}
button {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid #becbbc;
  border-radius: 7px;
  padding: 12px 15px;
  margin: 7px 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button[aria-pressed="true"] {
  background: #e6efdc;
  border-color: #658760;
}
#feedback:empty {
  display: none;
}
:focus-visible {
  outline: 3px solid #92702b;
  outline-offset: 3px;
}
@media (max-width: 950px) {
  aside {
    width: 195px;
    padding-inline: 13px;
  }
  main {
    margin-left: 195px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  aside {
    width: auto;
    position: static;
    padding: 12px 5%;
  }
  .brand {
    font-size: 22px;
  }
  .brand b {
    width: 30px;
    font-size: 26px;
    line-height: 30px;
  }
  aside .label,
  aside nav,
  .sidefoot,
  #home {
    display: none;
  }
  main {
    margin: 0;
  }
  article {
    padding-top: 18px;
  }
  .hero {
    padding: 20px;
  }
  .cards {
    gap: 10px;
  }
  .card {
    padding: 14px;
  }
  .card h3 {
    font-size: 21px;
  }
  .herotext {
    max-width: 70%;
  }
  .mesh {
    width: 37%;
  }
  .progress {
    gap: 9px;
    padding: 13px;
  }
  .row {
    gap: 10px;
  }
}
@media (max-width: 390px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
#focusmode {
  display: inline-block;
  width: auto;
  flex-shrink: 0;
  margin: 0 0 0 auto;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}
.focusview aside,
.focusview .mesh {
  display: none;
}
.focusview main {
  margin-left: 0;
}
.focusview article {
  max-width: 840px;
}
.btn {
  width: fit-content;
}
.resume {
  margin-top: 10px;
}
.lab label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 10px 0;
}
.lab select {
  font: inherit;
  border: 1px solid #708578;
  border-radius: 5px;
  padding: 4px;
  color: inherit;
  background: white;
}
.lab output {
  display: block;
  padding: 13px;
  background: white;
  border-radius: 6px;
  font-family: monospace;
  font-size: 16px;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  text-decoration: underline;
}
button:disabled {
  color: #4c5c51;
  cursor: default;
}
.quiz #result {
  margin-top: 16px;
}
.quiz #result p {
  max-width: 65ch;
}
.row span {
  text-align: right;
}
aside {
  overflow-y: auto;
}
.sidefoot {
  position: static;
  margin: 36px 12px 0;
}
@media (max-width: 700px) {
  aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }
  aside > a[href="#practice"] {
    font-size: 13px;
  }
  .resume span {
    max-width: 52%;
  }
}
