/* ConstructionScope — shared blog styles (bold construction) */
:root {
  --ink: #14161b;
  --ink-2: #1c1f26;
  --muted: #5a6470;
  --line: #e4e8ec;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --accent: #ff5a1f;
  --accent-dark: #e2480f;
  --accent-soft: #fff1eb;
  --shadow-sm: 0 6px 20px rgba(20, 22, 27, .08);
  --hazard: repeating-linear-gradient(45deg, var(--accent) 0 14px, var(--ink) 14px 28px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.measure { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--ink); border-radius: 9px; font-weight: 900; font-size: 15px; letter-spacing: -.04em; position: relative; overflow: hidden; }
.mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--hazard); background-size: 28px 28px; }
.navlinks { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 15px; font-weight: 600; }
.navlinks a:not(.btn) { color: var(--muted); }
.navlinks a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent; font-weight: 800; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; transition: transform .12s ease, background .15s ease; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,90,31,.28); }
.btn.primary:hover { background: var(--accent-dark); transform: translateY(-2px); text-decoration: none; }

/* hero / headings */
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.1; }
.post-head { padding: 56px 0 12px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.breadcrumb a { color: var(--muted); }
h1.post-title { font-size: clamp(34px, 5vw, 52px); font-weight: 900; margin: 0; max-width: 18ch; }
.post-meta { margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.lede { font-size: 20px; color: var(--ink); margin: 24px 0 0; }

/* article body */
article.post { padding: 28px 0 64px; }
article.post h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 44px 0 14px; }
article.post h3 { font-size: 20px; font-weight: 800; margin: 30px 0 10px; }
article.post p { margin: 0 0 16px; font-size: 17px; }
article.post ul, article.post ol { margin: 0 0 18px; padding-left: 22px; }
article.post li { margin: 8px 0; font-size: 17px; }
article.post strong { font-weight: 800; }

.callout { background: var(--wash); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 26px 0; }
.callout p { margin: 0; font-size: 16px; }
.takeaways { background: var(--ink); color: #fff; border-radius: 14px; padding: 28px 30px; margin: 32px 0; }
.takeaways h2 { color: #fff; margin: 0 0 14px; font-size: 22px; }
.takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.takeaways li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: rgba(255,255,255,.88); font-size: 16px; }
.takeaways li::before { content: "✓"; color: var(--accent); font-weight: 900; }

table.cmp { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
table.cmp th { background: var(--wash); font-weight: 800; }

/* inline CTA */
.post-cta { background: var(--accent-soft); border: 1px solid #ffd9c9; border-radius: 14px; padding: 28px 30px; margin: 40px 0; text-align: center; }
.post-cta h2 { margin: 0 0 8px; font-size: 24px; }
.post-cta p { margin: 0 0 18px; color: var(--muted); }

/* related */
.related { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.related h2 { font-size: 22px; font-weight: 900; margin: 0 0 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: transform .15s ease, box-shadow .15s ease; color: var(--ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); text-decoration: none; }
.card .tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.card h3 { font-size: 17px; margin: 10px 0 0; font-weight: 800; }

/* blog hub */
.hub-head { background: var(--ink); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.hub-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--hazard); background-size: 28px 28px; }
.hub-head h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; margin: 0; max-width: 16ch; }
.hub-head p { color: rgba(255,255,255,.8); font-size: 19px; margin: 18px 0 0; max-width: 60ch; }
.cluster { padding: 56px 0 8px; }
.cluster h2 { font-size: 26px; font-weight: 900; margin: 0 0 4px; }
.cluster .sub { color: var(--muted); margin: 0 0 22px; }
.hub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* footer */
footer { padding: 36px 0; color: var(--muted); font-size: 14px; background: #fff; border-top: 1px solid var(--line); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); font-weight: 600; }

@media (max-width: 880px) {
  .navlinks a:not(.btn) { display: none; }
  .cards, .hub-cards { grid-template-columns: 1fr; }
}
