:root {
    color-scheme: dark;
    --bg: #111418;
    --surface: #181d24;
    --surface-raised: #202732;
    --border: #344052;
    --text: #eef3f8;
    --muted: #aeb9c7;
    --accent: #37c6a3;
    --accent-2: #f4b95a;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        linear-gradient(180deg, rgba(55, 198, 163, 0.08), transparent 280px),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 2.5vw;
    border-bottom: 1px solid rgba(174, 185, 199, 0.16);
    background: rgba(17, 20, 24, 0.9);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 760;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(55, 198, 163, 0.45);
    border-radius: 8px;
    background: rgba(55, 198, 163, 0.14);
    color: var(--accent);
    font-size: 0.86rem;
}

.top-nav {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

..social-links a,
.bottom-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(174, 185, 199, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    text-decoration: none;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
}

.social-links a:hover,
.bottom-nav a:hover {
    color: var(--text);
    border-color: rgba(55, 198, 163, 0.35);
    background: rgba(55, 198, 163, 0.12);
}

.social-links a:hover {
    color: var(--text);
    border-color: rgba(55, 198, 163, 0.35);
    background: rgba(55, 198, 163, 0.12);
}

.top-nav a,
.back-link,
.text-link {
    color: var(--muted);
    text-decoration: none;
}

.top-nav a {
    padding: 8px 10px;
    border-radius: 8px;
}

.breadcrumb span[aria-current="page"] {
    padding: 8px 0;
    color: var(--text);
    font-weight: 750;
}

.breadcrumb-separator {
    color: var(--muted);
}

.top-nav a:hover,
.back-link:hover,
.text-link:hover {
    color: var(--text);
    text-decoration: underline;
}

.page-shell {
    width: 95vw;
    max-width: 1440px;
    margin: 0 auto;
    padding: 36px 0 56px;
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 1;
}

.lead {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.provider-card,
.service-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.provider-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.provider-card:hover,
.service-card:hover {
    border-color: rgba(55, 198, 163, 0.65);
    background: var(--surface-raised);
    transform: translateY(-2px);
}

.provider-logo {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 8px;
    font-size: 1.45rem;
    font-weight: 850;
}

.logo-azure {
    background: #0078d4;
}

.logo-aws {
    background: #232f3e;
    color: #ff9900;
}

.logo-gcp {
    background: conic-gradient(from 45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

.logo-oci {
    background: #c74634;
}

.card-title {
    margin: 18px 0 6px;
    font-size: 1.25rem;
}

.card-meta {
    margin: 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.service-card {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    text-decoration: none;
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.service-count {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
}

.service-count {
    margin-top: 18px;
    padding: 5px 9px;
    background: rgba(244, 185, 90, 0.14);
    color: var(--accent-2);
}

.content-section {
    margin-top: 28px;
}

.content-section h2 {
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.text-panel {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.text-panel p {
    max-width: 980px;
    margin-bottom: 0;
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.service-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    table-layout: fixed;
}

.service-table th,
.service-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(174, 185, 199, 0.14);
    text-align: left;
    vertical-align: top;
}

.service-table th {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-table th:nth-child(1),
.service-table td:nth-child(1) {
    width: 28%;
}

.service-table th:nth-child(2),
.service-table td:nth-child(2) {
    width: 24%;
}

.cost-vector-table th:nth-child(1),
.cost-vector-table td:nth-child(1) {
    width: 28%;
}

.cost-vector-table th:nth-child(2),
.cost-vector-table td:nth-child(2) {
    width: 72%;
}

.optimization-table th:nth-child(1),
.optimization-table td:nth-child(1) {
    width: 24%;
}

.optimization-table th:nth-child(2),
.optimization-table td:nth-child(2) {
    width: 56%;
}

.optimization-table th:nth-child(3),
.optimization-table td:nth-child(3) {
    width: 20%;
}

.service-table tr:last-child td {
    border-bottom: 0;
}

.table-link {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.table-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.detail-card {
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
    margin-top: 0.5rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(55, 198, 163, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--muted);
}

@media (max-width: 720px) {

    .site-header,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        gap: 12px;
    }

    .page-shell {
        padding-top: 28px;
    }

    .bottom-nav {
        justify-content: center;
    }
}

.site-footer {
    display: flex;
    justify-content: center;
    padding: 18px 2.5vw 30px;
}

.bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 720px;
}