/* ─────────────────────────────────────────────────────────────────────────────
   Shared layout for static SEO landing pages (trust-services, customers, etc.)
   Mirrors the visual language of the rest of the site (DM Sans / navy / green
   accents) and the marketing pages already in use.
   ───────────────────────────────────────────────────────────────────────────── */

/* Breadcrumb */
.static-breadcrumb {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 0 20px;
    font-size: 13px;
    color: #64748b;
}
.static-breadcrumb a { color: #0a4d8c; text-decoration: none; }
.static-breadcrumb a:hover { text-decoration: underline; }
.static-breadcrumb-sep { margin: 0 6px; color: #cbd5e1; }

/* Hero */
.static-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 72px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Full-bleed: same pattern as .hero-wrapper on Index.razor — negative top margin
       removes the article's top padding so the hero touches the header, and the
       horizontal calc breaks out to the viewport edge. */
    margin: -1.1rem calc(-50vw + 50%) 0 calc(-50vw + 50%);
    width: 100vw;
}
@media (max-width: 640px) {
    .static-hero {
        margin: 0;
        width: auto;
    }
}
.static-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43,196,138,.6), transparent);
}
.static-hero-inner { max-width: 880px; margin: 0 auto; }
.static-pill {
    display: inline-block;
    background: rgba(43,196,138,.16);
    color: #2BC48A;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}
.static-hero-title {
    font-size: 42px;
    line-height: 1.12;
    margin: 0 auto 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
    max-width: 880px;
}
.static-hero-lede {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 780px;
    color: #cbd5e1;
}
.static-hero-lede strong { color: #fff; font-weight: 600; }

/* Two-column shell: TOC sidebar + prose. Sidebar disappears under 900px. */
.static-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

.static-toc {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    font-size: 13.5px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.static-toc strong {
    display: block;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
}
.static-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}
.static-toc li {
    counter-increment: toc;
    margin: 0;
    line-height: 1.45;
    padding: 6px 0;
    border-top: 1px solid #f1f5f9;
}
.static-toc li:first-child { border-top: none; }
.static-toc li::before {
    content: counter(toc, decimal-leading-zero);
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    font-size: 11.5px;
    margin-right: 8px;
    font-weight: 600;
}
.static-toc a {
    color: #1e293b;
    text-decoration: none;
}
.static-toc a:hover { color: #0a4d8c; }

/* Prose / content sections */
.static-prose {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px 36px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}

.static-section {
    padding: 32px 0;
    border-bottom: 1px solid #e2e8f0;
    scroll-margin-top: 24px;
}
.static-section:last-of-type { border-bottom: none; }

.static-section h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.static-section h2 small {
    display: block;
    font-size: 11.5px;
    color: #2BC48A;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}

.static-section h3 {
    font-size: 18px;
    margin: 24px 0 8px;
    color: #0f172a;
    font-weight: 600;
}

.static-section p,
.static-section li {
    color: #334155;
    line-height: 1.65;
    font-size: 15.5px;
}
.static-section p { margin: 0 0 12px; }

.static-section ul,
.static-section ol {
    margin: 8px 0 16px;
    padding-left: 22px;
}
.static-section li { margin-bottom: 6px; }

.static-section strong { color: #0f172a; font-weight: 600; }
.static-section em { color: #475569; }

.static-section a { color: #0a4d8c; text-decoration: none; border-bottom: 1px solid rgba(10,77,140,.25); }
.static-section a:hover { border-bottom-color: #0a4d8c; }

/* Callouts (.ts-callout from original HTML, plus generic .callout) */
.static-section .ts-callout,
.static-section .callout {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #2BC48A;
    padding: 16px 18px;
    margin: 20px 0;
    border-radius: 6px;
    font-size: 15px;
    color: #1e293b;
}
.static-section .ts-callout strong,
.static-section .callout strong { color: #0f172a; }

/* eID-card grids inside trust-services */
.static-section .ts-grid,
.static-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.static-section .ts-card,
.static-section .card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 22px 18px;
    transition: box-shadow .15s, transform .15s;
}
.static-section .ts-card:hover {
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    transform: translateY(-1px);
}
.static-section .ts-card h3 {
    margin: 6px 0 10px;
    font-size: 20px;
}
.static-section .ts-card .country,
.static-section .ts-card .level {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    margin-bottom: 4px;
    font-weight: 600;
}
.static-section .ts-card .level {
    color: #2BC48A;
    margin: 6px 0 10px;
}

/* CTA at the bottom — matches the content shell width */
.static-cta {
    max-width: 1180px;
    margin: 24px auto 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
    padding: 56px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.static-cta h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.static-cta p {
    color: #475569;
    margin: 0 auto 24px;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.55;
}
.static-cta-button {
    display: inline-block;
    background: #2BC48A;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(43,196,138,.3);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.static-cta-button:hover {
    background: #22a878;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(43,196,138,.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .static-shell { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 16px; }
    .static-toc { position: static; }
    .static-prose { padding: 8px 22px; border-radius: 10px; }
}
@media (max-width: 640px) {
    .static-hero { padding: 48px 16px 40px; }
    .static-hero-title { font-size: 30px; }
    .static-hero-lede { font-size: 16px; }
    .static-section h2 { font-size: 22px; }
    .static-section .ts-grid { grid-template-columns: 1fr; }
}
