@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
    color-scheme: dark;
    --page-bg: #040b16;
    --page-bg-alt: #13213c;
    --surface: rgba(10, 18, 33, 0.8);
    --surface-strong: rgba(6, 12, 24, 0.94);
    --surface-soft: rgba(12, 22, 40, 0.72);
    --border: rgba(125, 211, 252, 0.18);
    --border-strong: rgba(125, 211, 252, 0.3);
    --text: #d7e7f8;
    --muted: #90a6c2;
    --heading: #f8fbff;
    --link: #7dd3fc;
    --link-hover: #fde68a;
    --shadow: 0 34px 90px rgba(2, 8, 23, 0.34);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 32%),
        radial-gradient(circle at right 20%, rgba(251, 191, 36, 0.14), transparent 24%),
        linear-gradient(180deg, var(--page-bg-alt) 0%, var(--page-bg) 58%, #020617 100%);
    color: var(--text);
    font-family: "Manrope", system-ui, sans-serif;
    line-height: 1.75;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: -1;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.28;
}

body::before {
    top: 8rem;
    right: 4rem;
    width: 15rem;
    height: 15rem;
    background: rgba(56, 189, 248, 0.4);
}

body::after {
    left: -4rem;
    bottom: 4rem;
    width: 18rem;
    height: 18rem;
    background: rgba(251, 191, 36, 0.18);
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.not-prose p,
.not-prose li {
    margin: 0;
}

.not-prose ul,
.not-prose ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-shell-heading {
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    letter-spacing: -0.03em;
}

.chat-shell-surface {
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.chat-shell-soft {
    border: 1px solid var(--border);
    background: rgba(8, 15, 28, 0.74);
}

.product-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px clamp(16px, 3.5vw, 36px) 64px;
}

#CommonHeader,
#CommonFooter {
    position: relative;
    z-index: 1;
}

.product-section > table:first-of-type {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.75rem;
}

.product-section > table:first-of-type > tbody > tr > td {
    padding: 0;
}

.product-section > table:first-of-type > tbody > tr > td:first-child {
    min-width: 0;
    padding-right: 2rem;
}

#rightcolumn {
    width: 19rem;
    min-width: 19rem;
}

.product-section h1,
.product-section h2,
.product-section h3,
.product-section h4,
.product-section h5 {
    margin: 0 0 0.85rem;
    color: var(--heading);
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.product-section h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.product-section h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.product-section h3 {
    margin-top: 2rem;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.product-section h4,
.product-section h5 {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.product-section p,
.product-section li,
.product-section td,
.product-section th {
    color: var(--text);
}

.product-section p {
    margin: 0 0 1rem;
}

.product-section ul,
.product-section ol {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.product-section li + li {
    margin-top: 0.5rem;
}

.product-section code {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    padding: 0.15rem 0.5rem;
    color: #e2e8f0;
    font-size: 0.95em;
}

.product-section table.Grid {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.product-section table.Grid td,
.product-section table.Grid th {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    vertical-align: top;
}

.product-section table.Grid tr:last-child td {
    border-bottom: 0;
}

.product-section table.Grid td:last-child,
.product-section table.Grid th:last-child {
    border-right: 0;
}

.product-section table.Grid th {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.22), rgba(125, 211, 252, 0.08));
    color: var(--heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-section .box {
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: var(--surface);
    padding: 1.15rem;
    box-shadow: var(--shadow);
}

.product-section .f4 {
    background: var(--surface-soft);
}

.product-section .strong {
    color: var(--heading);
    font-weight: 700;
}

.product-section ul.sidebarlist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.product-section ul.sidebarlist li {
    margin: 0;
    padding: 0;
    background: none;
}

.product-section ul.sidebarlist a {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
}

.product-section ul.sidebarlist a:hover {
    background: rgba(125, 211, 252, 0.14);
    color: var(--heading);
}

.product-section .parent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(15, 23, 42, 0.72);
    padding: 0.55rem 0.9rem;
    color: var(--heading);
    font-weight: 600;
}

.product-section .child,
.product-section .childBox {
    margin: 1rem 0 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.product-section .faq {
    margin-top: 2rem;
    color: var(--heading);
}

.product-section > div[style*="border: solid 1px #eee"] {
    border: 1px solid var(--border) !important;
    border-radius: 1.75rem;
    background: var(--surface) !important;
    padding: clamp(1.35rem, 3vw, 2rem) !important;
    box-shadow: var(--shadow);
}

.product-section p[style*="border: solid 1px #cccccc"],
.product-section div[style*="border: solid 1px #cccccc"] {
    width: auto !important;
    max-width: 18rem;
    border: 1px solid var(--border) !important;
    border-radius: 1.5rem;
    background: rgba(8, 15, 28, 0.8);
    padding: 1rem !important;
}

.product-section td[width="140"],
.product-section td[width="160"],
.product-section td[style*="width:160px"] {
    width: 16rem;
}

.product-section table[width="100%"] {
    width: 100%;
}

@media (max-width: 1023px) {
    .product-section > table:first-of-type,
    .product-section > table:first-of-type > tbody,
    .product-section > table:first-of-type > tbody > tr,
    .product-section > table:first-of-type > tbody > tr > td,
    #rightcolumn {
        display: block;
        width: 100% !important;
        min-width: 0;
    }

    .product-section > table:first-of-type > tbody > tr > td:first-child {
        padding-right: 0;
    }

    #rightcolumn {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .product-section {
        padding-bottom: 48px;
    }

    .product-section h1 {
        font-size: 2.15rem;
    }

    .product-section h2 {
        font-size: 1.8rem;
    }

    .product-section td[width="140"],
    .product-section td[width="160"],
    .product-section td[style*="width:160px"] {
        width: 100%;
    }
}
