/* 未夜准则 · weiye.undusk.com
 * 官网 undusk.com 的哲学层子站：只放信念与准则，不放产品。零 JavaScript。
 * 视觉依据《未夜品牌操作系统 V1.0》第四篇：
 *   §16 深、静、准、柔、空　§17 未完成的天空（深青 / 蟹壳青 / 暮蓝 / 灰紫 / 天光白）
 *   §18 光有方向、无噪音　　§20 边界、微光、留白、渐隐、不闭合　　§21 动效只解释 / 定向 / 安抚
 * 契约：下方 tokens 的文本色对被 scripts/verify.mjs 锁 WCAG AA（≥4.5），改色先跑 npm test。
 */

/* ============ tokens ============ */
/* 实测对比度（node scripts/contrast.mjs <fg> <bg>）：
 * text/bg 15.1 ｜ muted/bg 9.5 ｜ dim/bg 6.5 ｜ accent/bg 9.0 ｜ accent-2/bg 8.1
 * text/surface 13.5 ｜ muted/surface 8.5 ｜ dim/surface 5.9 ｜ accent/surface 8.1
 * text/surface-2 12.1 ｜ muted/surface-2 7.6 ｜ dim/surface-2 5.3（全站最薄的一对）
 * on-accent/accent 9.5 ｜ line-strong 叠 bg ≈3.5（非文本边界 ≥3）
 */
:root {
  color-scheme: dark;
  /* 未完成的天空 */
  --bg: #0f1a24;          /* 暮蓝，将暗未暗 */
  --bg-deep: #0b141c;     /* 深青，页脚与最底层 */
  --surface: #16242f;     /* 蟹壳青的暗阶，卡面 */
  --surface-2: #1b2d3a;   /* 卡面再抬一层 */
  --text: #e9eef2;        /* 天光白 */
  --muted: #b3c0ca;
  --dim: #8ea0ad;
  --accent: #86c5c0;      /* 蟹壳青，链接与焦点 */
  --accent-2: #b3aad3;    /* 灰紫，次级强调 */
  --on-accent: #0b141c;
  --line: rgba(233, 238, 242, 0.14);
  --line-strong: rgba(233, 238, 242, 0.4);
  --glow: rgba(134, 197, 192, 0.16);   /* 微光：全站唯一发光处在首屏地平线 */
  --selection: rgba(134, 197, 192, 0.28);
  /* 几何 */
  --shell: 1040px;
  --measure: 38em;        /* 中文正文 30–40 字一行 */
  --radius: 10px;
  --radius-sm: 6px;
  --tracking-tight: -0.02em;
  --ease: 180ms ease;
}

/* ============ base ============ */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--selection); color: var(--text); }
a { color: inherit; text-decoration: none; transition: color var(--ease), border-color var(--ease); }
img, svg { display: block; }
p, ul, ol, dl, table { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: var(--tracking-tight); text-wrap: balance; }
main { flex: 1 0 auto; } /* 短页（404）页脚贴底 */
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

/* ============ a11y ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -80px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.skip-link:focus,
.skip-link:focus-visible { top: calc(12px + env(safe-area-inset-top, 0px)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#main:focus { outline: none; }

/* ============ header ============ */
.site-header { padding: 22px 0 0; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-latin { color: var(--dim); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-right: -10px; /* 抵消末项 padding，让文字右缘与 shell 对齐 */
  font-size: 15px;
  color: var(--muted);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 8px;
  text-decoration-color: var(--accent);
}

/* ============ hero（首屏只放信念陈述，§31） ============ */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line); /* 地平线由边界画出，而不是被裁出硬边 */
}
/* 光的原则：一处光源、方向向上、强度克制。全站发光元素同一时刻至多一个。 */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -220px;
  width: 1100px;
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow) 0%, rgba(134, 197, 192, 0.06) 38%, transparent 70%);
  pointer-events: none;
}
.hero .shell { position: relative; }
.hero-mark { margin: 0 0 40px; color: var(--accent); }
.hero-mark svg { width: 56px; height: 56px; }
.hero h1 {
  max-width: 18em;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.015em;
  word-break: keep-all; /* 只在标点与 <wbr> 处断，不把「安静地」拆成两行 */
}
.hero-lede {
  max-width: var(--measure);
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}
.hero-note {
  margin: 40px 0 0;
  color: var(--dim);
  font-size: 15px;
}
.hero-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* 内页首屏（不发光，只留标题与一句引子） */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.page-kicker svg { width: 16px; height: 16px; flex: none; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.25; font-weight: 500; }
.page-head .lede {
  max-width: var(--measure);
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* ============ section ============ */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section-head { margin: 0 0 32px; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.3; }
.section-head p { max-width: var(--measure); margin: 14px 0 0; color: var(--muted); }
/* 眉题放在 h2 内（读屏标题列表里「70 / 20 / 10」才有上下文），视觉上仍是标题上方的小字 */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

/* ============ prose ============ */
.prose { max-width: var(--measure); }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h3 { margin: 40px 0 12px; font-size: 20px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--muted); }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--dim); }
.prose a, .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover, .text-link:hover { color: var(--text); text-decoration-color: var(--accent); }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 1px solid var(--accent);
  color: var(--text);
  font-size: 19px;
  line-height: 1.7;
}
.prose small, .note { color: var(--dim); font-size: 14px; }
.note { max-width: var(--measure); margin: 28px 0 0; }
.note a { color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.note a:hover { color: var(--text); }

/* ============ 四句话（大字，留白） ============ */
.four {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: four;
}
.four li {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}
.four li:last-child { border-bottom: 1px solid var(--line); }
.four li::before {
  counter-increment: four;
  content: counter(four, decimal-leading-zero);
  color: var(--dim);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-top: 0.55em;
  font-variant-numeric: tabular-nums;
}

/* ============ 阶梯（决策金字塔 / 产品四层 / 代理权阶梯） ============ */
.ladder {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  background-clip: padding-box; /* 边框不与底色叠加成双重透明，外框与内格线同色 */
}
.ladder li {
  display: grid;
  grid-template-columns: 5.5ch 1fr;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
}
.ladder li:nth-child(even) { background: var(--surface-2); }
.ladder .lv {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  padding-top: 0.3em;
}
.ladder .lv-name { color: var(--text); font-weight: 600; }
.ladder .lv-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; }
.ladder-rule { max-width: var(--measure); margin: 24px 0 0; color: var(--muted); }
.ladder-rule strong { color: var(--text); }

/* ============ 公式四格 ============ */
.formula {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  background-clip: padding-box;
}
.formula li { padding: 26px 22px 24px; background: var(--surface); }
.formula .arrow {
  display: block;
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
  font-weight: 300;
}
.formula .arrow.down { color: var(--accent-2); }
.formula h3 { margin: 14px 0 6px; font-size: 18px; }
.formula p { color: var(--muted); font-size: 15px; }
.formula-note { max-width: var(--measure); margin: 24px 0 0; color: var(--muted); }

/* ============ 承诺组（software.html） ============ */
.promise { padding: 56px 0; border-bottom: 1px solid var(--line); }
.promise:last-of-type { border-bottom: 0; }
.promise-head {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 20px;
  align-items: baseline;
  margin: 0 0 20px;
}
.promise-head .code {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.promise-head h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.3; } /* 与 .section-head h2 同阶 */
.promise-head h2 small { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.promise-list {
  display: grid;
  gap: 12px;
  margin: 0 0 0 calc(3ch + 20px);
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}
.promise-list.flush { margin-left: 0; }
.promise-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}
/* 不闭合的圆：项目符号也保留开口。开口转到右上（与首屏圆环同向），否则小尺寸下会读成字母 C */
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}
.promise-list strong { color: var(--text); font-weight: 600; }
.promise-list .no {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-size: 15px;
}

/* ============ 情绪配比条（words.html，纯装饰，数字在下方列表里） ============ */
.mix {
  display: flex;
  gap: 3px;
  height: 6px;
  margin: 0 0 24px;
  border-radius: 3px;
  overflow: hidden;
}
.mix span { display: block; height: 100%; border-radius: 3px; }
.mix .m70 { flex: 70; background: var(--dim); }
.mix .m20 { flex: 20; background: var(--accent-2); }
.mix .m10 { flex: 10; background: var(--accent); }

/* ============ 表格（ai.html 阶梯） ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap:focus-visible { outline-offset: 4px; } /* 溢出容器可聚焦（键盘横滚），焦点框稍外扩不压边框 */
table.grid { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); }
table.grid th, table.grid td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.grid thead th { color: var(--dim); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; background: var(--surface-2); }
table.grid tbody tr:last-child td { border-bottom: 0; }
table.grid tbody th { color: var(--accent); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.grid td { color: var(--muted); }
table.grid td strong { color: var(--text); font-weight: 600; }

/* ============ 定义列表（原则条目） ============ */
.rules { display: grid; gap: 22px; margin: 0; max-width: 46em; }
.rules div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.rules div:first-child { border-top: 0; padding-top: 0; }
.rules dt { color: var(--text); font-weight: 600; }
.rules dt small { display: block; color: var(--dim); font-size: 13px; font-weight: 400; letter-spacing: 0.06em; margin-top: 2px; }
.rules dd { margin: 0; color: var(--muted); }

/* ============ 色板（design.html） ============ */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.swatches li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.swatches figure { margin: 0; } /* 去掉 figure 默认 1em 40px 外边距，否则说明文字被挤成三行 */
.swatches .chip { height: 88px; }
.sw-dusk .chip { background: #0f1a24; }
.sw-deep .chip { background: #0b141c; }
.sw-shell .chip { background: #86c5c0; }
.sw-violet .chip { background: #b3aad3; }
.sw-light .chip { background: #e9eef2; }
.swatches figcaption { padding: 12px 14px 14px; font-size: 14px; color: var(--muted); }
.swatches figcaption b { display: block; color: var(--text); font-weight: 600; }
.swatches figcaption code { color: var(--dim); font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ============ 五字（design.html） ============ */
.five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  background-clip: padding-box;
}
.five li { padding: 26px 22px 24px; background: var(--surface); }
.five .char { display: block; font-size: 40px; line-height: 1; font-weight: 500; color: var(--text); }
.five p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* ============ 站内索引卡（首页尾） ============ */
.index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.index-card {
  display: block;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--ease), background-color var(--ease);
}
.index-card:hover { border-color: var(--line-strong); background: var(--surface-2); }
.index-card h3 { font-size: 19px; }
.index-card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.index-card .go { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 14px; }

/* ============ 相关 / 出处 ============ */
.related { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 40px 0 0; font-size: 15px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.related a:hover { color: var(--text); }
.source {
  margin: 56px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
  max-width: var(--measure);
}
.source a { color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.source a:hover { color: var(--text); }

/* ============ 404 ============ */
.not-found { padding: 96px 0 120px; }
.not-found h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; }
.not-found p { max-width: var(--measure); margin: 18px 0 0; color: var(--muted); }
.not-found ul { margin: 28px 0 0; padding: 0; list-style: none; }
.not-found li + li { margin-top: 6px; }
.not-found li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* ============ footer ============ */
.site-footer {
  margin-top: 40px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--dim);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 36px 48px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-brand .brand { color: var(--text); }
.footer-brand p { max-width: 30em; margin: 14px 0 0; line-height: 1.7; }
.footer-brand p a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.footer-brand p a:hover { color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.footer-title { margin: 0 0 10px; color: var(--text); font-weight: 600; }
.footer-cols nav { display: grid; gap: 2px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.footer-cols a:hover, .footer-copy a:hover, .footer-top:hover { color: var(--text); }
.footer-cols a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-bar:first-child { border-top: 0; padding-top: 0; } /* 404 页脚只有一栏，避免与 footer 顶线叠成双线 */
.footer-copy { color: var(--dim); }
.footer-copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.footer-top { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

/* ============ 响应式 ============ */
@media (max-width: 880px) {
  .shell { width: min(100%, var(--shell)); padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
  .site-header { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
  .site-nav { margin-left: -10px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-lede { font-size: 17px; }
  .page-head { padding: 52px 0 32px; }
  .section, .promise { padding: 52px 0; }
  .formula, .five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five li:last-child { grid-column: 1 / -1; } /* 五格两列时第五格横跨，不留露底的空格 */
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index-grid { grid-template-columns: 1fr; }
  .rules div { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .promise-list { margin-left: 0; }
  .ladder li { grid-template-columns: 4.5ch 1fr; gap: 14px; padding: 18px 16px; }
  table.grid th, table.grid td { padding: 14px 12px; }
}
@media (max-width: 480px) {
  .four li { grid-template-columns: 1fr; gap: 6px; font-size: 21px; padding: 20px 0; }
  .four li::before { padding-top: 0; }
  .formula, .five { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-head { grid-template-columns: 1fr; gap: 6px; }
  .hero { padding: 48px 0 44px; }
  .hero-mark { margin-bottom: 28px; }
}

/* ============ 偏好媒体 ============ */
@media (forced-colors: active) {
  .promise-list li::before { border-color: CanvasText; border-top-color: transparent; }
  .eyebrow::before { background: CanvasText; }
  /* 靠 1px 背景色分隔的格子在强制色下会被抹平，补真边线 */
  .ladder li + li, .formula li, .five li, table.grid td, table.grid th { border-top: 1px solid CanvasText; }
  .mix span { border: 1px solid CanvasText; }
}
/* 「保事件」写法：过渡仍触发，只是短到感知不到（本站无 JS 依赖，此处只为一致） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  body { background: #fff; font-size: 12pt; }
  body *, body *::before, body *::after { color: #111 !important; background: transparent !important; }
  .site-header, .site-footer, .skip-link, .related, .index-grid, .hero::before, .mix { display: none; }
  a { text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .ladder li, .formula li, .five li, .swatches li, .table-wrap { border: 1px solid #bbb; }
  .ladder li + li, .formula li, .five li { border-top: 1px solid #bbb; }
  .swatches .chip { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .sw-dusk .chip { background: #0f1a24 !important; }
  .sw-deep .chip { background: #0b141c !important; }
  .sw-shell .chip { background: #86c5c0 !important; }
  .sw-violet .chip { background: #b3aad3 !important; }
  .sw-light .chip { background: #e9eef2 !important; border: 1px solid #bbb; }
}
