*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --fg: #1a1a1a;
    --fg-muted: #666;
    --fg-faint: #888;
    --bg: #f9f9f7;
    --rule: #d8d8d4;
    --mono: "Courier New", Courier, monospace;
    --sans: Georgia, "Times New Roman", serif;
}

html {
    font-size: 16px;
    background: var(--bg);
    color: var(--fg);
}

body {
    font-family: var(--sans);
    /* max-width: 680px; */
    max-width: 60vw;
    margin: 0 auto;
    padding: 80px 24px 120px;
    line-height: 1.7;
}

/* --- Header --- */

header {
    margin-bottom: 72px;
}

.domain {
    font-family: var(--mono);
    font-size: 1.05rem;
    color: var(--fg-muted);
    letter-spacing: 0.02em;
    margin-bottom: 32px;
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--fg);
}

.subtitle {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--fg-muted);
}

/* --- Sections --- */

section {
    margin-bottom: 52px;
}

h2 {
    font-size: 0.72rem;
    font-weight: normal;
    font-family: var(--mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-faint);
    margin-bottom: 18px;
}

p {
    font-size: 0.97rem;
    color: #333;
}

p+p {
    margin-top: 12px;
}

/* --- DNS Table --- */

.dns-block {
    font-family: var(--mono);
    font-size: 0.88rem;
    line-height: 2;
}

.dns-row {
    display: grid;
    grid-template-columns: 110px 60px 1fr;
    gap: 0 24px;
    color: var(--fg);
    border-top: 1px solid var(--rule);
    padding: 6px 0;
}

.dns-row:last-child {
    border-bottom: 1px solid var(--rule);
}

.dns-label {
    color: var(--fg-muted);
}

.dns-type {
    color: var(--fg-faint);
}

/* --- Entities --- */

.entity-list {
    list-style: none;
}

.entity-list li {
    border-top: 1px solid var(--rule);
    padding: 14px 0;
    font-size: 0.95rem;
}

.entity-list li:last-child {
    border-bottom: 1px solid var(--rule);
}

.entity-name {
    font-weight: bold;
    color: var(--fg);
    display: block;
    margin-bottom: 2px;
}

.entity-desc {
    color: var(--fg-muted);
    font-size: 0.9rem;
}

/* --- Footer --- */

footer {
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    font-size: 0.82rem;
    color: var(--fg-faint);
    font-family: var(--mono);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

a {
    color: var(--fg);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--fg-muted);
}

/* --- Responsive --- */

@media (max-width: 480px) {
    body {
        padding: 48px 20px 80px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .dns-row {
        grid-template-columns: 90px 50px 1fr;
        gap: 0 12px;
        font-size: 0.8rem;
    }
}