/* Manager Lite marketing site — shared styles.
   Palette/type match the app's own design system (see managerlite/src/theme). */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #21c36b;
  --brand-dark: #137f46;
  --accent: #d8ff3e;
  --bg: #060807;
  --surface: #0e1310;
  --surface-strong: #161c18;
  --border: #232a25;
  --text: #f2f5f2;
  --text-muted: #aeb5af;
  --text-faint: #6c766d;
  --error: #f0463b;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 8, 7, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}
@media (max-width: 640px) {
  .nav .wrap {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 10px;
  }
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #06170e;
}
.btn-primary:hover {
  background: #2ad478;
}
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--brand);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(33, 195, 107, 0.28), rgba(33, 195, 107, 0));
  pointer-events: none;
}
.hero-content {
  position: relative;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(33, 195, 107, 0.12);
  border: 1px solid rgba(33, 195, 107, 0.3);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  max-width: 820px;
  margin-inline: auto;
}
.hero .lede {
  max-width: 560px;
  margin: 18px auto 36px;
  font-size: 17px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Sections ---- */
section {
  padding: 72px 0;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(33, 195, 107, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.card p {
  font-size: 14px;
  margin: 0;
}

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, rgba(33, 195, 107, 0.14), rgba(216, 255, 62, 0.06));
  border: 1px solid rgba(33, 195, 107, 0.25);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 32px);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: auto;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand {
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}
.footer-links a {
  color: var(--text-muted);
}
.copyright {
  font-size: 12px;
  color: var(--text-faint);
  width: 100%;
  margin-top: 8px;
}

/* ---- Legal pages ---- */
.legal {
  padding: 64px 0 96px;
}
.legal h1 {
  font-size: clamp(28px, 5vw, 40px);
}
.legal .updated {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  margin-top: 40px;
}
.legal p, .legal li {
  color: var(--text-muted);
  font-size: 15px;
}
.legal ul {
  padding-left: 20px;
}
.legal-nav {
  max-width: 720px;
  margin: 0 auto;
}
.legal-body {
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Contact form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
input, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 20px;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.form-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}
#form-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  display: none;
}
