* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, "Microsoft YaHei", sans-serif;
    color: #403743;
    background: #fffaf6;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid #805482;
}

.wrap {
    width: min(1120px, 92%);
    margin: auto;
}

header {
    border-bottom: 1px solid #eadbd6;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 60px 0;
}

h1 {
    font-size: clamp(32px, 5vw, 62px);
    line-height: 1.2;
    margin: 12px 0;
}

h2 {
    line-height: 1.35;
}

.eyebrow {
    color: #86505d;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
}

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

.hero img {
    border-radius: 180px 180px 20px 20px;
    width: 100%;
}

.button {
    display: inline-block;
    background: #58455e;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
}

.ribbon {
    background: #efe5f3;
    padding: 24px;
    border-radius: 18px;
}

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

.card {
    background: white;
    border: 1px solid #eee2df;
    border-radius: 18px;
    overflow: hidden;
}

.card img {
    width: 100%;
}

.copy {
    padding: 20px;
}

.card h3 {
    margin: 0;
}

section {
    margin: 36px 0;
}

.article {
    max-width: 760px;
    margin: 45px auto;
}

.article h1 {
    font-size: clamp(30px, 4vw, 46px);
}

.article img {
    border-radius: 20px;
    width: 100%;
}

footer {
    margin-top: 60px;
    padding: 30px 0;
    background: #eee5e2;
}

@media(max-width: 720px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 30px 0;
    }

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

    nav {
        gap: 12px;
    }

}

nav a[aria-current="page"] {
    color: #86505d;
    font-weight: 700;
    text-decoration: underline;
}
