/* ==========================================================================
   DHIVE — Solution product pages (/Solutions/*.html)
   One shared layout; each product sets its own colours, hero pattern and
   demo via the body class (sx-lumi, sx-entry, sx-ocr, sx-info, sx-auto,
   sx-viz, sx-docai). Built on the tokens in /theme.css (light + dark).
   ========================================================================== */

/* ---------- Product palettes ---------- */
.sx-lumi  { --p: #0ea5e9; --p2: #6366f1; --p-ink: #0369a1; --p-ink-d: #38bdf8; --on-p: #fff; }
.sx-entry { --p: #10b981; --p2: #0d9488; --p-ink: #047857; --p-ink-d: #34d399; --on-p: #fff; }
.sx-ocr   { --p: #f59e0b; --p2: #ea580c; --p-ink: #b45309; --p-ink-d: #fbbf24; --on-p: #1c1300; }
.sx-info  { --p: #ec4899; --p2: #8b5cf6; --p-ink: #be185d; --p-ink-d: #f472b6; --on-p: #fff; }
.sx-auto  { --p: #ef4444; --p2: #f97316; --p-ink: #b91c1c; --p-ink-d: #f87171; --on-p: #fff; }
.sx-viz   { --p: #0078d4; --p2: #06b6d4; --p-ink: #0063b1; --p-ink-d: #4cc2ff; --on-p: #fff; }
.sx-docai { --p: #7c3aed; --p2: #4f46e5; --p-ink: #6d28d9; --p-ink-d: #a78bfa; --on-p: #fff; }

.page-solution {
    --p-text: var(--p-ink);
    --p-soft: color-mix(in srgb, var(--p) 12%, transparent);
    --p-line: color-mix(in srgb, var(--p) 35%, transparent);
    --p-grad: linear-gradient(135deg, var(--p) 0%, var(--p2) 100%);
    background: var(--bg);
}
:root[data-theme="dark"] .page-solution {
    --p-text: var(--p-ink-d);
    --p-soft: color-mix(in srgb, var(--p) 18%, transparent);
}

/* ---------- Hero ---------- */
.sx-hero {
    position: relative;
    padding: calc(var(--nav-h) + 4rem) 0 5rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(50% 60% at 85% 35%, color-mix(in srgb, var(--p) 18%, transparent) 0%, transparent 70%),
        radial-gradient(40% 50% at 10% 90%, color-mix(in srgb, var(--p2) 12%, transparent) 0%, transparent 70%),
        var(--bg-alt);
}
.sx-hero::before {
    /* product-specific pattern, set below */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.9;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 0%, transparent 75%);
}
.sx-lumi .sx-hero::before  { background-image: radial-gradient(color-mix(in srgb, var(--p) 35%, transparent) 1.2px, transparent 1.6px); background-size: 22px 22px; }
.sx-entry .sx-hero::before { background-image: repeating-radial-gradient(circle at 75% 45%, transparent 0 22px, color-mix(in srgb, var(--p) 16%, transparent) 22px 23px); }
.sx-ocr .sx-hero::before   { background-image: repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--p) 22%, transparent) 31px 32px); }
.sx-info .sx-hero::before  { background-image: linear-gradient(color-mix(in srgb, var(--p) 14%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--p) 14%, transparent) 1px, transparent 1px); background-size: 44px 44px; }
.sx-auto .sx-hero::before  { background-image: repeating-linear-gradient(115deg, transparent 0 46px, color-mix(in srgb, var(--p) 12%, transparent) 46px 48px); }
.sx-viz .sx-hero::before   { background-image: radial-gradient(color-mix(in srgb, var(--p) 40%, transparent) 1.5px, transparent 2px), linear-gradient(90deg, color-mix(in srgb, var(--p) 10%, transparent) 1px, transparent 1px); background-size: 32px 32px, 96px 96px; }
.sx-docai .sx-hero::before { background-image: repeating-linear-gradient(45deg, transparent 0 26px, color-mix(in srgb, var(--p) 10%, transparent) 26px 27px), repeating-linear-gradient(-45deg, transparent 0 26px, color-mix(in srgb, var(--p) 10%, transparent) 26px 27px); }

.sx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3.5rem;
    align-items: center;
}

.sx-crumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.sx-crumb a { color: var(--text-muted); }
.sx-crumb a:hover { color: var(--p-text); }

.sx-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.sx-badge img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; }

.sx-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 1.25rem;
}
.sx-grad {
    background: var(--p-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sx-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); line-height: 1.65; margin-bottom: 2rem; max-width: 560px; }

.sx-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.sx-btn,
.sx-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}
.sx-btn {
    background: var(--p-grad);
    color: var(--on-p);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--p) 40%, transparent);
}
.sx-btn:hover, .sx-btn:focus { color: var(--on-p); text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 34px color-mix(in srgb, var(--p) 50%, transparent); }
.sx-btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.sx-btn-ghost:hover, .sx-btn-ghost:focus { color: var(--text); text-decoration: none; border-color: var(--p); transform: translateY(-2px); }

.sx-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.sx-pills li { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
.sx-pills i { color: var(--p-text); }

/* ---------- Demo stage (shared) ---------- */
.sx-hero-visual { position: relative; }
.sx-stage {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg), 0 40px 90px -40px color-mix(in srgb, var(--p) 60%, transparent);
    overflow: hidden;
}
.sx-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    animation: sx-float 5s ease-in-out infinite;
}
.sx-float i { color: var(--p-text); }
.sx-float.f1 { top: -18px; left: -22px; }
.sx-float.f2 { bottom: -18px; right: -14px; animation-delay: -2.5s; }
@keyframes sx-float { 50% { transform: translateY(-8px); } }

/* sequence helpers (driven by solutions.js) */
.seq-hide:not(.on) { display: none !important; }
.seq-hide.on { animation: sx-pop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.seq-fade { opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; }
.seq-fade.on { opacity: 1; }
@keyframes sx-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

.seq-check { display: flex; align-items: center; gap: 0.6rem; color: var(--text-muted); font-size: 0.88rem; transition: color 0.3s ease; }
.seq-check .ck {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%;
    border: 2px dashed var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.65rem; color: transparent;
    transition: all 0.3s ease;
}
.seq-check.on { color: var(--text); font-weight: 600; }
.seq-check.on .ck { border: 0; background: var(--p-grad); color: var(--on-p); transform: scale(1.05); }

/* ---------- Highlights band ---------- */
.sx-highlights { padding: 0; margin-top: -2.5rem; position: relative; z-index: 2; }
.sx-hl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.sx-hl { padding: 1.5rem 1.4rem; display: flex; gap: 0.9rem; align-items: flex-start; }
.sx-hl + .sx-hl { border-left: 1px solid var(--border); }
.sx-hl i {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--p-soft);
    color: var(--p-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.sx-hl strong { display: block; font-size: 0.98rem; color: var(--text); margin-bottom: 0.15rem; }
.sx-hl span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.sx-section { padding: 6rem 0; background: var(--bg); color: var(--text); }
.sx-section.alt { background: var(--bg-alt); }
.sx-head { text-align: center; max-width: 720px; margin: 0 auto 3.25rem; }
.sx-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--p-text);
    margin-bottom: 0.7rem;
}
.sx-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.sx-head p { color: var(--text-muted); font-size: 1.06rem; margin: 0; }

/* features */
.sx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sx-card {
    position: relative;
    padding: 1.75rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
.sx-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--p-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.sx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--p-line); }
.sx-card:hover::before { transform: scaleX(1); }
.sx-card .sx-ic {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--p-soft);
    color: var(--p-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}
.sx-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.5rem; }
.sx-card p { color: var(--text-muted); line-height: 1.6; margin: 0; font-size: 0.95rem; }
.sx-card ul { margin: 0.85rem 0 0; padding: 0; list-style: none; }
.sx-card li { position: relative; padding-left: 1.3rem; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.sx-card li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0.15rem; font-size: 0.7rem; color: var(--p-text); }

/* steps */
.sx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.sx-step {
    counter-increment: step;
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.sx-step::before {
    content: "0" counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--p-grad);
    color: var(--on-p);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 6px var(--p-soft);
}
.sx-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(1.75rem + 22px);
    left: calc(1.5rem + 56px);
    right: -1.25rem;
    border-top: 2px dashed var(--p-line);
}
.sx-step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.4rem; }
.sx-step p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; margin: 0; }

/* use cases */
.sx-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.sx-use {
    padding: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--p-soft) 0%, transparent 60%), var(--surface);
    border: 1px solid var(--border);
}
.sx-use i { font-size: 1.5rem; color: var(--p-text); margin-bottom: 0.9rem; display: block; }
.sx-use h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.sx-use p { font-size: 0.92rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* tiles used by the product-specific sections */
.sx-tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.25rem; }
.sx-tile {
    padding: 1.6rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.sx-tile.featured { border: 2px solid var(--p); box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--p) 55%, transparent); }
.sx-tile-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.9rem; }
.sx-tile-top i { width: 42px; height: 42px; border-radius: 12px; background: var(--p-soft); color: var(--p-text); display: inline-flex; align-items: center; justify-content: center; }
.sx-tile h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.sx-tile p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; margin: 0 0 0.75rem; }
.sx-tile small { display: inline-block; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--p-soft); color: var(--p-text); font-weight: 600; font-size: 0.78rem; }

/* comparison table (Document AI) */
.sx-compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); }
.sx-compare th, .sx-compare td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 0.95rem; }
.sx-compare tr:last-child td { border-bottom: 0; }
.sx-compare thead th { background: var(--surface-2); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.sx-compare thead th.us { color: var(--p-text); }
.sx-compare td:first-child { font-weight: 600; color: var(--text); width: 26%; }
.sx-compare td.old { color: var(--text-muted); }
.sx-compare td.old i { color: #ef4444; margin-right: 0.4rem; }
.sx-compare td.new { color: var(--text); background: var(--p-soft); }
.sx-compare td.new i { color: var(--p-text); margin-right: 0.4rem; }

/* architecture layers (Viz Engine) */
.sx-arch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; position: relative; }
.sx-layer {
    position: relative;
    padding: 1.4rem 1.1rem;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
}
.sx-layer:not(:last-child)::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -0.68rem;
    top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--p-grad);
    color: var(--on-p);
    font-size: 0.6rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.sx-layer i { font-size: 1.5rem; color: var(--p-text); margin-bottom: 0.75rem; display: block; }
.sx-layer h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.sx-layer p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.sx-layer em { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.75rem; font-weight: 600; color: var(--p-text); }

/* video (Lumi) */
.sx-video { max-width: 900px; margin: 0 auto; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: #000; }
.sx-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
.sx-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.sx-faq details {
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0 1.4rem;
    transition: border-color 0.2s ease;
}
.sx-faq details[open] { border-color: var(--p-line); box-shadow: var(--shadow-sm); }
.sx-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 0;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "\2b"; font-size: 1.3rem; line-height: 1; color: var(--p-text); transition: transform 0.2s ease; }
.sx-faq details[open] summary::after { transform: rotate(45deg); }
.sx-faq details p { color: var(--text-muted); line-height: 1.65; margin: 0 0 1.2rem; }

/* demo request */
.sx-cta-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: var(--surface);
}
.sx-cta-copy {
    padding: 3rem 2.5rem;
    color: #fff;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
        var(--p-grad);
}
.sx-cta-copy .sx-kicker { color: rgba(255, 255, 255, 0.85); }
.sx-ocr .sx-cta-copy, .sx-ocr .sx-cta-copy .sx-kicker { color: #1c1300; }
.sx-cta-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; color: inherit; }
.sx-cta-copy p { opacity: 0.9; margin: 1rem 0 1.5rem; line-height: 1.6; }
.sx-cta-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.sx-cta-copy li { display: flex; gap: 0.6rem; align-items: center; font-weight: 500; }
.sx-cta-copy li i { opacity: 0.9; }

.sx-form { padding: 2.5rem; margin: 0; }
.sx-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.sx-field { display: block; margin: 0; }
.sx-field.full { grid-column: 1 / -1; }
.sx-field span { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.sx-field input, .sx-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sx-field textarea { min-height: 120px; resize: vertical; }
.sx-field input:focus, .sx-field textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px var(--p-soft); background: var(--surface); }
.sx-form .sx-btn { width: 100%; justify-content: center; border: 0; margin-top: 1.4rem; }

/* other solutions */
.sx-more { padding: 3.5rem 0 4.5rem; background: var(--bg); border-top: 1px solid var(--border); }
.sx-more h2 { font-size: 1.1rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; color: var(--text-muted); }
.sx-more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.sx-more-row a {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 1rem 0.55rem 0.55rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.sx-more-row a:hover { transform: translateY(-2px); border-color: var(--p); color: var(--text); }
.sx-more-row img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; border: 1px solid var(--border); }

/* scroll reveal */
.sx-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.sx-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   DEMOS
   ========================================================================== */

/* ---- Lumi: chat ---- */
.demo-chat { padding: 0; }
.dc-head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: var(--p-grad); color: #fff; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: inline-flex; align-items: center; justify-content: center; }
.dc-who strong { display: block; font-size: 1rem; }
.dc-who small { opacity: 0.85; font-size: 0.78rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.dc-who .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.dc-ch { margin-left: auto; display: flex; gap: 0.45rem; }
.dc-ch i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.dc-body { height: 340px; padding: 1.1rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; background: var(--bg-alt); }
.dc-msg { max-width: 82%; padding: 0.65rem 0.95rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.5; }
.dc-user { align-self: flex-end; background: var(--p-grad); color: #fff; border-bottom-right-radius: 4px; }
.dc-bot { align-self: flex-start; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.dc-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.8rem 1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.dc-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: dc-dot 1s infinite; }
.dc-typing span:nth-child(2) { animation-delay: 0.15s; }
.dc-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dc-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.dc-event { align-self: center; font-size: 0.78rem; font-weight: 600; color: var(--p-text); background: var(--p-soft); padding: 0.35rem 0.8rem; border-radius: 999px; }
.dc-input { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }
.dc-input i { width: 36px; height: 36px; border-radius: 50%; background: var(--p-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; }

/* ---- Entry Point: eKYC ---- */
.demo-kyc { display: grid; gap: 1rem; }
.kyc-top { display: grid; grid-template-columns: 1fr 120px; gap: 1rem; align-items: center; }
.kyc-id {
    position: relative;
    aspect-ratio: 1.586;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--p) 22%, var(--surface)) 0%, color-mix(in srgb, var(--p2) 12%, var(--surface)) 100%);
    border: 1px solid var(--p-line);
    overflow: hidden;
}
.kyc-id-head { display: flex; justify-content: space-between; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: var(--p-text); }
.kyc-id-body { display: flex; gap: 0.85rem; margin-top: 0.75rem; }
.kyc-photo { width: 64px; height: 78px; border-radius: 8px; background: var(--surface); display: flex; align-items: flex-end; justify-content: center; font-size: 2.6rem; color: var(--text-muted); overflow: hidden; }
.kyc-lines { flex: 1; display: grid; gap: 0.55rem; align-content: start; padding-top: 0.25rem; }
.kyc-lines span { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text) 18%, transparent); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; }
.kyc-mrz { position: absolute; left: 1rem; right: 1rem; bottom: 0.7rem; font-family: ui-monospace, Consolas, monospace; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--text-muted); white-space: nowrap; overflow: hidden; }
.kyc-beam {
    position: absolute; left: 0; right: 0; top: 0;
    height: 36px;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--p) 45%, transparent), transparent);
    border-bottom: 2px solid var(--p);
    animation: kyc-scan 2.4s ease-in-out infinite;
}
@keyframes kyc-scan { 0% { transform: translateY(-40px); } 50% { transform: translateY(170px); } 100% { transform: translateY(-40px); } }
.kc { position: absolute; width: 18px; height: 18px; border: 3px solid var(--p); }
.kc.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.kc.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.kc.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.kc.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.kyc-face { text-align: center; }
.kyc-face .ring {
    width: 104px; height: 104px; margin: 0 auto 0.4rem;
    border-radius: 50%;
    border: 3px solid var(--p);
    display: flex; align-items: flex-end; justify-content: center;
    font-size: 3.6rem; color: var(--text-muted);
    background: var(--surface-2);
    overflow: hidden;
    box-shadow: 0 0 0 6px var(--p-soft);
}
.kyc-face small { font-size: 0.75rem; font-weight: 700; color: var(--p-text); }
.kyc-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; }
.kyc-form { display: grid; gap: 0.45rem; padding: 0.9rem 1rem; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }
.kf-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; border-bottom: 1px dashed var(--border); padding-bottom: 0.35rem; }
.kf-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kf-row label { color: var(--text-muted); margin: 0; }
.kf-val { font-weight: 600; color: var(--text); font-family: ui-monospace, Consolas, monospace; }
.kyc-result { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem; border-radius: 12px; background: var(--p-grad); color: var(--on-p); font-weight: 700; font-size: 0.9rem; }

/* ---- OCR Engine: handwriting ---- */
.demo-ocr { padding: 1.5rem; min-height: 470px; background: var(--bg-alt); }
.ocr-paper {
    position: relative;
    width: 82%;
    padding: 2.2rem 1.4rem 1.2rem 2.6rem;
    border-radius: 6px;
    background: #fffdf5 repeating-linear-gradient(0deg, transparent 0 33px, #d8e3f3 33px 34px);
    background-position: 0 6px;
    box-shadow: 0 12px 30px rgba(15, 27, 45, 0.18);
    transform: rotate(-2.5deg);
    overflow: hidden;
    color: #1d2b4f;
}
.ocr-paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.8rem; border-left: 2px solid #f3a6a6; }
.ocr-tag { position: absolute; top: 0.6rem; right: 0.8rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #b45309; }
.ocr-line { position: relative; display: flex; align-items: baseline; gap: 0.6rem; height: 34px; }
.ocr-label { font-size: 0.7rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.06em; width: 62px; flex-shrink: 0; }
.ocr-hand { font-family: 'Caveat', cursive; font-size: 1.55rem; line-height: 1; color: #1e3a8a; }
.ocr-box { position: absolute; left: 66px; right: -6px; top: 2px; bottom: 4px; border: 2px solid var(--p); border-radius: 6px; background: color-mix(in srgb, var(--p) 12%, transparent); }
.ocr-scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--p); box-shadow: 0 0 18px 6px color-mix(in srgb, var(--p) 55%, transparent); animation: ocr-scan 3s ease-in-out infinite; top: 0; }
@keyframes ocr-scan { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(170px); } }
.ocr-out {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 64%;
    border-radius: 16px;
    background: #0f172a;
    color: #e2e8f0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: ui-monospace, Consolas, monospace;
}
.ocr-out-head { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0.9rem; background: rgba(255, 255, 255, 0.06); font-size: 0.75rem; font-family: var(--font); font-weight: 600; }
.ocr-langs { display: flex; gap: 0.3rem; }
.ocr-langs b { padding: 0.1rem 0.4rem; border-radius: 6px; background: rgba(245, 158, 11, 0.18); color: #fbbf24; font-size: 0.7rem; }
.oo-rows { padding: 0.7rem 0.9rem; display: grid; gap: 0.45rem; font-size: 0.78rem; }
.oo-row { display: grid; grid-template-columns: 70px 1fr 54px; gap: 0.5rem; align-items: center; }
.oo-row span { color: #94a3b8; }
.oo-row code { color: #fcd34d; font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oo-conf { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.oo-conf i { display: block; height: 100%; width: var(--c); background: linear-gradient(90deg, #f59e0b, #22c55e); border-radius: inherit; }

/* ---- Info Hunter: dashboard ---- */
.demo-dash { --t1: #f2c811; --t2: #374649; --t3: #fd625e; --t4: #01b8aa; }
.demo-dash[data-tool="tableau"] { --t1: #4e79a7; --t2: #f28e2b; --t3: #e15759; --t4: #76b7b2; }
.demo-dash[data-tool="custom"] { --t1: #ec4899; --t2: #8b5cf6; --t3: #06b6d4; --t4: #f59e0b; }
.dd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 0.75rem; }
.dd-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.dd-tabs button { border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 9px; cursor: pointer; transition: all 0.2s ease; }
.dd-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.dd-live { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.dd-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: sx-blink 1.4s infinite; }
@keyframes sx-blink { 50% { opacity: 0.3; } }
.dd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-bottom: 0.65rem; }
.dd-kpi { padding: 0.8rem 0.9rem; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); position: relative; overflow: hidden; }
.dd-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--t1); transition: background 0.4s ease; }
.dd-kpi small { display: block; font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.dd-kpi strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--text); margin: 0.15rem 0; }
.dd-kpi em { font-style: normal; font-size: 0.72rem; font-weight: 700; }
.dd-kpi em.up { color: #16a34a; } .dd-kpi em.down { color: #dc2626; }
:root[data-theme="dark"] .dd-kpi em.up { color: #4ade80; } :root[data-theme="dark"] .dd-kpi em.down { color: #f87171; }
.dd-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.65rem; }
.dd-card { padding: 0.8rem 0.9rem; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); }
.dd-card.wide { grid-column: 1 / -1; }
.dd-card small { display: block; font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.6rem; }
.dd-bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.dd-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--t1); transform-origin: bottom; animation: dd-grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; transition: background 0.4s ease; }
.dd-bars span:nth-child(even) { background: color-mix(in srgb, var(--t1) 60%, var(--t2)); }
.dd-bars span:nth-child(2) { animation-delay: 0.05s; } .dd-bars span:nth-child(3) { animation-delay: 0.1s; } .dd-bars span:nth-child(4) { animation-delay: 0.15s; }
.dd-bars span:nth-child(5) { animation-delay: 0.2s; } .dd-bars span:nth-child(6) { animation-delay: 0.25s; } .dd-bars span:nth-child(7) { animation-delay: 0.3s; } .dd-bars span:nth-child(8) { animation-delay: 0.35s; }
@keyframes dd-grow { from { transform: scaleY(0); } }
.dd-donut-wrap { display: flex; align-items: center; gap: 0.75rem; }
.dd-donut { width: 92px; height: 92px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--t1) 0 42%, var(--t3) 42% 68%, var(--t4) 68% 86%, var(--t2) 86% 100%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%); mask: radial-gradient(circle, transparent 52%, #000 53%); animation: dd-spin 0.9s ease both; }
@keyframes dd-spin { from { transform: rotate(-120deg); opacity: 0; } }
.dd-legend { list-style: none; padding: 0; margin: 0; font-size: 0.72rem; color: var(--text-muted); display: grid; gap: 0.3rem; }
.dd-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 0.35rem; }
.dd-line svg { width: 100%; height: 80px; display: block; }
.dd-line .target { fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0.5; }
.dd-line .actual { fill: none; stroke: var(--t1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: dd-draw 1.4s ease forwards; transition: stroke 0.4s ease; }
.dd-line .area { fill: var(--t1); opacity: 0.12; transition: fill 0.4s ease; }
@keyframes dd-draw { to { stroke-dashoffset: 0; } }

/* ---- Auto One: showroom console (always dark) ---- */
.demo-auto {
    background: linear-gradient(160deg, #15171c 0%, #0c0d10 100%);
    border-color: #262a33;
    color: #e5e7eb;
    font-size: 0.88rem;
}
.ao-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ao-top strong { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 1rem; }
.ao-top strong i { color: var(--p); }
.ao-top span { font-size: 0.75rem; color: #9ca3af; }
.ao-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.ao-kpis div { padding: 0.75rem; border-radius: 12px; background: #1b1e25; border: 1px solid #262a33; }
.ao-kpis small { display: block; font-size: 0.7rem; color: #9ca3af; }
.ao-kpis b { font-size: 1.35rem; font-weight: 800; background: var(--p-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ao-list { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.ao-car { display: grid; grid-template-columns: 40px 1fr auto 86px; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem; border-radius: 12px; background: #1b1e25; border: 1px solid #262a33; }
.ao-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(239, 68, 68, 0.14); color: #f87171; display: flex; align-items: center; justify-content: center; }
.ao-car strong { display: block; font-size: 0.88rem; }
.ao-car small { color: #9ca3af; font-size: 0.74rem; }
.ao-price { font-weight: 700; font-size: 0.85rem; }
.ao-badge { justify-self: end; font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; text-align: center; }
.ao-badge.avail { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.ao-badge.res { background: rgba(250, 204, 21, 0.15); color: #facc15; }
.ao-badge.sold { background: var(--p-grad); color: #fff; }
.ao-bottom { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.6rem; }
.ao-panel { padding: 0.75rem; border-radius: 12px; background: #1b1e25; border: 1px solid #262a33; }
.ao-panel small { display: block; font-size: 0.7rem; color: #9ca3af; margin-bottom: 0.5rem; }
.ao-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.ao-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: var(--p-grad); opacity: 0.85; }
.ao-gauge { display: flex; align-items: center; gap: 0.6rem; }
.ao-ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--p2) 0 72%, #262a33 72% 100%); display: flex; align-items: center; justify-content: center; }
.ao-ring b { width: 48px; height: 48px; border-radius: 50%; background: #1b1e25; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.ao-gauge span { font-size: 0.75rem; color: #9ca3af; line-height: 1.4; }
.ao-gauge span b { color: #4ade80; display: block; font-size: 0.85rem; }
.ao-toast { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 14px; background: #fff; color: #111827; font-weight: 600; font-size: 0.82rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); white-space: nowrap; }
.ao-toast i { color: var(--p); }

/* ---- Viz Engine: data flow ---- */
.demo-flow { padding: 0.75rem; }
.demo-flow svg { width: 100%; height: auto; display: block; }
.vf-src rect, .vf-node rect.box { fill: var(--surface-2); stroke: var(--border); stroke-width: 1.5; }
.vf-src text, .vf-node text { fill: var(--text); font-family: var(--font); font-weight: 600; font-size: 12px; }
.vf-node text.sub { fill: var(--text-muted); font-weight: 500; font-size: 10.5px; }
.vf-azure { fill: color-mix(in srgb, var(--p) 6%, transparent); stroke: var(--p); stroke-width: 1.5; stroke-dasharray: 6 6; }
.vf-azure-label { fill: var(--p-text); font-family: var(--font); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; }
.vf-link { fill: none; stroke: var(--p-line); stroke-width: 2; stroke-dasharray: 5 6; animation: vf-dash 1.2s linear infinite; }
@keyframes vf-dash { to { stroke-dashoffset: -22; } }
.vf-dot { fill: var(--p); filter: drop-shadow(0 0 4px var(--p)); }
.vf-medal { rx: 4; }
.vf-dash-bar { fill: var(--p); transform-box: fill-box; transform-origin: bottom; animation: vf-bar 2.4s ease-in-out infinite; }
.vf-dash-bar:nth-of-type(2) { animation-delay: 0.3s; fill: var(--p2); }
.vf-dash-bar:nth-of-type(3) { animation-delay: 0.6s; }
.vf-dash-bar:nth-of-type(4) { animation-delay: 0.9s; fill: var(--p2); }
@keyframes vf-bar { 50% { transform: scaleY(0.55); } }

/* ---- Document AI: computer-vision templates ---- */
.demo-docai { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: center; padding: 1.5rem; }
.da-stack { position: relative; height: 380px; }
.da-doc { position: absolute; inset: 0; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.da-doc.back2 { transform: rotate(-7deg) translate(-10px, 8px); opacity: 0.5; }
.da-doc.back1 { transform: rotate(-3.5deg) translate(-4px, 4px); opacity: 0.75; }
.da-doc.front { padding: 1.1rem; overflow: hidden; display: flex; flex-direction: column; gap: 0.75rem; }
.da-doc-head { display: grid; gap: 0.4rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--border); }
.da-doc span.bar { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--text) 16%, transparent); }
.da-field { position: relative; padding: 0.45rem 0.4rem; display: grid; gap: 0.35rem; }
.da-box {
    position: absolute; inset: 0;
    border: 2px solid var(--p);
    border-radius: 8px;
    background: color-mix(in srgb, var(--p) 8%, transparent);
}
.da-box em {
    position: absolute; top: -9px; left: 8px;
    font-style: normal; font-size: 0.6rem; font-weight: 700;
    padding: 0.05rem 0.4rem; border-radius: 4px;
    background: var(--p); color: #fff;
    white-space: nowrap;
}
.da-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.da-table i { height: 14px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--border); }
.da-sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.da-sign .sig { position: relative; width: 48%; padding: 0.3rem; }
.da-sign svg { width: 100%; height: 40px; display: block; }
.da-sign svg path { fill: none; stroke: #1e3a8a; stroke-width: 2; stroke-linecap: round; }
:root[data-theme="dark"] .da-sign svg path { stroke: #93c5fd; }
.da-stamp { position: relative; width: 62px; height: 62px; margin-right: 0.5rem; }
.da-stamp b { position: absolute; inset: 6px; border-radius: 50%; border: 3px double color-mix(in srgb, #dc2626 70%, transparent); color: color-mix(in srgb, #dc2626 80%, transparent); font-size: 0.5rem; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; transform: rotate(-14deg); }
.da-template { position: absolute; left: 50%; top: 42%; transform: translateX(-50%); display: inline-flex; gap: 0.5rem; align-items: center; padding: 0.55rem 0.9rem; border-radius: 12px; background: var(--p-grad); color: #fff; font-size: 0.78rem; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 30px color-mix(in srgb, var(--p) 45%, transparent); z-index: 2; }
.da-vision { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--p) 18%, transparent) 50%, transparent 100%); background-size: 100% 40%; background-repeat: no-repeat; animation: da-sweep 2.8s ease-in-out infinite; }
@keyframes da-sweep { 0% { background-position: 0 -40%; } 100% { background-position: 0 140%; } }
.da-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .sx-arch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sx-layer:nth-child(3)::after { display: none; }
}
@media (max-width: 991.98px) {
    .sx-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .sx-hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
    .sx-hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-hl:nth-child(3) { border-left: 0; }
    .sx-hl:nth-child(n+3) { border-top: 1px solid var(--border); }
    .sx-features, .sx-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-step::after { display: none; }
    .sx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-cta-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .sx-section { padding: 4.5rem 0; }
    .sx-hero { padding-bottom: 4rem; }
    .sx-features, .sx-uses, .sx-steps, .sx-tiles { grid-template-columns: 1fr; }
    .sx-hl-grid { grid-template-columns: 1fr; }
    .sx-hl + .sx-hl { border-left: 0; border-top: 1px solid var(--border); }
    .sx-arch { grid-template-columns: 1fr; }
    .sx-layer::after { display: none; }
    .sx-form, .sx-cta-copy { padding: 2rem 1.5rem; }
    .sx-form-grid { grid-template-columns: 1fr; }
    .sx-float { display: none; }
    .sx-compare th, .sx-compare td { padding: 0.75rem; font-size: 0.85rem; }
    .demo-docai { grid-template-columns: 1fr; }
    .da-stack { height: 330px; }
    .kyc-top { grid-template-columns: 1fr 96px; }
    .kyc-face .ring { width: 86px; height: 86px; font-size: 3rem; }
    .kyc-steps { grid-template-columns: 1fr; }
    .ao-car { grid-template-columns: 36px 1fr auto; }
    .ao-car .ao-price { display: none; }
    .ocr-paper { width: 100%; }
    .ocr-out { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 1.25rem; }
    .demo-ocr { min-height: 0; }
}
