/* HumanKit landing — shared styles for index.html and about.html */

:root {
  --bg: #faf8f4;
  --card: #ffffff;
  --ink: #211f1c;
  --muted: #6f6a61;
  --border: #e8e2d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / nav */

.site-header {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Layout */

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 24px 0;
  flex: 1;
}

.tagline {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 24px 0 28px;
}

/* Tool tiles */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tile {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(30, 25, 15, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

a.tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(30, 25, 15, 0.09);
}

.tile h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Tools that haven't launched yet: not clickable, visibly muted */

.tile--soon {
  background: transparent;
  border-style: dashed;
  cursor: default;
}
.tile--soon .dot {
  background: #b7b0a4;
}
.tile--soon h2 {
  color: var(--muted);
}

.badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #efece5;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* About page */

.prose {
  max-width: 620px;
}
.prose h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 24px 0 8px;
}
.prose h2 {
  font-size: 1.2rem;
  margin: 36px 0 8px;
}
.prose p,
.prose li {
  line-height: 1.65;
  color: #3d3a34;
}
.prose a {
  color: var(--ink);
}

/* Footer */

.site-footer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 28px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer a {
  color: var(--muted);
}
