/* Shared lavender brand styles for public-facing pages (landing, signup
   request, login, privacy, terms). Imports Inter and reuses the existing
   palette from /public/styles.css. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --m-bg: #FDFBFF;
  --m-card: #FFFFFF;
  --m-text: #1a1523;
  --m-muted: #7c6fa0;
  --m-accent: #9b8cde;
  --m-accent-hover: #7f6ec8;
  --m-accent-bg: #EDE0FF;
  --m-border: #E2D2F5;
  --m-radius: 10px;
  --m-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--m-text);
  background: var(--m-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: var(--m-accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

.m-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1100px; margin: 0 auto;
}
.m-wordmark {
  font-weight: 700; font-size: 22px; letter-spacing: -0.5px;
  color: var(--m-text);
}
.m-wordmark .accent { color: var(--m-accent); }
.m-nav-links { display: flex; gap: 18px; align-items: center; }
.m-nav-links a { color: var(--m-muted); font-weight: 500; font-size: 14px; }
.m-nav-links a.cta {
  background: var(--m-accent); color: white;
  padding: 8px 16px; border-radius: var(--m-radius);
}
.m-nav-links a.cta:hover { background: var(--m-accent-hover); text-decoration: none; }

.m-hero {
  max-width: 760px; margin: 60px auto 40px; padding: 0 24px; text-align: center;
}
.m-hero h1 {
  font-size: 52px; font-weight: 700; letter-spacing: -1.5px;
  margin: 0 0 18px; line-height: 1.1;
}
.m-hero h1 .accent { color: var(--m-accent); }
.m-hero .tagline {
  font-size: 20px; color: var(--m-muted); margin: 0 0 36px;
}
.m-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.m-btn {
  display: inline-block; padding: 14px 28px; font-size: 16px; font-weight: 600;
  border-radius: var(--m-radius); border: none; cursor: pointer;
  text-decoration: none; transition: background 0.15s;
}
.m-btn-primary { background: var(--m-accent); color: white; }
.m-btn-primary:hover { background: var(--m-accent-hover); text-decoration: none; }
.m-btn-ghost { background: transparent; color: var(--m-text); border: 1px solid var(--m-border); }
.m-btn-ghost:hover { background: var(--m-accent-bg); }

.m-bullets {
  max-width: 880px; margin: 60px auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.m-bullet {
  background: var(--m-card); border: 1px solid var(--m-border);
  border-radius: var(--m-radius); padding: 28px;
  box-shadow: var(--m-shadow);
}
.m-bullet-icon {
  width: 40px; height: 40px; background: var(--m-accent-bg);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.m-bullet h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.m-bullet p { margin: 0; font-size: 14px; color: var(--m-muted); line-height: 1.55; }

.m-card-page {
  max-width: 440px; margin: 60px auto; padding: 0 24px;
}
.m-card-page-form {
  max-width: 560px;
}
.m-card {
  background: var(--m-card); border: 1px solid var(--m-border);
  border-radius: var(--m-radius); padding: 36px;
  box-shadow: var(--m-shadow);
}
.m-card h1 { margin: 0 0 6px; font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.m-card .sub { color: var(--m-muted); margin: 0 0 24px; font-size: 14px; }
.m-card label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--m-text); margin-bottom: 6px;
}
.m-card input, .m-card textarea, .m-card select {
  width: 100%; padding: 10px 12px; font-family: inherit; font-size: 14px;
  border: 1px solid var(--m-border); border-radius: 8px;
  background: white; color: var(--m-text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.m-card input:focus, .m-card textarea:focus, .m-card select:focus {
  outline: none; border-color: var(--m-accent);
  box-shadow: 0 0 0 3px var(--m-accent-bg);
}
.m-card textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.m-field { margin-bottom: 16px; }
.m-err { color: #c00; font-size: 13px; min-height: 20px; margin-top: 8px; }

.m-doc { max-width: 760px; margin: 0 auto; padding: 40px 24px 60px; }
.m-doc h1 { font-size: 32px; font-weight: 700; letter-spacing: -1px; margin: 0 0 8px; }
.m-doc h2 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; color: var(--m-accent-hover); }
.m-doc ul { line-height: 1.7; }
.m-doc .updated { color: var(--m-muted); font-size: 13px; margin-bottom: 24px; }

.m-footer {
  border-top: 1px solid var(--m-border);
  padding: 24px; margin-top: 60px; text-align: center;
  color: var(--m-muted); font-size: 13px;
}
.m-footer a { color: var(--m-muted); margin: 0 8px; }

.m-success {
  background: #f0fdf4; border: 1px solid #c7eed1;
  border-radius: var(--m-radius); padding: 24px; text-align: center;
}
.m-success-icon { font-size: 36px; margin-bottom: 8px; }
.m-success h2 { margin: 0 0 8px; font-size: 20px; }
.m-success p { margin: 0; color: var(--m-muted); }

@media (max-width: 720px) {
  .m-hero h1 { font-size: 36px; }
  .m-hero .tagline { font-size: 17px; }
  .m-bullets { grid-template-columns: 1fr; gap: 14px; margin: 40px auto; }
  .m-nav { padding: 14px 18px; }
  .m-card { padding: 24px; }
}
