/* Claude 3P 101 — shared article stylesheet */
:root {
  --ink: #17201f;
  --ink-soft: #566461;
  --paper: #f6f7f4;
  --paper-strong: #eef3f0;
  --card: #ffffff;
  --line: #d8dfdc;
  --accent: #b85f44;
  --accent-dark: #8f3f2d;
  --accent-soft: #f5e7df;
  --teal: #0f766e;
  --teal-soft: #e1f1ed;
  --gold: #b98a2c;
  --graphite: #111817;
  --graphite-2: #1d2927;
  --good: #19865f;
  --warn: #a36b16;
  --bad: #a94334;
  --mono: "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Avenir Next", "Segoe UI", Inter, Seravek, Calibri, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-weight: 600; line-height: 1.22; }
a { color: var(--accent-dark); text-underline-offset: 0.18em; }
code { font-family: var(--mono); font-size: 0.9em; background: #edf1ee; padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: #101918; color: #e8f0ec; padding: 1.15rem 1.25rem; border-radius: 8px; overflow-x: auto; font-size: 0.83rem; line-height: 1.55; margin: 1.25rem 0; border: 1px solid #263634; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.container { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.index-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 244, 0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-family: Georgia, serif; font-size: 1.12rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.nav-links a:hover { color: var(--accent-dark); }

/* Article header */
.article-head {
  padding: 4.8rem 0 3.1rem;
  color: #fff;
  background-color: var(--graphite);
  background-image:
    linear-gradient(90deg, rgba(13, 19, 18, 0.94) 0%, rgba(13, 19, 18, 0.82) 46%, rgba(13, 19, 18, 0.48) 100%),
    url("../assets/cloud-architecture.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.eyebrow { display: inline-block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f3c284; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); padding: 0.34rem 0.72rem; border-radius: 999px; margin-bottom: 1rem; font-weight: 800; }
.article-head h1 { font-size: 3.1rem; max-width: 880px; margin-bottom: 0.9rem; color: #fff; }
.article-head .lede { font-size: 1.12rem; color: #d9e4df; max-width: 850px; }
.article-head .meta { font-size: 0.86rem; color: #b9c9c4; margin-top: 1rem; }

/* Article body */
article.prose { padding: 3.2rem 0 3.5rem; }
article.prose h2 { font-size: 1.6rem; margin: 2.35rem 0 0.8rem; }
article.prose h3 { font-size: 1.18rem; margin: 1.65rem 0 0.5rem; }
article.prose p { margin-bottom: 1rem; }
article.prose ul, article.prose ol { margin: 0 0 1.1rem 1.4rem; }
article.prose li { margin-bottom: 0.4rem; }
article.prose strong { color: var(--ink); }

/* Callout */
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; padding: 1rem 1.3rem; font-size: 0.94rem; margin: 1.4rem 0; }
.callout strong { color: var(--accent-dark); }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 8px; margin: 1.2rem 0 1.5rem; box-shadow: 0 18px 48px rgba(23, 32, 31, 0.06); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; background: #edf3f0; padding: 0.7rem 1rem; font-weight: 800; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 0.65rem 1rem; border-bottom: 1px solid #e6ece8; vertical-align: top; }
tr:last-child td { border-bottom: none; }
.ok { color: var(--good); font-weight: 700; }
.no { color: var(--bad); font-weight: 700; }
.partial { color: var(--warn); font-weight: 700; }

/* Article index */
.library-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.library-tools input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.75rem 0.95rem;
  box-shadow: 0 14px 34px rgba(23, 32, 31, 0.05);
}
.library-tools input:focus { outline: 2px solid rgba(15, 118, 110, 0.22); border-color: var(--teal); }
.article-count { color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.category-nav { display: flex; gap: 0.55rem; flex-wrap: wrap; margin: 0 0 2.6rem; }
.category-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
}
.category-nav a:hover { color: var(--accent-dark); border-color: #d4b7a9; }
.category-block { margin-bottom: 3rem; }
.category-block h2 { display: flex; align-items: baseline; gap: 0.55rem; font-size: 1.5rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.category-count { font-family: "Avenir Next", "Segoe UI", Inter, sans-serif; font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }
.article-list { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.article-list li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.05rem; box-shadow: 0 14px 34px rgba(23, 32, 31, 0.05); overflow-wrap: anywhere; }
.article-list a { text-decoration: none; font-weight: 800; color: var(--accent-dark); }
.article-list a:hover { text-decoration: underline; }
.article-list span { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.2rem; }
.empty-state { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; color: var(--ink-soft); margin-bottom: 2rem; }

/* Footer nav between articles */
.article-footer { border-top: 1px solid var(--line); padding: 1.6rem 0 0.5rem; margin-top: 1rem; font-size: 0.92rem; }
.article-footer a { text-decoration: none; font-weight: 700; }

footer.site { margin-top: 3rem; background: var(--graphite); color: #b9c9c4; padding: 2.2rem 0; font-size: 0.85rem; }
footer.site a { color: #dce6ee; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container, .index-container, .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .article-head { padding: 3.8rem 0 2.5rem; background-position: 58% center; }
  .article-head h1 { font-size: 2.18rem; }
  .article-head .lede { font-size: 1rem; }
  article.prose { padding-top: 2.5rem; }
  article.prose h2 { font-size: 1.38rem; }
  .library-tools { grid-template-columns: 1fr; align-items: stretch; }
  .article-count { white-space: normal; }
  .article-list { grid-template-columns: 1fr; }
}
