:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #e6eef9;
  background: #0c1523;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #a3f0db; }
a:focus-visible { outline: 3px solid #a3f0db; outline-offset: 5px; }
.shell { width: min(68rem, calc(100% - 2rem)); margin-inline: auto; }
.header { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-bottom: 1px solid #2b3d55; }
.brand { color: #e6eef9; font-weight: 750; text-decoration: none; }
.brand span, .subject { color: #a3f0db; }
.intro { padding-block: clamp(2rem, 7vw, 5rem) 2rem; }
.subject { margin: 0; font-weight: 650; }
h1, h2 { line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.65rem, 8vw, 6rem); letter-spacing: -.055em; margin: .35em 0 0; }
h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.55rem); }
p { color: #bacadd; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
article { padding: clamp(1.2rem, 4vw, 2.25rem); border: 1px solid #2b3d55; background: #132135; border-radius: 1rem; }
article p:last-child { margin-bottom: 0; }
.featured { grid-column: 1 / -1; background: linear-gradient(125deg, #173c42, #132135 70%); }
.featured h2 { font-size: clamp(1.8rem, 5vw, 3rem); margin-top: .35em; }
.featured p { max-width: 44rem; }
.architecture { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0; }
.architecture span { border: 1px solid #4f6e7e; border-radius: .4rem; padding: .45rem .7rem; font-weight: 650; }
.architecture small { font-size: .875rem; font-weight: 400; color: #bacadd; }
.button { display: inline-block; padding: .65rem 1rem; border-radius: .45rem; background: #a3f0db; color: #0c2528; font-weight: 750; text-decoration: none; }
.note { margin-top: .5rem; }
.footer { padding-block: 2rem; color: #bacadd; }
.actions { display: flex; align-items: center; gap: .8rem 1.2rem; flex-wrap: wrap; }
.article-intro { padding-block: clamp(2.2rem, 6vw, 4rem); max-width: 58rem; }
.article-intro h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
.article-intro > p:not(.subject) { max-width: 42rem; }
.section { padding-block: 1.5rem; border-top: 1px solid #2b3d55; }
.section p { max-width: 49rem; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; min-width: 33rem; margin-block: 1rem; }
th, td { padding: .55rem .8rem; border-bottom: 1px solid #2b3d55; text-align: left; }
th { color: #a3f0db; }
.figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.2rem; }
figure { margin: 1rem 0 0; }
figure img { display: block; width: 100%; height: auto; border-radius: .55rem; background: #18263a; }
figcaption { color: #bacadd; margin-top: .5rem; }
.example { padding: 1rem; background: #132135; border-radius: .7rem; }
.example output { display: block; margin-top: 1rem; }
.example button { border: 0; cursor: pointer; font: inherit; }
.example button:focus-visible { outline: 3px solid #a3f0db; outline-offset: 5px; }
@media (max-width: 38rem) { .projects { grid-template-columns: 1fr; } }
