:root {
    --bg: #f6f8fb;
    --panel: #ffffff;
    --border: #d9e2ec;
    --text: #243b53;
    --muted: #52667a;
    --heading: #102a43;
    --accent: #1f5ea8;
    --accent-soft: #e8f0fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

a {
    color: var(--accent);
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading);
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    font-weight: 600;
}

.site-nav a[aria-current="page"] {
    text-decoration: underline;
}

.page-main {
    padding: 28px 0 48px;
}

.narrow {
    max-width: 760px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.hero-cover img {
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.cover-actions {
    margin-top: 14px;
}

.hero-copy h1,
.panel h1,
.panel h2,
.panel h3 {
    color: var(--heading);
}

.hero-copy h1 {
    margin: 6px 0 14px;
    line-height: 1.2;
    font-size: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.lead {
    font-size: 1.08rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.button {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.button-block {
    display: block;
    text-align: center;
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-secondary {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid #bfd1ea;
}

.panel {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.panel-highlight {
    background: #f8fbff;
}

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

.author-block + .author-block {
    margin-top: 20px;
}

.contents-list {
    margin: 0;
    padding-left: 20px;
}

.contents-list li + li {
    margin-top: 8px;
}

.text-link {
    font-weight: 700;
}

@media (max-width: 840px) {
    .header-inner,
    .hero,
    .grid-two {
        grid-template-columns: 1fr;
        display: grid;
    }

    .header-inner {
        gap: 12px;
    }

    .site-nav {
        gap: 14px;
    }
}
