/* rroom landing — matches mobile brand palette */

:root {
  --ink: #0a0a0a;
  --paper: #fafaf7;
  --stone: #f0efeb;
  --muted: #6b6b6b;
  --line: #e6e4de;
  --accent: #1f1f1f;
  --white: #ffffff;

  --font-display: 'Spline Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1080px;
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.badge {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: var(--white);
}

/* Hero */

.hero {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.75rem 4rem;
  animation: fade-up 0.7s ease both;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.headline em {
  font-style: normal;
  color: var(--muted);
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  color: var(--paper);
  background: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.cta-note {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.7s 0.1s ease both;
}

.feature {
  background: var(--paper);
  padding: 2rem 1.75rem 2.25rem;
}

.feature-icon {
  display: block;
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Community band */

.community {
  flex: 1;
  animation: fade-up 0.7s 0.2s ease both;
}

.community-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.75rem;
}

.community h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.community p {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 1rem;
  color: var(--muted);
}

/* Footer */

.footer {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Animation */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .features,
  .community {
    animation: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .headline {
    max-width: none;
  }

  .community-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
