/* Metric-matched fallback so text does not shift when Inter loads (fonts load without blocking render) */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }
/*
 * IncrediChat marketing site, design v2 (loaded AFTER bootstrap and the legacy inline styles in _Layout).
 * Part A re-skins Bootstrap + legacy classes so untouched pages inherit the new look.
 * Part B holds the new marketing components (all prefixed "ic-").
 */

/* ============================== tokens ============================== */
:root {
    --ink: #0B1627;
    --ink-2: #4A5568;
    --ink-3: #5F6E84;
    --line: #E3E9F2;
    --mist: #F5F9FD;
    --brand: #1964EC;
    --brand-dark: #1553CC;
    --brand-deep: #0B3A8F;
    --sky: #CFE8FB;
    --sky-2: #EAF5FD;
    --ok: #12805C;
    --serif: 'Instrument Serif', Georgia, serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;

    /* legacy variables used all over the existing views */
    --primary: #1964EC;
    --primary-dark: #1553CC;
    --secondary: #12805C;
    --dark: #0B1627;
    --light: #F5F9FD;

    --bs-body-font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: #0B1627;
    --bs-primary: #1964EC;
    --bs-primary-rgb: 25, 100, 236;
    --bs-link-color: #1964EC;
    --bs-link-color-rgb: 25, 100, 236;
    --bs-link-hover-color: #1553CC;
    --bs-border-color: #E3E9F2;
    --bs-secondary-color: #4A5568;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Inter Fallback', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; background: #fff; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.025em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.text-muted { color: #4A5568 !important; }

/* ===================== A. legacy re-skin ===================== */
.btn { font-weight: 500; border-radius: 99px; }
.btn-primary {
    --bs-btn-bg: #1964EC; --bs-btn-border-color: #1964EC; --bs-btn-hover-bg: #1553CC; --bs-btn-hover-border-color: #1553CC;
    --bs-btn-active-bg: #1146B0; --bs-btn-active-border-color: #1146B0;
    background: var(--brand); border-color: var(--brand); border-radius: 99px; font-weight: 500;
    box-shadow: 0 6px 18px -8px rgba(25, 100, 236, .65);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-primary { color: var(--ink); border-color: var(--line); background: #fff; border-radius: 99px; font-weight: 500; }
.btn-outline-primary:hover { background: var(--mist); border-color: #BBD0EA; color: var(--ink); }
.btn-light { border-radius: 99px; font-weight: 500; }
.btn-outline-light { border-radius: 99px; }
.btn-success { border-radius: 99px; }
.btn-outline-success { border-radius: 99px; }
.badge { font-weight: 500; }

.hero-section {
    background:
        radial-gradient(48% 36% at 8% 20%, #A9D8F7 0, transparent 70%),
        radial-gradient(48% 36% at 96% 28%, #B4DCFA 0, transparent 70%),
        radial-gradient(70% 28% at 50% 100%, rgba(255, 255, 255, .7), transparent 75%),
        linear-gradient(180deg, #E9F6FD 0%, #C4E3FA 100%);
}
.hero-section::before { display: none; }
.hero-title { font-weight: 500; letter-spacing: -.035em; }
.section-title { font-weight: 500; letter-spacing: -.03em; }
.feature-card, .pricing-card { border: 1px solid var(--line); box-shadow: none; border-radius: 16px; }
.feature-card:hover { transform: none; box-shadow: 0 24px 50px -30px rgba(25, 100, 236, .45); border-color: #BBD0EA; }
.pricing-card.featured { border-color: var(--brand); box-shadow: 0 30px 60px -30px rgba(25, 100, 236, .45); }
.cta-section {
    background: radial-gradient(60% 90% at 80% 0, rgba(70, 150, 255, .5), transparent 70%), linear-gradient(160deg, #1953C1, #0A2D78 70%, #062158);
}
.accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.accordion-button { font-weight: 500; background: transparent; box-shadow: none; }
.accordion-button:not(.collapsed) { color: var(--brand); background: transparent; box-shadow: none; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25, 100, 236, .12); }
.card { border-radius: 16px; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -16px rgba(11, 40, 100, .25); padding: 6px; }
.dropdown-item { border-radius: 8px; }
.dropdown-item:hover { background: var(--mist); color: var(--brand); }
.skip-link:focus { background: var(--ink); color: #fff; }

/* ===================== B. new components ===================== */
.ic-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ic-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px 5px 6px; }
.ic-eyebrow b { background: var(--brand); color: #fff; font-weight: 500; border-radius: 99px; padding: 2px 9px; font-size: .7rem; }
.ic-lead { color: var(--ink-2); font-size: 1.1rem; max-width: 560px; }
.ic-center { text-align: center; }
.ic-center .ic-lead { margin-left: auto; margin-right: auto; }
.ic-h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.06; }
.ic-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.ic-h1 .serif, .ic-h2 .serif { font-size: 1.08em; }
.ic-mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }

.ic-btn { display: inline-flex; align-items: center; gap: 8px; font: 500 .95rem 'Inter', 'Inter Fallback', sans-serif; padding: 12px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer; transition: .15s; text-decoration: none; white-space: nowrap; }
.ic-btn-blue { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px rgba(25, 100, 236, .65); }
.ic-btn-blue:hover { background: var(--brand-dark); color: #fff; }
.ic-btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.ic-btn-white:hover { border-color: #BBD0EA; color: var(--ink); }
.ic-btn-ink { background: var(--ink); color: #fff; }
.ic-btn-ink:hover { background: #17243a; color: #fff; }
.ic-btn-sm { padding: 9px 18px; font-size: .88rem; }

/* navigation: floating pill */
.ic-nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 1030; }
.ic-nav-in { max-width: 1020px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); border: 1px solid rgba(227, 233, 242, .95); border-radius: 99px; padding: 8px 10px 8px 20px; position: relative; }
.ic-nav-logo img { height: 30px; width: auto; display: block; }
.ic-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.ic-links > li > a, .ic-links > li > button { display: block; font-size: .92rem; color: var(--ink-2); padding: 8px 14px; border-radius: 99px; background: none; border: 0; text-decoration: none; cursor: pointer; }
.ic-links > li > a:hover, .ic-links > li > button:hover, .ic-links > li > a.on { color: var(--ink); background: var(--mist); }
.ic-nav-cta { display: flex; gap: 6px; align-items: center; }
.ic-nav-cta .login { font-size: .92rem; color: var(--ink-2); padding: 8px 14px; text-decoration: none; }
.ic-nav-cta .login:hover { color: var(--ink); }
.ic-menu-btn { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; color: var(--ink); }
.ic-nav .dropdown-menu { margin-top: 12px; min-width: 240px; }

/* hero: gradient stops at the fold, the real dashboard is cropped by it */
.ic-hero { position: relative; padding: 128px 0 0; text-align: center; height: max(100vh, 780px); display: flex; flex-direction: column; overflow: hidden; }
.ic-hero-bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(38% 30% at 50% 4%, rgba(255, 255, 255, .85), transparent 72%),
    radial-gradient(48% 36% at 6% 24%, #A9D8F7 0, transparent 70%),
    radial-gradient(48% 36% at 96% 30%, #B4DCFA 0, transparent 70%),
    radial-gradient(70% 28% at 50% 66%, rgba(70, 160, 245, .38), transparent 72%),
    radial-gradient(60% 24% at 50% 100%, rgba(255, 255, 255, .7), transparent 75%),
    linear-gradient(180deg, #E9F6FD 0%, #C4E3FA 55%, #A8D3F6 100%); }
.ic-hero-bg::before, .ic-hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.ic-hero-bg::before { width: 46%; height: 34%; left: -8%; top: 38%; background: rgba(255, 255, 255, .55); }
.ic-hero-bg::after { width: 42%; height: 30%; right: -8%; top: 46%; background: rgba(255, 255, 255, .5); }
.ic-hero .ic-wrap { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 0; }
.ic-hero h1 { max-width: 820px; margin: 20px auto 18px; }
.ic-hero .ic-lead { margin: 0 auto 26px; }
.ic-hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ic-hero-note { margin-top: 16px; font-size: .84rem; color: var(--ink-3); }
.ic-stage { position: relative; margin: 42px auto 0; width: 100%; max-width: 1060px; flex: 1; min-height: 280px; }
.ic-stage-frame { position: relative; height: 100%; overflow: hidden; border-radius: 18px 18px 0 0; padding: 10px 10px 0; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); border-bottom: 0; box-shadow: 0 0 0 1px rgba(25, 100, 236, .08), 0 -10px 80px -10px rgba(25, 100, 236, .35); }
.ic-stage-frame img { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.ic-stage-widget { position: absolute; right: -36px; bottom: -150px; width: 330px; z-index: 3; pointer-events: none; }
.ic-stage-widget img { display: block; width: 100%; height: auto; }

/* sections */
.ic-sec { padding: 110px 0; }
.ic-soft { background: var(--mist); }
.ic-head { margin-bottom: 56px; }
.ic-head .ic-h2 { margin: 16px 0 0; }
.ic-strip { padding: 90px 0 10px; text-align: center; }
.ic-strip p { color: var(--ink-3); font-size: .9rem; margin-bottom: 26px; }
.ic-strip div { display: flex; flex-wrap: wrap; gap: 14px 46px; justify-content: center; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink-3); }

.ic-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.ic-split.rev { grid-template-columns: 1.1fr 1fr; }
.ic-split.rev > :first-child { order: 2; }
.ic-split .ic-h2 { margin: 16px 0 14px; }
.ic-checks { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ic-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ic-checks svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 1.8; margin-top: 2px; }
.ic-checks b { font-weight: 500; display: block; }
.ic-checks span { color: var(--ink-2); font-size: .92rem; }
.ic-panel { border-radius: 20px; background: linear-gradient(160deg, #D6ECFB, #F2F9FE); border: 1px solid var(--line); padding: 30px; position: relative; overflow: hidden; display: grid; place-items: center; min-height: 420px; }
.ic-panel img { display: block; max-width: 100%; height: auto; }
.ic-panel .shot { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 40, 100, .35); }
.ic-panel .widget { width: min(340px, 100%); }
.ic-panel .widget-float { position: absolute; right: -16px; bottom: -40px; width: 250px; }
.ic-caption { margin-top: 14px; font-size: .82rem; color: var(--ink-3); text-align: center; }

.ic-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ic-step { padding: 34px 30px 10px; border-right: 1px solid var(--line); }
.ic-step:first-child { padding-left: 0; }
.ic-step:last-child { border: 0; }
.ic-step .ic-mono { color: var(--brand); }
.ic-step h3 { margin: 44px 0 10px; font-size: 1.3rem; font-weight: 500; }
.ic-step p { color: var(--ink-2); font-size: .95rem; }
.ic-code { display: block; margin-top: 16px; background: var(--ink); color: #C9DAFF; font: 400 .72rem/1.6 var(--mono); padding: 12px 14px; border-radius: 10px; overflow: auto; white-space: pre; }

.ic-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.ic-stats div { padding: 6px 28px; border-left: 1px solid var(--line); }
.ic-stats div:first-child { border: 0; padding-left: 0; }
.ic-stats b { display: block; font-size: 3rem; font-weight: 400; letter-spacing: -.04em; font-family: var(--serif); }
.ic-stats span { color: var(--ink-2); font-size: .92rem; }

.ic-fgrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ic-fgrid > div, .ic-fgrid > a { padding: 28px 24px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; display: block; }
.ic-fgrid > a:hover { background: var(--sky-2); }
.ic-fgrid svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; margin-bottom: 34px; }
.ic-fgrid h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.ic-fgrid p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* pricing band */
.ic-band { background:
    radial-gradient(50% 60% at 15% 0, rgba(70, 150, 255, .35), transparent 70%),
    radial-gradient(50% 60% at 90% 100%, rgba(25, 100, 236, .45), transparent 70%),
    linear-gradient(180deg, #1953C1 0%, #0F3D97 62%, #062158 100%); color: #fff; padding: 150px 0 120px; position: relative; }
.ic-band .ic-lead { color: #BBD6FF; margin: 0 auto; }
.ic-band .ic-eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #D3E6FF; }
.ic-band .ic-eyebrow b { background: #fff; color: var(--brand-deep); }
.ic-band h1 { margin: 22px auto 16px; max-width: 700px; }
.ic-toggle { display: inline-flex; margin: 34px 0 54px; padding: 4px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.ic-toggle button { font: 500 .88rem 'Inter', 'Inter Fallback', sans-serif; color: #D3E6FF; background: none; border: 0; border-radius: 99px; padding: 9px 22px; cursor: pointer; }
.ic-toggle button.on { background: #fff; color: var(--brand-deep); }
.ic-toggle small { font-size: .7rem; opacity: .75; margin-left: 4px; }
.ic-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; align-items: stretch; }
.ic-plan { border-radius: 20px; padding: 30px 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); display: flex; flex-direction: column; }
.ic-plan.pop { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.ic-plan header { display: flex; justify-content: space-between; align-items: center; }
.ic-plan h3 { font-size: 1.05rem; font-weight: 500; margin: 0; }
.ic-tag { font-size: .68rem; background: var(--brand); color: #fff; border-radius: 99px; padding: 3px 10px; }
.ic-plan .desc { font-size: .88rem; opacity: .75; margin: 8px 0 26px; min-height: 42px; }
.ic-price { font-size: 3.4rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; font-family: var(--serif); }
.ic-price small { font: 400 .9rem 'Inter', 'Inter Fallback', sans-serif; opacity: .7; letter-spacing: 0; margin-left: 4px; }
.ic-bill { font-size: .8rem; opacity: .65; margin: 8px 0 24px; min-height: 20px; }
.ic-plan .ic-btn { justify-content: center; width: 100%; }
.ic-plan:not(.pop) .ic-btn { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.ic-plan:not(.pop) .ic-btn:hover { background: rgba(255, 255, 255, .2); }
.ic-plan hr { border: 0; border-top: 1px solid currentColor; opacity: .14; margin: 26px 0 18px; }
.ic-plan .inc { font-size: .76rem; opacity: .6; margin-bottom: 12px; }
.ic-plan ul { list-style: none; display: grid; gap: 11px; font-size: .9rem; margin: 0; padding: 0; }
.ic-plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.ic-plan li svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; margin-top: 3px; opacity: .9; }
.ic-plan.pop li svg { stroke: var(--brand); }
.ic-plan li.no { opacity: .8; } /* excluded rows carry a cross; text stays above 4.5:1 */
.ic-plan li.no svg { opacity: .75; }
.ic-ent { margin-top: 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; background: rgba(0, 0, 0, .14); }
.ic-ent h3 { margin: 0; font-size: 1.2rem; font-weight: 500; }
.ic-ent p { opacity: .75; font-size: .92rem; margin: 4px 0 0; }
.ic-ent .ic-btn { background: #fff; color: var(--brand-deep); }
.ic-quiz { margin-top: 26px; font-size: .9rem; color: #BBD6FF; }
.ic-quiz a, .ic-quiz button { color: #fff; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* position: relative keeps the absolutely positioned visually-hidden cell text inside the scroller (WCAG 1.4.10) */
.ic-cmp-scroll { overflow-x: auto; position: relative; }
table.ic-cmp { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 40px; }
.ic-cmp th, .ic-cmp td { padding: 15px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.ic-cmp th:first-child, .ic-cmp td:first-child { text-align: left; color: var(--ink-2); width: 38%; }
.ic-cmp thead th { font-weight: 500; padding-bottom: 18px; }
.ic-cmp tr.g td { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); text-align: left; padding-top: 34px; border-bottom-color: var(--ink); }
.ic-cmp .y { color: var(--brand); font-weight: 600; }
.ic-cmp .n { color: var(--ink-3); }
.ic-cmp .y svg, .ic-cmp .n svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; vertical-align: -4px; }

.ic-faq { max-width: 820px; margin: 0 auto; }
.ic-faq details { border-bottom: 1px solid var(--line); }
.ic-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 1.05rem; }
.ic-faq summary::-webkit-details-marker { display: none; }
.ic-faq summary:after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; color: var(--ink-3); transition: .2s; }
.ic-faq details[open] summary:after { transform: rotate(45deg); color: var(--brand); }
.ic-faq p { padding: 0 40px 24px 0; color: var(--ink-2); margin: 0; }

.ic-cta { margin: 0 24px; border-radius: 28px; background: radial-gradient(60% 90% at 80% 0, rgba(70, 150, 255, .5), transparent 70%), linear-gradient(160deg, #1953C1, #0A2D78 70%, #062158); color: #fff; text-align: center; padding: 100px 24px; }
.ic-cta h2 { max-width: 720px; margin: 0 auto 18px; }
.ic-cta p { color: #BBD6FF; margin-bottom: 32px; }
.ic-cta .ic-btn-white { border-color: transparent; }
.ic-cta .ic-btn-line { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* contact */
.ic-contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.ic-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 30px 60px -40px rgba(22, 34, 122, .25); }
.ic-form-card h2 { font-size: 1.4rem; font-weight: 500; margin-bottom: 24px; }
.ic-info { border-top: 1px solid var(--line); margin-bottom: 26px; }
.ic-info div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ic-info span { font-size: .92rem; color: var(--ink-2); }
.ic-dark-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.ic-dark-card h3 { font-size: 1.25rem; font-weight: 500; }
.ic-dark-card p { color: #A9BAD2; margin: 8px 0 20px; font-size: .92rem; }
.ic-socials { display: flex; gap: 10px; margin-top: 26px; }
.ic-socials a { font-size: .85rem; border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px; color: var(--ink-2); text-decoration: none; }
.ic-socials a:hover { border-color: var(--brand); color: var(--brand); }

/* footer */
.ic-footer { background: var(--ink); color: #fff; margin-top: -28px; padding: 130px 0 40px; }
.ic-footer.no-cta { margin-top: 0; padding-top: 70px; }
.ic-fcols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.ic-footer p, .ic-footer a { color: #97A8BF; font-size: .9rem; }
.ic-footer a { display: block; margin-top: 10px; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.ic-footer a:hover { color: #fff; }
.ic-footer h5, .ic-footer h3.ic-foot-title { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #8494AC; margin: 0; }
.ic-footer img { height: 34px; width: auto; }
.ic-legal { margin-top: 70px; padding-top: 24px; border-top: 1px solid #1C2B42; display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: #8494AC; flex-wrap: wrap; }

/* ===================== responsive ===================== */
@media (max-width: 991px) {
    .ic-menu-btn { display: block; }
    .ic-links, .ic-nav-cta .login { display: none; }
    .ic-nav.open .ic-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 24px 50px -20px rgba(11, 40, 100, .35); }
    .ic-split, .ic-split.rev, .ic-plans, .ic-steps, .ic-contact, .ic-fcols { grid-template-columns: 1fr; }
    .ic-split.rev > :first-child { order: 0; }
    .ic-stats, .ic-fgrid { grid-template-columns: 1fr 1fr; }
    .ic-step { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .ic-ent { flex-direction: column; align-items: flex-start; }
    .ic-stage-widget { display: none; }
    .ic-hero { height: auto; min-height: 0; padding-bottom: 0; }
    .ic-stage { min-height: 0; }
    .ic-stage-frame { height: auto; }
    .ic-sec { padding: 72px 0; }
}
@media (max-width: 575px) {
    .ic-stats, .ic-fgrid { grid-template-columns: 1fr; }
    .ic-stats div { border-left: 0; padding-left: 0; }
    .ic-band { padding: 120px 0 80px; }
}
/* the nav pill (logo, trial button, menu) must fit a 320px screen without clipping */
@media (max-width: 420px) {
    .ic-nav { padding: 0 8px; }
    .ic-nav-in { padding: 6px 6px 6px 14px; }
    .ic-nav-logo img { height: 24px; }
    .ic-nav-cta .ic-btn-sm { padding: 8px 12px; font-size: .82rem; }
}

.ic-nav.scrolled .ic-nav-in { box-shadow: 0 10px 30px -14px rgba(11, 40, 100, .25); }

.ic-h1, .ic-h2 { text-wrap: balance; }
.accessibility-btn { background: var(--brand) !important; box-shadow: 0 8px 22px -8px rgba(25, 100, 236, .6) !important; }
/* Focus ring as in Dashboard focus.css: 3px #1964EC, with a white gap so the ring stays visible on the blue button.
   Ring vs page: 5.15:1 on #FFFFFF, 4.87:1 on #F5F9FD, 4.07:1 on #CFE8FB, 3.52:1 on the #0B1627 footer (WCAG 1.4.11, 2.4.7). */
.accessibility-btn:focus-visible { outline: 3px solid #1964EC !important; outline-offset: 3px !important; box-shadow: 0 0 0 3px #fff !important; }

.ic-panel { padding: 26px; }
.ic-panel .widget-float { right: -20px; bottom: -36px; width: 235px; }

.ic-split { grid-template-columns: .85fr 1.25fr; gap: 56px; }
.ic-split.rev { grid-template-columns: 1.25fr .85fr; }
@media (max-width: 991px) { .ic-split, .ic-split.rev { grid-template-columns: 1fr; } }

.ic-footer button { display: block; margin-top: 10px; background: none; border: 0; padding: 0; color: #97A8BF; font-size: .9rem; text-align: left; cursor: pointer; }
.ic-footer button:hover { color: #fff; }

/* Legacy chat mock-ups used across the older pages: align them with the new widget look */
.bg-light { background-color: var(--mist) !important; }
.chat-preview { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(11, 40, 100, .35); }
.chat-header { background: #fff !important; color: var(--ink) !important; border-bottom: 1px solid var(--line); }
.chat-header .rounded-circle { background: var(--brand) !important; color: #fff; }
.chat-messages { background: #fff; }
.chat-message.bot .message-bubble { background: var(--mist); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.chat-message.user .message-bubble { background: var(--brand); color: #fff; border-radius: 10px; }
.message-bubble { border-radius: 10px; }
.stats-number { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }

.section-title::after, .section-title:after { background: var(--brand) !important; }

@media (max-width: 991px) {
    .ic-panel[style*="grid-auto-flow"] { grid-auto-flow: row !important; }
    .ic-panel .widget { width: min(300px, 100%); }
    .ic-panel .widget-float { width: 170px; right: -8px; bottom: -24px; }
    .ic-code { max-width: 100%; }
}

.ic-step, .ic-split > *, .ic-contact > * { min-width: 0; }

@media (max-width: 767px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* media kit */
.mk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mk-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mk-card.wide { grid-column: 1 / -1; }
.mk-view { display: grid; place-items: center; min-height: 230px; padding: 30px; }
.mk-card.wide .mk-view { min-height: 200px; }
.mk-light { background: #fff; background-image: linear-gradient(45deg, #F5F9FD 25%, transparent 25%, transparent 75%, #F5F9FD 75%), linear-gradient(45deg, #F5F9FD 25%, transparent 25%, transparent 75%, #F5F9FD 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.mk-mist { background: #F5F8FA; }
.mk-navy { background: #0B1627; }
.mk-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 20px 22px; border-top: 1px solid var(--line); flex: 1; }
.mk-meta h3 { font-size: 1rem; font-weight: 500; margin: 0 0 4px; }
.mk-meta p { font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; }
.mk-meta code, .mk-table code, .ic-lead code { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); background: var(--mist); border-radius: 6px; padding: 2px 7px; }
.mk-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 56px; }
.mk-two > * { min-width: 0; } /* let the code samples scroll inside their pre instead of widening the page */
.mk-h { font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.mk-code { position: relative; margin-top: 14px; }
.mk-code pre { background: var(--ink); color: #C9DAFF; font: 400 .76rem/1.65 var(--mono); border-radius: 12px; padding: 16px 18px; margin: 0; overflow: auto; }
.mk-copy { position: absolute; top: 10px; right: 10px; font: 500 .7rem 'Inter', 'Inter Fallback', sans-serif; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.mk-copy:hover { background: rgba(255, 255, 255, .22); }
.mk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mk-list li { font-size: .92rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.mk-list li:before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.mk-list b { color: var(--ink); font-weight: 500; }
.mk-table td, .mk-table th { text-align: left !important; }
.mk-table th:first-child { width: 36%; }
.mk-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mk-swatches div { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.mk-swatches i { display: block; height: 84px; }
.mk-swatches b { display: block; font-weight: 500; font-size: .85rem; padding: 10px 12px 0; }
.mk-swatches span { display: block; font: 400 .72rem var(--mono); color: var(--ink-3); padding: 0 12px 10px; }
@media (max-width: 991px) {
    .mk-grid, .mk-two { grid-template-columns: 1fr; }
    .mk-swatches { grid-template-columns: repeat(2, 1fr); }
    .mk-meta { flex-direction: column; }
}

/* Text on 10% tints and code: Bootstrap's default text colours fall under 4.5:1 there (WCAG 1.4.3) */
:root { --bs-code-color: #B5246F; }
.bg-opacity-10.text-primary, .bg-primary.bg-opacity-10 a:not(.btn) { color: var(--brand-dark) !important; }
.bg-opacity-10.text-success { color: #146C43 !important; }
.bg-opacity-10.text-danger { color: #B02A37 !important; }
.bg-opacity-10.text-warning { color: #8A6500 !important; }
.bg-opacity-10.text-info { color: #06697E !important; }
.bg-light a.text-success { color: #146C43 !important; }
.bg-light .text-success { color: #146C43 !important; } /* Features analytics mock-up: 6.10:1 on #F5F9FD (was 4.28:1) */
.cta-section .lead.opacity-75 { opacity: 1 !important; } /* white on the #1964EC to #7C3AED gradient: 5.15:1 (was 3.59:1 at 75%) */
