/* ===================================================================
   IME — Blog article pages (shared)
   The house style for every long-form blog post (Blog1…Blog5.php).
   Loaded after tokens.css / header.css / footer.css so it can lean on
   the shared chrome while owning everything inside the article.
   Page-specific motion (cursor spotlight, blob parallax, card tilt,
   kinetic headline, demo modal) lives in assets/js/blog-article.js.
   =================================================================== */

    :root {
      --navy: #061530;
      --blue-deep: #0d4a9c;
      --blue: #135ab8;
      --blue-bright: #2f7dd6;
      --blue-light: #eef4ff;
      --blue-soft: #dce8ff;
      --white: #ffffff;
      --ink: #0b1830;
      --muted: #5b6b82;
      --border: #dfe9fa;
      --radius: 18px;
      --ease: cubic-bezier(.16, 1, .3, 1);
      --elastic: cubic-bezier(.34, 1.56, .64, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--ink);
      background: var(--white);
      line-height: 1.6;
      overflow-x: hidden;
    }

    h1,
    h2,
    h3,
    h4,
    .brand {
      font-family: 'Space Grotesk', sans-serif;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .skip-link {
      position: absolute;
      left: -999px;
      top: 0;
      background: var(--blue-deep);
      color: #fff;
      padding: 10px 16px;
      z-index: 200;
    }

    .skip-link:focus {
      left: 12px;
      top: 12px;
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
      }
    }

    /* ---------- Scroll / cursor chrome ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(64px) scale(.92) rotate(-1.2deg);
      transition: opacity .9s var(--elastic), transform .9s var(--elastic);
    }

    .reveal.in {
      opacity: 1;
      transform: translateY(0) scale(1) rotate(0);
    }

    .reveal-stagger>* {
      opacity: 0;
      transform: translateY(56px) scale(.9) rotate(1deg);
      transition: opacity .8s var(--elastic), transform .8s var(--elastic);
    }

    .reveal-stagger.in>* {
      opacity: 1;
      transform: translateY(0) scale(1) rotate(0);
    }

    .reveal-stagger.in>*:nth-child(1) { transition-delay: .02s; }
    .reveal-stagger.in>*:nth-child(2) { transition-delay: .10s; }
    .reveal-stagger.in>*:nth-child(3) { transition-delay: .18s; }
    .reveal-stagger.in>*:nth-child(4) { transition-delay: .26s; }
    .reveal-stagger.in>*:nth-child(5) { transition-delay: .34s; }
    .reveal-stagger.in>*:nth-child(6) { transition-delay: .42s; }
    .reveal-stagger.in>*:nth-child(7) { transition-delay: .50s; }
    .reveal-stagger.in>*:nth-child(8) { transition-delay: .58s; }

    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, var(--blue-bright), #7dd3fc, var(--blue-deep));
      z-index: 300;
      transition: width .1s linear;
      box-shadow: 0 0 12px rgba(59, 130, 246, .6);
    }

    .cursor-spotlight {
      position: fixed;
      top: 0;
      left: 0;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      pointer-events: none;
      z-index: 2;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 70%);
      mix-blend-mode: multiply;
      transition: opacity .3s ease;
      opacity: 0;
    }

    @media (hover:hover) {
      .cursor-spotlight { opacity: 1; }
    }

    /* ---------- Breadcrumb ---------- */
    .crumb {
      font-size: .82rem;
      color: var(--muted);
      padding: 14px 0;
    }

    .crumb a {
      color: var(--blue-deep);
      font-weight: 600;
    }

    .crumb span {
      margin: 0 6px;
      opacity: .5;
    }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      padding: 60px 0 40px;
      overflow: hidden;
      background: linear-gradient(120deg, #eef4ff, #e2ecff, #eef9ff, #eef4ff);
      background-size: 300% 300%;
      animation: gradientShift 16s ease infinite;
    }

    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: .55;
      z-index: 0;
      animation: float 12s ease-in-out infinite;
    }

    .blob1 {
      width: 460px;
      height: 460px;
      background: radial-gradient(circle, var(--blue-bright), transparent 70%);
      top: -160px;
      left: -120px;
    }

    .blob2 {
      width: 380px;
      height: 380px;
      background: radial-gradient(circle, #6fa8ff, transparent 70%);
      top: 40px;
      right: -110px;
      animation-delay: -6s;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-40px) scale(1.1); }
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 880px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--blue-soft);
      color: var(--blue-deep);
      font-weight: 700;
      font-size: .76rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: 8px 16px;
      border-radius: 999px;
      margin-bottom: 20px;
      animation: eyebrowPop .6s var(--elastic) both;
    }

    .eyebrow .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--blue);
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: .3; }
    }

    @keyframes eyebrowPop {
      from { opacity: 0; transform: translateY(-14px) scale(.7); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .kinetic-h1 {
      font-size: clamp(2.1rem, 4.2vw, 3.15rem);
      line-height: 1.12;
      color: var(--navy);
      font-weight: 700;
      margin-bottom: 18px;
      letter-spacing: -.02em;
    }

    .kinetic-h1 .word {
      display: inline-block;
      opacity: 0;
      transform: translateY(40px) scale(.7) rotate(6deg);
      animation-name: wordIn;
      animation-duration: .8s;
      animation-timing-function: var(--elastic);
      animation-fill-mode: forwards;
    }

    .kinetic-h1 .accent {
      background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      background-size: 200% auto;
    }

    .kinetic-h1 .word.accent {
      animation-name: wordIn, accentShine;
      animation-duration: .8s, 3s;
      animation-timing-function: var(--elastic), linear;
      animation-fill-mode: forwards, none;
      animation-iteration-count: 1, infinite;
      animation-delay: 0s, .8s;
    }

    @keyframes wordIn {
      to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
    }

    @keyframes accentShine {
      0% { background-position: 0% center; }
      100% { background-position: 200% center; }
    }

    .hero p.lede {
      font-size: 1.14rem;
      color: var(--muted);
      max-width: 680px;
      margin-bottom: 26px;
    }

    /* ---------- Byline ---------- */
    .byline {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .byline .avatar {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep));
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.05rem;
      flex: none;
      box-shadow: 0 8px 20px -6px rgba(13, 74, 156, .5);
    }

    .byline .bl-name {
      font-weight: 700;
      color: var(--navy);
      font-size: .98rem;
    }

    .byline .bl-sub {
      font-size: .82rem;
      color: var(--muted);
    }

    .byline .bl-meta {
      margin-left: auto;
      display: flex;
      gap: 18px;
      font-size: .82rem;
      color: var(--muted);
      font-weight: 600;
    }

    .byline .bl-meta span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .byline .bl-meta svg {
      width: 15px;
      height: 15px;
      color: var(--blue-deep);
    }

    @media(max-width:620px) {
      .byline .bl-meta {
        margin-left: 0;
        width: 100%;
      }
    }

    /* ---------- Motif stage (domino visual) ---------- */
    .motif-stage {
      position: relative;
      margin-top: 44px;
      border-radius: 22px;
      background: linear-gradient(160deg, var(--navy), var(--blue-deep));
      overflow: hidden;
    }

    .motif-stage::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.5px);
      background-size: 26px 26px;
      opacity: .5;
      pointer-events: none;
    }

    .motif-inner {
      position: relative;
      z-index: 1;
      padding: 34px 34px 38px;
    }

    .motif-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 26px;
    }

    .motif-head h3 {
      color: #fff;
      font-size: 1.2rem;
      margin: 0;
    }

    .motif-badge {
      background: var(--blue-deep);
      color: #fff;
      font-weight: 700;
      font-size: .78rem;
      padding: 8px 16px;
      border-radius: 999px;
      box-shadow: 0 6px 16px rgba(21, 101, 216, .4);
    }

    .chain {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .chain-node {
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .16);
      color: #dbe8ff;
      font-size: .82rem;
      font-weight: 600;
      padding: 10px 16px;
      border-radius: 10px;
      font-family: 'Space Grotesk', sans-serif;
      white-space: nowrap;
    }

    .chain-node.first {
      background: var(--blue-bright);
      border-color: var(--blue-bright);
      color: #fff;
    }

    .chain-node.last {
      background: #22c58c;
      border-color: #22c58c;
      color: #04261a;
    }

    .chain-arrow {
      color: #6f92d6;
      font-weight: 700;
      font-size: 1rem;
    }

    /* ---------- Sections ---------- */
    section {
      padding: 60px 0;
    }

    .section-head {
      max-width: 700px;
      margin: 0 auto 38px;
      text-align: center;
    }

    .section-head .eyebrow {
      margin-bottom: 14px;
    }

    h2 {
      font-size: clamp(1.6rem, 3vw, 2.1rem);
      color: var(--navy);
      font-weight: 700;
      margin-bottom: 14px;
    }

    .section-head p {
      color: var(--muted);
      font-size: 1.02rem;
    }

    /* ---------- Article reading column ---------- */
    .reading {
      max-width: 760px;
      margin: 0 auto;
    }

    .prose h2 {
      position: relative;
      padding-left: 18px;
      margin: 42px 0 14px;
      font-size: clamp(1.4rem, 2.4vw, 1.7rem);
      line-height: 1.25;
    }

    .prose h2::before {
      content: "";
      position: absolute;
      left: 0;
      top: .18em;
      bottom: .18em;
      width: 5px;
      border-radius: 6px;
      background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
    }

    .prose h3 {
      color: var(--navy);
      font-size: 1.12rem;
      margin: 28px 0 10px;
    }

    .prose p {
      color: var(--ink);
      font-size: 1.05rem;
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .prose p.intro {
      font-size: 1.18rem;
      color: var(--navy);
      font-weight: 500;
      line-height: 1.7;
    }

    .prose ul {
      list-style: none;
      margin: 0 0 22px;
      padding: 0;
      display: grid;
      gap: 10px;
    }

    .prose ul li {
      position: relative;
      padding-left: 28px;
      font-size: 1rem;
      color: var(--ink);
      line-height: 1.6;
    }

    .prose ul li::before {
      content: "";
      position: absolute;
      left: 2px;
      top: .55em;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--blue-bright);
      box-shadow: 0 0 0 4px rgba(47, 125, 214, .15);
    }

    .prose strong {
      color: var(--navy);
    }

    /* Pull quote */
    .pull {
      border-left: 4px solid var(--blue-bright);
      background: var(--blue-light);
      padding: 22px 26px;
      border-radius: 0 14px 14px 0;
      margin: 30px 0;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.22rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1.5;
    }

    /* Formula callout */
    .formula {
      background: linear-gradient(160deg, var(--navy), var(--blue-deep));
      color: #fff;
      border-radius: 16px;
      padding: 24px 26px;
      margin: 28px 0;
      position: relative;
      overflow: hidden;
    }

    .formula .f-label {
      font-size: .72rem;
      text-transform: uppercase;
      letter-spacing: .08em;
      font-weight: 700;
      color: #9fc2f5;
      margin-bottom: 14px;
    }

    .formula .eq {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 1.02rem;
      font-weight: 600;
      color: #eaf2ff;
      padding: 9px 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      border-bottom: 1px dashed rgba(255, 255, 255, .14);
    }

    .formula .eq:last-child {
      border-bottom: none;
    }

    .formula .eq .op {
      color: #7fb4f5;
    }

    .formula .eq .res {
      color: #8fedc4;
    }

    /* Takeaways */
    .takeaways {
      background: var(--blue-light);
      border: 1px solid var(--blue-soft);
      border-radius: 16px;
      padding: 24px 26px;
      margin: 30px 0;
    }

    .takeaways h4 {
      color: var(--navy);
      font-size: 1.05rem;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .takeaways h4 svg {
      width: 20px;
      height: 20px;
      color: var(--blue-deep);
    }

    .takeaways ul {
      margin: 0;
    }

    /* ---------- Concept cards (commercial vs operational) ---------- */
    .concept-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin: 30px 0;
    }

    .concept-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 26px 24px;
      position: relative;
      overflow: hidden;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    }

    .concept-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 24px 44px -16px rgba(11, 61, 145, .22);
      border-color: rgba(47, 125, 214, .4);
    }

    .concept-card .c-num {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: .78rem;
      color: var(--blue-deep);
      background: var(--blue-light);
      border: 1px solid var(--blue-soft);
      padding: 4px 11px;
      border-radius: 999px;
      display: inline-block;
      margin-bottom: 12px;
    }

    .concept-card h3 {
      margin: 0 0 8px;
      color: var(--navy);
      font-size: 1.1rem;
    }

    .concept-card p {
      color: var(--muted);
      font-size: .94rem;
      line-height: 1.65;
      margin: 0;
    }

    .concept-card.op {
      background: linear-gradient(170deg, #fff, var(--blue-light));
      border-color: var(--blue-soft);
    }

    /* ---------- Factor feature grid ---------- */
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .feature-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 26px 24px;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--blue-bright), var(--blue-deep));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .35s var(--ease);
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 26px 46px -14px rgba(11, 61, 145, .22);
      border-color: rgba(47, 125, 214, .35);
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 13px;
      background: linear-gradient(150deg, var(--blue-light), var(--blue-soft));
      color: var(--blue-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      transition: background .3s ease, color .3s ease, transform .3s var(--ease);
    }

    .feature-icon svg {
      width: 22px;
      height: 22px;
    }

    .feature-card:hover .feature-icon {
      background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep));
      color: #fff;
      transform: scale(1.06);
    }

    .feature-card h3 {
      color: var(--navy);
      font-size: 1.02rem;
      margin-bottom: 8px;
    }

    .feature-card p {
      color: var(--muted);
      font-size: .89rem;
    }

    /* ---------- Estimate compare ---------- */
    .compare-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin: 28px 0;
    }

    .est-card {
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 24px;
      background: #fff;
      position: relative;
      transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    }

    .est-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 22px 44px -16px rgba(11, 61, 145, .2);
    }

    .est-card.b {
      background: linear-gradient(170deg, var(--navy), var(--blue-deep));
      border-color: var(--navy);
    }

    .est-tag {
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--blue-deep);
      margin-bottom: 14px;
    }

    .est-card.b .est-tag {
      color: #9fc2f5;
    }

    .est-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 9px 0;
      border-bottom: 1px dashed var(--border);
      font-size: .9rem;
    }

    .est-card.b .est-row {
      border-color: rgba(255, 255, 255, .14);
    }

    .est-row:last-child {
      border-bottom: none;
    }

    .est-k {
      color: var(--muted);
      font-weight: 600;
    }

    .est-card.b .est-k {
      color: #9fc2f5;
    }

    .est-v {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      color: var(--navy);
      font-size: 1rem;
    }

    .est-card.b .est-v {
      color: #fff;
    }

    .est-card.b .est-v.hi {
      color: #8fedc4;
    }

    .delta-note {
      text-align: center;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      color: var(--blue-deep);
      background: var(--blue-light);
      border: 1px solid var(--blue-soft);
      border-radius: 12px;
      padding: 14px;
      margin-top: 2px;
    }

    /* ---------- Author card ---------- */
    .author-card {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 28px;
      background: linear-gradient(180deg, #fff, var(--blue-light));
      margin: 44px 0 10px;
    }

    .author-card .avatar {
      width: 66px;
      height: 66px;
      border-radius: 50%;
      background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep));
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      font-size: 1.3rem;
      flex: none;
      box-shadow: 0 10px 24px -8px rgba(13, 74, 156, .5);
    }

    .author-card h4 {
      color: var(--navy);
      font-size: 1.12rem;
      margin-bottom: 4px;
    }

    .author-card .a-role {
      font-size: .86rem;
      color: var(--blue-deep);
      font-weight: 700;
      margin-bottom: 10px;
    }

    .author-card p {
      font-size: .92rem;
      color: var(--muted);
      line-height: 1.65;
    }

    /* ---------- CTA band ---------- */
    .cta-band {
      background: linear-gradient(135deg, var(--blue-deep), var(--navy));
      position: relative;
      overflow: hidden;
      color: #fff;
      border-radius: 24px;
      padding: 54px;
      text-align: center;
      margin: 0 24px;
    }

    .cta-band::before {
      content: "";
      position: absolute;
      width: 500px;
      height: 500px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
      top: -200px;
      right: -150px;
    }

    .cta-band h2 {
      color: #fff;
      position: relative;
    }

    .cta-band p {
      color: #cfe0ff;
      max-width: 560px;
      margin: 0 auto 24px;
      position: relative;
    }

    .cta-row {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 26px;
      border-radius: 12px;
      font-weight: 700;
      font-size: .96rem;
      border: 2px solid transparent;
      transition: all .2s var(--ease);
      cursor: pointer;
    }

    .btn-primary {
      background: #fff;
      color: var(--blue-deep);
      box-shadow: 0 10px 24px rgba(11, 61, 145, .3);
    }

    .btn-primary:hover {
      background: var(--blue-light);
      transform: translateY(-3px);
    }

    .btn-outline {
      border-color: rgba(255, 255, 255, .5);
      color: #fff;
      background: transparent;
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, .1);
      transform: translateY(-3px);
    }

    /* ---------- Related tools ---------- */
    .other-tools {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .other-tool {
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 16px;
      transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
    }

    .other-tool:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 28px rgba(11, 61, 145, .12);
      border-color: var(--blue-soft);
    }

    .other-tool .tag {
      font-size: .66rem;
      font-weight: 700;
      color: var(--blue-deep);
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .other-tool h4 {
      font-size: .93rem;
      color: var(--navy);
      margin: 6px 0 4px;
    }

    .other-tool p {
      font-size: .79rem;
      color: var(--muted);
    }

    /* ---------- Newsletter ---------- */
    .newsletter-band {
      background: linear-gradient(180deg, var(--blue-light), #d9e9ff);
      padding: 70px 6%;
      text-align: center;
    }

    .newsletter-band h2 {
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      color: var(--navy);
      font-weight: 800;
      margin-bottom: 12px;
    }

    .newsletter-band p {
      color: var(--muted);
      font-size: 1rem;
      margin-bottom: 30px;
    }

    .newsletter-form {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      max-width: 620px;
      margin: 0 auto;
    }

    .newsletter-form input {
      flex: 1;
      min-width: 240px;
      padding: 16px 22px;
      border-radius: 999px;
      border: 1.5px solid var(--navy);
      background: #fff;
      font-size: .95rem;
      font-family: inherit;
      color: var(--ink);
    }

    .newsletter-form input:focus {
      outline: none;
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(21, 94, 203, .15);
    }

    .newsletter-form button {
      padding: 16px 30px;
      border-radius: 999px;
      border: none;
      background: var(--navy);
      color: #fff;
      font-weight: 700;
      font-size: .95rem;
      cursor: pointer;
      transition: background .2s ease, transform .2s ease;
    }

    .newsletter-form button:hover {
      background: var(--blue);
      transform: translateY(-2px);
    }

    /* ---------- Demo modal ---------- */
    .demo-modal {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .demo-modal.open { display: flex; }

    .demo-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(6, 21, 48, .6);
      backdrop-filter: blur(4px);
    }

    .demo-modal-panel {
      position: relative;
      width: min(480px, 100%);
      max-height: 88vh;
      overflow-y: auto;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 40px 90px -20px rgba(6, 21, 48, .5);
      padding: 34px 30px 28px;
      animation: dmIn .3s var(--ease);
    }

    @keyframes dmIn {
      from { opacity: 0; transform: translateY(14px) scale(.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .demo-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--muted);
      cursor: pointer;
      font-size: .9rem;
    }

    .demo-modal-close:hover {
      background: var(--blue-light);
      color: var(--blue-deep);
    }

    .demo-modal-eyebrow {
      display: inline-block;
      font-size: .68rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--blue-deep);
      background: var(--blue-light);
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 10px;
    }

    .demo-modal-head h3 {
      font-size: 1.5rem;
      color: var(--navy);
      margin-bottom: 6px;
    }

    .demo-modal-head p {
      font-size: .88rem;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .dm-row {
      display: flex;
      gap: 12px;
    }

    .dm-row .dm-field {
      flex: 1;
      min-width: 0;
    }

    .dm-field {
      margin-bottom: 14px;
      text-align: left;
    }

    .dm-field label {
      display: block;
      font-size: .78rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 6px;
    }

    .dm-optional {
      font-weight: 400;
      color: var(--muted);
    }

    .dm-field input,
    .dm-field textarea {
      width: 100%;
      padding: 11px 13px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      font-size: .88rem;
      font-family: inherit;
      background: var(--blue-light);
      transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .dm-field input:focus,
    .dm-field textarea:focus {
      outline: none;
      border-color: var(--blue-bright);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(47, 125, 214, .15);
    }

    .dm-field textarea {
      min-height: 80px;
      resize: vertical;
    }

    .demo-modal-submit {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 100%;
      padding: 14px;
      background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
      color: #fff;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
      margin-top: 4px;
      box-shadow: 0 10px 24px -8px rgba(13, 74, 156, .5);
    }

    .demo-modal-submit:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 28px -8px rgba(13, 74, 156, .55);
    }

    .demo-modal-submit svg {
      width: 16px;
      height: 16px;
    }

    .demo-modal-note {
      font-size: .74rem;
      color: var(--muted);
      text-align: center;
      margin-top: 12px;
    }

    .demo-modal-success {
      display: none;
      text-align: center;
      padding: 16px 4px 8px;
    }

    .dm-success-ic {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(135deg, #28c840, #0e9e6c);
      color: #fff;
      font-size: 1.4rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
    }

    .demo-modal-success h4 {
      font-size: 1.2rem;
      color: var(--navy);
      margin-bottom: 8px;
    }

    .demo-modal-success p {
      font-size: .88rem;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ---------- Responsive ---------- */
    @media (max-width:860px) {
      .feature-grid { grid-template-columns: 1fr 1fr; }
      .other-tools { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width:640px) {
      .concept-grid,
      .compare-grid,
      .feature-grid,
      .author-card {
        grid-template-columns: 1fr;
      }

      .author-card { flex-direction: column; }
      .cta-band { padding: 40px 26px; }
    }

    /* ---------- Inline prose links ---------- */
    .prose a:not(.btn) {
      color: var(--blue-deep);
      font-weight: 600;
      text-decoration: none;
      box-shadow: inset 0 -1px 0 rgba(13, 74, 156, .35);
      transition: box-shadow .2s ease, color .2s ease;
    }

    .prose a:not(.btn):hover {
      color: var(--blue-bright);
      box-shadow: inset 0 -2px 0 var(--blue-bright);
    }

    /* ---------- Data table (figures / comparisons) ---------- */
    .data-table-wrap {
      margin: 28px 0;
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 14px 30px -20px rgba(11, 61, 145, .25);
    }

    .data-table {
      width: 100%;
      border-collapse: collapse;
      font-size: .95rem;
    }

    .data-table thead th {
      background: linear-gradient(160deg, var(--navy), var(--blue-deep));
      color: #fff;
      text-align: left;
      font-family: 'Space Grotesk', sans-serif;
      font-size: .82rem;
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: 14px 20px;
    }

    .data-table tbody td {
      padding: 14px 20px;
      border-top: 1px solid var(--border);
      color: var(--ink);
      vertical-align: top;
    }

    .data-table tbody tr:nth-child(even) {
      background: var(--blue-light);
    }

    .data-table tbody td:last-child {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
      color: var(--blue-deep);
      white-space: nowrap;
    }

    @media (max-width:560px) {
      .data-table { font-size: .86rem; }
      .data-table thead th,
      .data-table tbody td { padding: 11px 14px; }
    }

    /* ---------- Featured post image ---------- */
    .post-hero-media {
      max-width: 1040px;
      margin: 0 auto;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 34px 70px -28px rgba(11, 61, 145, .4);
    }

    .post-hero-media img {
      width: 100%;
      height: auto;
      max-height: 520px;
      object-fit: cover;
      display: block;
    }

    @media (max-width:640px) {
      .post-hero-media { border-radius: 16px; }
      .post-hero-media img { max-height: 340px; }
    }
