* {
    box-sizing: border-box;
}

:root {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #0b0f14;
    color: #e8edf2;
}

a {
    color: #aac8e5;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 52px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 25px;
}

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

h1 {
    margin-bottom: 8px;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -.045em;
}

h2 {
    margin-bottom: 0;
    font-size: 20px;
}

.lead,
.muted {
    color: #91a2b3;
}

.lead {
    margin-bottom: 0;
    font-size: 17px;
}

.eyebrow {
    margin-bottom: 7px;
    color: #8095a9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.live {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid #26323e;
    border-radius: 999px;
    color: #91a2b3;
    font-size: 12px;
    white-space: nowrap;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #48c78e;
    box-shadow: 0 0 0 4px rgba(72,199,142,.12);
}

.card {
    padding: 23px;
    margin-bottom: 18px;
    border: 1px solid #26313c;
    border-radius: 18px;
    background: #111821;
    box-shadow: 0 14px 38px rgba(0,0,0,.16);
}

.ip-hero {
    padding: 28px;
}

.big-ip {
    margin: 10px 0 22px;
    overflow-wrap: anywhere;
    font-size: clamp(34px, 7vw, 66px);
    font-weight: 850;
    letter-spacing: -.055em;
}

.ip-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #e8edf2;
    color: #0b0f14;
    cursor: pointer;
    font-weight: 800;
}

button.secondary {
    border: 1px solid #394958;
    background: #17212b;
    color: #d8e0e7;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.source {
    padding: 4px 7px;
    border: 1px solid #344454;
    border-radius: 999px;
    color: #91a2b3;
    font-size: 10px;
    white-space: nowrap;
}

.source.browser {
    border-color: #4c3f66;
    color: #b9a8d6;
}

.facts {
    margin: 0;
}

.facts div {
    display: grid;
    grid-template-columns: minmax(120px, .85fr) 1.3fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #25303a;
}

.facts div:last-child {
    border-bottom: 0;
}

dt {
    color: #778b9e;
}

dd {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-weight: 650;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metric {
    min-width: 0;
    padding: 14px;
    border: 1px solid #26313c;
    border-radius: 12px;
    background: #0c1219;
}

.metric span {
    display: block;
    margin-bottom: 6px;
    color: #778b9e;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.metric strong {
    display: block;
    overflow-wrap: anywhere;
}

.latency-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 21px;
}

.latency-main strong {
    font-size: 56px;
    letter-spacing: -.05em;
}

.latency-main span {
    color: #8194a7;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-grid div {
    padding: 12px;
    border: 1px solid #26313c;
    border-radius: 11px;
    background: #0c1219;
}

.mini-grid span {
    display: block;
    color: #778b9e;
    font-size: 10px;
    text-transform: uppercase;
}

.mini-grid strong {
    display: block;
    margin-top: 5px;
}

.copy-state {
    min-height: 20px;
    margin-top: 12px;
    color: #79d8aa;
    font-size: 12px;
}

details summary {
    cursor: pointer;
    color: #a9b8c5;
    font-weight: 650;
}

pre {
    max-height: 520px;
    overflow: auto;
    margin-bottom: 0;
    padding: 15px;
    border: 1px solid #26313c;
    border-radius: 11px;
    background: #090d12;
    color: #b8c7d5;
    font-size: 12px;
    line-height: 1.55;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    padding: 3px 2px;
    color: #718397;
    font-size: 12px;
}

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

    .metrics {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .hero {
        display: block;
    }

    .live {
        width: fit-content;
        margin-top: 16px;
    }

    .metrics {
        grid-template-columns: 1fr;
    }

    .facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    dd {
        text-align: left;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

.network-status {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 4px 0 22px;
    padding: 13px 15px;
    border: 1px solid #2f604c;
    border-radius: 12px;
    background: #153428;
}

.network-status-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #79d8aa;
    box-shadow: 0 0 0 5px rgba(121, 216, 170, .12);
}

.network-status strong,
.network-status span {
    display: block;
}

.network-status strong {
    color: #9be8c1;
}

.network-status span {
    margin-top: 2px;
    color: #77b99a;
    font-size: 12px;
}
