/* CheckSite.us shared styles */
:root {
    --bg: #fbfaf7;
    --white: #ffffff;
    --ink: #1b1b2f;
    --ink-2: #4f4e66;
    --ink-3: #6a6980;
    --line: rgba(27, 27, 47, 0.1);
    --violet: #6c4cff;
    --violet-deep: #5538e0;
    --lav: #e8e4ff;
    --mint: #d9f6e8;
    --peach: #ffe6d8;
    --sky: #dceeff;
    --lemon: #fff2c2;
    --rose: #ffe0ea;
    --up: #2fc98a;
    --up-ink: #0d2a1c;
    --down: #d93a2b;
    --ok-text: #12794f;
    --err-text: #c81e3a;
    --warn-text: #9a5e04;
    --r-tile: 22px;
    --r-box: 14px;
    --sans: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --wrap: 1040px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'tnum' 1;
}

a {
    color: inherit;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.top {
    padding: 22px 0;
}

.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand b {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 20px;
    height: 20px;
    flex: none;
}

.brand b i {
    border-radius: 3px;
}

.brand b i:nth-child(1) { background: var(--violet); }
.brand b i:nth-child(2) { background: #ff8a5b; }
.brand b i:nth-child(3) { background: var(--up); }
.brand b i:nth-child(4) { background: #ffd166; }

.brand span {
    color: var(--ink-3);
    font-weight: 500;
}

.top-note {
    font-size: 14px;
    color: var(--ink-3);
}

/* ---------- Hero ---------- */
main {
    flex: 1;
}

.hero {
    padding: 48px 0 32px;
}

h1 {
    margin: 0 0 28px;
    font-size: 72px;
    font-size: clamp(38px, 9vw, 84px);
    line-height: 0.98;
    font-weight: 800;
    font-variation-settings: 'opsz' 96;
    letter-spacing: -0.04em;
    max-width: 13ch;
}

.lede {
    margin: 18px 0 0;
    max-width: 50ch;
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.5;
}

/* ---------- Search ---------- */
.search {
    margin: 0;
    width: 100%;
    max-width: 680px;
}

.search-box {
    display: flex;
    align-items: stretch;
    gap: 6px;
    background: var(--white);
    border: 2.5px solid var(--ink);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 6px 6px 0 var(--ink);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.search-box:focus-within {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 var(--ink);
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 16px;
    font: inherit;
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    outline: none;
}

.search-box input::placeholder {
    color: #a8a7b8;
    font-weight: 400;
}

.btn {
    font: inherit;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 120ms ease, color 120ms ease;
}

.btn:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.btn.primary {
    background: var(--violet);
    color: #fff;
    border-radius: 12px;
    padding: 15px 26px;
    font-size: 16px;
    flex: none;
}

.btn.primary:hover:not(:disabled) {
    background: var(--violet-deep);
}

.btn.primary:disabled {
    cursor: default;
    opacity: 0.9;
}

.spinner {
    display: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
}

.btn.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Compact form in the header on result pages */
.top .search {
    max-width: 480px;
}

.top .search-box {
    border-width: 2px;
    border-radius: 12px;
    padding: 4px;
    box-shadow: none;
    gap: 4px;
}

.top .search-box:focus-within {
    transform: none;
    box-shadow: 0 0 0 3px rgba(108, 76, 255, 0.25);
}

.top .search-box input {
    font-size: 15px;
    padding: 0 12px;
}

.top .btn.primary {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 8px;
}

/* ---------- What a check covers ---------- */
.covers {
    padding: 8px 0 56px;
}

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

.tile {
    border-radius: var(--r-tile);
    padding: 22px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tile h2 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tile p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(27, 27, 47, 0.72);
}

.t-lav { background: var(--lav); }
.t-mint { background: var(--mint); }
.t-peach { background: var(--peach); }
.t-sky { background: var(--sky); }
.t-lemon { background: var(--lemon); }
.t-rose { background: var(--rose); }

/* ---------- Results ---------- */
.results {
    padding: 8px 0 48px;
}

.verdict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 26px;
    background: var(--ink);
    color: #fff;
}

.verdict.up {
    background: var(--up);
    color: var(--up-ink);
}

.verdict.down {
    background: var(--down);
    color: #fff;
}

.verdict.notice {
    background: var(--lemon);
    color: var(--ink);
}

.verdict-text {
    min-width: 0;
}

.verdict-title {
    margin: 0;
    font-size: 42px;
    font-size: clamp(30px, 4.6vw, 46px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.verdict-title .domain {
    font-weight: 500;
}

.verdict-sub {
    margin: 10px 0 0;
    font-size: 15.5px;
    opacity: 0.88;
}

.verdict-sub .domain {
    font-family: var(--mono);
    font-size: 0.95em;
}

/* Stamp: the rotated label on the right of the verdict */
.verdict-icon {
    flex: none;
    display: none;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transform: rotate(-4deg);
}

.verdict.up .verdict-icon,
.verdict.down .verdict-icon,
.verdict.pending .verdict-icon {
    display: block;
}

.verdict.up .verdict-icon {
    background: var(--up-ink);
    color: var(--up);
}

.verdict.up .verdict-icon::after {
    content: 'All good';
}

.verdict.down .verdict-icon {
    background: #fff;
    color: var(--down);
}

.verdict.down .verdict-icon::after {
    content: 'Down';
}

.verdict.pending .verdict-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    animation: blink 1.2s ease-in-out infinite;
}

.verdict.pending .verdict-icon::after {
    content: 'Checking';
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

.proto-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 4px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px 7px 11px;
    border-radius: 999px;
    background: var(--white);
    border: 1.5px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
}

.chip::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ink-3);
}

.chip.ok::before {
    background: var(--up);
}

.chip.err::before {
    background: var(--down);
}

.chip.pending::before {
    animation: blink 1.2s ease-in-out infinite;
}

/* ---------- Tiles: DNS panel and target cards ---------- */
.panels,
.cards {
    display: grid;
    gap: 14px;
}

.panels {
    margin-top: 14px;
}

.cards {
    margin-top: 14px;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.panel,
.card {
    background: var(--lav);
    border-radius: var(--r-tile);
    padding: 18px 22px 20px;
    margin: 0;
    min-width: 0;
}

.panel {
    background: var(--sky);
}

.card[data-key$="-http"] {
    background: var(--peach);
}

.card[data-key$="-https"] {
    background: var(--mint);
}

.card.down {
    background: var(--rose);
}

.panel-head,
.card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 12px;
}

.panel-title,
.card-label {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
    margin-right: auto;
}

.card-url {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--ink-2);
    padding: 0 0 10px;
    overflow-wrap: anywhere;
}

.pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pill.proto {
    background: rgba(27, 27, 47, 0.08);
    color: var(--ink);
    font-family: var(--mono);
    font-weight: 500;
}

.pill.ok {
    background: var(--up-ink);
    color: #7ef0bd;
}

.pill.err {
    background: var(--white);
    color: var(--err-text);
}

.pill.warn {
    background: var(--white);
    color: var(--warn-text);
}

.pill.muted {
    background: rgba(27, 27, 47, 0.08);
    color: var(--ink-3);
}

/* Key/value rows inside tiles */
.kv {
    margin: 0;
    display: block;
}

.kv > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1.5px solid rgba(27, 27, 47, 0.08);
    align-items: baseline;
    font-size: 14px;
}

.kv dt {
    color: rgba(27, 27, 47, 0.62);
}

.kv dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 500;
}

.kv dd.mono {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 400;
}

.kv.rec dt {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--ink);
}

.tone-ok { color: var(--ok-text); }
.tone-warn { color: var(--warn-text); }
.tone-err { color: var(--err-text); }
.tone-muted { color: var(--ink-3); }

.via {
    display: inline-block;
    margin-left: 8px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 400;
    color: var(--ink-3);
}

.meter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 400;
}

.meter-bar {
    display: inline-block;
    width: 90px;
    height: 7px;
    border-radius: 4px;
    background: rgba(27, 27, 47, 0.1);
    overflow: hidden;
}

.meter-bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--ink);
    transition: width 320ms ease;
}

.plat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.plat::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink);
}

.plat-cdn::before {
    background: var(--violet);
}

.panel-note {
    padding: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Redirect chain */
.chain {
    margin-top: 14px;
    padding: 14px 16px 12px;
    border-radius: var(--r-box);
    background: rgba(255, 255, 255, 0.65);
}

.chain-title,
.cert-title,
.sec-title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.chain-count,
.hdrs-count {
    margin-left: 6px;
    font-family: var(--mono);
    font-weight: 400;
    font-size: 12px;
    color: var(--ink-3);
}

.chain-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-family: var(--mono);
    font-size: 12.5px;
}

.chain-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    padding: 5px 0 5px 10px;
    border-left: 2.5px solid rgba(27, 27, 47, 0.15);
    overflow-wrap: anywhere;
}

.chain-list li:last-child {
    border-left-color: var(--ink);
}

.chain-code {
    font-weight: 500;
}

/* Certificate and security blocks: white boxes inside the tile */
.cert,
.sec {
    margin-top: 14px;
    padding: 14px 16px 10px;
    border-radius: var(--r-box);
    background: rgba(255, 255, 255, 0.7);
}

.cert-head,
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 6px;
}

.cert .kv > div {
    grid-template-columns: 90px 1fr;
    font-size: 13.5px;
}

.cert-note {
    margin: 6px 0 4px;
    font-size: 14px;
    color: var(--ink-2);
}

.grade {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    background: var(--ink);
}

.grade-ok { background: var(--ok-text); }
.grade-warn { background: var(--warn-text); }
.grade-err { background: var(--down); }

.sec-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px 16px;
    font-family: var(--mono);
    font-size: 12.5px;
}

.sec-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sec-mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: none;
    background: var(--up);
}

.sec-list .fail {
    color: var(--ink-2);
}

.sec-list .fail .sec-mark {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--down);
}

/* Response headers / TXT disclosure */
.hdrs {
    margin-top: 12px;
    border-top: 1.5px solid rgba(27, 27, 47, 0.08);
}

.hdrs summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 0 4px;
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
}

.hdrs summary::-webkit-details-marker {
    display: none;
}

.hdrs-sum::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(-45deg);
    margin: 0 10px 2px 2px;
    transition: transform 160ms ease;
}

.hdrs[open] .hdrs-sum::before {
    transform: rotate(45deg);
}

.hdrs-body {
    margin-top: 6px;
    padding: 4px 14px;
    border-radius: var(--r-box);
    background: rgba(255, 255, 255, 0.65);
    font-family: var(--mono);
    font-size: 12px;
}

.hdr {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid rgba(27, 27, 47, 0.08);
}

.hdr:first-child {
    border-top: 0;
}

.hdr-name {
    color: var(--ink-2);
}

.hdr-value {
    overflow-wrap: anywhere;
}

/* Callouts */
.callout {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: var(--r-box);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
}

.callout.err {
    color: var(--err-text);
}

.retry-link {
    margin-left: 8px;
    font-weight: 700;
}

/* Skeletons while live checks run */
.sk-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-top: 1.5px solid rgba(27, 27, 47, 0.08);
}

.sk {
    display: block;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(27, 27, 47, 0.08) 25%, rgba(27, 27, 47, 0.16) 50%, rgba(27, 27, 47, 0.08) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}

.sk-row .sk:first-child {
    width: 70%;
}

.sk-row .sk:last-child {
    width: 45%;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* Share */
.share {
    margin-top: 24px;
}

.share-label {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.share-label svg {
    display: none;
}

.share-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.share-url {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 12px;
    font-family: var(--mono);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn.secondary {
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 14px;
    white-space: nowrap;
}

.btn.secondary:hover:not(:disabled) {
    background: var(--lav);
}

.btn.secondary.copied {
    background: var(--up);
    border-color: var(--up);
    color: var(--up-ink);
}

/* ---------- Footer ---------- */
.foot {
    padding: 18px 0 28px;
    font-size: 13.5px;
    color: var(--ink-3);
}

.foot .wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1.5px solid var(--line);
    padding-top: 18px;
}

.foot a {
    text-decoration: none;
    color: var(--ink-2);
    font-weight: 600;
}

.foot a:hover {
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .top .wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .top .search {
        max-width: none;
    }

    .top-note {
        display: none;
    }

    .hero {
        padding: 28px 0 28px;
    }

    .search-box {
        border-radius: 16px;
        box-shadow: 4px 4px 0 var(--ink);
    }

    .search-box input {
        font-size: 17px;
        padding: 0 12px;
    }

    .btn.primary {
        padding: 13px 18px;
        font-size: 15px;
    }

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

    .tile {
        min-height: 0;
    }

    .verdict {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
        gap: 18px;
    }

    .verdict-icon {
        font-size: 17px;
        padding: 10px 16px;
        transform: rotate(-3deg);
    }

    .kv > div,
    .cert .kv > div,
    .sk-row,
    .hdr {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .kv dt {
        font-size: 12.5px;
    }

    .panel,
    .card {
        padding: 16px 18px 18px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .spinner,
    .sk,
    .chip.pending::before,
    .verdict.pending .verdict-icon {
        animation: none;
    }

    .meter-bar i,
    .hdrs-sum::before,
    .search-box {
        transition: none;
    }
}

/* ---------- Header and footer navigation ---------- */
.top-nav {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* On result pages the compact form shares the row with the nav: let it flex, not the nav. */
.top .search {
    flex: 1 1 300px;
    min-width: 0;
}

@media (max-width: 900px) {
    .top .wrap {
        flex-wrap: wrap;
    }

    .top .search {
        flex-basis: 100%;
        max-width: none;
        order: 3;
    }

    .top-nav {
        margin-left: auto;
    }
}

.top-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--ink-2);
}

.top-nav a:hover {
    background: rgba(27, 27, 47, 0.06);
}

.top-nav a.current {
    background: var(--ink);
    color: #fff;
}

.foot-links {
    display: flex;
    gap: 18px;
}

/* ---------- SSL checker ---------- */
.verdict.warn {
    background: #ffd166;
    color: var(--ink);
}

.verdict.warn .verdict-icon {
    display: block;
    background: var(--ink);
    color: #ffd166;
}

.verdict-icon.txt {
    display: block;
}

.verdict.up .verdict-icon.txt::after,
.verdict.down .verdict-icon.txt::after,
.verdict.pending .verdict-icon.txt::after,
.verdict.warn .verdict-icon.txt::after {
    content: none;
}

.lede code {
    font-family: var(--mono);
    font-size: 0.92em;
    background: rgba(27, 27, 47, 0.06);
    padding: 2px 6px;
    border-radius: 6px;
}

.verdict.notice .verdict-icon.txt {
    background: var(--ink);
    color: var(--lemon);
}

.card.t-mint { background: var(--mint); }
.card.t-sky { background: var(--sky); }
.card.t-lav { background: var(--lav); }
.card.t-lemon { background: var(--lemon); }
.card.t-rose { background: var(--rose); }
.card.t-peach { background: var(--peach); }

.cards.one {
    grid-template-columns: 1fr;
}

.names {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.names li {
    font-family: var(--mono);
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    overflow-wrap: anywhere;
}

.names li.hit {
    background: var(--ink);
    color: #fff;
}

.certs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certs li {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 10px;
    padding: 10px 0;
    border-top: 1.5px solid rgba(27, 27, 47, 0.08);
    align-items: baseline;
}

.certs .n {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-3);
}

.certs .cn {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.certs .by {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ink-2);
}

.certs .exp {
    font-family: var(--mono);
    font-size: 12.5px;
    white-space: nowrap;
}

.note-line {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .top .search {
        flex-basis: auto;
        order: 2;
    }

    .top-nav {
        order: 3;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .certs li {
        grid-template-columns: 26px 1fr;
    }

    .certs .exp {
        grid-column: 2;
    }
}

/* ---------- DNS lookup ---------- */
.card.wide {
    grid-column: 1 / -1;
}

.prop {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.prop th {
    text-align: left;
    font-weight: 600;
    font-size: 12.5px;
    color: rgba(27, 27, 47, 0.62);
    padding: 4px 10px 8px 0;
    border-bottom: 1.5px solid rgba(27, 27, 47, 0.12);
}

.prop td {
    padding: 9px 10px 9px 0;
    border-bottom: 1.5px solid rgba(27, 27, 47, 0.08);
    vertical-align: top;
    overflow-wrap: anywhere;
}

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

.prop td.mono {
    font-family: var(--mono);
    font-size: 13px;
}

.prop .dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--up);
    margin-right: 9px;
    vertical-align: 1px;
}

.prop tr.diff .dot {
    background: var(--warn-text);
}

.prop tr.bad .dot {
    background: var(--down);
}

.prop td:first-child {
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .prop th:nth-child(3),
    .prop td:nth-child(3) {
        display: none;
    }

    .prop td:first-child .via {
        display: none;
    }
}

.prop.varies tr.diff .dot {
    background: var(--ink-3);
}
