:root {
  color-scheme: light;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #000;
  background: #f6f6ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f6ef;
}

a {
  color: #000;
}

a:hover {
  text-decoration: underline;
}

.story-shell {
  width: min(980px, calc(100% - 16px));
  min-height: 100vh;
  margin: 8px auto 40px;
  background: #f6f6ef;
}

.story-bar {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px;
  background: #ff6600;
  line-height: 1.2;
}

.story-brand {
  font-weight: bold;
  text-decoration: none;
}

.story-main {
  width: min(720px, calc(100% - 30px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

h1 {
  margin: 0 0 7px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.story-meta,
figcaption,
.story-footnote {
  color: #828282;
  font-size: 11px;
}

.story-intro {
  margin-top: 28px;
  font-size: 14px;
}

h2 {
  margin: 34px 0 10px;
  font-size: 15px;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
}

ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

code {
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
}

.story-demo {
  margin: 26px 0 30px;
}

.story-demo video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8d8cf;
  background: #000;
}

figcaption {
  margin-top: 7px;
}

.story-callout {
  margin-top: 32px;
  padding: 14px 16px;
  border-left: 3px solid #ff6600;
  background: #eeeedd;
}

.story-callout p:last-child {
  margin-bottom: 0;
}

.story-callout a {
  font-weight: bold;
}

.story-footer {
  margin-top: 36px;
  padding-top: 12px;
  border-top: 1px solid #d8d8cf;
}

@media (max-width: 600px) {
  .story-shell {
    width: 100%;
    margin-top: 0;
  }

  .story-bar {
    flex-wrap: wrap;
  }

  .story-main {
    width: min(100% - 24px, 720px);
    padding-top: 24px;
  }
}
