:root {
  color-scheme: light;
  font-family: "Source Sans 3", Manrope, ui-sans-serif, system-ui, sans-serif;
  color: #1d3947;
  background: #fbfaf7;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(8, 127, 135, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 127, 135, .045) 1px, transparent 1px),
    #fbfaf7;
  background-size: 28px 28px;
}

.resource-reader {
  width: min(840px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 6rem;
  font-size: 1.04rem;
  line-height: 1.72;
  text-wrap: pretty;
}

h1, h2, h3 { line-height: 1.12; color: #102b3a; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 0 0 1.4rem; max-width: 18ch; }
h2 { margin: 3.5rem 0 1.15rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(8, 127, 135, .22); font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { margin: 2.35rem 0 .8rem; color: #087f87; font-size: 1.2rem; letter-spacing: .01em; }
.resource-solution-separator { margin: 5rem 0 4rem; padding: 5rem 1.5rem; border-top: 2px solid #087f87; border-bottom: 2px solid #087f87; text-align: center; }
.resource-solution-separator span { color: #087f87; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.resource-solution-separator h2 { margin: .8rem 0 .6rem; border: 0; color: #102b3a; }
.resource-solution-separator p { margin: 0 auto; color: #47616e; }
p { margin: 0 0 1rem; max-width: 74ch; }
h1 + p { max-width: 68ch; font-size: 1.16rem; color: #47616e; }
a { color: #087f87; text-underline-offset: .2em; }
code { padding: .12rem .32rem; border-radius: 4px; background: rgba(8, 127, 135, .1); color: #12485a; font-size: .91em; }
pre { position: relative; overflow-x: auto; margin: 1.35rem 0 1.6rem; padding: 2.45rem 1.15rem 1.1rem; border: 1px solid #193a49; border-radius: 10px; background: #102735; color: #e4f0f1; box-shadow: 0 8px 24px rgba(16, 39, 53, .12); line-height: 1.55; }
pre::before { position: absolute; top: .7rem; left: .85rem; padding: .18rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #cfe9ed; content: "CODE"; font: 700 .68rem/1 Manrope, ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; }
pre code { padding: 0; background: transparent; color: inherit; font-size: .9rem; }
pre.language-bash, pre:has(code.language-bash), pre:has(code.language-sh), pre:has(code.language-shell), pre:has(code.language-zsh) { border-color: #1b6671; background: #102f38; }
pre.language-bash::before, pre:has(code.language-bash)::before, pre:has(code.language-sh)::before, pre:has(code.language-shell)::before, pre:has(code.language-zsh)::before { content: "TERMINAL · BASH"; background: #0c6974; color: #f1ffff; }
pre.language-python, pre:has(code.language-python) { border-color: #b8c8e6; background: #f4f7fd; color: #18324d; box-shadow: none; }
pre.language-python::before, pre:has(code.language-python)::before { content: "PYTHON"; background: #dce7f8; color: #274e78; }
pre.language-yaml, pre:has(code.language-yaml), pre:has(code.language-yml) { border-color: #e6cf8a; background: #fffaf0; color: #4e3c11; box-shadow: none; }
pre.language-yaml::before, pre:has(code.language-yaml)::before, pre:has(code.language-yml)::before { content: "CONFIGURATION · YAML"; background: #f7e7bb; color: #715006; }
blockquote { margin: 1.5rem 0; padding: .75rem 1rem; border-left: 3px solid #6656b6; background: rgba(102, 86, 182, .07); color: #647883; }
table { width: 100%; margin: 1.75rem 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(29, 73, 91, .15); border-radius: 8px; font-size: .92rem; }
th, td { padding: .65rem .75rem; border: 1px solid rgba(29, 73, 91, .15); text-align: left; vertical-align: top; }
th { background: rgba(8, 127, 135, .1); color: #102b3a; font-weight: 750; }
th:first-child, td:first-child { border-left: 0; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
img { max-width: 100%; height: auto; border-radius: 8px; }
ul, ol { padding-left: 1.35rem; margin: .7rem 0 1.2rem; }
li { margin: .32rem 0; padding-left: .18rem; }
li::marker { color: #087f87; font-weight: 700; }
@media (max-width: 620px) { .resource-reader { width: min(100% - 1.25rem, 840px); padding-top: 2.5rem; } pre { margin-inline: 0; padding-inline: .9rem; } }
