/* ═══════════════════════════════════════════════════
   StartupPul — Blog styles
   Tokens mirror css/style.css so the blog reads as the
   same product. Body copy is set in a serif for long-form
   readability; UI/nav stays in the site's sans stack.
   ═══════════════════════════════════════════════════ */

:root {
  --ink:     #111111;
  --ink2:    #444444;
  --ink3:    #888888;
  --white:   #ffffff;
  --off:     #f6f5f2;
  --off2:    #edebe6;
  --border:  rgba(0, 0, 0, 0.12);
  --navy:    #0C447C;
  --navy-l:  #e8f0fe;
  --green:   #1a7f5a;
  --amber:   #b45309;

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --r: 10px;
  --wrap: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: var(--navy); }

/* ── Header ────────────────────────────────────── */
.b-head {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.b-head-in {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.b-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.b-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy); flex-shrink: 0;
  display: grid; place-items: center;
}
/* Signature: the bridge arch from the brand mark, reused as
   the blog's structural motif. */
.b-arch {
  width: 17px; height: 9px;
  border: 2px solid var(--white);
  border-bottom: 0;
  border-radius: 17px 17px 0 0;
}
.b-name { font-weight: 700; font-size: 0.98rem; line-height: 1.15; }
.b-tag  { font-size: 0.72rem; color: var(--ink3); }
.b-cta {
  background: var(--navy); color: var(--white);
  text-decoration: none; font-weight: 600; font-size: 0.85rem;
  padding: 9px 16px; border-radius: var(--r); white-space: nowrap;
}
.b-cta:hover { background: #0a3762; }

/* ── Layout ────────────────────────────────────── */
.b-wrap { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

/* ── Blog index ────────────────────────────────── */
.b-masthead { margin-bottom: 2.25rem; }
.b-masthead h1 {
  font-family: var(--serif);
  font-size: 2.4rem; line-height: 1.15; margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.b-masthead p { color: var(--ink2); margin: 0; font-size: 1.02rem; }
.b-rule {
  height: 10px; margin: 1.1rem 0 0;
  border: 2px solid var(--navy); border-bottom: 0;
  border-radius: 60px 60px 0 0; max-width: 120px;
}

.b-list { display: grid; gap: 1rem; }
.b-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.35rem 1.4rem;
  text-decoration: none; color: inherit; display: block;
  border-top: 3px solid var(--navy);
  transition: transform .15s ease, box-shadow .15s ease;
}
.b-card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.07); }
.b-card h2 {
  font-family: var(--serif); font-size: 1.3rem;
  margin: 0 0 0.4rem; line-height: 1.3;
}
.b-card p { margin: 0 0 0.7rem; color: var(--ink2); font-size: 0.95rem; }
.b-meta { font-size: 0.78rem; color: var(--ink3); display: flex; gap: 0.6rem; flex-wrap: wrap; }
.b-tagpill {
  background: var(--navy-l); color: var(--navy);
  padding: 2px 9px; border-radius: 20px; font-weight: 600; font-size: 0.72rem;
}

/* ── Article ───────────────────────────────────── */
.b-crumb { font-size: 0.8rem; color: var(--ink3); margin-bottom: 1rem; }
.b-crumb a { color: var(--ink3); text-decoration: none; }
.b-crumb a:hover { text-decoration: underline; }

.b-article h1 {
  font-family: var(--serif); font-size: 2.15rem;
  line-height: 1.2; margin: 0 0 0.6rem; letter-spacing: -0.01em;
}
.b-sub { color: var(--ink2); font-size: 1.05rem; margin: 0 0 1rem; }
.b-byline {
  font-size: 0.82rem; color: var(--ink3);
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.b-body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: #1c1c1c; }
.b-body h2 {
  font-family: var(--sans); font-size: 1.28rem; font-weight: 700;
  margin: 2.2rem 0 0.75rem; line-height: 1.3;
}
.b-body h3 {
  font-family: var(--sans); font-size: 1.05rem; font-weight: 700;
  margin: 1.6rem 0 0.5rem;
}
.b-body p { margin: 0 0 1.1rem; }
.b-body ul, .b-body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.b-body li { margin-bottom: 0.5rem; }
.b-body strong { font-weight: 700; }

.b-body table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4rem;
  font-family: var(--sans); font-size: 0.92rem; background: var(--white);
}
.b-body th, .b-body td { border: 1px solid var(--border); padding: 9px 11px; text-align: left; }
.b-body th { background: var(--off2); font-weight: 700; }

.b-note {
  background: var(--white); border-left: 3px solid var(--amber);
  padding: 0.95rem 1.1rem; border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink2);
  margin: 0 0 1.4rem;
}

.b-faq { font-family: var(--sans); }
.b-faq h3 { margin-bottom: 0.3rem; }

/* ── In-article CTA ────────────────────────────── */
.b-promo {
  background: var(--navy); color: var(--white);
  border-radius: 14px; padding: 1.5rem; margin: 2.5rem 0 0;
  font-family: var(--sans); text-align: center;
}
.b-promo h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.b-promo p { margin: 0 0 1rem; font-size: 0.92rem; opacity: 0.88; }
.b-promo a {
  display: inline-block; background: var(--white); color: var(--navy);
  text-decoration: none; font-weight: 700; padding: 11px 22px; border-radius: var(--r);
}

/* ── Footer ────────────────────────────────────── */
.b-foot {
  border-top: 1px solid var(--border); background: var(--white);
  font-size: 0.84rem; color: var(--ink3);
}
.b-foot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 1.75rem 1.25rem;
  display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap;
}
.b-foot a { color: var(--ink2); text-decoration: none; margin-right: 1rem; }
.b-foot a:hover { text-decoration: underline; }

/* ── Accessibility & motion ────────────────────── */
a:focus-visible, .b-card:focus-visible {
  outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 600px) {
  .b-wrap { padding: 1.75rem 1.1rem 3rem; }
  .b-masthead h1 { font-size: 1.9rem; }
  .b-article h1 { font-size: 1.7rem; }
  .b-body { font-size: 1.04rem; }
  .b-tag { display: none; }
  .b-body table { font-size: 0.85rem; }
}
