/* Cozy Roomies — site styles
   Warm, calm palette; system-font fallbacks; mobile-first. */

:root {
  --bg: #faf6ef;
  --card: #ffffff;
  --text: #3a342e;
  --muted: #847a6e;
  --teal: #5a9a98;
  --teal-dark: #427876;
  --coral: #e8a087;
  --border: #ece4d8;
  --radius: 14px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 32px 20px 64px;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
}

header.site {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

header.site a.logo {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

header.site .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

h1 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

h2 {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 28px 0 8px;
}

p, ul, ol {
  margin: 0 0 16px;
}

ul, ol { padding-left: 22px; }

li { margin-bottom: 6px; }

a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { color: var(--text); }

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 32px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature h3 { margin-top: 0; }
.feature p:last-child { margin-bottom: 0; }

.tagline {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

footer.site {
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: #f1ece2;
  padding: 1px 6px;
  border-radius: 4px;
}
