/* InsightAsk site styles on top of verticle-serve.css (tokens: --vs-*). Home page components, header and footer
   additions, and accessibility fixes. */

/* ---------- Accessibility and small fixes ---------- */
.pod-card__badge, .bl-card__img .cat, .post-tldr .lbl, .post-toc__lbl, .post-share .lbl { font-size: 12px !important; }
.vs-footer__col ul li a, .vs-footer__legal a { display: inline-block; padding: 4px 0; }
.vs-footer__addr { color: #9aa3c7; font-size: 14px; }
.vs-footer__brand-col p.tagline a { color: #e0cffd; }
.vs-footer__newsletter { grid-template-columns: 1fr auto; }
.vs-footer__newsletter p { color: #b4bcdc; }
.vs-footer__bottom, .vs-footer__bottom a { color: #a3acd0; }
@media (max-width: 800px) { .vs-footer__newsletter { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vs-footer__col ul li a, .vs-footer__legal a { padding: 10px 0; } .vs-footer__col ul li { margin-bottom: 0; }
    .vs-footer__social a { width: 44px; height: 44px; } }
html { scroll-behavior: smooth; }

/* Shared header kit (assets/css/site-header.css, unchanged): only the palette variables and the skip link are set here. */
:root { --sh-brand: #4f46e5; --sh-brand-2: #7c3aed; --sh-ink: #0b1020; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: #fff; color: var(--vs-violet-deep); font-weight: 600; padding: 10px 16px;
    border-radius: 8px; box-shadow: var(--vs-shadow-1); transition: top .15s; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--vs-cyan); outline-offset: 2px; }

/* ---------- Hero ---------- */
.ia-hero { padding: 120px 0 0; }
.ia-hero__copy { max-width: 860px; margin: 0 auto; text-align: center; }
.ia-hero h1 { font-size: 56px; }
.ia-hero p.lede { margin-left: auto; margin-right: auto; max-width: 720px; }
.ia-hero .ai-hero__cta { justify-content: center; }
.ia-hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none;
    color: #c8d0ff; font-size: 14.5px; }
.ia-hero__points i { color: var(--vs-cyan); margin-right: 8px; }
.ia-hero__shot { max-width: 1080px; margin: 56px auto 0; position: relative; }
.ia-hero__shot .ia-frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; margin-bottom: 0;
    box-shadow: 0 -10px 60px rgba(206, 181, 249, .14), 0 30px 80px rgba(0, 0, 0, .45); }
.ia-hero__note { line-height: 1.5; text-align: center; color: #5b6486; font-size: 14px; margin: 14px auto 0; max-width: 760px; padding: 0 16px; }

/* ---------- Framed product screenshot ---------- */
.ia-frame { margin: 0; background: #fff; border: 1px solid #d9def0; border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(11, 16, 32, .14); }
.ia-frame__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #eef1fa; border-bottom: 1px solid #d9def0; }
.ia-frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9cfe6; }
.ia-frame__bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: #5b6486; background: #fff; border: 1px solid #d9def0;
    border-radius: 6px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ia-frame img { display: block; width: 100%; height: auto; }
.ia-caption { color: #5b6486; font-size: 14px; line-height: 1.5; margin: 12px 2px 0; }

/* ---------- Sections ---------- */
.ia-section { padding: 88px 0; }
.ia-section--mist { background: var(--vs-mist); border-top: 1px solid var(--vs-line); border-bottom: 1px solid var(--vs-line); }
.ia-section--tight { padding-top: 40px; }
.ia-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.ia-head .vs-section-sub { margin-bottom: 0; }

/* Four outcomes */
.ia-outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ia-outcome { background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; padding: 26px 24px; border-top: 4px solid var(--c, var(--vs-violet)); }
.ia-outcome .k { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t, var(--vs-violet-deep)); margin-bottom: 10px; }
.ia-outcome h3 { font-size: 20px; font-weight: 700; color: var(--vs-ink); margin: 0 0 10px; }
.ia-outcome p { font-size: 15.5px; line-height: 1.6; color: #4a5070; margin: 0; }
.ia-outcome code, .ia-q { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.ia-q { display: block; margin-top: 14px; padding: 10px 12px; background: var(--vs-mist); border-radius: 8px; color: #33395c; line-height: 1.45; }

/* Alternating feature rows */
.ia-row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.ia-row:last-child { margin-bottom: 0; }
.ia-row--flip .ia-row__text { order: 2; }
.ia-row__text h3 { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--vs-ink); margin: 0 0 14px; letter-spacing: -.01em; }
.ia-row__text p { font-size: 16.5px; line-height: 1.65; color: #4a5070; margin: 0 0 16px; }
.ia-list { list-style: none; padding: 0; margin: 0 0 18px; }
.ia-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.55; color: #33395c; }
.ia-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: 13px; color: var(--vs-violet-deep); }
.ia-link { font-weight: 600; color: var(--vs-violet-deep); text-decoration: none; display: inline-block; padding: 8px 0; }
.ia-link:hover { color: var(--vs-violet); text-decoration: underline; }

/* Sources */
.ia-sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ia-source { background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; padding: 24px; }
.ia-source h3 { font-size: 17px; font-weight: 700; color: var(--vs-ink); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.ia-source h3 i { width: 34px; height: 34px; border-radius: 10px; background: var(--vs-grad-soft); color: var(--vs-violet-deep); display: inline-flex;
    align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.ia-source p { font-size: 14.5px; color: #5b6486; line-height: 1.55; margin: 0 0 14px; }
.ia-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ia-chips li { font-size: 13.5px; font-weight: 500; color: #262c4d; background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 999px; padding: 5px 12px; }
.ia-note { max-width: 860px; margin: 32px auto 0; text-align: center; color: #5b6486; font-size: 15px; line-height: 1.6; }

/* Governance grid */
.ia-gov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ia-gov__item { background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; padding: 26px 24px; }
.ia-gov__item i { font-size: 20px; color: var(--vs-violet-deep); margin-bottom: 14px; display: block; }
.ia-gov__item h3 { font-size: 18px; font-weight: 700; color: var(--vs-ink); margin: 0 0 8px; }
.ia-gov__item p { font-size: 15px; line-height: 1.6; color: #4a5070; margin: 0; }

/* Guardrails band */
.ia-guard { background: linear-gradient(135deg, #0b1020 0%, #1c2240 100%); color: #fff; }
.ia-guard .vs-section-title { color: #fff; }
.ia-guard .vs-section-sub { color: #cdd3f0; }
.ia-guard .vs-eyebrow { background: rgba(206, 181, 249, .14); color: #e0cffd; }
.ia-guard .ia-gov__item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.ia-guard .ia-gov__item i { color: #e0cffd; }
.ia-guard .ia-gov__item h3 { color: #fff; }
.ia-guard .ia-gov__item p { color: #cdd3f0; }
.ia-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.ia-modes li { border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: #cdd3f0; }
.ia-modes b { display: block; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; margin-bottom: 4px; }
.ia-status { margin: 28px auto 0; max-width: 900px; border: 1px solid rgba(250, 204, 21, .45); background: rgba(250, 204, 21, .08); border-radius: 12px;
    padding: 16px 20px; font-size: 15px; line-height: 1.6; color: #f3f4fb; }
.ia-status b { color: #fde68a; }

/* Deployment */
.ia-deploy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }

/* CTA */
.ia-cta { padding: 0 0 88px; }
.ia-cta .vs-cta-banner .vs-btn--light { background: #fff; color: var(--vs-violet-deep) !important; }
.ia-cta .vs-cta-banner .vs-btn--light:hover { background: #f1f0ff; transform: translateY(-2px); }

/* About page */
.ia-prose { max-width: 780px; margin: 0 auto; }
.ia-prose p { font-size: 17px; line-height: 1.7; color: #33395c; margin: 0 0 18px; }
.ia-prose a { color: var(--vs-violet-deep); font-weight: 600; }

/* Cookie banner buttons: 44px targets */
.cookie-banner__btn { min-height: 44px; }

@media (max-width: 1100px) {
    .ia-outcomes { grid-template-columns: repeat(2, 1fr); }
    .ia-sources, .ia-gov { grid-template-columns: repeat(2, 1fr); }
    .ia-modes { grid-template-columns: repeat(2, 1fr); }
    .ia-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
    .ia-row--flip .ia-row__text { order: 0; }
}
@media (max-width: 720px) {
    .ia-hero { padding-top: 96px; }
    .ia-hero h1 { font-size: 34px; }
    .ia-hero p.lede { font-size: 17px; }
    .ia-hero__shot { margin-top: 40px; }
    .ia-hero__points { flex-direction: column; align-items: center; gap: 8px; }
    .ia-section { padding: 60px 0; }
    .ia-head { margin-bottom: 32px; }
    .vs-section-title { font-size: 28px; }
    .ia-outcomes, .ia-sources, .ia-gov, .ia-deploy, .ia-modes { grid-template-columns: 1fr; }
    .ia-row__text h3 { font-size: 23px; }
    .ia-frame__bar { height: 26px; }
    .ia-frame__bar em { display: none; }
    /* Phones: show the top-left of each screen at a readable size instead of the whole 1440px capture */
    .ia-frame img { width: 185%; max-width: none; margin-left: -6.5%; }
    .ia-cta { padding-bottom: 60px; }
    .ai-subhero h1 { font-size: 32px; }
    .ai-subhero { padding: 96px 0 48px; }
}

/* ---------- Fixes found in review ---------- */
.post-tldr strong, .post-tldr b { color: #fff !important; }
.post-tldr a { color: #e0cffd !important; text-decoration: underline; }
.bl-usecase__who { font-size: 12px !important; }
.bl-back { padding: 11px 0; margin-bottom: 8px !important; }
.vs-footer .vs-brand { min-height: 44px; }

/* Contact form validation messages */
.contact-field label { color: #4a5070; }

@media (max-width: 720px) { .ia-sep { display: none; } .ia-note .ia-link { display: block; } }

/* ---------- Capabilities, teams, compliance, integrations ---------- */
.ia-gov--4 { grid-template-columns: repeat(4, 1fr); }
.ia-team .k, .ia-ext .k { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vs-violet-deep); margin-bottom: 10px; }
.ia-team h3 { align-items: flex-start; line-height: 1.3; margin-bottom: 14px; }
.ia-team .ia-list { margin: 0; }
.ia-teams { grid-template-columns: repeat(2, 1fr); }
.ia-badges, .ia-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 32px 0 0; }
.ia-badges li { font-size: 14px; font-weight: 700; color: var(--vs-ink); background: #fff; border: 1px solid #cfd5ea; border-radius: 10px; padding: 9px 18px; letter-spacing: .02em; }
.ia-trust li { font-size: 13.5px; font-weight: 600; color: var(--vs-ink); background: var(--vs-mist); border: 1px solid var(--vs-line); border-radius: 999px; padding: 8px 16px; }
.ia-trust i { color: var(--vs-violet-deep); margin-right: 6px; }
.ia-ext { margin-top: 20px; background: #fff; border: 1px solid var(--vs-line); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.ia-ext h3 { font-size: 22px; font-weight: 800; color: var(--vs-ink); margin: 0 0 8px; }
.ia-ext p { font-size: 15.5px; line-height: 1.6; color: #4a5070; margin: 0; }
.ia-ext .ia-chips li i { color: var(--vs-violet-deep); margin-right: 6px; }
.ia-cta { padding-top: 0; }
.ia-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ia-cta .vs-cta-banner .vs-btn--ghost { border-color: rgba(255, 255, 255, .6); }
.ia-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ia-stats div { background: #fff; border: 1px solid var(--vs-line); border-top: 4px solid var(--vs-violet); border-radius: 16px; padding: 26px 20px; text-align: center; }
.ia-stats b { display: block; font-size: 34px; font-weight: 800; color: var(--vs-ink); line-height: 1.1; margin-bottom: 8px; }
.ia-stats span { font-size: 14.5px; color: #4a5070; }
@media (max-width: 1100px) { .ia-gov--4, .ia-stats { grid-template-columns: repeat(2, 1fr); } .ia-ext { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .ia-gov--4, .ia-teams, .ia-stats { grid-template-columns: 1fr; } }

.ia-hero { padding-top: 56px; }
.ia-hero .ai-hero__eyebrow { margin-bottom: 16px; }
.ia-hero h1 { font-size: 52px; margin-bottom: 16px; }
.ia-hero p.lede { font-size: 18px; margin-bottom: 24px; }
.ia-hero__points { margin-top: 20px; }
.ia-hero__shot { margin-top: 34px; }
@media (max-width: 720px) {
    .ia-hero { padding-top: 40px; }
    .ia-hero h1 { font-size: 32px; }
    .ia-hero p.lede { font-size: 16.5px; }
    .ia-hero__shot { margin-top: 30px; }
}
@media (min-width: 992px) {
    .ia-hero { padding-top: 60px; }
    .ia-hero__copy { max-width: 1000px; }
    .ia-hero h1 { font-size: 48px; }
    .ia-hero__shot { margin-top: 40px; }
}

/* Chat captures: taller than the other screens; on phones show the answer column, not the app sidebar */
@media (min-width: 992px) { .ia-hero { padding-top: 24px; } .ia-hero h1 { font-size: 46px; margin-bottom: 14px; } .ia-hero__shot { margin-top: 16px; } .ia-hero p.lede { max-width: 860px; margin-bottom: 22px; } .ia-hero__points { margin-top: 18px; } }
@media (max-width: 720px) { .ia-frame--chat img { width: 172%; margin-left: -38%; } .ia-frame--answer img { width: 100%; margin-left: 0; } }
