/* InsightLense site additions: screenshot frames, feature rows, docs, small-screen fixes.
   Loaded after verticle-serve.css and style.css on every page (partials/head.html). */

/* ---------- small-text and tap-target floor ---------- */
.pod-card__badge, .vs-eyebrow, .bl-eyebrow, .bl-tag, .bl-card__kicker, .bl-note__label,
.ar-kicker, .ar-card__n, .ar-rail__label, .bl-ui__filter, .bl-ui__view, .bl-ui__tag,
.post-toc__lbl, .pill, .bl-shot__note { font-size: 12px !important; }
.ar-table th, .bl-table th, .bl-ui table th, .ar-stats dt, .ar-stats .lbl, .lbl { font-size: 12px !important; }
.bl-code code, .bl-body code { font-size: 12.5px; }

/* ---------- shared header kit: this site's palette only ---------- */
:root { --sh-brand: #6d28d9; --sh-brand-2: #9333ea; --sh-ink: #0b1020; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: #fff; color: #0b1020; padding: 10px 14px; border-radius: 8px; font-weight: 600; box-shadow: 0 6px 20px rgba(11,16,32,0.25); }
.skip-link:focus { left: 12px; }


/* ---------- footer ---------- */
.vs-footer__loc { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.5; }
.vs-footer__col ul li.vs-footer__loc:first-of-type { margin-top: 10px; }
.vs-footer .tagline a { color: #d7b2f9; }
@media (max-width: 767px) {
    .vs-footer__col ul li a, .vs-footer__legal a { display: inline-block; padding: 10px 0; min-height: 40px; }
    .vs-footer__social a { width: 42px; height: 42px; }
    .vs-footer__form input { min-height: 44px; }
    .vs-brand { min-height: 40px; }
}

/* ---------- hero with product screenshot ---------- */
.ai-hero.ln-hero { padding: 96px 0 0; }
.ln-hero__shot { margin: 56px auto 0; max-width: 1080px; position: relative; z-index: 1; }
.ln-frame {
    border-radius: 14px 14px 0 0; overflow: hidden; background: #0f1430;
    border: 1px solid rgba(255,255,255,0.14); border-bottom: 0;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.ln-frame__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #171d42; }
.ln-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.ln-frame__bar span { margin-left: 10px; font: 500 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,0.6); }
.ln-frame img { display: block; width: 100%; height: auto; }
.ln-hero__facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.ln-hero__facts span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.78); font-size: 14px; }
.ln-hero__facts i { color: #d7b2f9; }

/* light frame used on white sections */
.ln-shot { margin: 0; }
.ln-shot .ln-frame { border-radius: 14px; border: 1px solid #dfe3f3; box-shadow: 0 18px 50px rgba(11,16,32,0.14); background: #fff; }
.ln-shot .ln-frame__bar { background: #f1f3fb; border-bottom: 1px solid #e3e7f5; }
.ln-shot .ln-frame__bar i { background: #cdd3ea; }
.ln-shot .ln-frame__bar span { color: #5b6486; }
.ln-shot figcaption { margin-top: 12px; font-size: 13px; line-height: 1.6; color: #5b6486; }
.ln-shot figcaption b { color: #14162b; }

/* ---------- feature rows (text + screenshot) ---------- */
.ln-section { padding: 84px 0; background: #fff; }
.ln-section--mist { background: var(--vs-mist); }
.ln-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.ln-row + .ln-row { margin-top: 84px; }
.ln-row--flip > .ln-row__text { order: 2; }
.ln-row__text h2, .ln-row__text h3 { font-size: 28px; line-height: 1.25; font-weight: 700; color: #14162b; margin: 10px 0 14px; }
.ln-row__text p { font-size: 15.5px; line-height: 1.75; color: #454d70; margin-bottom: 14px; }
.ln-list { list-style: none; padding: 0; margin: 0 0 6px; }
.ln-list li { position: relative; padding: 6px 0 6px 26px; font-size: 14.5px; line-height: 1.6; color: #334155; }
.ln-list li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--vs-violet-deep); box-shadow: 0 0 0 4px rgba(109, 40, 217,0.12); }
.ln-list code, .ln-row__text code, .ln-prose code, .ln-table code {
    font: 500 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: #562a9e; background: #f3ebfe; padding: 2px 6px; border-radius: 5px; white-space: nowrap;
}
.ln-link { font-weight: 600; font-size: 14.5px; color: var(--vs-violet-deep); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.ln-link:hover { color: #14162b; }
@media (max-width: 991px) {
    .ln-section { padding: 60px 0; }
    .ln-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .ln-row + .ln-row { margin-top: 60px; }
    .ln-row--flip > .ln-row__text { order: 0; }
    .ln-row__text h2, .ln-row__text h3 { font-size: 24px; }
    .ai-hero.ln-hero { padding-top: 64px; }
    .ln-hero__shot { margin-top: 40px; }
}

/* ---------- compact page hero for inner pages ---------- */
.ln-pagehero { padding: 84px 0 72px; }
.ln-pagehero h1 { font-size: clamp(32px, 4.4vw, 50px); }

/* ---------- note / honesty box ---------- */
.ln-note { background: #fff; border: 1px solid #e0e4f4; border-left: 4px solid var(--vs-violet-deep); border-radius: 10px; padding: 16px 20px; font-size: 14.5px; line-height: 1.7; color: #334155; }
.ln-note b { color: #14162b; }

/* ---------- cards grid ---------- */
.ln-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ln-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ln-grid .pod-card { height: 100%; margin: 0; }
@media (max-width: 991px) { .ln-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ln-grid, .ln-grid--2 { grid-template-columns: 1fr; } }

/* ---------- use cases ---------- */
.ln-case { background: #fff; border: 1px solid #e3e7f5; border-radius: 16px; padding: 30px 32px; box-shadow: var(--vs-shadow-1); }
.ln-case + .ln-case { margin-top: 26px; }
.ln-case__who { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-violet-deep); }
.ln-case h2 { font-size: 24px; line-height: 1.3; font-weight: 700; color: #14162b; margin: 10px 0 12px; }
.ln-case p { font-size: 15px; line-height: 1.75; color: #454d70; }
.ln-case__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.ln-case__cols h3 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #14162b; margin-bottom: 8px; }
.ln-case__cols p, .ln-case__cols li { font-size: 14px; line-height: 1.65; color: #454d70; }
.ln-case__cols ul { padding-left: 18px; margin: 0; }
@media (max-width: 860px) { .ln-case__cols { grid-template-columns: 1fr; } .ln-case { padding: 24px 20px; } }

/* ---------- docs ---------- */
.ln-docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.ln-docs__nav { position: sticky; top: 110px; border-left: 2px solid #e3e7f5; padding-left: 16px; }
.ln-docs__nav a { display: block; padding: 8px 0; font-size: 14px; color: #454d70; font-weight: 500; }
.ln-docs__nav a:hover { color: var(--vs-violet-deep); }
.ln-prose h2 { font-size: 26px; font-weight: 700; color: #14162b; margin: 56px 0 14px; scroll-margin-top: 110px; }
.ln-prose h2:first-child { margin-top: 0; }
.ln-prose h3 { font-size: 18px; font-weight: 700; color: #14162b; margin: 30px 0 10px; }
.ln-prose p, .ln-prose li { font-size: 15px; line-height: 1.75; color: #454d70; }
.ln-prose ul { padding-left: 20px; margin-bottom: 16px; }
.ln-prose ul li { list-style: disc; }
.ln-code { background: #0f1430; color: #e6e9ff; border-radius: 12px; padding: 18px 20px; margin: 14px 0 20px; overflow-x: auto; font: 500 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.ln-code .c { color: #8f97c2; }
.ln-code .s { color: #7ee0c4; }
.ln-code .k { color: #c9a2ff; }
.ln-table-wrap { overflow-x: auto; margin: 14px 0 22px; border: 1px solid #e3e7f5; border-radius: 12px; background: #fff; }
.ln-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.ln-table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #5b6486; background: #f6f7fd; padding: 11px 14px; border-bottom: 1px solid #e3e7f5; }
.ln-table td { padding: 11px 14px; font-size: 14px; line-height: 1.6; color: #334155; border-bottom: 1px solid #eef0f8; vertical-align: top; }
.ln-table tr:last-child td { border-bottom: 0; }
@media (max-width: 991px) {
    .ln-docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ln-docs__nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; border-left: 0; padding-left: 0; border-bottom: 1px solid #e3e7f5; padding-bottom: 12px; }
    .ln-docs__nav a { padding: 10px 0; }
}

/* ---------- architecture page: tables scroll instead of clipping on phones ---------- */
@media (max-width: 767px) {
    .ar-table-wrap, .bl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- cookie banner ---------- */
.cookie-banner__btn { min-height: 40px; }
.cookie-banner__msg p a { text-decoration: underline; }

/* ---------- "Planned" mark on the architecture capability list ---------- */
.ln-planned { display: inline-block; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #8a4a12; background: #fbede3; border: 1px solid #f0cfb4; border-radius: 999px; padding: 4px 8px; vertical-align: 1px; font-size: 12px !important; }
.ar-card h3 { font-size: 16px; font-weight: 700; color: #14162b; margin: 6px 0 6px; line-height: 1.35; }
.ar-step h3 { font-size: 15.5px; font-weight: 700; color: #14162b; margin: 6px 0 8px; line-height: 1.35; }
.ar-card code, .bl-figure figcaption code { font: 500 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- privacy page ---------- */
.post-tldr p, .post-tldr p strong { color: #e6e9ff; }
.post-tldr p a { color: #d7b2f9; }
.post-body ul { padding-left: 22px; margin: 0 0 18px; }
.post-body ul li { list-style: disc; font-size: 15.5px; line-height: 1.75; color: #454d70; margin-bottom: 8px; }
.post-body code { font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: #f3ebfe; color: #562a9e; padding: 2px 6px; border-radius: 5px; }
.post-body h3 { scroll-margin-top: 110px; }

/* ---------- palette: the template's coral (#ff656a) replaced by the product violet ---------- */
a:focus-visible, button:focus-visible { outline: 2px solid #d7b2f9; outline-offset: 2px; }

/* ---------- second pass: overflow, small text, tap targets ---------- */
.ln-docs > * { min-width: 0; }
.ln-prose { overflow-wrap: anywhere; }
.ln-table code { white-space: normal; }
.bl-related__label, .ar-step__n, .bl-group__head span, .bl-stats dt, .bl-body dl dt, .bl-hero dt, dl dt { font-size: 12px !important; }
.bl-body code, .bl-table code, .bl-ui code, .bl-figure code, figcaption code { font-size: 12.5px !important; }
.bl-meta a { display: inline-block; padding: 11px 0; }
.vs-footer__bottom a { display: inline-block; padding: 11px 0; }
.ln-note a { display: inline-block; padding: 10px 0; }
#cf-consent { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px !important; accent-color: #6d28d9; }
label[for="cf-consent"] { display: block; padding: 9px 0; line-height: 1.6; }
main p code, main li code, main td code, main figcaption code { color: #562a9e; }
.ai-hero code { color: #f0e0fe !important; }
@media (max-width: 991px) { .ln-docs__nav { width: 100%; max-width: 100%; box-sizing: border-box; } .ln-docs__nav a { white-space: nowrap; } }

/* ---------- third pass ---------- */
.ln-case a, .ln-prose a, .ln-row__text p a, .ln-list a { color: var(--vs-violet-deep); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(109, 40, 217,0.35); text-underline-offset: 3px; }
.ln-case a:hover, .ln-prose a:hover { color: #14162b; }
@media (min-width: 992px) {
    .ln-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .ln-row--wide-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.ln-table code { white-space: nowrap; }
.ln-table td:last-child code { white-space: normal; }
.ln-table td:first-child { min-width: 130px; }
.row > [class*="col-"] > .pod-card { height: 100%; }
.ar-card h4, .ar-step h4 { font-size: 16px; }
.bl-figures dt, .ar-counts dt { font-size: 12px !important; }
@media (max-width: 767px) {
    .pod-card a.more, .product-grid .recent-cap a, .single-recent-cap a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------- contrast (WCAG AA) ---------- */
.bl-group__head span, .bl-group__note, .bl-related__label, .bl-shot__note, .bl-card__read { color: #565f85 !important; }
.product-grid .recent-cap p, .single-recent-cap .recent-cap p { color: #565f85 !important; }

/* ---------- design standard: one slim sticky header, centred hero with a large screenshot ---------- */

.ai-hero.ln-hero { padding: 54px 0 0; text-align: center; }
.ln-hero .ln-hero__text h1 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.08; margin-bottom: 14px; }
.ln-hero .ln-hero__text p.lede { margin-left: auto; margin-right: auto; max-width: 760px; font-size: 17px; margin-bottom: 0; }
.ln-hero .ai-hero__cta { justify-content: center; margin-top: 22px; }
.ln-hero__facts { justify-content: center; margin-top: 18px; }
.ln-hero__shot { margin-top: 30px; max-width: 1080px; }
@media (max-width: 991px) { .ai-hero.ln-hero { padding-top: 40px; } .ln-hero__shot { margin-top: 28px; } }
.ai-hero.ln-hero { padding-top: 34px; }
.ln-hero .ai-hero__eyebrow { margin-bottom: 14px; }
.ln-hero .ln-hero__text { flex: 0 0 100%; max-width: 1040px; }
.ln-hero .ln-hero__text h1 { font-size: clamp(32px, 3.5vw, 50px); max-width: 1000px; margin-left: auto; margin-right: auto; }
.ln-hero .ln-hero__text p.lede { font-size: 16.5px; line-height: 1.6; max-width: 800px; }
.ln-hero .ai-hero__cta { margin-top: 18px; }
.ln-hero__facts { margin-top: 14px; gap: 8px 24px; }
.ln-hero__shot { margin-top: 24px; }
@media (max-width: 991px) {
    .ln-hero__facts { flex-direction: column; align-items: center; gap: 6px; }
    .ln-hero__facts span { text-align: left; max-width: 300px; }
    .ln-hero .ai-hero__eyebrow { font-size: 12px; }
    .ln-hero .ln-hero__text p.lede { font-size: 16px; }
}
@media (max-width: 991px) {
}

/* ---------- forms ---------- */
.ln-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-footer__form { flex-wrap: wrap; }
.ln-form-status { flex: 0 0 100%; margin: 6px 0 0; font-size: 13.5px; min-height: 0; }
.ln-form-status:empty { display: none; }

/* ---------- card accents: only on chosen parallel groups (max two per page) ---------- */
.pod-card::before { display: none; }
.pod-card.ln-acc { --acc: #6d28d9; --acc-soft: #f3ebfe; }
.pod-card.ln-acc--auth { --acc: #9a4514; --acc-soft: #fbede3; }
.pod-card.ln-acc--event { --acc: #8712f0; --acc-soft: #f6effc; }
.pod-card.ln-acc::before { display: block; background: var(--acc); opacity: 1; }
.pod-card.ln-acc .pod-card__badge { background: var(--acc-soft); color: var(--acc); }
.pod-card.ln-acc h3 > i { color: var(--acc); }
.pod-card.ln-acc ul.checks li::before { background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
/* cards that are not an accent group: the title icon sits in a tinted tile */
.pod-card:not(.ln-acc) h3 > i:first-child { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #f3ebfe; font-size: 15px; margin-right: 10px !important; vertical-align: middle; }
.pod-card h3 { line-height: 1.3; }
.ln-case { border-left: 4px solid var(--vs-violet-deep); }
/* footer mark uses the same glyph as the header */
.vs-brand__mark { display: inline-grid; place-items: center; }
.sh__mark svg { display: block; }
.pod-card:not(.ln-acc) h3:has(> i:first-child) { display: flex; align-items: flex-start; }
.pod-card:not(.ln-acc) h3 > i:first-child { flex: 0 0 34px; margin-top: -3px; }
#scrollUp { background: #6d28d9 !important; }
#scrollUp:hover { background: #ba84ec !important; }
