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

body {
    margin: 0;
    padding: 24px;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background: radial-gradient(circle at top, #eef2ff 0, #f9fafb 42%, #f3f4f6 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Main card */
.page {
    width: 100%;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 24px 22px 26px;
    box-shadow:
            0 18px 45px rgba(15, 23, 42, 0.08),
            0 0 0 1px rgba(148, 163, 184, 0.24);
    backdrop-filter: blur(8px);
}

/* Header */
.page-header {
    border-bottom: 1px solid rgba(209, 213, 219, 0.8);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.site-title {
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
}

.site-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
}

/* Sections */
.section {
    padding-top: 10px;
    margin-top: 10px;
}

.section + .section {
    margin-top: 16px;
    border-top: 1px dashed rgba(209, 213, 219, 0.9);
    padding-top: 16px;
}

.section h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b5563;
}

/* Text */
p {
    margin: 0 0 8px;
    font-size: 0.98rem;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.25);
    padding-bottom: 1px;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

a:hover,
a:focus-visible {
    color: #1d4ed8;
    border-bottom-color: rgba(37, 99, 235, 0.7);
    background-color: rgba(219, 234, 254, 0.5);
}

/* Contact list */
.link-list {
    list-style: none;
    padding-left: 0;
    margin: 4px 0 0;
}

.link-list li {
    font-size: 0.96rem;
    padding: 3px 0;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    body {
        padding: 16px;
        align-items: stretch;
    }

    .page {
        padding: 18px 16px 20px;
        border-radius: 14px;
        box-shadow:
                0 14px 32px rgba(15, 23, 42, 0.08),
                0 0 0 1px rgba(148, 163, 184, 0.20);
    }

    .site-title {
        font-size: 1.5rem;
    }
}
