/* Shared styles for the picook public site (colors follow DESIGN.md). */
:root {
  --terracotta: #d9724c;
  --cream: #fbf6ef;
  --charcoal: #2e2a26;
  --warm-gray: #8a7f76;
  --card-white: #ffffff;
  --divider: #e8e0d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

header {
  padding: 24px 16px 8px;
  max-width: 720px;
  margin: 0 auto;
}

header a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

header a span {
  color: var(--terracotta);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

.card {
  background: var(--card-white);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 16px;
}

h1 {
  font-size: 24px;
  line-height: 1.4;
  margin: 8px 0 16px;
}

h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 32px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider);
}

h3 {
  font-size: 16px;
  margin: 24px 0 8px;
}

a {
  color: var(--terracotta);
}

ul {
  padding-left: 24px;
}

.meta {
  color: var(--warm-gray);
  font-size: 14px;
}

.links a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
  text-decoration: none;
  font-weight: 600;
}

.links a:last-child {
  border-bottom: none;
}

footer {
  text-align: center;
  color: var(--warm-gray);
  font-size: 13px;
  padding: 0 16px 32px;
}
