@font-face {
    font-family: "InstrumentSans";
    src: local("InstrumentSans"), url("fonts/InstrumentSans.ttf") format("truetype");
    font-weight: 400 700;
    font-style: normal;
    font-synthesis: none;
    font-display: swap;
}

:root {
    --primary-color: #AB824D;
    --black: #1A1A1A;
    --pop-gray: #242426;
    --poco-gray: #888888;
    --line-dark: #3c3c3c;
    --ok: #49aa19;
    --minor: #d89614;
    --major: #dc4446;
    --maint: #1668dc;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
    margin: 0;
    background: var(--black);
    color: #fff;
    font-family: "InstrumentSans", -apple-system, Inter, system-ui, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

::-webkit-scrollbar { width: 8px; height: 4px; }
::-webkit-scrollbar-track { background: rgba(241, 241, 241, 0); }
::-webkit-scrollbar-thumb { background: rgba(136, 136, 136, 0.43); border-radius: 5px; }

.layout {
    position: relative;
    overflow-x: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--black);
}

.landing-page-blur-div {
    position: absolute;
    width: 380px;
    height: 380px;
    right: -340px;
    top: -70px;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    background-color: var(--primary-color);
    border-radius: 9999px;
    pointer-events: none;
}

.text-primary { color: var(--primary-color); }
.text-muted { color: var(--poco-gray); }
.small { font-size: 12px; margin-top: 10px; }

.ant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 15px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s cubic-bezier(.645, .045, .355, 1);
    color: #fff;
}
.ant-btn-primary {
    background: var(--primary-color);
    box-shadow: 0 2px 0 rgba(171, 130, 77, .1);
}
.ant-btn-primary:hover { background: #c19a64; }
.ant-btn-ghost {
    background: transparent;
    border: 1px solid #FFFFFF1A;
}
.ant-btn-ghost:hover { color: #fff; }
.ant-btn-block { width: 100%; }

.ant-divider {
    border-top: 1px solid rgba(253, 253, 253, .12);
    margin: 24px 0;
    width: 100%;
}

.navbar {
    position: relative;
    z-index: 1500;
    width: 100%;
    padding: 20px 18px;
}
.navbar.menu-opened { background: var(--pop-gray); }
.navbar-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 58px;
    width: 100%;
}
.navbar-logo img { width: 120px; height: auto; cursor: pointer; }
.navbar-links { display: none; flex-direction: row; gap: 27px; }
.navbar-links a, .navbar-mobile-links a, .footer-links a { font-weight: 500; color: #fff; }
.navbar-spacer { flex: 1; }
.navbar-actions { display: none; flex-direction: row; gap: 12px; align-items: center; }
.navbar-menu { background: none; border: 0; padding: 0; cursor: pointer; }
.navbar-menu img { width: 31px; }

.navbar-mobile { display: flex; flex-direction: column; margin-top: 27px; }
.navbar-mobile[hidden] { display: none; }
.navbar-mobile-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.navbar-mobile-links a { border-bottom: 1px solid #FFFFFF1A; padding: 10px 0; }
.navbar-mobile-lang { margin-bottom: 20px; display: flex; }
.navbar-mobile-actions { display: flex; flex-direction: column; gap: 12px; }

.lang-select { position: relative; margin: auto 0; }
.lang-trigger {
    background: #FFFFFF1A;
    cursor: pointer;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 0;
    color: #fff;
    font: inherit;
}
.lang-trigger img, .lang-option img { width: 16px; height: 16px; border-radius: 9999px; object-fit: cover; }
.lang-trigger svg { width: 10px; height: 10px; fill: #fff; }
.lang-popover {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 2200;
    background: #1f1f1f;
    border-radius: 8px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, .08), 0 3px 6px -4px rgba(0, 0, 0, .12), 0 9px 28px 8px rgba(0, 0, 0, .05);
    padding: 12px;
}
.lang-popover[hidden] { display: none; }
.lang-list { min-width: 140px; padding: 8px 0; }
.lang-option {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    width: 100%;
    text-align: left;
}
.navbar-mobile .lang-popover { left: 0; right: auto; }

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 21px 99px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.page-title { font-size: 48px; line-height: 1.15; }

.section { display: flex; flex-direction: column; }
.section-head { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head .section-title { margin-bottom: 0; }
.section-title { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 11px; }

.legend { display: flex; gap: 16px; color: var(--poco-gray); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-sq { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.legend-ok { background: var(--ok); }
.legend-minor { background: var(--minor); }
.legend-major { background: var(--major); }

.panel {
    background: var(--pop-gray);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
}
.panel-row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.panel-title { font-size: 20px; margin-bottom: 4px; }
.panel-error { border: 1px solid var(--major); }
.panel-error a { color: var(--primary-color); }

.status-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--pop-gray);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
}
.status-dot { width: 12px; height: 12px; border-radius: 9999px; background: var(--poco-gray); flex: none; }
.status-summary-title { font-size: 20px; }
.status--none .status-dot { background: var(--ok); }
.status--minor .status-dot { background: var(--minor); }
.status--major .status-dot, .status--critical .status-dot { background: var(--major); }
.status--maintenance .status-dot { background: var(--maint); }

.component-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.component-name { font-size: 20px; }
.component-status { font-size: 14px; }
.component-status--operational { color: var(--ok); }
.component-status--degraded_performance, .component-status--partial_outage { color: var(--minor); }
.component-status--major_outage { color: var(--major); }
.component-status--under_maintenance { color: var(--maint); }
.group-label { color: var(--poco-gray); margin: 8px 0 0; }

.bars { display: flex; gap: 2px; margin-top: 14px; height: 30px; }
.bar { flex: 1; border-radius: 2px; background: var(--ok); min-width: 2px; }
.bar--minor { background: var(--minor); }
.bar--major { background: var(--major); }
.bar--maintenance { background: var(--maint); }
.bar--nodata { background: var(--line-dark); }
.bars-meta { display: flex; justify-content: space-between; color: var(--poco-gray); font-size: 12px; margin-top: 6px; }

.incident-title { font-size: 20px; margin-bottom: 4px; }
.incident--minor .incident-title { color: var(--minor); }
.incident--major .incident-title, .incident--critical .incident-title { color: var(--major); }
.incident--maintenance .incident-title { color: var(--maint); }
.update { margin-top: 14px; padding-top: 14px; border-top: 1px solid #FFFFFF1A; }
.update-status { font-weight: 600; }
.update-body { margin: 4px 0; white-space: pre-line; }

.past-date { font-size: 16px; margin-bottom: 4px; }
.past-item { margin-top: 6px; }

.footer { padding: 31px 21px; display: flex; flex-direction: column; }
.footer-top { display: flex; flex-direction: column; gap: 56px; justify-content: center; align-items: center; }
.footer-top > a img { width: 120px; height: auto; }
.footer-links { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 27px; }
.footer-social { display: flex; flex-direction: row; gap: 20px; }
.footer-social img { width: 31px; }
.footer-bottom { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-legal { display: flex; flex-direction: row; text-align: center; justify-content: center; align-items: center; gap: 3px; }

@media (min-width: 1024px) {
    .navbar { padding: 31px 77px; }
    .navbar-links, .navbar-actions { display: flex; }
    .navbar-menu, .navbar-mobile { display: none !important; }
    .content { padding: 40px 76px 99px; gap: 52px; }
    .page-title { font-size: 80px; }
    .section-title { font-size: 32px; }
    .panel, .status-summary { padding: 1.5rem 1.5rem; }
    .footer { padding: 41px 76px; }
    .footer-top { flex-direction: row; }
    .footer-links { flex-direction: row; }
    .footer-bottom { justify-content: space-between; }
}

.lang-popover::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

.cookie-card {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    width: min(720px, calc(100vw - 32px));
    padding: 14px 16px;
    background: #141414;
    color: #fff;
    border-radius: 14px;
    border: 1px solid #B5894D;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.cookie-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cookie-icon { width: 36px; height: 36px; flex-shrink: 0; }
.cookie-text { font-size: 14px; line-height: 1.25; font-weight: 400; white-space: normal; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cookie-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}
.cookie-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cookie-btn--gold { background: #B5894D; color: #fff; border-color: #B5894D; }
.cookie-link { font-size: inherit; font-weight: inherit; color: #B5894D; text-decoration: underline; }
.cookie-link:hover { opacity: 0.85; }

@media (max-width: 520px) {
    .cookie-card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cookie-icon { width: 44px; height: 44px; }
    .cookie-text { font-size: 18px; }
    .cookie-actions { width: 100%; justify-content: flex-end; }
    .cookie-btn { height: 44px; font-size: 16px; padding: 0 14px; border-radius: 12px; }
}
