/* homie — shared site styles
   Brand: Graphite ladder + cream + electric blue.
   Matches welcome.hihomie.app theme tokens. */

:root {
  --ink:   #0F1116;
  --ink2:  #171A22;
  --ink3:  #1F232E;
  --ink4:  #272B38;
  --cream: #F6F6F2;
  --muted: #A7AAB3;
  --blue:  #2F38F5;
  --blue-hover: #4147F8;
  --yellow: #E9FF00;
  --pink:   #FF4DB8;
  --border: rgba(246, 246, 242, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(47, 56, 245, 0.55);
  text-underline-offset: 3px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}
a:hover {
  color: var(--blue-hover);
  text-decoration-color: var(--blue-hover);
}

/* Layout */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 22, 0.85);
}
.site-header__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
}
.brand:hover { color: var(--cream); }
.site-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover { color: var(--cream); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

/* Typography */
h1 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  color: var(--cream);
}
h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
  color: var(--cream);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--cream);
}
p { margin: 0 0 16px; color: var(--cream); }
ul, ol { padding-left: 20px; margin: 0 0 16px; }
li { margin: 6px 0; }
strong { color: var(--cream); font-weight: 600; }

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.lede {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

/* Hero (apex landing) */
.hero {
  text-align: center;
  padding: 80px 0 40px;
}
.hero p { color: var(--muted); font-size: 18px; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero .cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--blue);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms ease;
}
.hero .cta:hover { background: var(--blue-hover); color: var(--cream); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--cream);
  transition: background 120ms ease, transform 120ms ease;
}
.card:hover { background: var(--ink3); color: var(--cream); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; }
.card p { color: var(--muted); margin: 0; font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }

/* Mobile */
@media (max-width: 600px) {
  .site-header__inner { padding: 14px 18px; }
  main { padding: 40px 20px 80px; }
  h2 { margin-top: 36px; }
}
