/* ============================================================
   DesignShare — Blog design system
   Scoped to .blog-page to avoid conflicts with main site CSS
   ============================================================ */

.blog-page {
  --b-bg: #f4efe1;
  --b-bg-deep: #ece5d2;
  --b-surface: #ffffff;
  --b-charcoal: #16161a;
  --b-ink: #151519;
  --b-ink-soft: #57534a;
  --b-ink-faint: #8a8475;
  --b-on-dark: #f4efe1;
  --b-on-dark-soft: rgba(244, 239, 225, 0.62);
  --b-blue: #2d5bff;
  --b-blue-deep: #1b3fd6;
  --b-blue-tint: #e7ecff;
  --b-line: rgba(21, 21, 25, 0.1);
  --b-line-strong: rgba(21, 21, 25, 0.16);
  --b-r-sm: 10px;
  --b-r-md: 16px;
  --b-r-lg: 22px;
  --b-r-xl: 28px;
  --b-shadow-card: 0 1px 2px rgba(21, 21, 25, 0.04);
  --b-shadow-card-h:
    0 26px 56px -20px rgba(21, 21, 25, 0.3), 0 4px 12px rgba(21, 21, 25, 0.07);
  --b-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --b-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--b-bg);
  color: var(--b-ink);
  font-family: var(--font-hanken, "Hanken Grotesk", system-ui, sans-serif);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- wrapper ---- */
.b-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}
@media (max-width: 720px) {
  .b-wrap {
    padding: 0 20px;
  }
}

/* ---- typography accents ---- */
.b-serif {
  font-family: var(--font-newsreader, "Newsreader", Georgia, serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---- kicker / eyebrow ---- */
.b-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b-ink-soft);
}
.b-kicker .b-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--b-blue);
  flex-shrink: 0;
}

/* ---- badge (dark pill) ---- */
.b-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--b-charcoal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 15px;
  border-radius: 999px;
}
.b-badge .b-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--b-blue);
}

/* ---- tag chip ---- */
.b-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(21, 21, 25, 0.05);
  color: var(--b-ink);
  border: 1px solid var(--b-line);
}
.b-tag-blue {
  background: var(--b-blue-tint);
  color: var(--b-blue-deep);
  border-color: transparent;
}

/* ---- meta row ---- */
.b-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--b-ink-soft);
  font-weight: 500;
}
.b-meta .b-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--b-ink-faint);
}

/* ---- avatar initials ---- */
.b-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--b-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

/* ---- primary button ---- */
.b-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border: none;
  border-radius: 999px;
  background: var(--b-blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--b-blue-deep);
  transform: translateY(0);
  transition:
    transform 0.14s var(--b-ease),
    box-shadow 0.14s var(--b-ease);
  text-decoration: none;
}
.b-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 5px 0 var(--b-blue-deep),
    0 22px 44px -16px rgba(45, 91, 255, 0.5);
}
.b-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--b-blue-deep);
}
.b-btn .b-arrow {
  transition: transform 0.2s var(--b-ease);
}
.b-btn:hover .b-arrow {
  transform: translateX(4px);
}

.b-btn-dark {
  background: var(--b-charcoal);
  box-shadow: 0 4px 0 #000;
}
.b-btn-dark:hover {
  box-shadow:
    0 5px 0 #000,
    0 22px 44px -16px rgba(0, 0, 0, 0.5);
}
.b-btn-dark:active {
  box-shadow: 0 1px 0 #000;
}

.b-btn-ghost {
  background: transparent;
  color: var(--b-ink);
  box-shadow: none;
  border: 1px solid var(--b-line-strong);
}

.b-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--b-ink);
  border-bottom: 2px solid var(--b-ink);
  padding-bottom: 3px;
  transition:
    gap 0.2s var(--b-ease),
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.b-link-arrow:hover {
  gap: 12px;
  color: var(--b-blue);
  border-color: var(--b-blue);
}

/* ---- sections ---- */
.b-section {
  padding: 96px 0;
}
@media (max-width: 720px) {
  .b-section {
    padding: 64px 0;
  }
}

/* ---- fade-up animation ---- */
@keyframes b-fadeUp {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .b-fadeup {
    animation: b-fadeUp 0.55s var(--b-ease-out);
  }
}

/* ============================================================
   BLOG HERO
   ============================================================ */
.b-hero {
  padding-top: 56px;
  padding-bottom: 18px;
}
.b-hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 20px 0 0;
  color: var(--b-ink);
  font-family: var(--font-hanken, sans-serif);
}
.b-hero-sub {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--b-ink-soft);
  max-width: 580px;
  margin: 26px 0 0;
  line-height: 1.5;
}

/* ============================================================
   FEATURED POST
   ============================================================ */
.b-featured-link {
  display: block;
  padding-top: 40px;
  padding-bottom: 8px;
}
.b-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--b-surface);
  border-radius: var(--b-r-xl);
  overflow: hidden;
  border: 1px solid var(--b-line);
  box-shadow: var(--b-shadow-card);
  transition:
    box-shadow 0.35s var(--b-ease),
    transform 0.35s var(--b-ease);
}
.b-featured:hover {
  box-shadow: var(--b-shadow-card-h);
  transform: translateY(-3px);
}
.b-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.b-featured-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
}
.b-featured-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 18px 0 0;
  color: var(--b-ink);
  transition: color 0.25s;
  font-family: var(--font-hanken, sans-serif);
}
.b-featured:hover .b-featured-title {
  color: var(--b-blue);
}
.b-featured-excerpt {
  color: var(--b-ink-soft);
  font-size: 18px;
  margin: 16px 0 0;
  line-height: 1.5;
}
.b-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
@media (max-width: 820px) {
  .b-featured {
    grid-template-columns: 1fr;
  }
  .b-featured-img {
    min-height: 240px;
  }
  .b-featured-body {
    padding: 28px;
  }
  .b-featured-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .b-featured-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   POST CARD
   ============================================================ */
.b-card {
  display: flex;
  flex-direction: column;
  background: var(--b-surface);
  border-radius: var(--b-r-lg);
  overflow: hidden;
  border: 1px solid var(--b-line);
  box-shadow: var(--b-shadow-card);
  transition:
    box-shadow 0.3s var(--b-ease),
    transform 0.3s var(--b-ease);
  text-decoration: none;
  color: inherit;
}
.b-card:hover {
  box-shadow: var(--b-shadow-card-h);
  transform: translateY(-4px);
}
.b-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.b-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--b-ease);
}
.b-card:hover .b-card-img img {
  transform: scale(1.045);
}
.b-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.b-card-title {
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 12px 0 0;
  color: var(--b-ink);
  transition: color 0.25s;
  font-family: var(--font-hanken, sans-serif);
}
.b-card:hover .b-card-title {
  color: var(--b-blue);
}
.b-card-excerpt {
  color: var(--b-ink-soft);
  font-size: 15.5px;
  margin: 11px 0 0;
  line-height: 1.5;
}
.b-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.b-filterbar {
  background: var(--b-bg);
  padding: 18px 0;
  margin-top: 40px;
  border-bottom: 1px solid var(--b-line);
}
.b-filterbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.b-filter-cats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.b-filter-btn {
  font-family: var(--font-hanken, sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--b-line-strong);
  background: transparent;
  color: var(--b-ink);
  transition: all 0.2s var(--b-ease);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.b-filter-btn:hover {
  background: rgba(21, 21, 25, 0.05);
}
.b-filter-btn.active {
  border-color: var(--b-charcoal);
  background: var(--b-charcoal);
  color: #fff;
}
.b-filter-btn .b-count {
  font-size: 12px;
  opacity: 0.6;
}
.b-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--b-surface);
  border: 1px solid var(--b-line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  min-width: 220px;
}
.b-search svg {
  opacity: 0.5;
  flex-shrink: 0;
}
.b-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font-hanken, sans-serif);
  width: 100%;
  color: var(--b-ink);
}
.b-search input::placeholder {
  color: var(--b-ink-soft);
}
@media (max-width: 600px) {
  .b-search {
    min-width: 160px;
  }
}

/* ============================================================
   POSTS GRID
   ============================================================ */
.b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .b-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .b-grid {
    grid-template-columns: 1fr;
  }
}

.b-grid-label {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  font-family: var(--font-hanken, sans-serif);
}
.b-grid-count {
  font-size: 14.5px;
  color: var(--b-ink-soft);
}

.b-empty {
  text-align: center;
  padding: 80px 0;
}
.b-empty h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0 6px;
  letter-spacing: -0.02em;
  font-family: var(--font-hanken, sans-serif);
}
.b-empty p {
  color: var(--b-ink-soft);
  margin: 0;
}

/* ============================================================
   NEWSLETTER (dark section)
   ============================================================ */
.b-nl {
  background: var(--b-charcoal);
  color: var(--b-on-dark);
}
.b-nl-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0;
}
.b-nl-heading {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 18px 0 14px;
  font-family: var(--font-hanken, sans-serif);
}
.b-nl-sub {
  color: var(--b-on-dark-soft);
  font-size: 18px;
  max-width: 440px;
  margin: 0;
}
.b-nl-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px;
  transition: border-color 0.2s;
}
.b-nl-form.error {
  border-color: #ff6b6b;
}
.b-nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  font-family: var(--font-hanken, sans-serif);
  padding: 10px 16px;
}
.b-nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.b-nl-hint {
  height: 22px;
  margin-top: 10px;
  padding-left: 18px;
  font-size: 13.5px;
}
.b-nl-hint-ok {
  color: var(--b-on-dark-soft);
}
.b-nl-hint-err {
  color: #ff9a9a;
}
.b-nl-success {
  background: rgba(45, 91, 255, 0.14);
  border: 1px solid rgba(45, 91, 255, 0.4);
  border-radius: var(--b-r-lg);
  padding: 26px 28px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.b-nl-success-title {
  font-weight: 700;
  font-size: 18px;
}
.b-nl-success-sub {
  color: var(--b-on-dark-soft);
  font-size: 15px;
}
@media (max-width: 820px) {
  .b-nl-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }
}
@media (max-width: 480px) {
  .b-nl-inner {
    padding: 48px 0;
  }
  .b-nl-form {
    flex-direction: column;
    border-radius: var(--b-r-lg);
    padding: 10px;
    gap: 10px;
  }
  .b-nl-form input {
    padding: 10px 12px;
    min-width: 0;
  }
  .b-nl-form .b-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--b-r-md);
  }
  .b-nl-hint {
    padding-left: 4px;
  }
}

/* ============================================================
   POST — READING PROGRESS BAR
   ============================================================ */
.b-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
}
.b-progress-fill {
  height: 100%;
  background: var(--b-blue);
  transition: width 0.08s linear;
}

/* ============================================================
   POST — HEADER
   ============================================================ */
.b-post-header {
  padding-top: 44px;
  padding-bottom: 10px;
  max-width: 900px;
}
.b-post-breadcrumb {
  margin-bottom: 22px;
}
.b-post-title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0;
  color: var(--b-ink);
  font-family: var(--font-hanken, sans-serif);
}
.b-post-excerpt {
  font-size: 21px;
  color: var(--b-ink-soft);
  line-height: 1.5;
  margin: 22px 0 30px;
  max-width: 720px;
}
.b-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.b-byline-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.b-byline-name {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.b-byline-role {
  font-size: 14px;
  color: var(--b-ink-soft);
  white-space: nowrap;
}
.b-byline-divider {
  width: 1px;
  height: 34px;
  background: var(--b-line-strong);
}

/* ============================================================
   POST — HERO COVER IMAGE
   ============================================================ */
.b-post-cover {
  margin: 28px 0 0;
  position: relative;
  aspect-ratio: 2/1;
  border-radius: var(--b-r-xl);
  overflow: hidden;
}
.b-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   POST — BODY GRID (share | content | toc)
   ============================================================ */
.b-post-grid {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 220px;
  gap: 48px;
  padding: 56px 0 40px;
  align-items: start;
}
.b-post-content {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 980px) {
  .b-post-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .b-toc,
  .b-share-rail {
    display: none !important;
  }
}

/* ============================================================
   POST — TABLE OF CONTENTS
   ============================================================ */
.b-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  background: var(--b-bg);
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  min-width: unset;
  max-width: unset;
  display: block;
}
.b-toc-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
}
.b-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--b-ink-soft);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s;
}
.b-toc-link:hover {
  color: var(--b-ink);
}
.b-toc-link.active {
  font-weight: 600;
  color: var(--b-ink);
}
.b-toc-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--b-line-strong);
  flex-shrink: 0;
  transition:
    background 0.2s,
    width 0.2s;
}
.b-toc-link.active .b-toc-bar {
  width: 26px;
  background: var(--b-blue);
}

/* ============================================================
   POST — SHARE RAIL
   ============================================================ */
.b-share-rail {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.b-share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--b-ink-faint);
}
.b-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--b-line-strong);
  background: transparent;
  color: var(--b-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s var(--b-ease);
}
.b-share-btn:hover {
  background: var(--b-ink);
  color: #fff;
  border-color: var(--b-ink);
}
.b-share-btn.active {
  background: var(--b-blue);
  color: #fff;
  border-color: var(--b-blue);
}
.b-share-divider {
  width: 28px;
  height: 1px;
  background: var(--b-line-strong);
}

/* ============================================================
   POST — PROSE (article body)
   ============================================================ */
.b-prose {
  font-size: 19px;
  line-height: 1.72;
  color: #24221c;
  letter-spacing: -0.005em;
}
.b-prose > * + * {
  margin-top: 1.45em;
}
.b-prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 2.2em 0 0;
  scroll-margin-top: 120px;
  color: var(--b-ink);
  font-family: var(--font-hanken, sans-serif);
}
.b-prose h2 + p {
  margin-top: 0.7em;
}
.b-prose h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1.8em;
  color: var(--b-ink);
  font-family: var(--font-hanken, sans-serif);
}
.b-prose p {
  margin: 0;
}
.b-prose strong {
  font-weight: 700;
  color: var(--b-ink);
}
.b-prose a:not(.b-btn) {
  color: var(--b-blue-deep);
  border-bottom: 1.5px solid rgba(45, 91, 255, 0.35);
  transition: border-color 0.2s;
  text-decoration: none;
}
.b-prose a:not(.b-btn):hover {
  border-color: var(--b-blue);
}
.b-prose ul,
.b-prose ol {
  margin: 1.2em 0;
  padding-left: 1.6em;
  display: block;
}
.b-prose ul {
  list-style: disc;
}
.b-prose ol {
  list-style: decimal;
}
.b-prose li {
  display: list-item;
  padding-left: 0.3em;
  margin-bottom: 0.55em;
}
.b-prose li:last-child {
  margin-bottom: 0;
}
.b-prose li::marker {
  color: var(--b-blue);
}
.b-prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--b-blue);
  font-family: var(--font-newsreader, Georgia, serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--b-ink);
}
.b-prose .b-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--b-ink);
  letter-spacing: -0.015em;
}
.b-prose em {
  font-style: italic;
}

/* ---- stat strip ---- */
.b-statstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--b-charcoal);
  border-radius: var(--b-r-lg);
  overflow: hidden;
  margin: 2.4em 0;
}
.b-statstrip > div {
  padding: 28px 26px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.b-statstrip > div:last-child {
  border-right: none;
}
.b-statstrip .b-stat-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--font-hanken, sans-serif);
}
.b-statstrip .b-stat-num em {
  font-family: var(--font-newsreader, Georgia, serif);
  font-weight: 500;
  font-style: italic;
  color: #8aa6ff;
}
.b-statstrip .b-stat-lbl {
  font-size: 13.5px;
  color: var(--b-on-dark-soft);
  margin-top: 10px;
  line-height: 1.35;
}
@media (max-width: 600px) {
  .b-statstrip {
    grid-template-columns: 1fr;
  }
  .b-statstrip > div {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .b-statstrip > div:last-child {
    border-bottom: none;
  }
}

/* ---- table ---- */
.b-tablewrap {
  margin: 2.2em 0;
  overflow-x: auto;
  border: 1px solid var(--b-line);
  border-radius: var(--b-r-md);
  background: var(--b-surface);
}
.b-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  min-width: 540px;
}
.b-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--b-ink-soft);
  padding: 15px 18px;
  background: var(--b-bg-deep);
  border-bottom: 1px solid var(--b-line);
}
.b-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--b-line);
  vertical-align: top;
  line-height: 1.45;
  color: var(--b-ink-soft);
}
.b-table tbody tr:last-child td {
  border-bottom: none;
}
.b-table tbody td:first-child {
  font-weight: 600;
  color: var(--b-ink);
}
.b-table tbody tr.b-row-highlight {
  background: var(--b-blue-tint);
}
.b-table tbody tr.b-row-highlight td:first-child {
  font-weight: 700;
  color: var(--b-blue-deep);
  box-shadow: inset 3px 0 0 var(--b-blue);
}

/* ---- tier cards ---- */
.b-tiers {
  display: grid;
  gap: 14px;
  margin: 1.8em 0;
}
.b-tier {
  border: 1px solid var(--b-line);
  border-radius: var(--b-r-md);
  padding: 20px 22px;
  background: var(--b-surface);
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.b-tier.b-tier-highlight {
  border-color: var(--b-blue);
  box-shadow: inset 0 0 0 1px var(--b-blue);
  background: var(--b-blue-tint);
}
.b-tier-price {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  min-width: 150px;
  color: var(--b-ink);
}
.b-tier-desc {
  font-size: 15.5px;
  color: var(--b-ink-soft);
  line-height: 1.5;
}
.b-tier-desc strong {
  color: var(--b-ink);
}

/* ---- inline CTA box ---- */
.b-inline-cta {
  background: var(--b-blue);
  border-radius: var(--b-r-xl);
  padding: 38px 40px;
  margin: 3em 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.b-inline-cta-bg {
  position: absolute;
  right: -30px;
  top: -30px;
  opacity: 0.16;
}
.b-inline-cta-inner {
  position: relative;
  max-width: 520px;
}
.b-inline-cta h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.1;
  font-family: var(--font-hanken, sans-serif);
}
.b-inline-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin: 12px 0 22px;
}
.b-inline-cta .b-btn {
  background: #fff;
  color: var(--b-blue);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}
.b-inline-cta .b-btn:hover {
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.24),
    0 22px 44px -16px rgba(0, 0, 0, 0.3);
}

/* ---- FAQ ---- */
.b-faq {
  margin-top: 1.6em;
  border-top: 1px solid var(--b-line);
}
.b-faq-item {
  border-bottom: 1px solid var(--b-line);
}
.b-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-hanken, sans-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--b-ink);
  padding: 22px 44px 22px 0;
  position: relative;
  display: block;
  line-height: 1.35;
}
.b-faq-icon {
  position: absolute;
  right: 2px;
  top: 24px;
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--b-ease);
}
.b-faq-q[aria-expanded="true"] .b-faq-icon {
  transform: rotate(45deg);
}
.b-faq-a {
  overflow: hidden;
  transition: max-height 0.3s var(--b-ease);
}
.b-faq-a-inner {
  padding-bottom: 22px;
  color: var(--b-ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
}

/* ---- author bio ---- */
.b-author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--b-surface);
  border: 1px solid var(--b-line);
  border-radius: var(--b-r-lg);
  padding: 26px 28px;
  margin-top: 3em;
}
.b-author-bio-name {
  font-weight: 700;
  font-size: 19px;
}
.b-author-bio-desc {
  color: var(--b-ink-soft);
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
}

/* ============================================================
   RELATED POSTS
   ============================================================ */
.b-related {
  background: var(--b-bg-deep);
  border-top: 1px solid var(--b-line);
}
.b-related-inner {
  padding-top: 72px;
  padding-bottom: 72px;
}
.b-related-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
}
.b-related-heading {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
  font-family: var(--font-hanken, sans-serif);
}
.b-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 600px) {
  .b-related-grid {
    grid-template-columns: 1fr;
  }
}
.b-rel-card {
  display: flex;
  flex-direction: column;
  background: var(--b-surface);
  border-radius: var(--b-r-lg);
  overflow: hidden;
  border: 1px solid var(--b-line);
  box-shadow: var(--b-shadow-card);
  transition:
    transform 0.3s var(--b-ease),
    box-shadow 0.3s var(--b-ease);
  text-decoration: none;
  color: inherit;
}
.b-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--b-shadow-card-h);
}
.b-rel-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.b-rel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.b-rel-card-body {
  padding: 20px 22px;
}
.b-rel-card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 12px 0 0;
  color: var(--b-ink);
  font-family: var(--font-hanken, sans-serif);
}

/* ============================================================
   SMILEY MASCOT
   ============================================================ */
.b-smiley {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   MOBILE SHARE BAR (fixed bottom, ≤980px only)
   ============================================================ */
.b-share-mobile {
  display: none;
}
@media (max-width: 980px) {
  .b-share-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: rgba(21, 21, 25, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    color: #f4efe1;
    padding: 12px 22px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: b-shareSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .blog-page {
    padding-bottom: 72px;
  }
}
@keyframes b-shareSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.b-share-mobile-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 225, 0.5);
  white-space: nowrap;
}
.b-share-mobile-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.b-share-mobile .b-share-btn {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4efe1;
  background: rgba(255, 255, 255, 0.06);
}
.b-share-mobile .b-share-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.b-share-mobile .b-share-btn.active {
  background: var(--b-blue);
  border-color: var(--b-blue);
  color: #fff;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
.blog-page ::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
.blog-page ::-webkit-scrollbar-thumb {
  background: rgba(21, 21, 25, 0.18);
  border-radius: 99px;
  border: 3px solid var(--b-bg);
}
.blog-page ::-webkit-scrollbar-track {
  background: transparent;
}

/* ============================================================
   MARQUEE (used from shared component, dark variant)
   ============================================================ */
.ds-marquee {
  background: var(--b-charcoal);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
