/* PDFTrail blog — Steel design tokens lifted from index.html */
* { box-sizing: border-box; }
html { background: #282B33; }
body { margin: 0; background: #262626; }
a { color: #999999; text-decoration: none; transition: color 0.5s ease-out; }
a:hover { color: #FFFFFF; }
img { display: block; max-width: 100%; height: auto; }

.page {
  font-family: 'Archivo', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #CCCCCC;
  background-color: #282B33;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.022) 0px, rgba(255,255,255,0.022) 1px, transparent 1px, transparent 3px),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: auto, 120px 120px, 120px 120px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}
.mono { font-family: 'Martian Mono', 'SF Mono', Menlo, monospace; }

/* hung steel plate header (shared with index) */
.head-pad { padding: 36px 64px 0 64px; }
.tb {
  display: flex; justify-content: space-between; align-items: stretch;
  border: 1.5px solid #5a5a5a; position: relative;
  background: linear-gradient(180deg, #454545, #363636);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 26px rgba(0,0,0,0.5);
}
.tb::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px dashed rgba(255,255,255,0.16); pointer-events: none;
}
.tb-brand { padding: 14px 20px; display: flex; align-items: center; gap: 14px; }
.tb-brand img { width: 26px; height: 26px; border-radius: 3px; }
.tb-wordmark { font-size: 17px; font-weight: 700; letter-spacing: 0.22em; color: #FFFFFF; }
.tb-meta { display: flex; }
.tb-cell { padding: 14px 20px; border-left: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; justify-content: center; }
.tb-label {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; color: #999999; text-transform: uppercase; margin: 0 0 4px 0;
}
.tb-value { font-family: 'Martian Mono', Menlo, monospace; font-size: 11px; color: #FFFFFF; margin: 0; }

/* dimension-line divider */
.dim { display: flex; align-items: center; gap: 12px; }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: #5a5a5a; }
.dim span {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; color: #999999; text-transform: uppercase;
}

/* article body */
.article-wrap { padding: 56px 64px 72px 64px; max-width: 860px; margin: 0 auto; }
.article-kicker {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; color: #999999; text-transform: uppercase; margin: 0 0 18px 0;
}
.article h1 {
  font-size: 42px; line-height: 1.12; font-weight: 900; color: #FFFFFF;
  letter-spacing: -0.01em; margin: 0 0 14px 0;
}
.article .standfirst { font-size: 19px; line-height: 1.55; color: #CCCCCC; margin: 0 0 8px 0; }
.article h2 {
  font-size: 24px; font-weight: 700; color: #FFFFFF; margin: 44px 0 12px 0;
  padding-top: 28px; border-top: 1px solid #3a3d45;
}
.article h3 { font-size: 17px; font-weight: 700; color: #FFFFFF; margin: 26px 0 8px 0; }
.article p, .article li { font-size: 16px; line-height: 1.7; color: #C4C4C4; }
.article strong { color: #FFFFFF; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin: 6px 0; }
.article blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 2px solid #5a5a5a;
  background: rgba(255,255,255,0.03); color: #CCCCCC;
}
.article code {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 13px;
  background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 2px;
}
.byline {
  display: flex; gap: 18px; margin: 22px 0 0 0; padding: 12px 0;
  border-top: 1px solid #3a3d45; border-bottom: 1px solid #3a3d45;
}
.byline span { font-family: 'Martian Mono', Menlo, monospace; font-size: 10px; letter-spacing: 0.1em; color: #999999; text-transform: uppercase; }

/* article figures */
.article figure { margin: 30px 0; }
.article figure img { width: 100%; height: auto; display: block;
  border: 1px solid #4a4a4a; background: #282B33; }
.article figcaption {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 11px;
  color: #999999; padding-top: 9px; letter-spacing: 0.04em; }

/* FAQ plates */
.faq { margin-top: 8px; }
.faq details {
  border: 1px solid #4a4a4a; background: linear-gradient(180deg, #34363d, #2d2f36);
  margin: 10px 0; padding: 0;
}
.faq summary {
  cursor: pointer; padding: 14px 18px; font-weight: 700; color: #FFFFFF; font-size: 15px;
  list-style: none;
}
.faq summary::before { content: "+ "; color: #999999; font-family: 'Martian Mono', Menlo, monospace; }
.faq details[open] summary::before { content: "− "; }
.faq details p { padding: 0 18px 14px 18px; margin: 0; }

/* CTA plate (white steel) */
.cta {
  display: inline-block; position: relative; overflow: hidden;
  border: 1.5px solid #FFFFFF; padding: 15px 26px; border-radius: 2px;
  font-family: 'Martian Mono', Menlo, monospace; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; color: #000000; background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5); margin-top: 18px;
}
.cta:hover { color: #000000; }
.cta::before {
  content: ""; position: absolute; inset: 0; background: #111111;
  transform: translateX(-101%); transition: transform 0.45s ease-out;
}
.cta:hover::before, .cta:focus-visible::before { transform: translateX(0); }
.cta em { position: relative; z-index: 1; font-style: normal; transition: color 0.45s ease-out; }
.cta:hover em, .cta:focus-visible em { color: #FFFFFF; }

/* blog index cards */
.post-list { padding: 48px 64px 72px 64px; display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.post-card {
  display: block; border: 1.5px solid #4a4a4a; position: relative;
  background: linear-gradient(180deg, #3b3d44, #2f3138);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 10px 26px rgba(0,0,0,0.4);
  padding: 24px 28px; transition: border-color 0.3s ease-out;
}
.post-card:hover { border-color: #FFFFFF; }
.post-card .pc-date {
  font-family: 'Martian Mono', Menlo, monospace; font-size: 10px; letter-spacing: 0.14em;
  color: #999999; text-transform: uppercase; margin: 0 0 8px 0;
}
.post-card h2 { color: #FFFFFF; font-size: 22px; font-weight: 700; margin: 0 0 8px 0; }
.post-card p { color: #C4C4C4; font-size: 15px; line-height: 1.6; margin: 0; }

/* footer strip */
.foot { padding: 28px 64px 40px 64px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot span, .foot a { font-family: 'Martian Mono', Menlo, monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 760px) {
  .head-pad, .article-wrap, .post-list, .foot { padding-left: 22px; padding-right: 22px; }
  .article h1 { font-size: 30px; }
  .tb-meta { display: none; }
}
