/* Chit colours from combine/src/theme.ts. */
@font-face {
  font-family: 'Chit Pixel';
  src: url('/assets/fonts/ChitPixel-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #141210;
  --cream: #faf7ef;
  --paper-edge: #e7e1d0;
  --ground: #837762;
  --ketchup: #f03e2e;
  --teal: #16b096;
  --muted: #5a5954;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page {
  max-width: 44rem;
  margin: 2rem auto;
  padding: 2rem clamp(1.25rem, 5vw, 3rem) 3rem;
  background: var(--cream);
  border: 1px solid var(--paper-edge);
}

header.site {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
header.site a { color: inherit; text-decoration: none; }
header.site img { width: 44px; height: 44px; border-radius: 10px; }
.wordmark { font-family: 'Chit Pixel', monospace; font-size: 1.75rem; }

h1, h2 { font-family: 'Chit Pixel', monospace; font-weight: normal; line-height: 1.2; }
h1 { font-size: 2.25rem; margin: 0 0 1rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.5rem; }

a { color: var(--ketchup); }
.muted { color: var(--muted); font-size: 0.9rem; }

.button {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
.button.secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }

.hero { text-align: center; padding: 1rem 0 2rem; }
.hero img { width: 128px; height: 128px; border-radius: 28px; }
.hero p { font-size: 1.15rem; }
.actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.features div { padding: 1rem; border: 1px dashed var(--muted); }
.features h3 { margin: 0 0 0.25rem; font-size: 1rem; }

/* Placeholders still to fill in before publishing. */
.todo { background: #ffe9a8; padding: 0 0.25rem; }

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-edge);
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); }
