/* Praigen Storytelling Landing — full-width narrative sections */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

.ops-storefront.story-landing {
    --story-ink: #071018;
    --story-panel: #0c1622;
    --story-line: rgba(148, 163, 184, 0.22);
    --story-text: #e8eef7;
    --story-muted: #94a3b8;
    --story-accent: #14b8a6;
    --story-accent-2: #38bdf8;
    --story-warn: #f59e0b;
    --story-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    position: relative;
    isolation: isolate;
    color: var(--story-text);
    font-family: var(--story-font) !important;
    background:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(20, 184, 166, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(56, 189, 248, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 35% at 50% 100%, rgba(15, 23, 42, 0.9), transparent 60%),
        var(--story-ink);
    overflow-x: clip;
}

[data-theme="light"] .ops-storefront.story-landing {
    --story-ink: #f4f7fb;
    --story-panel: #ffffff;
    --story-line: rgba(15, 23, 42, 0.12);
    --story-text: #0f172a;
    --story-muted: #475569;
    background:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(20, 184, 166, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(14, 165, 233, 0.10), transparent 50%),
        #f4f7fb;
}

/* ---------- Shared ---------- */
.ops-storefront.story-landing,
.ops-storefront.story-landing h1,
.ops-storefront.story-landing h2,
.ops-storefront.story-landing h3,
.ops-storefront.story-landing p,
.ops-storefront.story-landing a,
.ops-storefront.story-landing li,
.ops-storefront.story-landing span,
.ops-storefront.story-landing button {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.story-band {
    padding: 5rem 0; /* py-20 */
    position: relative;
}

.story-band__inner {
    max-width: 56rem; /* max-w-4xl */
    margin-inline: auto;
}

.story-band__title {
    margin: 0 auto 1rem; /* mb-4 */
    max-width: 56rem;
    text-align: center;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.875rem, 4.8vw, 3rem); /* text-3xl → sm:text-5xl */
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--story-text);
}

.story-band__title--arch {
    max-width: 56rem;
}

.story-band__sub {
    margin: 1rem auto 2.5rem; /* mb-10 */
    max-width: 36rem; /* max-w-xl */
    text-align: center;
    font-size: clamp(0.9rem, 1.6vw, 1rem); /* text-sm → sm:text-base */
    line-height: 1.65;
    color: var(--story-muted);
}

.story-band__title + .story-band__sub {
    margin-top: 0;
}

.story-band__sub--narrow {
    max-width: 38rem;
}

.story-band__tagline {
    margin: 2.5rem auto 0;
    max-width: 40rem;
    text-align: center;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--story-text);
}

.story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.55rem;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.story-btn--primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.45);
    padding: 0.9rem 2rem;
}

.story-btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.55);
    color: #fff;
}

.story-btn--ghost {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--story-line);
    color: var(--story-text);
    backdrop-filter: blur(10px);
    padding: 0.9rem 1.5rem;
}

.story-btn--ghost:hover {
    background: rgba(148, 163, 184, 0.22);
    transform: translateY(-1px);
    color: var(--story-text);
}

.story-btn--xl {
    padding: 1.15rem 1.9rem;
    font-size: 1.12rem;
}

/* ---------- 1. Hero (centered single-column) ---------- */
.story-hero {
    position: relative;
    /* body.landing-page already applies --nav-clearance; keep only modest extra space */
    padding: 1rem 1rem 5rem;
    overflow: hidden;
}

.story-hero__atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(37, 99, 235, 0.18), transparent 42%),
        radial-gradient(circle at 20% 70%, rgba(20, 184, 166, 0.10), transparent 40%),
        radial-gradient(circle at 80% 65%, rgba(56, 189, 248, 0.10), transparent 38%);
    pointer-events: none;
    animation: story-atmosphere 10s ease-in-out infinite alternate;
}

@keyframes story-atmosphere {
    from { opacity: 0.7; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

.story-hero__stack {
    position: relative;
    z-index: 1;
    max-width: 64rem; /* max-w-5xl */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(191, 219, 254, 0.95);
}

[data-theme="dark"] .story-hero__pill {
    color: #93c5fd;
    background: rgba(30, 58, 138, 0.28);
    border-color: rgba(59, 130, 246, 0.35);
}

.story-hero__title {
    margin: 0 0 1.5rem;
    max-width: 18ch;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(2.25rem, 7vw, 4.5rem); /* text-4xl → md:text-7xl */
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    color: var(--story-text);
}

.story-hero__break {
    display: none;
}

@media (min-width: 640px) {
    .story-hero__break {
        display: inline;
    }
}

.story-hero__lead {
    margin: 0 auto 2rem;
    max-width: 42rem; /* max-w-2xl */
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.25rem); /* text-base → sm:text-lg */
    font-weight: 400;
    line-height: 1.65;
    color: var(--story-muted);
    text-wrap: pretty;
}

.story-hero__lead--after-block {
    margin: 2rem auto 0;
    padding-inline: 1rem;
}

@media (max-width: 640px) {
    .story-hero__lead {
        font-size: 1rem; /* text-base */
    }
}

.story-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.story-hero__anchor {
    margin: 0 auto 2.5rem;
    max-width: 40rem;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--story-muted);
}

.story-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2.5rem;
    max-width: 42rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--story-muted, #64748b);
}

.story-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
}

.story-hero__trust-sep {
    color: #cbd5e1;
    font-weight: 500;
    user-select: none;
}

[data-theme="dark"] .story-hero__trust {
    color: #94a3b8;
}

[data-theme="dark"] .story-hero__trust-sep {
    color: #334155;
}

/* Hero illustration: borderless transparent wrapper (no card frame in light or dark) */
.story-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 48rem; /* max-w-3xl */
    margin: 1rem auto 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

[data-theme="light"] .story-hero__visual,
[data-theme="dark"] .story-hero__visual {
    border: none;
    background: transparent;
    box-shadow: none;
}

@media (min-width: 640px) {
    .story-hero__visual {
        padding: 0;
    }
}

.story-hero__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 0;
    user-select: none;
    -webkit-user-select: none;
}

.story-section-visual {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto 1.75rem;
    padding: 0.75rem;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid var(--story-line);
    background: rgba(15, 23, 42, 0.35);
    box-shadow: 0 18px 40px -20px rgba(2, 6, 23, 0.55);
}

[data-theme="light"] .story-section-visual {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #ffffff);
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.14);
}

.story-band--langs .story-section-visual,
.story-band--clock .story-section-visual,
.story-band--arch .story-section-visual,
[data-theme="light"] .story-band--langs .story-section-visual,
[data-theme="light"] .story-band--clock .story-section-visual,
[data-theme="light"] .story-band--arch .story-section-visual {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.story-section-visual--arch {
    max-width: 56rem;
}

.story-section-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 1rem;
}

/* Orbit mockup */
.story-orbit {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    margin-inline: auto;
}

.story-orbit__ring {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.story-orbit__ring--a { inset: 8%; animation: story-spin 28s linear infinite; }
.story-orbit__ring--b { inset: 20%; border-style: dashed; opacity: 0.7; animation: story-spin 40s linear infinite reverse; }
.story-orbit__ring--c { inset: 32%; opacity: 0.45; }

@keyframes story-spin {
    to { transform: rotate(360deg); }
}

.story-orbit__core {
    position: absolute;
    inset: 36%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, #1e293b 0%, #0b1220 70%);
    border: 1px solid rgba(20, 184, 166, 0.45);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.15),
        0 0 40px rgba(20, 184, 166, 0.35),
        inset 0 0 30px rgba(20, 184, 166, 0.12);
    z-index: 2;
}

.story-orbit__core-glow {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 65%);
    animation: story-core-pulse 2.8s ease-in-out infinite;
    z-index: -1;
}

@keyframes story-core-pulse {
    0%, 100% { transform: scale(0.92); opacity: 0.55; }
    50% { transform: scale(1.08); opacity: 1; }
}

.story-orbit__core-label {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(0.8rem, 1.8vw, 0.98rem);
    letter-spacing: -0.025em;
    color: #ecfeff;
    text-align: center;
    padding: 0 0.5rem;
}

.story-orbit__badge {
    position: absolute;
    z-index: 3;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--story-text);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.28);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
    white-space: nowrap;
    animation: story-float 5.5s ease-in-out infinite;
}

[data-theme="light"] .story-orbit__badge,
[data-theme="light"] .story-orbit__core {
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
}

[data-theme="light"] .story-orbit__core-label {
    color: #0f172a;
}

.story-orbit__badge--wa { top: 8%; left: 2%; animation-delay: 0s; }
.story-orbit__badge--voice { top: 18%; right: -2%; animation-delay: 0.8s; }
.story-orbit__badge--web { bottom: 22%; left: -4%; animation-delay: 1.4s; }
.story-orbit__badge--cal { bottom: 10%; right: 0%; animation-delay: 2s; }

@keyframes story-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- 2. Crowd ---------- */
.story-band--crowd {
    border-top: 1px solid rgba(100, 116, 139, 0.35);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(100, 116, 139, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.45), transparent 55%);
}

[data-theme="light"] .story-band--crowd {
    border-top-color: rgba(148, 163, 184, 0.45);
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(148, 163, 184, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(226, 232, 240, 0.55), transparent 55%);
}

.story-crowd {
    display: grid;
    gap: 1.75rem;
}

.story-crowd__field {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(51, 65, 85, 0.25), rgba(15, 23, 42, 0.15));
    border: 1px solid var(--story-line);
    min-height: 200px;
}

.story-crowd__svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 180px;
}

.story-crowd__fade {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(transparent, var(--story-ink));
    pointer-events: none;
}

.story-crowd__contrast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    text-align: left;
}

.story-crowd__node {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ecfeff;
    background: radial-gradient(circle at 30% 30%, #2dd4bf, #0f766e);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.4), 0 0 28px rgba(20, 184, 166, 0.45);
    flex-shrink: 0;
}

.story-crowd__node-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, 0.5);
    animation: story-core-pulse 2.4s ease-in-out infinite;
}

.story-crowd__caption {
    margin: 0;
    max-width: 28rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--story-text);
}

/* ---------- 3. Languages ---------- */
.story-band--langs {
    border-top: 1px solid rgba(251, 191, 36, 0.32);
    background:
        radial-gradient(ellipse 70% 55% at 18% 15%, rgba(251, 191, 36, 0.14), transparent 58%),
        radial-gradient(ellipse 55% 50% at 90% 80%, rgba(249, 115, 22, 0.10), transparent 52%),
        linear-gradient(180deg, rgba(69, 26, 3, 0.48) 0%, rgba(15, 23, 42, 0.28) 55%, transparent 100%);
}

[data-theme="light"] .story-band--langs {
    border-top-color: rgba(217, 119, 6, 0.28);
    background:
        radial-gradient(ellipse 70% 55% at 18% 15%, rgba(254, 243, 199, 0.85), transparent 58%),
        radial-gradient(ellipse 55% 50% at 90% 80%, rgba(255, 237, 213, 0.7), transparent 52%),
        linear-gradient(180deg, #fffbeb 0%, #fff7ed 40%, #f8fafc 100%);
}

.story-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.story-flags__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 700;
    color: var(--story-text);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--story-line);
    backdrop-filter: blur(8px);
}

[data-theme="light"] .story-flags__pill {
    background: #fff;
}

.story-flags__emoji {
    font-size: 1.35em;
    line-height: 1;
}

/* ---------- 4. Clock ---------- */
.story-band--clock {
    border-top: 1px solid rgba(20, 184, 166, 0.32);
    background:
        radial-gradient(circle at 50% 45%, rgba(20, 184, 166, 0.18), transparent 48%),
        radial-gradient(ellipse 55% 40% at 80% 10%, rgba(45, 212, 191, 0.10), transparent 50%),
        linear-gradient(180deg, rgba(4, 47, 46, 0.35), transparent 60%);
}

[data-theme="light"] .story-band--clock {
    border-top-color: rgba(20, 184, 166, 0.30);
    background:
        radial-gradient(circle at 50% 45%, rgba(20, 184, 166, 0.12), transparent 48%),
        radial-gradient(ellipse 55% 40% at 80% 10%, rgba(45, 212, 191, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(204, 251, 241, 0.55), transparent 60%);
}

.story-clock__visual {
    position: relative;
    display: grid;
    place-items: center;
    margin: 0 auto 0.5rem;
    width: min(100%, 420px);
    aspect-ratio: 1;
}

.story-clock__pulse {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 65%);
    animation: story-core-pulse 3s ease-in-out infinite;
}

.story-clock__face {
    position: relative;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: radial-gradient(circle at 40% 35%, rgba(30, 41, 59, 0.9), rgba(2, 6, 23, 0.95));
    box-shadow: inset 0 0 40px rgba(20, 184, 166, 0.12);
}

.story-clock__ring {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px dashed rgba(56, 189, 248, 0.35);
    animation: story-spin 50s linear infinite;
}

.story-clock__digits {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(4rem, 14vw, 6.5rem);
    letter-spacing: -0.035em;
    line-height: 1;
    background: linear-gradient(180deg, #f8fafc 10%, #5eead4 55%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(20, 184, 166, 0.25);
    animation: story-digit-glow 3.2s ease-in-out infinite;
}

@keyframes story-digit-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

/* ---------- 5. Parallel ---------- */
.story-band--parallel {
    border-top: 1px solid rgba(251, 191, 36, 0.28);
    background:
        radial-gradient(ellipse 60% 50% at 10% 40%, rgba(251, 191, 36, 0.10), transparent 55%),
        radial-gradient(ellipse 55% 45% at 95% 70%, rgba(249, 115, 22, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(69, 26, 3, 0.28), transparent 60%);
}

[data-theme="light"] .story-band--parallel {
    border-top-color: rgba(245, 158, 11, 0.30);
    background:
        radial-gradient(ellipse 60% 50% at 10% 40%, rgba(251, 191, 36, 0.10), transparent 55%),
        radial-gradient(ellipse 55% 45% at 95% 70%, rgba(249, 115, 22, 0.06), transparent 50%),
        linear-gradient(180deg, rgba(255, 247, 237, 0.75), transparent 60%);
}

.story-parallel {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}

.story-parallel__hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 280px;
}

.story-parallel__visual {
    width: min(100%, 320px);
    border-radius: 1.25rem;
    overflow: hidden;
}

.story-parallel__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.story-parallel__sessions {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.story-session {
    display: block;
    min-height: 4.5rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.22);
    animation: story-queue-in 0.55s ease both;
    animation-delay: calc(var(--i, 0) * 0.08s);
}

[data-theme="light"] .story-session {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

@keyframes story-queue-in {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.story-session__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.story-session__channel {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--story-text);
    min-width: 0;
}

.story-session__meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--story-muted);
    flex-shrink: 0;
}

.story-session__msg {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--story-muted);
}

/* ---------- 6. Architecture ---------- */
.story-band--arch {
    border-top: 1px solid rgba(129, 140, 248, 0.30);
    background:
        radial-gradient(ellipse 70% 55% at 50% 20%, rgba(99, 102, 241, 0.16), transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 90%, rgba(168, 85, 247, 0.10), transparent 50%),
        linear-gradient(180deg, rgba(30, 27, 75, 0.35), transparent 60%);
}

[data-theme="light"] .story-band--arch {
    border-top-color: rgba(99, 102, 241, 0.28);
    background:
        radial-gradient(ellipse 70% 55% at 50% 20%, rgba(99, 102, 241, 0.10), transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 90%, rgba(168, 85, 247, 0.07), transparent 50%),
        linear-gradient(180deg, rgba(238, 242, 255, 0.75), transparent 60%);
}

.story-arch {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: stretch;
    max-width: 980px;
    margin: 0 auto;
}

.story-arch--below-visual {
    grid-template-columns: 1fr;
    max-width: 56rem;
}

.story-arch__channels--full {
    width: 100%;
}

.story-arch__brain,
.story-arch__channels {
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--story-line);
}

.story-arch--below-visual .story-arch__channels,
[data-theme="light"] .story-arch--below-visual .story-arch__channels {
    padding: 0.5rem 0 0;
    border: none;
    background: transparent;
    text-align: center;
}

.story-arch__brain {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
}

[data-theme="light"] .story-arch__brain,
[data-theme="light"] .story-arch__channels {
    background: #fff;
}

[data-theme="light"] .story-arch--below-visual .story-arch__channels {
    background: transparent;
}

.story-arch__label {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    color: var(--story-text);
}

.story-arch--below-visual .story-arch__label {
    margin-bottom: 0.75rem;
}

.story-arch__label--center {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    letter-spacing: -0.03em;
    text-align: center;
}

.story-arch__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.story-arch__list li {
    font-size: 1.02rem;
    color: var(--story-muted);
    padding-left: 0.15rem;
}

.story-arch__list--channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 0;
}

.story-arch__list--channels li {
    color: var(--story-text);
    font-weight: 600;
    padding: 0;
    white-space: nowrap;
}

.story-arch__list--channels li:not(:last-child)::after {
    content: '·';
    margin: 0 0.85rem;
    color: var(--story-muted);
    font-weight: 500;
}

.story-arch__bridge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    min-width: 28px;
}

.story-arch__bridge span {
    display: block;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--story-accent), var(--story-accent-2));
    opacity: 0.7;
    animation: story-bridge 1.8s ease-in-out infinite;
}

.story-arch__bridge span:nth-child(2) { animation-delay: 0.2s; width: 20px; margin-inline: auto; }
.story-arch__bridge span:nth-child(3) { animation-delay: 0.4s; }

@keyframes story-bridge {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---------- 7. Final CTA ---------- */
.story-final {
    border-top: 1px solid rgba(37, 99, 235, 0.30);
    padding: clamp(4.5rem, 10vw, 7rem) 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(37, 99, 235, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.25), rgba(20, 184, 166, 0.10) 45%, rgba(8, 145, 178, 0.16));
}

[data-theme="light"] .story-final {
    border-top-color: rgba(37, 99, 235, 0.25);
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(37, 99, 235, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(239, 246, 255, 0.5), rgba(204, 251, 241, 0.35) 50%, rgba(186, 230, 253, 0.45));
}

.story-final__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 42rem;
}

.story-final__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.55rem, 3.6vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

/* ---------- Closing greeting CTA ---------- */
.story-greet {
    position: relative;
    padding: 5rem 1.25rem 5.5rem;
    text-align: center;
    border-top: 1px solid var(--story-line);
}

.story-greet__inner {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-greet__visual {
    margin-bottom: 1.75rem;
}

.story-greet__img {
    display: block;
    width: clamp(10rem, 28vw, 16rem);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    user-select: none;
    filter: drop-shadow(0 12px 28px rgba(2, 6, 23, 0.28));
}

.story-greet__title {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--story-text);
    text-wrap: balance;
}

.story-greet__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.story-greet__phone-line {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--story-muted);
}

.story-greet__phone {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

.story-greet__phone:hover {
    text-decoration: underline;
    color: #93c5fd;
}

@media (max-width: 640px) {
    .story-greet {
        padding: 3.5rem 1rem 4rem;
    }

    .story-greet__actions {
        width: 100%;
        flex-direction: column;
    }

    .story-greet__actions .story-btn {
        width: 100%;
    }
}

.story-final__channels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.story-final__channel {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--story-line);
    background: rgba(15, 23, 42, 0.55);
    color: var(--story-text);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .story-final__channel {
    background: #ffffff;
}

.story-final__channel:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
}

.story-final__channel svg {
    width: 2.35rem;
    height: 2.35rem;
}

.story-final__phone {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    letter-spacing: -0.03em;
    color: var(--story-accent-2);
    text-decoration: none;
    margin-top: 0.35rem;
}

.story-final__phone:hover {
    color: #7dd3fc;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .story-parallel {
        grid-template-columns: 1fr;
    }

    .story-parallel__hub {
        margin-bottom: 0.25rem;
    }

    .story-arch {
        grid-template-columns: 1fr;
    }

    .story-arch__bridge {
        flex-direction: row;
        min-height: 28px;
        justify-content: center;
    }

    .story-arch__bridge span {
        width: 36px;
        height: 2px;
    }
}

@media (max-width: 640px) {
    .story-hero {
        padding-top: 0.35rem;
        padding-bottom: 3rem;
    }

    .story-hero__pill {
        margin-bottom: 1rem;
    }

    .story-hero__title {
        max-width: 12ch;
        font-size: clamp(2.65rem, 12.5vw, 3.5rem);
        line-height: 1.05;
        margin-bottom: 1.15rem;
    }

    .story-hero__actions .story-btn {
        width: 100%;
    }

    .story-flags__pill {
        width: 100%;
        justify-content: center;
    }

    .story-crowd__contrast {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .story-band {
        padding: 4rem 0; /* py-16 */
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-hero__atmosphere,
    .story-orbit__ring,
    .story-orbit__core-glow,
    .story-orbit__badge,
    .story-clock__pulse,
    .story-clock__digits,
    .story-clock__ring,
    .story-parallel__core-glow,
    .story-arch__bridge span,
    .story-crowd__node-pulse,
    .story-session {
        animation: none !important;
    }
}

/* ============================================================
   How it Works - product walkthrough (hiw-*)
   ============================================================ */

.hiw-page {
    --hiw-surface: rgba(12, 22, 34, 0.72);
    --hiw-surface-solid: #0f1a27;
    --hiw-border: rgba(148, 163, 184, 0.2);
    --hiw-ok: #14b8a6;
    --hiw-ok-soft: rgba(20, 184, 166, 0.14);
}

[data-theme="light"] .hiw-page {
    --hiw-surface: #ffffff;
    --hiw-surface-solid: #ffffff;
    --hiw-border: rgba(15, 23, 42, 0.1);
    --hiw-ok-soft: rgba(13, 148, 136, 0.1);
}

/* ---------- Hero ---------- */
.hiw-hero {
    position: relative;
    padding: 2.5rem 1.25rem 3.5rem;
    text-align: center;
    overflow: hidden;
}

.hiw-hero__atmosphere {
    position: absolute;
    inset: -20% 10% auto;
    height: 70%;
    background:
        radial-gradient(ellipse 55% 60% at 50% 40%, rgba(20, 184, 166, 0.18), transparent 70%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(56, 189, 248, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: hiw-breathe 9s ease-in-out infinite alternate;
}

@keyframes hiw-breathe {
    from { opacity: 0.7; transform: scale(1); }
    to { opacity: 1; transform: scale(1.06); }
}

.hiw-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    margin: 0 auto;
}

.hiw-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--hiw-border);
    background: rgba(148, 163, 184, 0.1);
    color: var(--story-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

[data-theme="light"] .hiw-hero__pill {
    background: rgba(255, 255, 255, 0.85);
    color: #475569;
}

.hiw-hero__title {
    margin: 0 0 1.4rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(2rem, 5.2vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--story-text);
    text-wrap: balance;
}

.hiw-hero__lead {
    margin: 0 auto;
    max-width: 40rem;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: var(--story-muted);
    text-wrap: pretty;
}


.hiw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.75rem auto 0;
}

.hiw-hero__actions .story-btn {
    min-width: 0;
}


.hiw-hero__visual {
    position: relative;
    width: 100%;
    max-width: 52rem;
    margin: 2rem auto 0;
    padding: 0.75rem;
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.08), rgba(15, 23, 42, 0.28));
    box-shadow: 0 24px 48px -20px rgba(2, 6, 23, 0.5);
}

[data-theme="light"] .hiw-hero__visual {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.hiw-hero__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 1rem;
}

/* ---------- Steps ---------- */
.hiw-steps {
    padding-bottom: 2rem;
}

.hiw-step {
    padding: 3.5rem 0;
    position: relative;
}

.hiw-step + .hiw-step {
    border-top: 1px solid var(--hiw-border);
}

.hiw-step__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    max-width: 68rem;
    margin-inline: auto;
}

.hiw-step--rtl .hiw-step__grid {
    direction: rtl;
}

.hiw-step--rtl .hiw-step__copy,
.hiw-step--rtl .hiw-step__visual {
    direction: ltr;
}

.hiw-step__tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--story-accent);
}

.hiw-step__title {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

.hiw-step__body {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--story-muted);
    max-width: 34rem;
}

.hiw-step__visual {
    animation: hiw-rise 0.7s ease both;
}

@keyframes hiw-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Micro-mockups ---------- */
.hiw-mock {
    background: var(--hiw-surface);
    border: 1px solid var(--hiw-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 18px 40px -20px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hiw-mock:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 24px 48px -18px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hiw-mock {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 18px 40px -22px rgba(15, 23, 42, 0.22);
}

.hiw-mock__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--hiw-border);
    background: rgba(148, 163, 184, 0.06);
}

.hiw-mock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.45);
}

.hiw-mock__dot:nth-child(1) { background: #f87171; }
.hiw-mock__dot:nth-child(2) { background: #fbbf24; }
.hiw-mock__dot:nth-child(3) { background: #34d399; }

.hiw-mock__chrome-label {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.hiw-mock__body {
    padding: 1.15rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hiw-doc {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px dashed rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.06);
}

.hiw-doc__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.hiw-doc__name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--story-text);
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace !important;
    word-break: break-all;
}

.hiw-mock__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.hiw-mock__badge--ok {
    background: var(--hiw-ok-soft);
    color: var(--hiw-ok);
    border: 1px solid rgba(20, 184, 166, 0.28);
}

.hiw-snippet {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--hiw-border);
}

.hiw-snippet__line {
    font-size: 0.88rem;
    color: var(--story-muted);
    font-style: italic;
}

/* Channel toggles */
.hiw-toggles {
    gap: 0.65rem;
}

.hiw-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--hiw-border);
    background: rgba(148, 163, 184, 0.05);
}

.hiw-toggle--on {
    border-color: rgba(20, 184, 166, 0.35);
    background: var(--hiw-ok-soft);
}

.hiw-toggle__status {
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

.hiw-toggle__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--story-text);
    line-height: 1.35;
}

/* Chat mock */
.hiw-chat {
    gap: 0.75rem;
}

.hiw-chat__bubble {
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    max-width: 100%;
}

.hiw-chat__bubble p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--story-text);
}

.hiw-chat__who {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--story-muted);
}

.hiw-chat__bubble--customer {
    align-self: flex-end;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-bottom-right-radius: 4px;
}

.hiw-chat__bubble--praigen {
    align-self: flex-start;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-bottom-left-radius: 4px;
}

/* Executive secretary owner channel */
.hiw-chat--exec {
    gap: 0.6rem;
}

.hiw-chat__bubble--owner {
    align-self: flex-end;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-bottom-right-radius: 4px;
    max-width: 88%;
}

.hiw-chat__bubble--owner p {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace !important;
    font-size: 0.86rem;
    font-weight: 600;
    color: #93c5fd;
}

[data-theme="light"] .hiw-chat__bubble--owner p {
    color: #1e40af;
}

.hiw-chat__bubble--assistant {
    align-self: flex-start;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid var(--hiw-border);
    border-bottom-left-radius: 4px;
    max-width: 94%;
}

.hiw-chat__bubble--assistant p {
    font-size: 0.86rem;
    color: var(--story-muted);
}

.hiw-chat__bubble--alert {
    align-self: stretch;
    background: rgba(245, 158, 11, 0.12);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.hiw-chat__bubble--alert p {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--story-text);
    line-height: 1.45;
}

.hiw-mock--exec .hiw-mock__chrome-label {
    font-size: 0.68rem;
    max-width: 70%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Central Operations Cockpit ---------- */
.hiw-cockpit {
    padding: 4.5rem 0 3.5rem;
    border-top: 1px solid var(--hiw-border);
}

.hiw-cockpit__header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hiw-cockpit__badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--hiw-border);
    background: rgba(148, 163, 184, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--story-accent);
}

.hiw-cockpit__title {
    margin: 0 0 1rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.2vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

.hiw-cockpit__lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--story-muted);
}

.hiw-cockpit-frame {
    max-width: 58rem;
    margin: 0 auto;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    color: #e2e8f0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 60px -28px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.hiw-cockpit-frame__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.65);
}

.hiw-cockpit-frame__dots {
    display: inline-flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.hiw-cockpit-frame__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.hiw-cockpit-frame__dot--red { background: #f87171; }
.hiw-cockpit-frame__dot--yellow { background: #fbbf24; }
.hiw-cockpit-frame__dot--green { background: #34d399; }

.hiw-cockpit-frame__url {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 22rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace !important;
    font-size: 0.78rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hiw-cockpit-frame__lock {
    font-size: 0.7rem;
}

.hiw-cockpit-frame__live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(20, 184, 166, 0.3);
    font-size: 0.75rem;
    font-weight: 700;
    color: #5eead4;
    white-space: nowrap;
}

.hiw-cockpit-progress {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hiw-cockpit-progress__track {
    display: block;
    width: 2.75rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    overflow: hidden;
}

.hiw-cockpit-progress__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #38bdf8);
}

.hiw-cockpit-progress__pct {
    font-size: 0.68rem;
    font-weight: 800;
    color: #99f6e4;
    letter-spacing: 0.02em;
}

.hiw-cockpit-frame__body {
    padding: 1.15rem 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hiw-cockpit-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.hiw-cockpit-metric {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.07);
}

.hiw-cockpit-metric__value {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f1f5f9;
}

.hiw-cockpit-metric__sub {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #94a3b8;
}

.hiw-cockpit-streams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.hiw-cockpit-stream {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.45);
}

.hiw-cockpit-stream__title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.hiw-cockpit-stream__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hiw-cockpit-stream__item {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hiw-cockpit-stream__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hiw-cockpit-stream__primary {
    margin: 0 0 0.25rem;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.35;
    color: #e2e8f0;
}

.hiw-cockpit-stream__meta {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
}

.hiw-cockpit-frame__dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), rgba(20, 184, 166, 0.16));
    font-size: 0.84rem;
    font-weight: 700;
    color: #e0f2fe;
    text-align: center;
}

@media (max-width: 900px) {
    .hiw-cockpit-metrics {
        grid-template-columns: 1fr;
    }

    .hiw-cockpit-streams {
        grid-template-columns: 1fr;
    }

    .hiw-cockpit-frame__live {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .hiw-cockpit-frame__url {
        max-width: none;
        flex: 1 1 100%;
        order: 3;
    }
}

@media (max-width: 640px) {
    .hiw-cockpit {
        padding: 3.25rem 0 2.5rem;
    }

    .hiw-cockpit-frame__body {
        padding: 0.9rem;
    }

    .hiw-cockpit-frame__dock {
        font-size: 0.78rem;
        padding: 0.75rem 0.85rem;
    }
}

/* ---------- Control banner ---------- */
.hiw-control {
    padding: 4.5rem 0;
    border-top: 1px solid var(--hiw-border);
}

.hiw-control__header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.hiw-control__kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--story-accent);
}

.hiw-control__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--story-text);
    text-wrap: balance;
}

.hiw-control__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 64rem;
    margin-inline: auto;
}

.hiw-control__item {
    padding: 1.5rem 1.35rem;
    border-radius: 14px;
    border: 1px solid var(--hiw-border);
    background: var(--hiw-surface);
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hiw-control__item:hover {
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

.hiw-control__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--hiw-ok-soft);
    color: var(--hiw-ok);
}

.hiw-control__item-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--story-text);
    letter-spacing: -0.015em;
}

.hiw-control__item-body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--story-muted);
}

/* ---------- CTA ---------- */
.hiw-cta {
    padding: 4rem 1.25rem 5.5rem;
    text-align: center;
    border-top: 1px solid var(--hiw-border);
    position: relative;
}

.hiw-cta::before {
    content: '';
    position: absolute;
    inset: 10% 15% auto;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.16), transparent 70%);
    pointer-events: none;
}

.hiw-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hiw-cta__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

.hiw-cta__sub {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--story-muted);
}


.hiw-cta__visual {
    margin-bottom: 0.5rem;
}

.hiw-cta__img {
    display: block;
    width: clamp(9.5rem, 26vw, 14rem);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    user-select: none;
    filter: drop-shadow(0 12px 28px rgba(2, 6, 23, 0.28));
}

.hiw-cta__phone {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--story-muted);
}

.hiw-cta__phone-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

.hiw-cta__phone-link:hover {
    text-decoration: underline;
    color: #93c5fd;
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hiw-step__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hiw-step--rtl .hiw-step__grid {
        direction: ltr;
    }

    .hiw-step__copy {
        order: 1;
    }

    .hiw-step__visual {
        order: 2;
    }

    .hiw-control__grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
    }

    .hiw-step {
        padding: 2.75rem 0;
    }
}

@media (max-width: 640px) {
    .hiw-hero {
        padding: 1.25rem 1rem 2.5rem;
    }

    .hiw-hero__title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .hiw-hero__lead {
        font-size: 0.98rem;
    }

    .hiw-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .hiw-hero__actions .story-btn {
        width: 100%;
    }

    .hiw-mock__body {
        padding: 1rem;
    }

    .hiw-toggle__label {
        font-size: 0.82rem;
    }

    .hiw-cta {
        padding: 3rem 1rem 4rem;
    }

    .hiw-cta .story-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hiw-hero__atmosphere,
    .hiw-step__visual,
    .hiw-mock {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================
   Capabilities page (cap-page)
   ============================================================ */
.cap-page {
    --cap-surface: rgba(12, 22, 34, 0.72);
    --cap-border: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .cap-page {
    --cap-surface: #ffffff;
    --cap-border: rgba(15, 23, 42, 0.1);
}

.cap-hero {
    position: relative;
    padding: 2.5rem 1.25rem 3.25rem;
    text-align: center;
    overflow: hidden;
}

.cap-hero__atmosphere {
    position: absolute;
    inset: -20% 10% auto;
    height: 70%;
    background:
        radial-gradient(ellipse 55% 60% at 50% 40%, rgba(20, 184, 166, 0.16), transparent 70%),
        radial-gradient(ellipse 40% 50% at 20% 30%, rgba(37, 99, 235, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.cap-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    margin: 0 auto;
}

.cap-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--cap-border);
    background: rgba(148, 163, 184, 0.1);
    color: var(--story-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

[data-theme="light"] .cap-hero__pill {
    background: rgba(255, 255, 255, 0.85);
    color: #475569;
}

.cap-hero__title {
    margin: 0 0 1.25rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.85rem, 4.8vw, 2.85rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: var(--story-text);
    text-wrap: balance;
}

.cap-hero__lead {
    margin: 0 auto;
    max-width: 42rem;
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    line-height: 1.7;
    color: var(--story-muted);
    text-wrap: pretty;
}

.cap-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.75rem auto 0;
}

.cap-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.cap-section-head__kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--story-accent);
}

.cap-section-head__title {
    margin: 0 0 0.85rem;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

.cap-section-head__lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--story-muted);
}

.cap-channels {
    padding: 1rem 0 3.5rem;
}

.cap-channel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: 72rem;
    margin: 0 auto;
}

.cap-channel-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.4rem 1.25rem 1.3rem;
    border-radius: 16px;
    border: 1px solid var(--cap-border);
    background: var(--cap-surface);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    min-height: 100%;
}

.cap-channel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 184, 166, 0.35);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .cap-channel-card {
    box-shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.2);
}

.cap-channel-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.cap-channel-card__icon--wa {
    background: rgba(37, 211, 102, 0.16);
    color: #22c55e;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.cap-channel-card__icon--web {
    background: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.cap-channel-card__icon--voice {
    background: rgba(99, 102, 241, 0.16);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.cap-channel-card__icon--email {
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

.cap-channel-card__title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--story-text);
    line-height: 1.3;
}

.cap-channel-card__body {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--story-muted);
}

.cap-channel-card__pill {
    margin: 0;
    align-self: flex-start;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--cap-border);
    background: rgba(148, 163, 184, 0.08);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--story-text);
}

.cap-engines {
    padding: 3.5rem 0;
    border-top: 1px solid var(--cap-border);
}

.cap-engine-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 64rem;
    margin: 0 auto;
}

.cap-engine-card {
    padding: 1.6rem 1.45rem;
    border-radius: 16px;
    border: 1px solid var(--cap-border);
    background: var(--cap-surface);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.4);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.cap-engine-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.35);
}

.cap-engine-card__badge {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--cap-border);
    background: rgba(148, 163, 184, 0.1);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--story-accent);
}

.cap-engine-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--story-text);
    line-height: 1.3;
}

.cap-engine-card__body {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--story-muted);
}

.cap-cta {
    padding: 4rem 1.25rem 5.5rem;
    text-align: center;
    border-top: 1px solid var(--cap-border);
    position: relative;
}

.cap-cta::before {
    content: '';
    position: absolute;
    inset: 10% 15% auto;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14), transparent 70%);
    pointer-events: none;
}

.cap-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cap-cta__visual {
    margin-bottom: 0.35rem;
}

.cap-cta__img {
    display: block;
    width: clamp(9.5rem, 26vw, 14rem);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    user-select: none;
    filter: drop-shadow(0 12px 28px rgba(2, 6, 23, 0.28));
}

.cap-cta__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--story-text);
    text-wrap: balance;
}

.cap-cta__sub {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--story-muted);
}

.cap-cta__phone {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--story-muted);
}

.cap-cta__phone-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

.cap-cta__phone-link:hover {
    text-decoration: underline;
    color: #93c5fd;
}

@media (max-width: 1100px) {
    .cap-channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .cap-channel-grid,
    .cap-engine-grid {
        grid-template-columns: 1fr;
    }

    .cap-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .cap-hero__actions .story-btn,
    .cap-cta .story-btn {
        width: 100%;
    }

    .cap-hero {
        padding: 1.25rem 1rem 2.5rem;
    }

    .cap-channels {
        padding-bottom: 2.5rem;
    }

    .cap-engines {
        padding: 2.75rem 0;
    }

    .cap-cta {
        padding: 3rem 1rem 4rem;
    }
}

