:root {
  color-scheme: light;
  --ink: #203a32;
  --muted: #63716a;
  --green: #174c39;
  --paper: #fafaf6;
  --line: #dde3db;
  --soft: #eef2e9
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

a {
  color: inherit;
  text-underline-offset: 4px
}

a:hover {
  color: var(--green)
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.12
}

h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  margin-bottom: 25px
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 20px
}

h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em
}

p {
  margin-bottom: 22px
}

small {
  font-size: 12px
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 8px 16px;
  background: var(--paper);
  z-index: 5
}

.skip:focus {
  top: 12px
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto
}

.site-header {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 100px;
  border-bottom: 1px solid var(--line)
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0
}

.brand img {
  width: 250px;
  height: auto
}

.site-header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px
}

nav a {
  text-decoration: none
}

nav a:hover {
  text-decoration: underline
}

.age {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 3px
}

.hero {
  padding-top: 70px
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px
}

.intro {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 660px
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 3px;
  font-size: 14px;
  margin-top: 8px
}

.button:hover {
  background: #123d2d;
  color: #fff
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px
}

.hero>.text-link {
  margin-left: 25px
}

.hero img {
  width: 100%;
  margin-top: 48px;
  border-radius: 4px
}

.explore {
  padding: 90px 0 75px
}

.explore>p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted)
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 36px;
  gap: 40px
}

.topics>a {
  position: relative;
  display: block;
  padding-top: 26px;
  text-decoration: none
}

.topics span {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted)
}

.topics h3 {
  font-size: 24px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin: 18px 0 12px
}

.topics p {
  font-size: 15px;
  color: var(--muted);
  padding-right: 8px
}

.topics b {
  font-size: 22px;
  font-weight: 400
}

.topics a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px
}

.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 65px;
  border-top: 1px solid var(--line);
  padding: 60px 0
}

.feature img {
  border-radius: 4px
}

.feature p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px
}

.note {
  padding: 35px 40px;
  background: var(--soft);
  border-left: 3px solid var(--green);
  margin: 20px 0 75px
}

.note h2 {
  font-size: 28px
}

.note p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px
}

.note a {
  font-size: 14px
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px
}

.site-footer>.brand {
  font-size: 23px
}

.site-footer>p {
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.site-footer nav {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: flex-end;
  align-items: start;
  gap: 25px;
  font-size: 12px
}

.site-footer>small {
  grid-column: 1 / -1;
  color: var(--muted);
  margin-top: 18px
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin: 26px 0 50px
}

.breadcrumb a {
  text-decoration: none
}

.reading-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding-bottom: 80px
}

.contents {
  position: sticky;
  top: 30px;
  font-size: 13px
}

.contents summary {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600
}

.contents ol {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  border-top: 1px solid var(--line)
}

.contents li {
  margin: 0;
  border-bottom: 1px solid var(--line)
}

.contents a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5
}

.contents a:hover {
  color: var(--ink)
}

.contents>p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 25px
}

article {
  min-width: 0;
  max-width: 850px
}

article h1 {
  font-size: clamp(38px, 4.5vw, 58px)
}

article h2 {
  font-size: 36px;
  margin-top: 65px
}

article h3 {
  margin-top: 32px
}

article>img {
  width: 100%;
  border-radius: 3px;
  margin: 26px 0 30px
}

article p {
  font-size: 16px;
  line-height: 1.9
}

article>h1+img {
  margin-top: 30px
}

article ul,
article ol {
  font-size: 16px;
  padding-left: 22px
}

article li {
  margin-bottom: 9px
}

.table-wrap {
  overflow-x: auto;
  margin: 26px 0
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65
}

th,
td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

th {
  background: var(--soft);
  font-weight: 600
}

td:first-child {
  width: 27%;
  font-weight: 500
}

article details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0
}

article summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6
}

article details p {
  margin: 15px 0 0;
  color: var(--muted)
}

.simple {
  max-width: 780px;
  padding: 70px 0 90px
}

.simple h2 {
  font-size: 32px;
  margin-top: 40px
}

.simple p {
  font-size: 17px
}

@media(max-width:900px) {

  .site-header,
  .site-footer,
  main {
    width: calc(100% - 44px)
  }

  .site-header {
    gap: 20px
  }

  .site-header nav {
    gap: 20px
  }

  .brand img {
    width: 250px;
    height: auto
  }

  .reading-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px
  }

  .feature {
    gap: 30px
  }

  .topics {
    gap: 24px
  }

  .site-footer nav {
    gap: 16px
  }
}

@media(max-width:650px) {
  body {
    font-size: 16px
  }

  .site-header {
    min-height: 85px;
    flex-wrap: wrap;
    padding: 20px 0 15px;
    gap: 15px
  }

  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    font-size: 12px;
    gap: 12px
  }

  .age {
    margin-left: auto
  }

  .brand {
    font-size: 24px
  }

  .hero {
    padding-top: 40px
  }

  .hero h1 {
    font-size: 43px
  }

  .intro {
    font-size: 18px
  }

  .hero>.text-link {
    display: block;
    width: max-content;
    margin: 20px 0 0
  }

  .hero img {
    margin-top: 30px
  }

  .explore {
    padding: 55px 0 35px
  }

  .topics {
    grid-template-columns: 1fr;
    gap: 0
  }

  .topics>a {
    padding: 22px 0;
    border-bottom: 1px solid var(--line)
  }

  .topics h3 {
    margin: 12px 0
  }

  .topics p {
    margin-bottom: 10px
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 35px 0
  }

  .note {
    padding: 25px;
    margin-bottom: 50px
  }

  .site-footer {
    display: block
  }

  .site-footer>p {
    margin: 12px 0
  }

  .site-footer nav {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    margin: 20px 0
  }

  .site-footer>small {
    display: block
  }

  .breadcrumb {
    margin: 22px 0 28px
  }

  .reading-layout {
    display: block;
    padding-bottom: 45px
  }

  .contents {
    position: static;
    margin-bottom: 35px
  }

  .contents ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px
  }

  .contents>p {
    margin-top: 12px
  }

  article h1 {
    font-size: 39px
  }

  article h2 {
    font-size: 30px;
    margin-top: 45px
  }

  article h3 {
    font-size: 20px
  }

  article p {
    font-size: 16px
  }

  th,
  td {
    padding: 10px;
    font-size: 13px
  }

  .simple {
    padding: 45px 0 60px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

.site-footer .brand img {
  width: 225px
}

@media(max-width:650px) {
  .brand img {
    width: 235px
  }

  .site-footer .brand img {
    width: 220px
  }
}

/* Topic pages and expanded navigation */
.site-header nav {
  gap: 22px;
  font-size: 13px
}

.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px
}

.related {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.related h2 {
  font: 500 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 16px
}

.related nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-size: 14px
}

.related a {
  text-decoration: underline
}

article .intro {
  font-size: 18px;
  line-height: 1.8
}

.editorial-note {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted)
}

@media(max-width:900px) {
  .site-header {
    flex-wrap: wrap;
    padding: 20px 0 16px;
    gap: 16px
  }

  .site-header .age {
    margin-left: auto
  }

  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 12px
  }
}

@media(max-width:650px) {
  .site-header nav {
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 22px
  }

  .contents ol {
    grid-template-columns: 1fr
  }

  .contents summary {
    cursor: pointer
  }
}
