:root { --rose: #d77a8f; --sage: #8fae9b; --paper: #fdf9f4; --line: #eadfd3; --text: #3d3536; --muted: #786d6f; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.8 "Josefin Sans", system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
.hand, .logo { font-family: "Caveat", cursive; }
img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 6px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

.head .wrap { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.logo { text-decoration: none; color: var(--rose); font-size: 38px; font-weight: 700; }
.head nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-size: 15px; letter-spacing: .04em; }

.hero { position: relative; padding-top: 10px; }
.hero img { height: 520px; }
.note { position: relative; max-width: 560px; margin: -120px 0 0 40px; background: #fff; padding: 28px 32px; box-shadow: 6px 8px 0 var(--line); transform: rotate(-1deg); }
.note .hand { color: var(--rose); font-size: 32px; margin: 0; }
.hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 4px 0 12px; }
.note p:last-child { margin: 0; }

section { padding-top: 64px; }
h2 { margin: 0 0 22px; }
h2 .hand { font-size: clamp(36px, 4.4vw, 50px); color: var(--rose); }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page { background: #fff; padding: 24px 26px; border-top: 4px solid var(--sage); background-image: repeating-linear-gradient(transparent 0 30px, var(--line) 30px 31px); }
.page h3 { margin: 0 0 6px; font-size: 20px; }
.page p { margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.split img { aspect-ratio: 1 / 1; }
.split ul { padding-left: 20px; }
.split li { margin-bottom: 6px; }

.me { margin-top: 64px; background: var(--sage); color: #fff; padding: 30px 36px; border-radius: 6px; }
.me h2 .hand { color: #fff; }
.me p { margin: 0; }

.foot { margin-top: 64px; padding: 26px 0; border-top: 1px dashed var(--rose); color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero img { height: 320px; }
  .note { margin: -60px 12px 0; }
  .pages, .split { grid-template-columns: 1fr; }
  .head nav { display: none; }
}
