:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #1b1b1a;
  --muted: #66645e;
  --line: #e3e1da;
  --accent: #1b1b1a;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px 40px;
}

header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p { margin: 0; color: var(--muted); }

a { color: inherit; }

.products {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.products li {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.products li:last-child { border-bottom: 0; padding-bottom: 0; }

.products .name {
  font-weight: 600;
  text-decoration: none;
}

.products span { color: var(--muted); font-size: 15px; }

.products nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 6px;
  font-size: 14px;
}

.products nav a { color: var(--muted); }

button {
  margin-top: 20px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 480px) {
  main { padding-top: 32px; }
  header { margin-bottom: 28px; }
  section { padding: 24px 18px; }
  h1 { font-size: 23px; }
}
