:root {
  --bg: #f9faf5;
  --ink: #1d1f25;
  --muted: #6b6f78;
  --line: #e4e5df;
  --accent: #7a5c3e;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: inherit; }
header, main, footer { max-width: 960px; margin: 0 auto; padding: 0 24px; }
header {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.logo { font-weight: 700; font-size: 22px; letter-spacing: 0.02em; text-decoration: none; }
nav a { margin-left: 20px; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
.hero { padding: 72px 0 48px; }
.hero h1 { font-size: 44px; line-height: 1.1; max-width: 640px; }
.hero p { margin-top: 16px; color: var(--muted); max-width: 520px; }
.button {
  display: inline-block; margin-top: 28px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-bottom: 64px; }
.card { text-decoration: none; }
.swatch { aspect-ratio: 4 / 5; border-radius: 16px; }
.card h3 { margin-top: 12px; font-size: 16px; }
.card span { color: var(--muted); font-size: 14px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 72px; }
.product h1 { font-size: 36px; }
.price { margin-top: 8px; font-size: 20px; color: var(--accent); font-weight: 600; }
.product p { margin-top: 16px; color: var(--muted); }
footer {
  padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .product { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; }
}
