/* Roostr — public site. Plain CSS, no dependencies. */

:root {
  --bg: #0e0f13;
  --bg-alt: #15171e;
  --card: #1a1d27;
  --line: #2a2e3c;
  --text: #f2f3f5;
  --muted: #a7abb8;
  --accent: #ffb02e;
  --accent-dark: #1a1206;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 15, 19, 0.92);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: 0.5px; }
.logo:hover { text-decoration: none; color: var(--accent); }
.nav a { color: var(--muted); margin-left: 22px; font-size: 0.98rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 64px; text-align: left; }
.hero h1 { font-size: 2.7rem; line-height: 1.15; max-width: 720px; margin-bottom: 18px; }
.hero .sub { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin-bottom: 30px; }
.hero .sub strong { color: var(--text); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { color: var(--muted); font-size: 0.88rem; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-dark); }
.btn-primary:hover { background: #ffc155; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-block { display: block; text-align: center; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 1.9rem; margin-bottom: 16px; }
.lead { color: var(--muted); max-width: 720px; margin-bottom: 28px; }
.lead strong { color: var(--accent); }

/* Feature grid */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; color: var(--accent); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Steps */
.steps { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { border-left: 3px solid var(--accent); padding-left: 16px; }
.steps h3 { margin-bottom: 6px; font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: 0.98rem; }

/* Pricing */
.pricing-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 760px;
}
.price-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--accent); }
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price { font-size: 2.2rem; font-weight: 800; margin-bottom: 18px; }
.price .per { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-card li:last-child { border-bottom: none; }
.price-card .fineprint { text-align: center; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px; background: var(--card);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-links a { color: var(--muted); margin-left: 18px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }

/* Mobile */
@media (max-width: 600px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 46px 0; }
  .nav a { margin-left: 14px; }
  .cta-row .btn { flex: 1; text-align: center; }
}
