/* =========================================================================
   Sorveo — shared design system
   Used by /blog, /industries, /locations, /solutions, /case-studies.
   Tokens & components mirror the home page exactly.
   ========================================================================= */

:root {
    --ink:        #0F3D33;
    --ink-soft:   #1A4F45;
    --ink-mute:   #5A726C;
    --ink-fade:   #8AA39D;
    --teal:       #15A088;
    --teal-deep:  #0E8975;
    --teal-soft:  #1FB89D;
    --teal-glow:  #4CD3B5;
    --teal-wash:  rgba(21, 160, 136, 0.08);
    --teal-line:  rgba(21, 160, 136, 0.22);
    --bg:         #F4F8F7;
    --bg-2:       #FFFFFF;
    --bg-deep:    #0A2A24;
    --hairline:   #D8E3E1;
    --hairline-2: #E8EFEE;
    --amber:      #C99014;
    --red:        #B23A3A;
    --container:    1240px;
    --container-narrow: 760px;
    --gap:          clamp(1rem, 2vw, 1.5rem);
    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    20px;
    --radius-xl:    28px;
    --shadow-sm:    0 1px 2px rgba(15, 61, 51, 0.04), 0 2px 6px rgba(15, 61, 51, 0.04);
    --shadow:       0 4px 16px rgba(15, 61, 51, 0.06), 0 1px 3px rgba(15, 61, 51, 0.05);
    --shadow-lg:    0 24px 48px -12px rgba(15, 61, 51, 0.18), 0 8px 16px rgba(15, 61, 51, 0.06);
    --ease:         cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);
    --nav-h:        92px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { overflow-x: hidden; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg-2);
    line-height: 1.6;
    padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: white; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }

/* ============================== Typography ============================== */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--teal); border-radius: 1px; }
.accent { color: var(--teal); }
.h-display { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.h-section { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-mute); line-height: 1.55; max-width: 60ch; }

/* ============================== Buttons ============================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: all 0.2s var(--ease-soft);
    white-space: nowrap;
    position: relative;
    border: 1.5px solid transparent;
}
.btn-primary { background: var(--ink); color: white; box-shadow: 0 1px 3px rgba(15, 61, 51, 0.2); }
.btn-primary:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21, 160, 136, 0.32); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-wash); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 14px; }
.btn-ghost:hover { color: var(--teal-deep); }
.btn-arrow { transition: transform 0.2s var(--ease-soft); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ============================== Nav ============================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(216, 227, 225, 0.6);
    transition: background 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.nav-inner {
    max-width: var(--container); margin: 0 auto;
    padding: 18px clamp(1.25rem, 4vw, 2.5rem);
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 56px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
    padding: 10px 14px; font-size: 14px; font-weight: 600;
    color: var(--ink-soft); border-radius: 8px;
    transition: all 0.15s var(--ease-soft);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--teal-deep); background: var(--teal-wash); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle:hover { background: var(--teal-wash); }

/* ============================== Breadcrumb ============================== */
.breadcrumb { padding: 1.25rem 0 0.5rem; font-size: 13px; color: var(--ink-mute); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '/'; color: var(--ink-fade); }
.breadcrumb a:hover { color: var(--teal-deep); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ============================== Sections ============================== */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .lede { margin: 1rem auto 0; }

/* ============================== Generic hero ============================== */
.page-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5rem);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(21, 160, 136, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.page-hero .lede { margin-top: 1.25rem; }
.page-hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/4;
    background: linear-gradient(135deg, var(--ink) 0%, #1A4F45 100%);
    position: relative;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ============================== Card grids ============================== */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: white;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.2s var(--ease-soft);
}
.card:hover { border-color: var(--teal-line); box-shadow: var(--shadow); }
.card-icon {
    width: 44px; height: 44px;
    background: var(--teal-wash); color: var(--teal-deep);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.card-h { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.card-body { font-size: 0.9375rem; color: var(--ink-mute); line-height: 1.6; }
.card-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 0.5rem; }

/* ============================== Bullet list ============================== */
.bullet-list { display: flex; flex-direction: column; gap: 10px; margin: 0.5rem 0 1.25rem; }
.bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.bullet-list li::before {
    content: '';
    position: absolute; left: 0; top: 0.55em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--teal);
}

/* ============================== FAQ accordion ============================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline); }
.faq-item summary {
    list-style: none; cursor: pointer;
    padding: 1.25rem 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem;
    font-size: 1.0625rem; font-weight: 700;
    color: var(--ink);
    transition: color 0.15s var(--ease-soft);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 12px; height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease-soft);
    margin-bottom: 3px; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 5px; margin-bottom: 0; }
.faq-item[open] summary, .faq-item summary:hover { color: var(--teal-deep); }
.faq-answer { padding: 0 0 1.5rem; font-size: 1rem; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }

/* ============================== Final CTA card ============================== */
.cta-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--bg-2); }
.cta-card {
    background: linear-gradient(135deg, var(--ink) 0%, #1A4F45 100%);
    border-radius: var(--radius-xl);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center; color: white;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-card .eyebrow { color: var(--teal-glow); justify-content: center; }
.cta-card .eyebrow::before { background: var(--teal-glow); }
.cta-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
    max-width: 22ch; margin: 0.75rem auto 1.25rem;
}
.cta-card h2 .accent { color: var(--teal-glow); }
.cta-card p { color: rgba(255, 255, 255, 0.78); max-width: 52ch; margin: 0 auto 2rem; }
.cta-card .btn-primary { background: var(--teal); }
.cta-card .btn-primary:hover { background: var(--teal-soft); }
.cta-card .btn-secondary { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.25); }
.cta-card .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); color: white; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Inline mid-article CTA */
.inline-cta {
    background: var(--bg);
    border: 1px solid var(--hairline);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
}
.inline-cta-text { flex: 1; min-width: 240px; }
.inline-cta h3 { font-size: 1.0625rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 0.25rem; }
.inline-cta p { font-size: 0.9375rem; color: var(--ink-mute); }

/* ============================== Lead magnets row ============================== */
.lead-magnets { background: var(--bg); }
.lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lead-card {
    background: white; border-radius: var(--radius-lg);
    padding: 1.75rem; border: 1px solid var(--hairline);
    display: flex; flex-direction: column; gap: 0.75rem;
    transition: all 0.2s var(--ease-soft);
}
.lead-card:hover { border-color: var(--teal-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.lead-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); }
.lead-h { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.015em; }
.lead-card p { font-size: 0.9375rem; color: var(--ink-mute); line-height: 1.55; flex: 1; }
.lead-card a { font-weight: 700; color: var(--teal-deep); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.lead-card a:hover { color: var(--teal); }

/* ============================== Newsletter signup ============================== */
.newsletter {
    background: var(--bg-deep); color: white;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
    align-items: center;
}
.newsletter h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -0.025em; color: white; line-height: 1.15; }
.newsletter p { color: rgba(255,255,255,0.7); margin-top: 0.6rem; font-size: 0.9375rem; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type="email"] {
    flex: 1; min-width: 200px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    color: white; padding: 14px 18px; border-radius: 999px;
    font-size: 14px; font-family: inherit;
    transition: all 0.15s var(--ease-soft);
}
.newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.newsletter input[type="email"]:focus { outline: none; border-color: var(--teal-glow); background: rgba(255,255,255,0.12); }
.newsletter button { background: var(--teal); color: white; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: all 0.2s var(--ease-soft); }
.newsletter button:hover { background: var(--teal-soft); }
.newsletter small { display: block; margin-top: 0.6rem; color: rgba(255,255,255,0.5); font-size: 12px; }

/* ============================== Blog hub & article cards ============================== */
.blog-toolbar {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin: 1.5rem 0 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--hairline);
}
.blog-toolbar a {
    padding: 8px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    color: var(--ink-soft); background: var(--bg);
    border: 1px solid var(--hairline);
    transition: all 0.15s var(--ease-soft);
}
.blog-toolbar a:hover, .blog-toolbar a[aria-current] { background: var(--ink); color: white; border-color: var(--ink); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
    display: flex; flex-direction: column;
    background: white;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s var(--ease-soft);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-line); }
.post-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    position: relative; overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end;
    padding: 1rem;
    background: linear-gradient(180deg, transparent 40%, rgba(10,42,36,0.55) 100%);
}
.post-cat {
    display: inline-block;
    padding: 4px 10px; border-radius: 4px;
    font-size: 10px; font-weight: 800;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: white; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
}
.post-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-meta { font-size: 12px; color: var(--ink-mute); display: flex; gap: 10px; }
.post-meta span + span::before { content: '·'; margin-right: 10px; color: var(--ink-fade); }
.post-h {
    font-size: 1.125rem; font-weight: 800;
    letter-spacing: -0.018em; line-height: 1.25;
    color: var(--ink);
}
.post-card:hover .post-h { color: var(--teal-deep); }
.post-excerpt { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.5; flex: 1; }
.post-foot { padding-top: 0.5rem; font-size: 13px; font-weight: 700; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 6px; }

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid var(--hairline);
}
.pagination a, .pagination span {
    min-width: 38px; height: 38px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    color: var(--ink-soft);
    border: 1px solid var(--hairline);
    transition: all 0.15s;
}
.pagination a:hover { background: var(--teal-wash); border-color: var(--teal-line); color: var(--teal-deep); }
.pagination [aria-current] { background: var(--ink); color: white; border-color: var(--ink); }
.pagination .disabled { color: var(--ink-fade); pointer-events: none; }

/* ============================== Article (single post) ============================== */
.article-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
}
.article-hero .container-narrow { max-width: 820px; }
.article-cat-tag {
    display: inline-block;
    padding: 4px 11px; border-radius: 999px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--teal-deep); background: var(--teal-wash);
    margin-bottom: 1rem;
}
.article-h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.article-sub { margin-top: 1rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-mute); line-height: 1.5; max-width: 62ch; }
.article-meta {
    margin-top: 1.5rem; padding-top: 1.25rem;
    border-top: 1px solid var(--hairline);
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
    font-size: 13.5px;
}
.author-block { display: inline-flex; align-items: center; gap: 10px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
    color: white; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; line-height: 1.25; }
.author-info strong { font-weight: 700; color: var(--ink); font-size: 14px; }
.author-info small { font-size: 12px; color: var(--ink-mute); }
.meta-dot { color: var(--ink-fade); }
.meta-item { color: var(--ink-mute); display: inline-flex; align-items: center; gap: 6px; }
.meta-item svg { width: 14px; height: 14px; }
.social-share { margin-left: auto; display: inline-flex; gap: 6px; }
.social-share a {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    transition: all 0.15s var(--ease-soft);
}
.social-share a:hover { background: var(--ink); color: white; border-color: var(--ink); }
.social-share svg { width: 14px; height: 14px; }

.article-feature-img {
    border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 21/9; margin: 2rem 0 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    box-shadow: var(--shadow);
}
.article-feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* Article body */
.article { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.article-grid { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.toc {
    position: sticky; top: calc(var(--nav-h) + 24px);
    align-self: start;
    font-size: 13.5px;
}
.toc h3 { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.85rem; }
.toc ol { display: flex; flex-direction: column; gap: 8px; padding-left: 0; }
.toc a {
    display: block; padding: 6px 12px; border-radius: 6px;
    color: var(--ink-soft);
    border-left: 2px solid var(--hairline);
    transition: all 0.15s;
    line-height: 1.4;
}
.toc a:hover, .toc a[aria-current] { color: var(--teal-deep); border-color: var(--teal); background: var(--teal-wash); }

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); max-width: 70ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-top: 2.75rem; }
.prose h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.018em; line-height: 1.25; margin-top: 2rem; }
.prose h2 + p, .prose h3 + p { margin-top: 0.75rem; }
.prose p, .prose ul, .prose ol { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--teal-deep); font-weight: 600; border-bottom: 1px solid var(--teal-line); }
.prose a:hover { color: var(--teal); border-color: var(--teal); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul li, .prose ol li { margin-top: 0.45rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--teal-wash);
    border-left: 4px solid var(--teal);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--ink-soft);
    font-style: italic;
}
.prose blockquote strong { color: var(--ink); font-style: normal; }
.prose table {
    width: 100%; border-collapse: collapse;
    margin: 1.5rem 0; font-size: 0.9375rem;
    border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
}
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--hairline); }
.prose th { background: var(--bg); font-weight: 700; color: var(--ink); }
.prose tr:last-child td { border-bottom: none; }
.prose code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: 0.875em; color: var(--teal-deep); }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-size: 13px; color: var(--ink-mute); margin-top: 0.5rem; text-align: center; }
.prose hr { border: none; border-top: 1px solid var(--hairline); margin: 2.5rem 0; }
.key-takeaways {
    background: var(--bg);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}
.key-takeaways h3 { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 0.75rem; }
.key-takeaways ul { margin: 0; padding-left: 1.25rem; }
.key-takeaways li { font-size: 0.9375rem; color: var(--ink); line-height: 1.55; }

/* Related articles */
.related { background: var(--bg); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ============================== Case study ============================== */
.case-meta {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem; margin: 2rem 0;
    padding: 1.5rem; border: 1px solid var(--hairline);
    border-radius: var(--radius-lg); background: var(--bg);
}
.case-meta-item { display: flex; flex-direction: column; gap: 4px; }
.case-meta-item .label { font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.case-meta-item .value { font-size: 1rem; font-weight: 700; color: var(--ink); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
.outcome { background: white; border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; border: 1px solid var(--hairline); }
.outcome-num { font-size: 2rem; font-weight: 800; color: var(--teal-deep); letter-spacing: -0.02em; }
.outcome-lbl { font-size: 0.8125rem; color: var(--ink-mute); margin-top: 0.35rem; font-weight: 600; }
.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.screenshot-placeholder::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(76,211,181,0.22) 1.5px, transparent 2px);
    background-size: 22px 22px;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.testimonial-card {
    background: linear-gradient(135deg, var(--ink) 0%, #1A4F45 100%);
    color: white; border-radius: var(--radius-lg);
    padding: 2rem 2.25rem; margin: 2rem 0;
    position: relative; overflow: hidden;
}
.testimonial-card::before {
    content: '"';
    position: absolute; top: -30px; right: 20px;
    font-size: 12rem; line-height: 1;
    font-family: Georgia, serif;
    color: rgba(76,211,181,0.18);
}
.testimonial-quote { font-size: 1.0625rem; line-height: 1.55; font-style: italic; color: rgba(255,255,255,0.92); }
.testimonial-attribution { margin-top: 1rem; font-size: 13.5px; color: rgba(255,255,255,0.7); }
.testimonial-attribution strong { color: white; font-weight: 700; font-style: normal; }

/* ============================== Footer ============================== */
.footer { background: var(--bg-deep); color: rgba(255, 255, 255, 0.7); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; margin-bottom: 2.5rem; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.6); max-width: 32ch; margin-bottom: 1.25rem; }
.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 0.15s; }
.footer-col a:hover { color: var(--teal-glow); }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s var(--ease-soft);
}
.footer-social a:hover { background: var(--teal); border-color: var(--teal); color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--teal-glow); }

/* ============================== Responsive ============================== */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .post-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .toc { position: static; }
    .lead-grid { grid-template-columns: 1fr; }
    .newsletter { grid-template-columns: 1fr; gap: 1.25rem; }
    .case-meta { grid-template-columns: repeat(2, 1fr); }
    .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
    .post-grid, .related-grid { grid-template-columns: 1fr; }
    .case-meta, .outcomes-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .article-meta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .social-share { margin-left: 0; }
}
