* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1.5rem;
  background: #f5f3ee;
  color: #24231f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: #174f52;
}

a:focus-visible,
.table-scroll:focus-visible {
  outline: 3px solid #c45d1a;
  outline-offset: 3px;
}

.page {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

nav {
  margin: 0 0 1.5rem;
  padding: 0.75rem;
  background: #dce8e6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  border: 1px solid #a8bfbc;
  border-radius: 0.75rem;
}

nav a {
  flex: 1 1 10rem;
  padding: 0.65rem 0.8rem;
  background: #ffffff;
  border: 1px solid #729490;
  border-radius: 0.5rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

nav a:hover {
  background: #174f52;
  color: #ffffff;
}

header {
  margin: 0 0 1.5rem;
  padding: 2rem;
  background: #174f52;
  border-radius: 1rem;
  color: #ffffff;
  text-align: center;
}

header h1,
header p {
  margin: 0;
}

header p {
  margin-top: 0.5rem;
  color: #d8ece9;
}

.panel,
.panel-alt {
  margin: 0 0 1.25rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #d1cec5;
  border-radius: 0.875rem;
}

.panel-alt {
  background: #ece9e1;
}

.panel h2,
.panel-alt h2 {
  margin: 0 0 0.5rem;
  color: #174f52;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.example {
  padding: 1rem;
  background: #f8faf9;
  border-left: 0.35rem solid #c45d1a;
}

.example h3 {
  margin-top: 0;
}

ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.45rem;
}

li > ul,
li > ol {
  margin-top: 0.45rem;
}

.steps {
  list-style-position: outside;
  list-style-type: decimal;
}

.features {
  list-style-type: square;
}

dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

dt {
  color: #174f52;
  font-weight: 700;
}

dd {
  margin: 0 0 0.85rem;
}

.table-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid #a8bfbc;
  border-radius: 0.65rem;
}

table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
}

caption {
  padding: 0.85rem;
  background: #174f52;
  caption-side: top;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid #b9c8c5;
  text-align: left;
  vertical-align: top;
}

thead th,
tfoot th,
tfoot td {
  background: #dce8e6;
}

tbody th {
  background: #edf3f2;
}

tbody tr:nth-child(even) td {
  background: #f5f7f6;
}

.scroll-help {
  margin: 0 0 0.5rem;
  color: #4f5d59;
  font-size: 0.9rem;
}

code {
  font-family: "Courier New", Courier, monospace;
}

@media (min-width: 44rem) {
  .comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  dl {
    grid-template-columns: minmax(10rem, 1fr) 2fr;
  }

  dd {
    margin-bottom: 0.6rem;
  }
}
