* {
    box-sizing: border-box;
}
:root {
    color-scheme: light;
    --ink: #232747;
    --accent: #5541a2;
    --paper: #f5f4fc;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.85 system-ui, "Microsoft YaHei", sans-serif;
}
a {
    color: var(--accent);
    text-underline-offset: 4px;
}
img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.masthead, .wrap, .footer {
    max-width: 1180px;
    margin: auto;
    padding: 24px clamp(16px, 4vw, 48px);
}
.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-bottom: 1px solid #d8d6e8;
}
.brand {
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
}
.brand span {
    font-size: 13px;
    font-weight: 400;
}
nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 32px 0 56px;
}
h1 {
    font-size: clamp(29px, 4vw, 52px);
    line-height: 1.24;
    margin: 12px 0 24px;
}
h2 {
    font-size: 27px;
    line-height: 1.4;
}
h3 {
    font-size: 21px;
    line-height: 1.5;
    margin: 8px 0;
}
.eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
}
.cta {
    display: inline-block;
    padding: 10px 22px;
    background: var(--accent);
    color: white;
    border-radius: 6px;
}
.hero-art {
    background: radial-gradient(circle at 75% 20%, #7565c9, transparent 48%), linear-gradient(135deg, #141b40, #42336e);
    color: white;
    min-height: 350px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 16px;
}
.hero-art strong {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.1;
}
.catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.entry {
    min-width: 0;
    background: white;
    border: 1px solid #dedbea;
    border-radius: 16px;
    padding: 20px;
}
.entry:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 24px;
}
.method {
    margin-top: 40px;
    padding: 24px;
    border-left: 4px solid var(--accent);
    background: white;
}
.reading {
    max-width: 760px;
    margin: auto;
}
.lead {
    font-size: 19px;
}
.footer {
    border-top: 1px solid #d8d6e8;
    margin-top: 36px;
    font-size: 14px;
}
.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    background: white;
    padding: 8px;
}
.skip:focus {
    top: 8px;
}
@media (max-width: 700px) {
    .hero, .catalog, .entry:first-child {
        grid-template-columns: 1fr;
    }
    .hero-art {
        min-height: 240px;
    }
}
