/* Household Knowledge: the app's colours (CLAUDE.md token table). No external fonts. */
:root {
  --background: #FBF7F2;
  --surface: #FFFFFF;
  --ink: #2E2A26;
  --ink-secondary: #4F4740;
  --ink-tertiary: #6B625A;
  --accent: #2F6F5E;
  --accent-pressed: #24594B;
  --accent-tint: #E3EFEA;
  --on-accent-tint: #1E4A3E;
  --card-edge: #EDE5DB;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

main, header, footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 20px;
}

header { padding-top: 28px; }

header a.home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

header a.home img { width: 36px; height: 36px; border-radius: 9px; }

h1 { font-size: 1.85rem; font-weight: 800; line-height: 1.2; margin: 28px 0 12px; }
h2 { font-size: 1.15rem; font-weight: 800; margin: 32px 0 8px; }
p, li { color: var(--ink-secondary); }
ul { padding-left: 1.2rem; }
li { margin-bottom: 6px; }
strong { color: var(--ink); }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-pressed); }

.hero { text-align: center; padding: 48px 0 16px; }
.hero img { width: 128px; height: 128px; border-radius: 28px; }
.hero h1 { margin-top: 20px; }
.hero p { font-size: 1.15rem; }

.card {
  background: var(--surface);
  border-radius: 18px;
  border-bottom: 2px solid var(--card-edge);
  padding: 4px 20px 12px;
  margin: 20px 0;
}

.links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 28px 0; }

.button {
  display: inline-block;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 16px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--accent-pressed); color: #FFFFFF; }

.button.secondary { background: var(--accent-tint); color: var(--on-accent-tint); }
.button.secondary:hover { background: #D3E6DE; color: var(--on-accent-tint); }

.updated { color: var(--ink-tertiary); font-size: 0.9rem; }

footer {
  margin-top: 48px;
  padding-bottom: 40px;
  color: var(--ink-tertiary);
  font-size: 0.9rem;
}

footer a { color: var(--ink-tertiary); }
