/* Roommate · marketing/legal site styling */
:root {
  --cream:      #f4f0e8;
  --cream-deep: #e8e0d2;
  --wood:       #8b6f47;
  --wood-deep:  #5c442c;
  --warm-lamp:  #e8c087;
  --warm-hi:    #f8daa8;
  --window:     #3d5a6b;
  --ink:        #2c2823;
  --ink-muted:  rgba(44, 40, 35, 0.55);
  --max-width:  720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0; right: 0;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(circle at top right,
    rgba(248, 218, 168, 0.30) 0%,
    rgba(232, 192, 135, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
  position: relative;
  z-index: 1;
}

header {
  margin-bottom: 48px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}

h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  margin: 40px 0 12px;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 32px 0 8px;
  color: var(--ink-muted);
}

p, ul, ol {
  margin: 0 0 16px;
  color: var(--ink);
}

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

li { margin-bottom: 6px; }

strong { font-weight: 600; }

em {
  font-style: italic;
  color: var(--ink-muted);
}

hr {
  border: 0;
  border-top: 1px solid rgba(44, 40, 35, 0.10);
  margin: 32px 0;
}

a {
  color: var(--window);
  text-decoration: none;
  border-bottom: 1px solid rgba(61, 90, 107, 0.30);
}

a:hover {
  border-bottom-color: var(--window);
}

code, pre {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  background: rgba(44, 40, 35, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(44, 40, 35, 0.10);
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: var(--ink-muted);
  border-bottom-color: transparent;
}

footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink-muted);
}

/* Landing-page hero */

.hero {
  text-align: center;
  padding-top: 24px;
}

.hero-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 32px;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
  display: block;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero-icon::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--warm-hi) 0%, var(--wood) 100%);
}

.hero-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 4px);
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, var(--ink) 0%, #000 100%);
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero .tagline {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 18px;
  margin: 0 0 40px;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  border-bottom: none;
  font-weight: 500;
  font-size: 14px;
}

.button:hover {
  background: #000;
  border-bottom: none;
}

.button.secondary {
  background: rgba(44, 40, 35, 0.06);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(44, 40, 35, 0.12);
}

/* List-of-features */

.features {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.features li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(232, 192, 135, 0.25);
  margin: 0;
}

.features li::before {
  content: "·";
  color: var(--warm-lamp);
  font-weight: 700;
  margin-right: 8px;
}

@media (min-width: 600px) {
  h1 { font-size: 44px; }
  .hero h1 { font-size: 56px; }
}
