:root {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", system-ui, sans-serif;
}

.rich-prose {
    color: #cbd5e1;
}

.rich-prose > * + * {
    margin-top: 1rem;
}

.rich-prose h1,
.rich-prose h2,
.rich-prose h3,
.rich-prose h4 {
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    color: #f8fafc;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.rich-prose h2 {
    margin-top: 2.5rem;
    font-size: 1.875rem;
}

.rich-prose h3 {
    margin-top: 2rem;
    font-size: 1.375rem;
}

.rich-prose h4 {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
}

.rich-prose p,
.rich-prose li {
    line-height: 1.8;
}

.rich-prose a {
    color: #f7c35a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rich-prose a:hover {
    color: #ffedbf;
}

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

.rich-prose li + li {
    margin-top: 0.5rem;
}

.rich-prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.56);
}

.rich-prose th,
.rich-prose td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.rich-prose tr:last-child td {
    border-bottom: 0;
}

.rich-prose thead th,
.rich-prose th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.clients-directory table {
    border: 0;
    background: transparent;
    border-spacing: 1.75rem 0;
}

.clients-directory td,
.clients-directory th {
    border: 0;
    padding: 0;
}

.clients-directory h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
}

.clients-directory p {
    margin-top: 0.65rem;
}

.clients-directory br {
    display: block;
    margin-top: 0.4rem;
    content: "";
}

.logo-cloud img {
    opacity: 0.72;
    filter: grayscale(1) brightness(1.3);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.logo-cloud img:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

@media (max-width: 1023px) {
    .clients-directory table,
    .clients-directory tbody,
    .clients-directory tr,
    .clients-directory td {
        display: block;
        width: 100% !important;
    }

    .clients-directory td + td {
        margin-top: 2rem;
    }
}
