.article-body code {
  font: 500 .92em ui-monospace, "Cascadia Code", monospace;
}

.code-example {
  margin: 24px 0;
  padding: 18px 20px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #17233d;
  color: #f5f8fc;
}

.table-wrap {
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.article-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

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

.article-table th {
  background: #eaf0f8;
  font: 700 14px Manrope, sans-serif;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.metric-list strong {
  color: var(--ink);
  text-align: right;
}

.worksheet {
  margin: 26px 0;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.worksheet dl {
  margin: 0;
}

.worksheet dl div {
  display: grid;
  grid-template-columns: minmax(150px, .4fr) 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.worksheet dl div:last-child {
  border-bottom: 0;
}

.worksheet dt {
  font-weight: 700;
}

.worksheet dd {
  margin: 0;
  color: var(--muted);
}

.framing-lab {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.framing-lab-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.framing-lab-heading span,
.framing-label {
  color: var(--blue);
  font: 700 12px Manrope, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.framing-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.framing-comparison > div {
  min-width: 0;
  padding: 18px;
  background: white;
}

.demo-frame {
  position: relative;
  aspect-ratio: 2 / 1;
  margin: 10px 0 12px;
  overflow: hidden;
  background: #e7edf6;
}

.demo-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.demo-frame .demo-backdrop {
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(18px) saturate(.65);
  opacity: .24;
}

.demo-frame .demo-foreground {
  z-index: 1;
}

.demo-frame.fit .demo-foreground {
  object-fit: contain;
}

.demo-frame.fill .demo-foreground {
  object-fit: cover;
}

.framing-comparison p,
.framing-lab figcaption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.framing-comparison p {
  margin: 0;
}

.framing-lab figcaption {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}

.first-week {
  display: grid;
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.first-week article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 17px 20px;
  background: white;
}

.first-week article > span {
  color: var(--blue);
  font: 800 12px Manrope, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.first-week h3,
.example-project h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 700 18px Manrope, sans-serif;
}

.first-week p,
.copy-note p,
.example-project p {
  margin: 0;
}

.copy-note {
  margin: 26px 0;
  padding: 19px 22px;
  border-left: 4px solid #1d5fe9;
  background: #eaf2ff;
}

.copy-note blockquote {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.simple-log {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
}

.simple-log div {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: white;
}

.simple-log strong {
  color: var(--ink);
}

.simple-log span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.example-project {
  margin: 28px 0;
  padding: 24px;
  border: 1px dashed #7f9bc3;
  border-radius: 12px;
  background: #f7faff;
}

.example-project .eyebrow {
  margin-bottom: 10px;
}

.example-project p + p {
  margin-top: 12px;
}

.article-cta-quiet {
  background: #eaf2ff;
  color: var(--ink);
}

.article-cta-quiet p {
  color: var(--muted);
}

.article-cta-quiet a {
  background: #1d5fe9;
  color: white;
}

@media (max-width: 720px) {
  .metric-list li {
    display: grid;
  }

  .metric-list strong {
    text-align: left;
  }

  .worksheet dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .framing-lab-heading,
  .framing-comparison {
    display: grid;
  }

  .framing-comparison {
    grid-template-columns: 1fr;
  }

  .first-week article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .simple-log {
    grid-template-columns: 1fr;
  }
}
