:root {
    --surface-blue: #9ab1f4;
    --surface-blue-soft: #b6c5f8;
    --ink-900: #141723;
    --ink-700: #2d3145;
    --ink-500: #5b627b;
    --line-soft: rgba(33, 54, 125, 0.18);
    --line-strong: rgba(28, 48, 116, 0.3);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    color: var(--ink-900);
    font-family: "Sora", "Segoe UI", sans-serif;
    background:
        radial-gradient(620px 320px at 11% 10%, rgba(255, 255, 255, 0.25), transparent 70%),
        radial-gradient(820px 420px at 90% 16%, rgba(140, 167, 252, 0.45), transparent 72%),
        linear-gradient(180deg, var(--surface-blue), var(--surface-blue-soft));
}

.page-shell {
    width: min(1160px, 92vw);
    margin: 0 auto;
    padding: 22px 0 30px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 49, 110, 0.28);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111527;
    text-decoration: none;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.brand-logo {
    width: auto;
    height: 52px;
    max-width: min(42vw, 220px);
    display: block;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #17203a;
    border: 1px solid rgba(24, 36, 72, 0.2);
    background: rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.76);
}

.nav a.is-active {
    background: #ffffff;
    border-color: rgba(24, 36, 72, 0.35);
}

.chatbox-main {
    padding-top: 22px;
    animation: fade-up 0.7s ease both;
}

.intro {
    padding: 8px 2px 4px;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 24px;
    align-items: start;
}

.intro-copy {
    min-width: 0;
}

.intro-media {
    min-width: 0;
}

.intro-video {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 20px;
    background: #0f172a;
    box-shadow: 0 24px 40px rgba(32, 53, 117, 0.2);
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    color: #3650b8;
    letter-spacing: 0.13em;
    font-weight: 700;
}

h1 {
    margin: 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(35px, 4.2vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #141a33;
    max-width: 22ch;
}

.lead {
    margin: 17px 0 0;
    color: #2f3f6e;
    font-size: 18px;
    line-height: 1.65;
    max-width: 60ch;
}

.smooth-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-soft);
}

.smooth-list li {
    position: relative;
    margin: 0;
    padding: 13px 0 13px 24px;
    line-height: 1.62;
    color: #22315a;
}

.smooth-list li::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 4px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(145deg, #3a5add, #4a85ff);
    box-shadow: 0 0 0 4px rgba(66, 102, 234, 0.16);
}

.smooth-list li + li {
    border-top: 1px solid var(--line-soft);
}

.smooth-list strong {
    color: #131f45;
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 11px 17px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #3557d9, #2438a1);
    box-shadow: 0 12px 24px rgba(43, 69, 171, 0.3);
}

.btn-secondary {
    color: #1a2b5d;
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.66);
}

.smooth-divider {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(30, 49, 110, 0), rgba(30, 49, 110, 0.36), rgba(30, 49, 110, 0));
}

.section-block {
    padding: 4px 2px;
}

.section-block h2 {
    margin: 0;
    font-family: "Outfit", "Trebuchet MS", sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    color: #151f45;
}

.section-copy {
    margin: 12px 0 0;
    color: #33467a;
    font-size: 16px;
    line-height: 1.6;
}

.smooth-list-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
}

.smooth-list-split li {
    border-top: 1px solid var(--line-soft);
}

.style-buttons {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}

.style-btn {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.74);
    color: #1e2e59;
    text-align: left;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.style-btn:hover {
    transform: translateY(-1px);
}

.style-btn.is-active {
    border-color: #3a5ddc;
    box-shadow: 0 0 0 2px rgba(58, 93, 220, 0.15);
}

.style-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex: 0 0 auto;
}

.style-dot-ocean_glow { background: linear-gradient(135deg, #0f766e, #0ea5e9); }
.style-dot-sunset_bloom { background: linear-gradient(135deg, #f97316, #ec4899); }
.style-dot-midnight_luxe { background: linear-gradient(135deg, #111827, #9a7a33); }
.style-dot-mint_breeze { background: linear-gradient(135deg, #0f766e, #22d3ee); }
.style-dot-rose_pop { background: linear-gradient(135deg, #be185d, #ea580c); }
.style-dot-mono_glass { background: linear-gradient(135deg, #111827, #4b5563); }
.style-dot-assistant_orbit { background: linear-gradient(135deg, #0d4da8, #1565c0); }

.style-meta {
    margin: 12px 0 0;
    color: #33467a;
    line-height: 1.5;
    font-size: 14px;
}

.style-meta strong {
    display: block;
    color: #161f44;
}

.chat-demo {
    --head: linear-gradient(135deg, #0f766e, #0ea5e9);
    --assistant: #d9efff;
    --user: linear-gradient(135deg, #0284c7, #0f766e);
    --chip: #0f766e;
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(78, 109, 206, 0.32);
    background: #f2f9ff;
    box-shadow: 0 18px 34px rgba(32, 53, 117, 0.16);
}

.chat-demo > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px;
    color: #ffffff;
    background: var(--head);
    font-size: 13px;
}

.chat-demo > header span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
}

.chat-demo-body {
    display: grid;
    gap: 7px;
    padding: 12px;
    background: linear-gradient(165deg, #f7fcff, #ecf7ff 60%, #f2ffff);
}

.msg {
    margin: 0;
    max-width: 86%;
    border-radius: 12px;
    padding: 8px 10px;
    line-height: 1.45;
    font-size: 13px;
}

.msg.assistant {
    color: #102f4a;
    background: var(--assistant);
    border: 1px solid rgba(124, 177, 227, 0.3);
}

.msg.user {
    margin-left: auto;
    color: #ffffff;
    background: var(--user);
}

.chat-demo > footer {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(116, 170, 221, 0.3);
    background: #f4fbff;
}

.chat-demo > footer input {
    flex: 1;
    border-radius: 9px;
    border: 1px solid rgba(122, 176, 226, 0.35);
    padding: 8px 9px;
}

.chat-demo > footer button {
    border: 0;
    border-radius: 9px;
    padding: 0 12px;
    color: #ffffff;
    background: var(--chip);
    font-weight: 700;
}

.theme-ocean_glow { --head: linear-gradient(135deg, #0f766e, #0ea5e9); --assistant: #d9efff; --user: linear-gradient(135deg, #0284c7, #0f766e); --chip: #0f766e; }
.theme-sunset_bloom { --head: linear-gradient(135deg, #f97316, #ec4899); --assistant: #ffe0d1; --user: linear-gradient(135deg, #db2777, #ea580c); --chip: #db2777; }
.theme-midnight_luxe { --head: linear-gradient(135deg, #020617, #374151); --assistant: #d7dde6; --user: linear-gradient(135deg, #9a7a33, #374151); --chip: #9a7a33; }
.theme-mint_breeze { --head: linear-gradient(135deg, #0f766e, #22d3ee); --assistant: #d8faef; --user: linear-gradient(135deg, #0f766e, #06b6d4); --chip: #0f766e; }
.theme-rose_pop { --head: linear-gradient(135deg, #be185d, #ea580c); --assistant: #ffdce7; --user: linear-gradient(135deg, #be185d, #c2410c); --chip: #be185d; }
.theme-mono_glass { --head: linear-gradient(135deg, #111827, #4b5563); --assistant: #e5e7eb; --user: linear-gradient(135deg, #1f2937, #4b5563); --chip: #1f2937; }
.theme-assistant_orbit { --head: linear-gradient(135deg, #0d4da8, #1565c0); --assistant: #dde4ef; --user: linear-gradient(135deg, #0d4da8, #1565c0); --chip: #1565c0; }

.site-footer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(30, 49, 110, 0.28);
    color: #1c274a;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(180px, auto) auto minmax(260px, 420px);
    align-items: start;
    gap: 14px 24px;
}

.footer-brand {
    font-size: 18px;
}

.footer-brand .brand-logo {
    width: auto;
    height: 38px;
    max-width: min(32vw, 165px);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: #17203a;
    border: 1px solid rgba(24, 36, 72, 0.2);
    background: rgba(255, 255, 255, 0.56);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.footer-subscribe {
    display: grid;
    gap: 8px;
}

.footer-subscribe label {
    font-size: 13px;
    font-weight: 600;
    color: #1d2b56;
}

.footer-subscribe-row {
    display: flex;
    gap: 8px;
}

.footer-subscribe-row input {
    width: 100%;
    min-width: 0;
    border-radius: 10px;
    border: 1px solid rgba(40, 61, 132, 0.3);
    background: rgba(255, 255, 255, 0.86);
    color: #1a2852;
    padding: 10px 12px;
    font-size: 14px;
}

.footer-subscribe-row input:focus {
    outline: none;
    border-color: #4464e2;
    box-shadow: 0 0 0 2px rgba(68, 100, 226, 0.18);
}

.footer-subscribe-row button {
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #3557d9, #2438a1);
    box-shadow: 0 10px 18px rgba(43, 69, 171, 0.24);
    cursor: pointer;
}

.footer-subscribe-row button:hover {
    opacity: 0.94;
}

.footer-flash {
    margin: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.footer-flash.ok {
    border: 1px solid #57bf8f;
    background: #def7e8;
    color: #204931;
}

.footer-flash.err {
    border: 1px solid #ef7f7f;
    background: #ffe2e2;
    color: #6f2323;
}

.site-footer-divider {
    height: 1px;
    margin: 16px 0 12px;
    background: linear-gradient(90deg, rgba(30, 49, 110, 0), rgba(30, 49, 110, 0.36), rgba(30, 49, 110, 0));
}

.site-footer-bottom {
    font-size: 12px;
    color: rgba(16, 21, 38, 0.75);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .smooth-list-split {
        grid-template-columns: 1fr;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(1160px, 94vw);
        padding-top: 14px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        font-size: clamp(31px, 10.5vw, 49px);
    }

    .brand-logo {
        height: 44px;
    }

    .footer-brand .brand-logo {
        height: 32px;
    }

    .lead {
        font-size: 16px;
    }

    .smooth-list li {
        font-size: 14px;
        line-height: 1.55;
        padding-left: 22px;
    }

    .btn {
        width: 100%;
    }

    .style-buttons {
        grid-template-columns: 1fr;
    }

    .footer-subscribe-row {
        flex-direction: column;
    }

    .footer-subscribe-row button {
        width: 100%;
        height: 42px;
    }
}
