/* Rumo website — shared styles. Midnight palette from the app icon
   (#26314F → #0A0F1E, coral #FF8A5C), light and dark via
   prefers-color-scheme. No frameworks, no external assets. */

:root {
  --bg: #FBFBFA;
  --text: #1C2333;
  --muted: #5B6478;
  --accent: #E86A3E;        /* coral, darkened for contrast on light */
  --card: #FFFFFF;
  --rule: rgba(28, 35, 51, 0.12);
  --midnight-1: #26314F;
  --midnight-2: #0A0F1E;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F1E;
    --text: #E8EAF0;
    --muted: #9AA3B8;
    --accent: #FF8A5C;
    --card: #141B30;
    --rule: rgba(232, 234, 240, 0.14);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Landing --- */

.hero {
  text-align: center;
  padding-top: 2.5rem;
}

.hero img.appicon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(10, 15, 30, 0.35);
}

.hero h1 {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-top: 1.25rem;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.hero .blurb {
  margin: 1.5rem auto 0;
  max-width: 34rem;
}

.status {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  text-align: left;
}

.feature {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.feature h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.9rem; color: var(--muted); }

/* --- Prose pages (privacy) --- */

.prose h1 { font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 0.3rem; }
.prose .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.prose p, .prose li { margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.3rem; margin-bottom: 0.75rem; }
.prose .home { display: inline-block; margin-bottom: 2rem; font-size: 0.95rem; }

/* --- Footer --- */

footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer nav { margin-bottom: 0.5rem; }
footer nav a { margin: 0 0.6rem; color: var(--muted); }
footer nav a:hover { color: var(--accent); }
