/* ============================================================
   ReferrerAttribution.com - Site Stylesheet
   referrerattribution.com | thecontentframework.com
   Built on CQIP Static Framework v2.1.0
   ============================================================ */

/* -- Design tokens ------------------------------------------- */
:root {
    /* Brand */
    --sj-navy:          #2E4057;
    --sj-navy-dark:     #1F2D3D;
    --sj-tint:          #EDF1F5;
    --sj-link:          #0a6b65;
    --sj-link-hover:    #0aa89c;
    --sj-header:        #2E3B52;
    --sj-header-mid:    #3E517B;
    --sj-footer:        #1a2535;
    --sj-cream:         #F1DAC2;

    /* Neutrals */
    --surface:          #f4f6f8;
    --white:            #ffffff;
    --border:           #d8dfe6;
    --border-light:     #eaf0f5;
    --text-primary:     #111111;
    --text-secondary:   #333333;
    --text-muted:       #595959;

    /* Typography */
    --font:             system-ui, -apple-system, 'Segoe UI', sans-serif;
    --base-size:        16px;
    --line-height:      1.65;

    /* Layout */
    --max-width:        1200px;
    --section-pad:      5rem 1.5rem;
    --section-pad-sm:   3.5rem 1.5rem;
    --section-pad-xs:   2.5rem 1.5rem;
    --radius-card:      8px;
    --radius-btn:       8px;
    --radius-badge:     4px;

    /* Shadows */
    --shadow-card:       0 2px 12px rgba(0,0,0,0.07);
    --shadow-card-hover: 0 6px 24px rgba(0,0,0,0.12);
    --shadow-elevated:   0 8px 32px rgba(46,64,87,0.18);
}

/* -- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--base-size); scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-primary);
    line-height: var(--line-height);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sj-link); text-decoration: none; }
a:hover { color: var(--sj-link-hover); }
ul { list-style: none; }

/* -- Typography scale ---------------------------------------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    text-transform: none;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-secondary); }

/* -- Utility ------------------------------------------------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* -- Buttons ------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s, box-shadow 0.18s;
    text-decoration: none;
    line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--sj-navy);
    color: var(--white);
    border-color: var(--sj-navy);
}
.btn-primary:hover {
    background: var(--sj-navy-dark);
    border-color: var(--sj-navy-dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(46,64,87,0.35);
}

.btn-white {
    background: var(--white);
    color: var(--sj-header);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--sj-tint);
    border-color: var(--sj-tint);
    color: var(--sj-header);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-teal {
    background: transparent;
    color: var(--sj-link);
    border-color: var(--sj-navy);
}
.btn-outline-teal:hover {
    background: var(--sj-tint);
    color: var(--sj-navy-dark);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1.0625rem; }

/* -- Badges -------------------------------------------------- */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-badge);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.4;
}
.badge-pro  { background: var(--sj-navy); color: var(--white); }
.badge-free { background: var(--sj-tint); color: var(--sj-link); }

/* -- Site header --------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
}
.site-logo img { width: 36px; height: 36px; }
.site-logo:hover { color: var(--sj-link); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--sj-link); }

.site-header__cta { display: flex; align-items: center; gap: 0.75rem; }

@media (max-width: 768px) {
    .site-nav { display: none; }
    .site-header__cta .btn-outline-teal { display: none; }
    .site-logo { flex-shrink: 0; }
    .site-logo span { white-space: nowrap; }
    .site-header__cta { flex-shrink: 0; }
    .site-header__cta .btn-primary {
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* -- Hero ---------------------------------------------------- */
.hero {
    background: var(--sj-header);
    padding: 5rem 1.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(46,64,87,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(46,59,82,0.6) 0%, transparent 50%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero__icon {
    width: 80px; height: 80px;
    border-radius: 12px;
    margin: 0 auto 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}
.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sj-navy);
    margin-bottom: 1rem;
}
.hero__ctas {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.hero__ctas .btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.125rem;
}
.hero__trust { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* -- Channel strip ------------------------------------------- */
.channel-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    text-align: center;
}
.channel-strip__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.channel-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}
.channel-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
}
.channel-pill--highlight {
    background: var(--sj-tint);
    border-color: var(--sj-navy);
    color: var(--sj-link);
    font-weight: 600;
}

/* -- Stats strip --------------------------------------------- */
.stats-strip {
    background: var(--sj-tint);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 1.5rem;
}
.stats-strip__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}
.stats-strip .stat__number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--sj-header);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stats-strip .stat__label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

/* -- Features grid ------------------------------------------- */
.features { background: var(--white); padding: var(--section-pad); }
.features__header { text-align: center; margin-bottom: 3rem; }
.features__header h2 { margin-bottom: 0.5rem; }
.features__header p  { max-width: 560px; margin: 0 auto; }
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature-block {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    transition: box-shadow 0.2s;
}
.feature-block:hover { box-shadow: var(--shadow-card-hover); }
.feature-block__icon {
    width: 44px; height: 44px;
    background: var(--sj-tint);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sj-link);
    margin-bottom: 1rem;
}
.feature-block__icon svg { width: 22px; height: 22px; }
.feature-block h3 { margin-bottom: 0.6rem; }
.feature-block p  { font-size: 0.9375rem; line-height: 1.65; }
.feature-block__badge {
    margin-top: 0.75rem;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.feature-block__badge--free {
    background: var(--surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.feature-block__badge--pro {
    background: var(--sj-tint);
    color: var(--sj-link);
    border: 1px solid var(--sj-navy);
}

/* -- Pricing cards ------------------------------------------- */
.pricing { background: var(--white); padding: var(--section-pad); }
.pricing__header { text-align: center; margin-bottom: 3rem; }
.pricing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
    max-width: 760px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem;
    position: relative;
    transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-card-hover); }
.pricing-card--featured {
    border-color: var(--sj-navy);
    box-shadow: var(--shadow-elevated);
    transform: translateY(-6px);
}
.pricing-card__popular {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--sj-navy);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-card__name {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.pricing-card__price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.pricing-card__price sup { font-size: 1.25rem; vertical-align: super; }
.pricing-card__sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card__cta { width: 100%; justify-content: center; margin-bottom: 1.75rem; }
.pricing-card__divider { height: 1px; background: var(--border-light); margin-bottom: 1.25rem; }
.pricing-card__features { display: flex; flex-direction: column; gap: 0.65rem; }
.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.45;
}
.pricing-card__feature::before {
    content: 'YES';
    color: var(--sj-link);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pricing__cards { grid-template-columns: 1fr; }
    .pricing-card--featured { transform: none; }
}

/* -- Comparison table ---------------------------------------- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.comparison-table th {
    background: var(--surface);
    padding: 0.9rem 1.25rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.comparison-table th.col-pro { background: var(--sj-tint); color: var(--sj-link); }
.comparison-table td {
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
}
.comparison-table td.check-yes { color: var(--sj-link); font-weight: 700; text-align: center; }
.comparison-table td.check-no  { color: var(--text-muted); text-align: center; }
.comparison-table tr:hover td  { background: var(--surface); }
.comparison-table .section-row td {
    background: var(--surface);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.6rem 1.25rem;
}

/* -- Final CTA ----------------------------------------------- */
.final-cta {
    background: var(--sj-header);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(46,64,87,0.1) 0%, transparent 55%);
    pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: var(--white); margin-bottom: 1rem; }
.final-cta p  { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.final-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.final-cta__note { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* -- Page hero (inner pages) --------------------------------- */
.page-hero {
    background: var(--sj-header);
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }
.page-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sj-navy);
    margin-bottom: 0.75rem;
}

/* -- Breadcrumb ---------------------------------------------- */
.breadcrumb {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 1.5rem;
}
.breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.breadcrumb__inner a { color: var(--text-muted); }
.breadcrumb__inner a:hover { color: var(--sj-link); }
.breadcrumb__sep { color: var(--border); }

/* -- Footer -------------------------------------------------- */
.site-footer {
    background: var(--sj-footer);
    color: rgba(255,255,255,0.75);
    padding: 4rem 1.5rem 2rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
}
.footer-brand__logo {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 0.75rem; text-decoration: none;
}
.footer-brand__logo img { width: 32px; height: 32px; }
.footer-brand__logo span { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-brand__tagline { font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.75rem; line-height: 1.55; }
.footer-brand__powered { font-size: 0.8125rem; color: rgba(255,255,255,0.72); margin-bottom: 1.25rem; }
.footer-brand__copy { font-size: 0.8125rem; color: rgba(255,255,255,0.72); }
.footer-brand__copy a { color: var(--sj-cream); }
.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.72);
    text-align: center;
}
.footer-bottom a { color: var(--sj-cream); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 768px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* -- Docs ---------------------------------------------------- */
.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    align-items: start;
}
.docs-sidebar { position: sticky; top: 80px; }
.docs-sidebar h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar ul { display: flex; flex-direction: column; gap: 0.25rem; }
.docs-sidebar a {
    display: block;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
}
.docs-sidebar a:hover,
.docs-sidebar a.active,
.docs-sidebar a[aria-current="page"] {
    background: var(--sj-tint);
    color: var(--sj-link);
    border-color: var(--sj-navy);
}
.docs-content h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.docs-content h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.35rem; color: var(--sj-header); }
.docs-content h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.docs-content p  { margin-bottom: 1rem; line-height: 1.75; }
.docs-content ul { list-style: disc; padding-left: 1.5rem; display: block; margin-bottom: 1rem; }
.docs-content ul li { margin-bottom: 0.4rem; font-size: 0.9375rem; color: var(--text-secondary); }
.docs-content ol { list-style: decimal; padding-left: 1.5rem; display: block; margin-bottom: 1rem; }
.docs-content ol li { margin-bottom: 0.5rem; font-size: 0.9375rem; color: var(--text-secondary); }
.docs-content .callout {
    background: var(--sj-tint);
    border-left: 4px solid var(--sj-navy);
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.25rem;
}
.docs-content .callout p { margin: 0; color: var(--sj-link); font-size: 0.9375rem; }
.docs-content code {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
}
.docs-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.docs-content th { background: var(--surface); padding: 0.75rem 1rem; font-weight: 600; border-bottom: 2px solid var(--border); text-align: left; }
.docs-content td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }

@media (max-width: 768px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { position: static; }
}

/* -- Docs hub ------------------------------------------------ */
.docs-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.docs-hub-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.docs-hub-card:hover { border-color: var(--sj-navy); box-shadow: var(--shadow-card-hover); }
.docs-hub-card__icon {
    width: 40px; height: 40px;
    background: var(--sj-tint);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--sj-link);
}
.docs-hub-card__icon svg { width: 20px; height: 20px; }
.docs-hub-card__title { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.docs-hub-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.docs-hub-card__arrow { font-size: 0.875rem; font-weight: 600; color: var(--sj-link); }

/* -- Support ------------------------------------------------- */
.support-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.support-box {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem;
}
.support-box--pro { border-color: var(--sj-navy); }
.support-box h3 { margin-bottom: 0.5rem; }
.support-box p  { font-size: 0.9375rem; margin-bottom: 1.25rem; }
.support-box .meta { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
@media (max-width: 768px) { .support-boxes { grid-template-columns: 1fr; } }

/* -- Legal --------------------------------------------------- */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.legal-content h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.05rem; }
.legal-content p  { margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; display: block; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.4rem; font-size: 0.9375rem; color: var(--text-secondary); }

/* -- Changelog ----------------------------------------------- */
.changelog-entry {
    border-left: 3px solid var(--border);
    padding: 0 0 2.5rem 1.5rem;
    margin-bottom: 0;
    position: relative;
}
.changelog-entry::before {
    content: '';
    position: absolute;
    left: -7px; top: 6px;
    width: 12px; height: 12px;
    background: var(--sj-navy);
    border-radius: 50%;
    border: 2px solid var(--white);
}
.changelog-entry__version { font-size: 1.35rem; font-weight: 700; color: var(--sj-header); margin-bottom: 0.25rem; }
.changelog-entry__date { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.changelog-entry__items { list-style: disc; padding-left: 1.25rem; }
.changelog-entry__items li { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0.375rem; line-height: 1.6; }

/* -- Responsive ---------------------------------------------- */
@media (max-width: 768px) {
    :root { --section-pad: 3rem 1.25rem; }
    .hero { padding: 3.5rem 1.25rem; }
    .hero__ctas { flex-direction: column; align-items: center; }
}

/* -- Focus styles -------------------------------------------- */
:focus-visible {
    outline: 3px solid var(--sj-navy);
    outline-offset: 3px;
    border-radius: 4px;
}
.hero :focus-visible,
.final-cta :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible { outline-color: #ffffff; }

/* -- Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* -- CQIP block token overrides ----------------------------
   Override warm cream defaults to match RA teal brand.     */
:root {
    --cqip-cream:  #ffffff;
    --cqip-rule:   #d4e4e3;
    --cqip-serif:  system-ui, -apple-system, 'Segoe UI', sans-serif;
    --cqip-ink:    #0f1e1d;
    --cqip-ink2:   #2a3d3c;
    --cqip-ink3:   #5a7070;
    --cqip-brand-primary:          #0FC5B8;
    --cqip-brand-secondary:        #0aa89c;
    --cqip-brand-accent:           #0FC5B8;
    --cqip-bg-answer-first:        #e6faf9;
    --cqip-bg-answer-first-border: #0FC5B8;
    --cqip-icon-color:             #0FC5B8;
    --cqip-text-label:             #0a6b65;
    --cqip-faq-open-border:        #0FC5B8;
    --cqip-faq-indicator-color:    #0FC5B8;
    --cqip-compliance-badge-color: #0FC5B8;
}

/* Capabilities block - override */
.cqip-capability--grid-item,
.cqip-capability--cards-item {
    background:    var(--surface);
    border:        1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding:       1.75rem;
    transition:    box-shadow 0.2s;
}
.cqip-capability--grid-item:hover,
.cqip-capability--cards-item:hover { box-shadow: var(--shadow-card-hover); }
.cqip-capability__title { font-family: var(--font); font-size: 1.05rem; color: var(--text-primary); }
.cqip-capability__description { font-size: 0.9375rem; color: var(--text-secondary); font-weight: 400; }
.cqip-capabilities__heading { font-family: var(--font); color: var(--text-primary); font-size: clamp(1.5rem, 3vw, 2.25rem); text-align: center; margin-bottom: 2rem; }
.cqip-capabilities__intro { font-family: var(--font); color: var(--text-secondary); text-align: center; margin-bottom: 2rem; }

/* Solutions block */
.cqip-solutions__heading { font-family: var(--font); color: var(--text-primary); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 2rem; }

/* Answer First block */
.cqip-answer-first {
    background:    var(--sj-tint);
    border-left:   4px solid var(--sj-navy);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    padding:       2rem 2.25rem;
}
.cqip-answer-first__heading { font-family: var(--font); color: var(--text-primary); }
.cqip-answer-first__kicker {
    font-family: var(--font);
    color: var(--sj-link);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.cqip-answer-first__context { font-family: var(--font); color: var(--text-muted); }

/* FAQ block */
.cqip-faq__heading { font-family: var(--font); color: var(--text-primary); font-size: clamp(1.5rem, 3vw, 2.25rem); text-align: center; margin-bottom: 2rem; }
.cqip-faq-item { border-bottom: 1px solid var(--border); background: transparent; }
.cqip-faq-item:first-child { border-top: 1px solid var(--border); }
.cqip-faq-item__question {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0;
}
.cqip-faq-item__question:hover { color: var(--sj-link); }
.cqip-faq-item.is-open .cqip-faq-item__question { color: var(--sj-link); }
.cqip-faq-item__icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--sj-tint);
    color: var(--sj-link);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    font-weight: 400;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.cqip-faq-item.is-open .cqip-faq-item__icon { background: var(--sj-navy); color: var(--sj-header); }
.cqip-faq-item__answer { font-family: var(--font); font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; padding-bottom: 1.25rem; }
.cqip-faq--accordion .cqip-faq-item__answer { display: none; }
.cqip-faq--accordion .cqip-faq-item.is-open .cqip-faq-item__answer { display: block; }
/* ============================================================
   TWO-PRODUCT RESTRUCTURE STYLES
   Brand homepage, WordPress sub-page, Refer App page
   ============================================================ */

/* -- Breadcrumb --------------------------------------------- */
.breadcrumb {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}
.breadcrumb a {
    font-size: 0.875rem;
    color: var(--sj-link);
}
.breadcrumb a:hover { text-decoration: underline; }

/* -- Hero variants ------------------------------------------ */
.hero--brand { text-align: center; }
.hero--brand .hero__inner { max-width: 820px; }
.hero__h1-sub {
    display: block;
    font-size: 0.72em;
    font-weight: 400;
    opacity: 0.88;
    margin-top: 0.35rem;
}
.hero__sub--secondary {
    margin-top: 0.75rem;
    opacity: 0.82;
}

/* -- Product cards ------------------------------------------ */
.product-cards {
    background: var(--white);
    padding: var(--section-pad);
}
.product-cards__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 680px) {
    .product-cards__grid { grid-template-columns: 1fr; }
}
.product-card {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-card--app {
    border-color: var(--sj-navy);
}
.product-card__platform {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sj-link);
}
.product-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.product-card__desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}
.product-card__pricing {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}
.product-card__ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* -- Shared brand proof points ------------------------------ */
.brand-shared {
    background: var(--surface);
    padding: var(--section-pad);
    text-align: center;
}
.brand-shared h2 {
    margin-bottom: 0.75rem;
}
.brand-shared__intro {
    max-width: 680px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}
.brand-shared__proofs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}
@media (max-width: 720px) {
    .brand-shared__proofs { grid-template-columns: 1fr; }
}
.brand-proof { text-align: left; }
.brand-proof__icon {
    width: 40px;
    height: 40px;
    color: var(--sj-link);
    margin-bottom: 1rem;
}
.brand-proof__icon svg { width: 100%; height: 100%; }
.brand-proof h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}
.brand-proof p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* -- Decision guide ----------------------------------------- */
.decision-guide {
    background: var(--white);
    padding: var(--section-pad);
}
.decision-guide h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}
.decision-guide__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}
@media (max-width: 680px) {
    .decision-guide__cols { grid-template-columns: 1fr; }
}
.decision-col {
    background: var(--surface);
    border-radius: 10px;
    padding: 1.75rem;
}
.decision-col h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}
.decision-col p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

/* -- Content sections (Refer App page) ---------------------- */
.content-section {
    padding: var(--section-pad-sm);
    background: var(--white);
}
.content-section--alt { background: var(--surface); }
.container--narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.content-section h2 { margin-bottom: 1.25rem; }
.content-section p  { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.content-section ul,
.content-section ol {
    color: var(--text-primary);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.content-section li { margin-bottom: 0.5rem; }
.content-section li strong { color: var(--text-primary); }

/* -- Three-column proof layout (Refer App) ------------------ */
.proof-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (max-width: 720px) {
    .proof-cols { grid-template-columns: 1fr; }
}
.proof-col {
    background: var(--white);
    border-radius: 10px;
    padding: 1.75rem;
}
.proof-col__icon {
    width: 36px;
    height: 36px;
    color: var(--sj-link);
    margin-bottom: 1rem;
}
.proof-col__icon svg { width: 100%; height: 100%; }
.proof-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}
.proof-col p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* -- Live stats grid ---------------------------------------- */
.proof-stats {
    background: var(--sj-header);
    padding: var(--section-pad-sm);
    text-align: center;
}
.proof-stats h2 {
    color: var(--white);
    margin-bottom: 2.5rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 860px;
    margin: 0 auto;
}
@media (max-width: 680px) {
    .stats-grid { grid-template-columns: 1fr; }
}
.proof-stats .stat { padding: 1.5rem 1rem; }
.proof-stats .stat__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sj-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.proof-stats .stat__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.proof-stats .stat__detail {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
}

/* -- Installation steps ------------------------------------- */
.install-steps {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 1.5rem 0;
}
.install-steps li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.install-steps li::before {
    content: counter(steps);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--sj-navy);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    margin-top: 0.1rem;
}

/* -- Legal callout variant ---------------------------------- */
.callout--legal {
    background: var(--surface);
    border-left: 4px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}
.callout--legal p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* -- Crosslink callout -------------------------------------- */
.callout-crosslink {
    background: var(--surface);
    padding: 2rem 0;
}
.callout--crosslink {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--sj-navy);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.callout--crosslink strong {
    color: var(--text-primary);
}
.callout--crosslink a {
    white-space: nowrap;
}

/* ============================================================
   ACCESSIBILITY & UX REFINEMENTS
   ============================================================ */

/* -- Focus styles (WCAG 2.4.7  - keyboard navigation visible) -- */
:focus-visible {
    outline: 3px solid var(--sj-navy);
    outline-offset: 3px;
    border-radius: 3px;
}
.btn:focus-visible {
    outline: 3px solid var(--sj-navy);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(46,64,87,0.18);
}
.site-nav a:focus-visible {
    outline: 2px solid var(--sj-link);
    outline-offset: 4px;
    border-radius: 2px;
}

/* -- Heading spacing corrections ------------------------------ */
/* H2 sections need breathing room above the heading itself */
.content-section h2,
.pricing h2,
.proof-stats h2,
.brand-shared h2,
.decision-guide h2 {
    margin-bottom: 1.5rem;
}
/* Tighten the gap between section h2 and its first paragraph */
.content-section h2 + p { margin-top: 0; }

/* -- List item spacing and hierarchy ---------------------- */
/* Feature list items: strong label darker, rest secondary */
.pricing-card__features .pricing-card__feature strong,
.install-steps li strong {
    color: var(--text-primary);
    font-weight: 600;
}
/* install-steps supporting text slightly lighter than label */
.install-steps li {
    color: var(--text-secondary);
}

/* -- Product card vertical rhythm ------------------------- */
.product-card {
    gap: 1rem;
}
.product-card__desc {
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-light);
}

/* -- Brand proof tighten ---------------------------------- */
.brand-proof {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

/* -- Proof-stats number contrast fix (sj-navy on sj-header) -- */
/* sj-navy #2E4057 on sj-header #2E3B52 - contrast to verify on deploy */

/* -- Decision col border accent --------------------------- */
.decision-col {
    border-left: 3px solid var(--sj-navy);
}

/* -- Legal callout stronger border ------------------------ */
.callout--legal {
    border-left-color: var(--border);
}

/* -- Section alternation spacing consistency -------------- */
.brand-shared { padding: var(--section-pad-sm); }
.decision-guide { padding: var(--section-pad-sm); }
.product-cards { padding: var(--section-pad-sm); }
.callout-crosslink { padding: 1.75rem 0; }

/* -- Hero h1 sub-line rendering --------------------------- */
.hero__h1-sub {
    display: block;
    font-size: 0.65em;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* -- Container-narrow padding safety ---------------------- */
.container--narrow {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* ============================================================
   DOCS CONTENT PAGES
   ============================================================ */

/* -- Docs content body -------------------------------------- */
.docs-content {
    background: var(--white);
    padding: var(--section-pad-sm);
}
.docs-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-primary);
}
.docs-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.docs-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}
.docs-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.docs-content ul,
.docs-content ol {
    color: var(--text-primary);
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}
.docs-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}
.docs-content li strong {
    color: var(--text-primary);
    font-weight: 600;
}
.docs-content pre {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.25rem 0;
}
.docs-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    padding: 0.1em 0.4em;
    color: var(--sj-link);
}
.docs-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
}

/* -- Docs FAQ section --------------------------------------- */
.docs-faq {
    background: var(--surface);
    padding: var(--section-pad-sm);
}

/* -- Docs page navigation footer ---------------------------- */
.docs-nav-footer {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
}
.docs-nav-footer__links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.docs-nav-footer__prev,
.docs-nav-footer__next {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--sj-link);
}
.docs-nav-footer__next { margin-left: auto; }


/* -- Docs hub Pro card variant ------------------------------ */
.docs-hub-card--pro {
    border-left: 3px solid var(--sj-navy);
}
.docs-hub-card--pro .docs-hub-card__title::after {
    content: ' Pro';
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sj-link);
    background: var(--sj-tint);
    border: 1px solid var(--sj-navy);
    border-radius: 3px;
    padding: 0.1em 0.4em;
    margin-left: 0.5rem;
    vertical-align: middle;
}


/* ============================================================
   DEMO / SANDBOX ADDITIONS
   ============================================================ */

/* -- Ghost white button (tertiary CTA on dark hero) --------- */
/* Used for lower-commitment action like "Try the demo" */
.btn-ghost-white {
    background: transparent;
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.38);
    padding: 0.75rem 1.5rem;
}
.btn-ghost-white:hover,
.btn-ghost-white:focus-visible {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.65);
    color: var(--white);
}

/* -- Demo section CTA block --------------------------------- */
.demo-section { text-align: center; }
.demo-section p { max-width: 580px; margin-left: auto; margin-right: auto; }
.demo-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.demo-cta__note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* -- Three-button hero CTA layout --------------------------- */
/* When hero has three CTAs, allow wrapping gracefully */
.hero__ctas {
    flex-wrap: wrap;
    justify-content: center;
}


/* ============================================================
   DEMO REQUEST FORM
   ============================================================ */

.demo-form {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.demo-form__field {
    margin-bottom: 1.5rem;
}
.demo-form__label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.demo-form__required {
    color: var(--sj-link);
    margin-left: 0.2em;
}
.demo-form__input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.demo-form__input:focus {
    outline: none;
    border-color: var(--sj-navy);
    box-shadow: 0 0 0 3px rgba(46, 64, 87, 0.18);
}
.demo-form__input::placeholder {
    color: var(--text-muted);
}
.demo-form__hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0.4rem 0 0;
    line-height: 1.5;
}
.demo-form__submit {
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.demo-form__submit:hover {
    opacity: 0.92;
}
.demo-form__error {
    background: #fff0f0;
    border: 1px solid #e0b0b0;
    border-left: 4px solid #c0392b;
    border-radius: 0 6px 6px 0;
    padding: 0.875rem 1.25rem;
    color: #7b2020;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.demo-form__reassurance {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.demo-form__reassurance ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.demo-form__reassurance li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
    line-height: 1.5;
    color: var(--text-secondary);
}
.demo-form__reassurance li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sj-navy);
}



/* ============================================================
   LINK CREATOR COMPONENT
   Used on /app/ -- campaign link builder with privacy simulation
   ============================================================ */

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

:root {
  --teal:       #0FC5B8;
  --teal-text:  #0a6b65;
  --navy:       #2E3B52;
  --arc:        #3E517B;
  --red:        #C8553D;
  --green:      #1A9E5A;
  --green-bold: #2ECC71;
  --white:      #ffffff;
  --surface:    #f4f8f9;
  --border:     #d0dfe0;
  --text-1:     #111111;
  --text-2:     #333333;
  --text-3:     #595959;
  --param-key:  #475c5b;
  --radius:     8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.lc-section {
  background: var(--surface);
  padding: 3.5rem 1.5rem;
  font-family: var(--font);
}

.lc-section__inner {
  max-width: 1060px;
  margin: 0 auto;
}

.lc-section__heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.lc-section__heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.lc-section__subheading {
  font-size: 1.0625rem;
  color: var(--text-2);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.lc-section__intro {
  font-size: 1rem;
  color: var(--text-2) !important;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 2rem;
}

/* Ensure no text colour bleed from surrounding content-section rules */
.lc-section p,
.lc-section span:not([class*="param"]):not([class*="url"]):not([class*="lc-output"]):not([class*="lc-url"]) {
  color: inherit;
}

/* -- Two-column grid -------------------------------------- */
.lc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 680px) {
  .lc-grid { grid-template-columns: 1fr; }
}

/* -- Pane cards ------------------------------------------ */
.lc-pane {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.lc-pane__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-text);
  margin-bottom: 1.25rem;
}

/* -- Form fields ----------------------------------------- */
.lc-field {
  margin-bottom: 1.25rem;
}

.lc-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.35rem;
}

.lc-hint {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.lc-input,
.lc-select {
  display: block;
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text-1);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.5;
}

.lc-input:focus,
.lc-select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,64,87,0.18);
}

.lc-input::placeholder { color: var(--text-3); }

.lc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23595959' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.lc-error {
  font-size: 0.8125rem;
  color: var(--red);
  margin-top: 0.3rem;
  display: none;
  line-height: 1.5;
}
.lc-error.is-visible { display: block; }

.lc-warning {
  font-size: 0.8125rem;
  color: #8B5C00;
  background: #FEF9EC;
  border: 1px solid #F5C842;
  border-left: 3px solid #F5C842;
  border-radius: 0 4px 4px 0;
  padding: 0.45rem 0.75rem;
  margin-top: 0.4rem;
  display: none;
  line-height: 1.55;
}
.lc-warning.is-visible { display: block; }

.lc-info {
  font-size: 0.8125rem;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
  padding: 0.45rem 0.75rem;
  margin-top: 0.4rem;
  display: none;
  line-height: 1.55;
}
.lc-info.is-visible { display: block; }
.lc-input.has-error { border-color: var(--red); }

/* -- Toggle ---------------------------------------------- */
.lc-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.lc-toggle-label-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  flex: 1;
  cursor: pointer;
  user-select: none;
}

.lc-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.lc-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.lc-toggle__track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.lc-toggle input:checked + .lc-toggle__track {
  background: var(--red);
}

.lc-toggle__track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lc-toggle input:checked + .lc-toggle__track::after {
  transform: translateX(18px);
}

.lc-toggle input:focus-visible + .lc-toggle__track {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* -- Output blocks --------------------------------------- */
.lc-output-block {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.lc-output-block__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}

.lc-output-block__warning {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.35rem;
  display: none;
}

.lc-output-block__survive {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.35rem;
  display: none;
}

.lc-url-display {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.8;
  word-break: break-all;
  overflow-wrap: break-word;
  color: var(--text-1);
  margin-bottom: 0.875rem;
  min-height: 1.8em;
}

.lc-url-display .url-base {
  color: var(--text-1);
  font-weight: 600;
}

.lc-url-display .url-sep {
  color: var(--text-3);
}

.lc-param {
  display: block;
}

.lc-param .param-key {
  color: var(--param-key);
  font-weight: 400;
}

.lc-param .param-val {
  color: var(--text-1);
  font-weight: 600;
}

/* -- Privacy simulation states --------------------------- */
.is-simulating .lc-param.is-utm .param-key,
.is-simulating .lc-param.is-utm .param-val,
.is-simulating .lc-param.is-utm .url-sep {
  color: var(--red);
  text-decoration: line-through;
  opacity: 0.55;
}

.is-simulating .lc-param.is-c .param-key,
.is-simulating .lc-param.is-c .param-val,
.is-simulating .lc-param.is-c .url-sep {
  color: var(--green);
  text-decoration: none;
  opacity: 1;
}

.is-simulating .lc-output-block__warning { display: block; }
.is-simulating .lc-output-block--resilient .lc-output-block__survive { display: block; }

/* -- Placeholder message --------------------------------- */
.lc-placeholder {
  color: var(--text-3);
  font-size: 0.9375rem;
  font-style: italic;
  padding: 0.5rem 0;
}

/* -- Copy button ----------------------------------------- */
.lc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--teal-text);
  background: none;
  border: 1.5px solid var(--teal);
  border-radius: 5px;
  padding: 0.35rem 0.875rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.lc-copy-btn:hover {
  background: var(--teal);
  color: var(--navy);
}

.lc-copy-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lc-copy-btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.lc-copy-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* -- Resilient hint text --------------------------------- */
.lc-resilient-hint {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.lc-resilient-hint a {
  color: var(--teal-text);
  text-decoration: underline;
}

/* -- Short link button ----------------------------------- */
.lc-short-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--white);
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 0.15s, transform 0.1s;
}

.lc-short-btn:hover { background: var(--arc); }
.lc-short-btn:active { transform: scale(0.98); }
.lc-short-btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.lc-short-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* -- Modal ----------------------------------------------- */
.lc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.lc-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lc-modal {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  z-index: 9999;
  transform: translateY(12px);
  transition: transform 0.2s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.lc-modal-overlay.is-open .lc-modal {
  transform: translateY(0);
}

.lc-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: 0.25rem;
  line-height: 1;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
}

.lc-modal__close:hover { color: var(--text-1); }
.lc-modal__close:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.lc-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-right: 2rem;
  line-height: 1.3;
}

.lc-modal__body {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.lc-modal__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lc-modal__pro-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--navy);
  background: var(--teal);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}

.lc-modal__pro-btn:hover { opacity: 0.88; }
.lc-modal__pro-btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.lc-modal__learn {
  font-size: 0.9375rem;
  color: var(--teal-text);
  text-decoration: underline;
  font-family: var(--font);
}

/* -- aria-live region ------------------------------------ */
.lc-live {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   PRODUCT SCREENSHOT COMPONENT
   .product-shot wraps images on /app/ and /wordpress/
   ============================================================ */

.product-shot {
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.product-shot__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 8px 24px rgba(0,0,0,0.10),
        0 20px 48px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.07);
}

.product-shot__caption {
    font-size: 0.8125rem;
    color: var(--text-muted, #595959);
    text-align: center;
    margin-top: 0.875rem;
    line-height: 1.55;
}

/* ============================================================
   SUPPORT PAGE CONTACT BLOCK
   ============================================================ */

.support-contact-block {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.support-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.support-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--sj-navy, #2E4057);
    margin-top: 0.2rem;
}

.support-contact-item__label {
    font-size: 0.8125rem;
    color: var(--text-muted, #595959);
    margin-bottom: 0.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.support-contact-item__value {
    font-size: 1rem;
    color: var(--text-primary, #111111);
    font-weight: 600;
    text-decoration: none;
}

.support-contact-item__value:hover {
    color: var(--sj-link, #0a6b65);
    text-decoration: underline;
}

/* ============================================================
   PRIVACY PILLAR SECTION
   Used on /wordpress/ and /app/
   ============================================================ */

.privacy-pillar {
    background: #eef1f6;
    padding: var(--section-pad);
}

.privacy-pillar__inner {
    max-width: 960px;
    margin: 0 auto;
}

.privacy-pillar__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--sj-link, #0a6b65);
    margin-bottom: 0.75rem;
}

.privacy-pillar__heading {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--sj-header, #2E3B52);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.privacy-pillar__intro {
    font-size: 1rem;
    color: var(--text-secondary, #333333);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.25rem;
}

.privacy-pillar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 680px) {
    .privacy-pillar__grid { grid-template-columns: 1fr; }
}

@media (min-width: 681px) and (max-width: 900px) {
    .privacy-pillar__grid { grid-template-columns: 1fr 1fr; }
}

.privacy-card {
    background: #ffffff;
    border: 1px solid #d4dae6;
    border-radius: 10px;
    padding: 1.5rem;
}

.privacy-card__icon {
    width: 36px;
    height: 36px;
    background: #e6faf9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.privacy-card__icon svg {
    width: 18px;
    height: 18px;
    color: var(--sj-link, #0a6b65);
}

.privacy-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--sj-header, #2E3B52);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.privacy-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary, #333333);
    line-height: 1.65;
}

/* ============================================================
   PHP API CODE BLOCK
   Used on /wordpress/
   ============================================================ */

.api-block {
    background: var(--white);
    padding: var(--section-pad);
}

.api-block__inner {
    max-width: 900px;
    margin: 0 auto;
}

.api-block__heading {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--sj-header, #2E3B52);
    margin-bottom: 0.75rem;
}

.api-block__intro {
    font-size: 1rem;
    color: var(--text-secondary, #333333);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 640px;
}

.code-window {
    background: #1e2433;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.code-window__bar {
    background: #262d3d;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-window__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.code-window__dot--red    { background: #ff5f57; }
.code-window__dot--amber  { background: #ffbd2e; }
.code-window__dot--green  { background: #28c840; }

.code-window__filename {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    margin-left: 0.5rem;
}

.code-window__body {
    padding: 1.5rem 1.75rem;
    overflow-x: auto;
}

.code-window__body pre {
    margin: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: #abb2bf;
    white-space: pre;
}

/* Syntax tokens */
.tok-comment  { color: #5c6370; font-style: italic; }
.tok-keyword  { color: #c678dd; }
.tok-function { color: #61afef; }
.tok-string   { color: #98c379; }
.tok-variable { color: #e06c75; }
.tok-number   { color: #d19a66; }
.tok-plain    { color: #abb2bf; }

.api-block__note {
    font-size: 0.8125rem;
    color: var(--text-muted, #595959);
    margin-top: 1rem;
    line-height: 1.6;
}

.api-block__note a {
    color: var(--sj-link, #0a6b65);
    text-decoration: underline;
}

/* ============================================================
   TOOLS HUB PAGE
   referrerattribution.com/tools/
   ============================================================ */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .tools-grid { grid-template-columns: 1fr; }
}

.tool-card {
    display: flex;
    gap: 1.25rem;
    background: var(--white);
    border: 1.5px solid var(--border, #d0dfe0);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    align-items: flex-start;
}

.tool-card:hover {
    border-color: var(--sj-navy, #2E4057);
    box-shadow: 0 4px 20px rgba(46,64,87,0.12);
    transform: translateY(-2px);
}

.tool-card:focus-visible {
    outline: 3px solid var(--sj-navy, #2E4057);
    outline-offset: 3px;
}

.tool-card__icon {
    width: 44px;
    height: 44px;
    background: #e6faf9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--sj-link, #0a6b65);
}

.tool-card__body { flex: 1; }

.tool-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sj-link, #0a6b65);
    margin-bottom: 0.3rem;
}

.tool-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sj-header, #2E3B52);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.tool-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary, #333333);
    line-height: 1.65;
    margin-bottom: 0.875rem;
}

.tool-card__cta {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sj-link, #0a6b65);
}

.tool-card:hover .tool-card__cta {
    text-decoration: underline;
}

/* Reduced top padding on standalone tool pages */
.lc-section--standalone {
    padding-top: 2rem;
}

/* ============================================================
   ARTICLES HUB AND ARTICLE PAGES
   /articles/ and /articles/slug/
   ============================================================ */

/* -- Hub grid -------------------------------------------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .articles-grid { grid-template-columns: 1fr; }
}

.article-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.article-card:hover {
    border-color: var(--sj-navy);
    box-shadow: 0 4px 20px rgba(46,64,87,0.1);
    transform: translateY(-2px);
}

.article-card:focus-visible {
    outline: 3px solid var(--sj-navy);
    outline-offset: 3px;
}

.article-card__meta {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sj-link);
    margin-bottom: 0.75rem;
}

.article-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--sj-header);
    line-height: 1.35;
    margin-bottom: 0.75rem;
    flex: 1;
}

.article-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.article-card__read {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sj-link);
    margin-top: auto;
}

.article-card:hover .article-card__read {
    text-decoration: underline;
}

/* -- Article body ---------------------------------------- */
.article-body {
    padding: var(--section-pad) 0;
}

.article-body__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-header__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sj-link);
    margin-bottom: 0.75rem;
}

.article-header__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--sj-header);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-header__excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-byline__author {
    font-weight: 600;
    color: var(--text-secondary);
}

.article-byline a {
    color: var(--sj-link);
    text-decoration: none;
}

.article-byline a:hover {
    text-decoration: underline;
}

.article-byline__sep {
    color: var(--border);
}

/* -- Article prose --------------------------------------- */
.article-prose {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-prose h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--sj-header);
    margin: 2.5rem 0 0.875rem;
    line-height: 1.3;
}

.article-prose h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sj-header);
    margin: 2rem 0 0.625rem;
}

.article-prose p {
    margin-bottom: 1.4rem;
    color: var(--text-secondary);
}

.article-prose ul,
.article-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.4rem;
}

.article-prose li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.article-prose strong {
    font-weight: 700;
    color: var(--text-primary);
}

.article-prose code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.875em;
    background: #f0f4f4;
    border-radius: 4px;
    padding: 0.15em 0.4em;
    color: var(--sj-header);
}

.article-prose a {
    color: var(--sj-link);
    text-decoration: underline;
}

/* -- Article footer -------------------------------------- */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.article-footer__author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.article-footer__author-info {
    flex: 1;
}

.article-footer__author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.article-footer__author-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.article-footer__author-bio a {
    color: var(--sj-link);
    text-decoration: underline;
}

/* -- Article share CTA ----------------------------------- */
.article-share {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.article-share p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* -- Back link ------------------------------------------- */
.article-back {
    font-size: 0.875rem;
    color: var(--sj-link);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 2rem;
}

.article-back:hover { text-decoration: underline; }

/* ============================================================
   ARTICLE SHARE ROW
   Tasteful icon-based share bar on article pages
   ============================================================ */

.article-share-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2.5rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.article-share-row__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.article-share-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.article-share-btn:hover {
    border-color: var(--sj-navy);
    color: var(--sj-link);
    background: var(--surface);
}

.article-share-btn:focus-visible {
    outline: 3px solid var(--sj-navy);
    outline-offset: 2px;
}

.article-share-btn--copied {
    border-color: var(--sj-navy);
    color: var(--sj-link);
    background: #e6faf9;
}

.article-share-row__copied {
    font-size: 0.8125rem;
    color: var(--sj-link);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.article-share-row__copied.is-visible {
    opacity: 1;
}

/* ============================================================
   GET STARTED CHOICE PAGE
   /get-started/
   ============================================================ */

.get-started-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 680px) {
    .get-started-grid { grid-template-columns: 1fr; }
}

.get-started-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.get-started-card__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sj-link);
    margin-bottom: 0.625rem;
}

.get-started-card__title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--sj-header);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.get-started-card__subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.get-started-card__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.get-started-card__points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.get-started-card__points li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.35rem 0 0.35rem 1.375rem;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.get-started-card__points li:last-child {
    border-bottom: none;
}

.get-started-card__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sj-navy);
}

.get-started-card__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.get-started-card__note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* -- Comparison table ---------------------------------------- */
.get-started-compare {
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.get-started-compare h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sj-header);
    margin-bottom: 1.25rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.compare-table th {
    font-weight: 700;
    color: var(--sj-header);
    text-align: left;
    padding: 0.625rem 1rem 0.625rem 0;
    border-bottom: 2px solid var(--border);
}

.compare-table th:not(:first-child) {
    text-align: center;
    color: var(--sj-link);
}

.compare-table td {
    padding: 0.625rem 1rem 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: middle;
}

.compare-table .compare-yes {
    text-align: center;
    font-weight: 600;
    color: var(--sj-link);
}

.compare-table .compare-no {
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 580px) {
    .compare-table th:first-child,
    .compare-table td:first-child { font-size: 0.8125rem; }
}

/* -- Section lede (introductory paragraph above an h2) ------- */
.section-lede {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    font-weight: 400;
}

/* -- Article rule (horizontal divider between story sections) - added for Semantic Journey -- */
.article-rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5rem 0;
}

/* -- Mobile horizontal padding reduction (phone widths) -----
   Appended at end of file deliberately: earlier duplicate
   unconditional .container--narrow rules (see ~line 1067 and
   ~line 1326) would otherwise win the cascade over an earlier
   media query at equal specificity, regardless of viewport. -- */
@media (max-width: 480px) {
    :root {
        --section-pad:    3rem 1rem;
        --section-pad-sm: 2.5rem 1rem;
        --section-pad-xs: 2rem 1rem;
    }
    .container,
    .container--narrow {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero,
    .page-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .site-header__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
