* { box-sizing: border-box; }
body {
    margin: 0;
    background: #fafafa;
    color: #1f2428;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
#loading-icon { display: none; }
a { color: #1c8386; }

.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}
.article h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #1f2428;
}
.byline {
    margin: 0 0 28px;
    padding-top: 14px;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}
.byline a { color: #0077b5; text-decoration: none; margin-left: 6px; }

.article h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 2.6rem 0 1rem;
    color: #1f2428;
}
.article h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 2.1rem 0 0.85rem;
    color: #1f2428;
}
.article p, .article li {
    line-height: 1.75;
    font-size: 17px;
}
.article p { margin: 0 0 1.35em; }
.article ul, .article ol {
    padding-left: 1.3rem;
    margin: 0 0 1.5em;
}
.article li { margin-bottom: 0.65rem; }
.article ul.stat-list {
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 10px;
    padding: 1rem 1.25rem 1rem 2rem;
    margin: 0.75rem 0 1.5rem;
}
.article ul.stat-list li { margin-bottom: 0.4rem; }

.disclosure {
    background: #f3f7f7;
    border-left: 3px solid #1c8386;
    padding: 12px 16px;
    margin: 1.4rem 0;
    font-size: 15px;
    line-height: 1.55;
}

.key-takeaways {
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1c8386;
    border-radius: 12px;
}
.key-takeaways h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
}
.key-takeaways ul {
    margin: 0;
    padding-left: 1.25rem;
}
.key-takeaways li {
    font-size: 16px;
    line-height: 1.65;
    color: #4b5563;
}

blockquote.host-template {
    margin: 1.25rem 0 1.5rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-left: 4px solid #1c8386;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    white-space: pre-wrap;
}

.shot {
    margin: 1.6rem 0 1.8rem;
    padding: 0;
}
.shot-featured {
    margin: 8px 0 4px;
}
.shot img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 8px;
}
.shot figcaption {
    margin-top: 8px;
    color: #5c656b;
    font-size: 14px;
    line-height: 1.45;
}

.table-wrap {
    overflow-x: auto;
    margin: 1.2rem 0 1.6rem;
    border: 1px solid #d7e3e4;
    border-radius: 12px;
    background: #fff;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.article th, .article td {
    border: 1px solid #e3e8ea;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}
.article th { background: #f3f7f7; }
.article td.num, .article th.num { text-align: right; white-space: nowrap; }
table.compare { font-size: 13.5px; line-height: 1.45; }
table.compare th, table.compare td {
    border: none;
    border-bottom: 1px solid #e6eeef;
    padding: 12px;
}
table.compare thead th {
    background: #1c8386;
    color: #fff;
    font-weight: 650;
    font-size: 12.5px;
}
table.compare tbody tr.featured td { background: #f3fafa; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.num { color: #1c8386; font-weight: 650; }

.article-footer-cta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}
.article-footer-cta p {
    font-size: 16px;
    margin-bottom: 1rem;
}

.explore-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0.15rem 0 0;
    padding: 11px 18px;
    background: #1c8386;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 650;
    font-size: 15px;
    line-height: 1.2;
}
.explore-cta:hover { background: #16686b; color: #fff !important; }
.explore-cta i { font-size: 13px; }

/* Contact page (not a long-form article) */
.article-contact {
    max-width: 820px;
}
.article-contact .contact-lead {
    font-size: 18px;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 1.75rem;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 0 0 2rem;
}
a.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
    text-decoration: none;
    color: #1f2428;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.contact-card:hover {
    border-color: #1c8386;
    box-shadow: 0 4px 14px rgba(28, 131, 134, 0.08);
}
a.contact-card i {
    color: #1c8386;
    font-size: 1.25rem;
}
a.contact-card strong {
    font-size: 15px;
    font-weight: 650;
}
a.contact-card span {
    font-size: 14px;
    line-height: 1.45;
    color: #5c656b;
}
.article-contact .company-note {
    margin: 0 0 2.25rem;
    font-size: 14px;
}
.article-contact h2 {
    margin-top: 0;
}
.airtable-embed-wrap {
    margin: 1rem 0 2rem;
    padding: 4px;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
    overflow: hidden;
}
.airtable-embed-wrap iframe {
    display: block;
    width: 100%;
    min-height: 680px;
    border: 0;
    background: transparent;
}
.contact-secondary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    color: #5c656b;
}
.contact-secondary a {
    font-weight: 600;
}

/* About page */
.article-about {
    max-width: 820px;
}
.article-about .about-tagline {
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.45;
    color: #374151;
    margin: 0 0 1rem;
}
.article-about .about-lead {
    font-size: 18px;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 2rem;
}
.article-about .about-mission {
    margin: 0 0 1.25rem;
    font-size: 17px;
    line-height: 1.7;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 2.25rem;
}
@media (max-width: 560px) {
    .about-stats { grid-template-columns: 1fr; }
}
.about-stat {
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
    text-align: center;
}
.about-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1c8386;
    margin-bottom: 4px;
}
.about-stat span {
    font-size: 13px;
    line-height: 1.4;
    color: #5c656b;
}
.about-founder {
    display: grid;
    grid-template-columns: minmax(0, 168px) 1fr;
    gap: 1.25rem 1.75rem;
    align-items: center;
    margin: 1.5rem 0 2.5rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
}
@media (max-width: 520px) {
    .about-founder {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .about-founder .founder-photo {
        max-width: 200px;
    }
}
.about-founder .founder-photo {
    margin: 0;
}
.about-founder img {
    width: 100%;
    height: auto;
    max-width: 168px;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.about-founder .role {
    font-size: 14px;
    font-weight: 650;
    color: #1c8386;
    margin: 0 0 0.5rem;
}
.about-founder .name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}
.about-values {
    margin: 0 0 2.25rem;
}
.about-values ul {
    margin-bottom: 0;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 1rem 0 2rem;
}
@media (max-width: 560px) {
    .photo-grid { grid-template-columns: 1fr; }
}
.photo-grid figure {
    margin: 0;
}
.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e3e8ea;
    display: block;
}
.photo-grid figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: #5c656b;
}
.article-about .about-footer-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}
.article-about .about-footer-cta p {
    font-size: 16px;
    margin-bottom: 1rem;
}

/* About: client logo strip (from homepage Data Seen By) */
.article-about .about-seen-by {
    margin: 0 0 2rem;
}
.article-about .about-seen-by__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}
.article-about .about-seen-by__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 28px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
}
.article-about .about-seen-by__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    line-height: 0;
}
.article-about .about-seen-by__logo {
    height: 22px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.article-about .about-seen-by__logo--mark {
    height: 28px;
    max-width: 44px;
}
.article-about .about-seen-by__logo--stacked {
    height: 36px;
    max-width: 100px;
}
.article-about .about-seen-by__link:hover .about-seen-by__logo,
.article-about .about-seen-by__link:hover .about-seen-by__wordmark {
    opacity: 1;
    filter: none;
}
.article-about .about-seen-by__wordmark {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1f2937;
    opacity: 0.65;
    line-height: 1;
}
/* Trustpilot micro widget: data-style-height is 28px but often renders two rows in ~820px column */
.article-about .about-trustpilot {
    display: flex;
    justify-content: center;
    margin: 8px 0 2.5rem;
    padding: 0 4px 12px;
    text-align: center;
    overflow: visible;
    min-height: 64px;
}
.article-about .about-trustpilot .trustpilot-widget {
    display: inline-block;
    width: 100%;
    max-width: 420px;
    min-height: 56px !important;
    overflow: visible !important;
}
.article-about .about-trustpilot .trustpilot-widget iframe {
    height: 56px !important;
    min-height: 56px !important;
    max-height: none !important;
    overflow: visible !important;
}
@media (max-width: 640px) {
    .article-about .about-trustpilot {
        min-height: 72px;
        padding-bottom: 16px;
    }
    .article-about .about-trustpilot .trustpilot-widget {
        min-height: 64px !important;
    }
    .article-about .about-trustpilot .trustpilot-widget iframe {
        height: 64px !important;
        min-height: 64px !important;
    }
}
.article-about .about-founder .founder-linkedin {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    color: #0077b5;
    text-decoration: none;
    font-size: 1.1rem;
    vertical-align: middle;
}
.article-about .about-founder .founder-linkedin:hover {
    color: #005885;
}

/* Case studies hub + stories */
.article-cases {
    max-width: 880px;
}
.article-cases .case-grid-heading {
    margin: 0.5rem 0 1.25rem;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 0 0 2.5rem;
}
a.case-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 0 28px;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.case-card__img {
    width: 100%;
    height: 168px;
    object-fit: contain;
    object-position: center;
    padding: 22px 24px;
    box-sizing: border-box;
    background: #f8fafb;
    border-bottom: 1px solid #e3e8ea;
}
a.case-card .case-card__tag,
a.case-card h2,
a.case-card p,
a.case-card .case-card__meta,
a.case-card .case-card__cta {
    margin-left: 28px;
    margin-right: 28px;
}
a.case-card .case-card__tag {
    margin-top: 22px;
}
a.case-card:hover {
    border-color: #1c8386;
    box-shadow: 0 8px 24px rgba(28, 131, 134, 0.08);
    transform: translateY(-1px);
}
.case-card__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1c8386;
    background: #f3f7f7;
    padding: 4px 8px;
    border-radius: 999px;
}
a.case-card h2 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0 28px;
}
a.case-card p {
    font-size: 15px;
    line-height: 1.55;
    color: #5c656b;
    margin: 0 28px;
    flex: 1;
}
.case-card__meta {
    font-size: 13px;
    color: #64748b;
}
.case-card__cta {
    font-size: 14px;
    font-weight: 650;
    color: #1c8386;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.case-kicker {
    margin: 0 0 10px !important;
    font-size: 13px !important;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.case-related {
    margin: 2.75rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid #e0e0e0;
}
.case-related h2 {
    margin-top: 0;
    font-size: 1.2rem;
}
.case-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
a.case-related__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e3e8ea;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
}
a.case-related__item:hover {
    border-color: #1c8386;
}
a.case-related__item span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1c8386;
}
a.case-related__item strong {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 650;
}
