/* ════════════════════════════════════════════════
   Healthcare IT Solutions — Blog Stylesheet
   Clean, deduplicated version
   ════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── CSS Variables ── */
:root {
    --ink: #151513;
    --ink-muted: #52524e;
    --ink-faint: #9e9e96;
    --paper: #faf9f6;
    --paper-warm: #f5f2eb;
    --paper-dark: #edeae0;
    --accent: #1e6b4a;
    --accent-light: #d6efe3;
    --accent-mid: #3a9e6e;
    --accent-glow: rgba(30, 107, 74, 0.12);
    --navy: #0b3c5d;
    --navy-light: #1a5276;
    --gold: #c8932a;
    --gold-light: #fdf3e0;
    --rule: #e4e1d8;
    --highlight: #fef9e7;
    --highlight-border: #f0c040;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius: 12px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Base ── */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.8;
    font-size: 18px;
}

/* ── Global Paragraph Font (Georgia for readability) ── */
p {
    font-family: Georgia, serif;
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 400;
}

/* ════════════════════════════════════════════════
   HEADING HIERARCHY  (H1 → H2 → H3 → H4)
   Only one H1 per page — in the hero
   ════════════════════════════════════════════════ */

/* H1 — Page title, hero only */
h1 {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* H2 — Major article sections */
article h2 {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--rule);
    line-height: 1.3;
    letter-spacing: -0.015em;
}

/* First H2 has no top border */
article h2:first-of-type {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* H3 — Sub-sections under H2 */
article h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* H4 — UI labels, card category headers */
article h4 {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ── Article base styles ── */
article {
    min-width: 0;
}

article p {
    margin-bottom: 1.5rem;
    color: var(--ink);
}

article ul,
article ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

article ul li,
article ol li {
    margin-bottom: 0.55rem;
    color: var(--ink);
    font-size: 1rem;
}

article ul li::marker {
    color: var(--accent);
}

article ol li::marker {
    color: var(--accent);
    font-weight: 600;
}

article strong {
    font-weight: 700;
    color: var(--ink);
}

article em {
    font-style: italic;
    color: var(--ink-muted);
}

article a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent-mid);
    text-underline-offset: 3px;
    transition: color 0.2s;
}

article a:hover {
    color: var(--accent-mid);
    text-decoration-color: var(--accent-mid);
}

/* ════════════════════════════════════════════════
   PROGRESS BAR
   ════════════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-mid), var(--gold));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}

/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
.navbar-wrap {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(11, 60, 93, 0.25);
    transition: box-shadow 0.3s;
}

.navbar-wrap.scrolled {
    box-shadow: 0 4px 30px rgba(11, 60, 93, 0.35);
}

.navbar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '+';
    width: 28px;
    height: 28px;
    background: var(--accent-mid);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-links > li > a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links li:hover > a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Dropdown ── */
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    list-style: none;
    padding: 0.5rem 0;
    min-width: 230px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--rule);
    z-index: 1500;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 18px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
    transform: rotate(45deg);
}

.dropdown li a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown li a:hover {
    background: var(--accent-light);
    color: var(--accent);
    padding-left: 1.5rem;
}

.nav-links li:hover > .dropdown {
    display: block;
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 32px;
    height: 28px;
    padding: 4px;
}

.hamburger span {
    width: 100%;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
    background: linear-gradient(135deg, #0d2d1f 0%, #1a4d34 40%, #0b3c5d 100%);
    padding: 5.5rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(58, 158, 110, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(11, 60, 93, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco-1 {
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    top: -200px;
    right: -100px;
}

.hero-deco-2 {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    bottom: -100px;
    right: 100px;
}

.hero-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent-mid);
    flex-shrink: 0;
}

.hero-lead {
    font-family: var(--sans);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 640px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
}

.meta-pill svg {
    flex-shrink: 0;
}

.meta-divider {
    color: rgba(255, 255, 255, 0.2);
}

/* ════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════ */
.layout {
    max-width: 1160px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 5rem;
    align-items: start;
}

/* ════════════════════════════════════════════════
   CONTENT IMAGE
   ════════════════════════════════════════════════ */
.content-image {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ════════════════════════════════════════════════
   CALLOUT BOX
   ════════════════════════════════════════════════ */
.callout {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 1.4rem 1.75rem;
    margin: 2rem 0;
    font-family: var(--sans);
    font-size: 0.94rem;
    color: var(--ink);
    border-left: 4px solid var(--highlight-border);
    position: relative;
}

.callout::before {
    content: '💡';
    position: absolute;
    top: -14px;
    left: 16px;
    font-size: 1.2rem;
}

.callout strong {
    color: var(--ink);
}

/* ════════════════════════════════════════════════
   BUTTONS & CTA
   ════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--accent-mid), var(--accent));
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(30, 107, 74, 0.35);
    letter-spacing: 0.01em;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 107, 74, 0.45);
    color: #fff;
    text-decoration: none;
}

.btn::after {
    content: '→';
}

/* Inline article CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--sans);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════
   DIRECTORY CARDS
   ════════════════════════════════════════════════ */
.dir-card {
    border: 1px solid var(--rule);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 2rem 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
    opacity: 0;
    transform: translateY(20px);
}

.dir-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.dir-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dir-card-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.dir-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.dir-stat {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 100px;
    padding: 0.25rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.01em;
}

.dir-card > p {
    font-family: var(--sans);
    font-size: 0.96rem;
    color: var(--ink-muted);
    line-height: 1.7;
}

.dir-card ul {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.dir-card ul li {
    color: var(--ink-muted);
}

/* ════════════════════════════════════════════════
   SECTION RULE
   ════════════════════════════════════════════════ */
hr.section-rule {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 3.5rem 0;
}

/* ════════════════════════════════════════════════
   PRIORITY GRID
   ════════════════════════════════════════════════ */
.priority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.priority-block {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.priority-block:hover {
    box-shadow: var(--shadow-md);
}

.priority-block:nth-child(1) { border-top: 3px solid #e74c3c; }
.priority-block:nth-child(2) { border-top: 3px solid #f39c12; }
.priority-block:nth-child(3) { border-top: 3px solid var(--ink-faint); }

.priority-label {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.priority-block:nth-child(1) .priority-label { color: #e74c3c; }
.priority-block:nth-child(2) .priority-label { color: #f39c12; }
.priority-block:nth-child(3) .priority-label { color: var(--ink-faint); }

.priority-block ul {
    padding-left: 1.1rem;
    font-family: var(--sans);
    font-size: 0.87rem;
}

.priority-block li {
    margin-bottom: 0.35rem;
}

/* ════════════════════════════════════════════════
   TIMELINE
   ════════════════════════════════════════════════ */
.timeline {
    margin: 2rem 0;
}

.tl-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.tl-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-light), transparent);
}

.tl-item:last-child::before {
    display: none;
}

.tl-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-mid), var(--accent));
    color: #fff;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(30, 107, 74, 0.3);
}

.tl-content {
    flex: 1;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.tl-content h4 {
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0;
    margin-bottom: 0.6rem;
    text-transform: none;
    letter-spacing: 0;
}

.tl-content ul {
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.tl-content li {
    margin-bottom: 0.3rem;
}

/* ════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════ */
.faq {
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover,
.faq-item.open {
    box-shadow: var(--shadow-sm);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
    transition: background 0.2s;
}

.faq-q:hover,
.faq-item.open .faq-q {
    background: var(--paper-warm);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--rule);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    font-size: 0.85rem;
    color: var(--accent);
    background: #fff;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--accent);
    background: var(--accent-light);
}

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
    max-height: 600px;
}

.faq-a-inner {
    padding: 1rem 1.5rem 1.4rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink-muted);
    line-height: 1.75;
    border-top: 1px solid var(--rule);
}

/* ════════════════════════════════════════════════
   TAKEAWAYS BOX
   ════════════════════════════════════════════════ */
.takeaways {
    background: linear-gradient(135deg, #c3d5e1, #b9d2df);
    color: #fff;
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.takeaways::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(58, 158, 110, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.takeaways h3 {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.6;
    margin-bottom: 1.25rem;
    margin-top: 0;
    color: #fff;
}

.takeaways ul {
    padding-left: 1.25rem;
    position: relative;
    z-index: 1;
}

.takeaways li {
    margin-bottom: 0.7rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.takeaways li::marker {
    color: var(--accent-mid);
}

/* ════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════ */
.sidebar {
    position: sticky;
    top: 88px;
}

.sidebar-box {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: #fff;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rule);
}

.toc-links {
    list-style: none;
}

.toc-links li {
    margin-bottom: 0;
}

.toc-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    color: var(--ink-muted);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all 0.2s;
    line-height: 1.4;
}

.toc-links a:hover,
.toc-links a.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-light);
}

.sidebar-cta-box {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
}

.sidebar-cta-box p {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--sans);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.sidebar-cta-box .btn {
    font-size: 0.82rem;
}

.sidebar-cost {
    font-family: var(--sans);
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.84rem;
}

.cost-row:last-child {
    border-bottom: none;
}

.cost-label {
    color: var(--ink-muted);
}

.cost-val {
    font-weight: 700;
    color: var(--ink);
}

.cost-warn {
    color: #e74c3c !important;
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
footer {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ════════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════════ */
#back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-mid), var(--accent));
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 18px rgba(30, 107, 74, 0.4);
    z-index: 200;
}

#back-top.show {
    opacity: 1;
    pointer-events: all;
}

#back-top:hover {
    transform: translateY(-3px);
}

/* ════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════
   COPY BUTTON
   ════════════════════════════════════════════════ */
.copy-btn {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(30, 107, 74, 0.15);
    border-radius: 6px;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* ════════════════════════════════════════════════
   ALSO READ LINK
   ════════════════════════════════════════════════ */
.also-read {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gold-light);
    border: 1px solid rgba(200, 147, 42, 0.2);
    border-radius: var(--radius);
    padding: 0.9rem 1.25rem;
    margin: 1.75rem 0;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}

.also-read:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    text-decoration: none;
}

.also-read-label {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    flex-shrink: 0;
}

.also-read-title {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.also-read-arrow {
    margin-left: auto;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   STAT GRID
   ════════════════════════════════════════════════ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.stat-block {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.4rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.stat-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-block:nth-child(1) { border-top: 3px solid var(--accent); }
.stat-block:nth-child(2) { border-top: 3px solid var(--navy); }
.stat-block:nth-child(3) { border-top: 3px solid var(--gold); }
.stat-block:nth-child(4) { border-top: 3px solid var(--accent-mid); }

.stat-number {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-block:nth-child(1) .stat-number { color: var(--accent); }
.stat-block:nth-child(2) .stat-number { color: var(--navy); }
.stat-block:nth-child(3) .stat-number { color: var(--gold); }
.stat-block:nth-child(4) .stat-number { color: var(--accent-mid); }

.stat-label {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--ink-muted);
    line-height: 1.45;
}

/* ════════════════════════════════════════════════
   DO / DON'T GRID
   ════════════════════════════════════════════════ */
.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.do-block,
.dont-block {
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
}

.do-block {
    background: var(--accent-light);
    border: 1px solid rgba(30, 107, 74, 0.2);
}

.dont-block {
    background: #fdf0ef;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.do-block h4,
.dont-block h4 {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    margin-top: 0;
}

.do-block h4 { color: var(--accent); }
.dont-block h4 { color: #c0392b; }

.do-block ul,
.dont-block ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.do-block li,
.dont-block li {
    font-family: var(--sans);
    font-size: 0.87rem;
    margin-bottom: 0.45rem;
    color: var(--ink);
    line-height: 1.55;
}

.do-block li::marker { color: var(--accent); }
.dont-block li::marker { color: #c0392b; }

/* ════════════════════════════════════════════════
   STACK TABLE
   ════════════════════════════════════════════════ */
.stack-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stack-table thead {
    background: var(--navy);
    color: #fff;
}

.stack-table thead th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stack-table tbody tr {
    border-bottom: 1px solid var(--rule);
    transition: background 0.15s;
}

.stack-table tbody tr:last-child {
    border-bottom: none;
}

.stack-table tbody tr:hover {
    background: var(--paper-warm);
}

.stack-table td {
    padding: 0.85rem 1rem;
    color: var(--ink-muted);
    line-height: 1.5;
    vertical-align: top;
}

.stack-table td:first-child {
    font-weight: 600;
    color: var(--ink);
}

.stack-table tbody tr:nth-child(even) td {
    background: var(--paper-warm);
}

.stack-table tbody tr:nth-child(even):hover td {
    background: var(--paper-dark);
}

/* ════════════════════════════════════════════════
   CHALLENGE CARDS
   ════════════════════════════════════════════════ */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.challenge-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.challenge-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.challenge-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    display: block;
}

.challenge-title {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.challenge-desc {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* ════════════════════════════════════════════════
   FUTURE CARDS
   ════════════════════════════════════════════════ */
.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.future-card {
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, #0d2d1f, #1a4d34);
    color: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.future-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.future-card-label {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 0.6rem;
}

.future-card-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.future-card-desc {
    font-family: var(--sans);
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ════════════════════════════════════════════════
   ROLE CARDS
   ════════════════════════════════════════════════ */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.role-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.4rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.role-card:nth-child(2) { border-top-color: var(--navy); }
.role-card:nth-child(3) { border-top-color: var(--gold); }

.role-card-title {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.role-card:nth-child(1) .role-card-title { color: var(--accent); }
.role-card:nth-child(2) .role-card-title { color: var(--navy); }
.role-card:nth-child(3) .role-card-title { color: var(--gold); }

.role-card p {
    font-family: var(--sans);
    font-size: 0.87rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin-bottom: 0 !important;
}

/* ════════════════════════════════════════════════
   EXAMPLE CARDS
   ════════════════════════════════════════════════ */
.example-card {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    margin: 1.5rem 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}

.example-card:hover {
    box-shadow: var(--shadow-md);
}

.example-card-label {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.example-card-title {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.example-card p {
    font-family: var(--sans);
    font-size: 0.93rem;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem !important;
}

.example-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.example-badge {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 100px;
    padding: 0.25rem 0.85rem;
}

/* ════════════════════════════════════════════════
   QUOTE BLOCK
   ════════════════════════════════════════════════ */
.quote-block {
    border-left: 4px solid var(--accent-mid);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    background: var(--paper-warm);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-block blockquote {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.quote-attr {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ════════════════════════════════════════════════
   SIGNAL / KEY INSIGHT BOX
   ════════════════════════════════════════════════ */
.signal-box {
    background: linear-gradient(135deg, #0b3c5d, #1a5276);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.signal-box-label {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.signal-box p {
    font-family: var(--sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 0 !important;
}

/* ════════════════════════════════════════════════
   LAYER CARDS
   ════════════════════════════════════════════════ */
.layer-card {
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem 1.5rem 2.25rem;
    margin: 1.25rem 0;
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.layer-card::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--accent);
    border-radius: var(--radius) 0 0 var(--radius);
}

.layer-card:nth-child(2)::before { background: var(--navy); }
.layer-card:nth-child(3)::before { background: var(--gold); }

.layer-card-title {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.layer-card:nth-child(2) .layer-card-title { color: var(--navy); }
.layer-card:nth-child(3) .layer-card-title { color: var(--gold); }

.layer-card p {
    font-family: var(--sans);
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: 0 !important;
}

/* ════════════════════════════════════════════════
   READING PROGRESS WRAP
   ════════════════════════════════════════════════ */
.reading-progress-wrap {
    background: var(--paper-warm);
    border-bottom: 1px solid var(--rule);
    padding: 0.6rem 2rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Tablet (max 960px)
   ════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sidebar {
        display: none;
    }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Mobile (max 820px) — Hamburger nav
   ════════════════════════════════════════════════ */
@media (max-width: 820px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 800;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        gap: 0;
        align-items: stretch;
    }

    .nav-links.open {
        max-height: 700px;
    }

    .nav-links > li > a {
        padding: 0.85rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown {
        position: static;
        max-height: 0;
        overflow: hidden;
        display: block;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.2);
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .dropdown::before {
        display: none;
    }

    .nav-links li.mob-open > .dropdown {
        max-height: 400px;
    }

    .dropdown li a {
        padding: 0.7rem 2.25rem;
        color: rgba(255, 255, 255, 0.75);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .dropdown li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        padding-left: 2.5rem;
    }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (max 640px)
   ════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .dos-donts {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Extra Small (max 600px)
   ════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .hero {
        padding: 3.5rem 1.25rem 3rem;
    }

    .layout {
        padding: 2.5rem 1.25rem 3.5rem;
    }

    .priority-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-grid,
    .future-grid,
    .role-grid {
        grid-template-columns: 1fr;
    }

    .dir-card {
        padding: 1.25rem;
    }

    .takeaways {
        padding: 1.75rem 1.5rem;
    }

    .stack-table {
        font-size: 0.8rem;
    }

    .stack-table td,
    .stack-table th {
        padding: 0.65rem 0.65rem;
    }

    #back-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .faq-q {
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
    }
}