/* Match & Meet — Social Circle design system
 * Light mode only. Lavender brand, soft shadows, mobile-first.
 * Aligns with the speed-friending-web visual language used across Social Circle apps.
 */
:root {
  /* Brand palette — Social Circle */
  --color-accent: #6C63FF;          /* Primary Lavender */
  --color-accent-hot: #5B52E8;      /* Hover/active */
  --color-accent-soft: #E8E4FF;     /* Pill / chip backgrounds */
  --color-accent-bg: #F3EFFF;       /* Lightest tint */
  --color-accent-border: #DDD5F0;
  --color-ink: #2A2139;             /* Headings — deep purple-grey */
  --color-text: #2A2139;            /* Body text */
  --color-text-soft: #4A3D5D;
  --color-text-muted: #7A7194;
  --color-text-faint: #A29CBD;

  --color-bg-1: #F3EFFF;
  --color-bg-2: #E8DEFF;
  --color-surface: #FFFFFF;
  --color-surface-2: #F9F5FF;
  --color-border: #DDD5F0;
  --color-border-soft: #EAE3F8;
  --color-border-strong: #C7BDED;

  --color-success: #2BA373;
  --color-success-soft: rgba(109, 212, 161, 0.18);
  --color-warn: #B57400;
  --color-warn-soft: rgba(244, 178, 74, 0.18);
  --color-danger: #D63838;
  --color-danger-soft: rgba(230, 80, 80, 0.15);

  /* Typography — display headlines and warm body */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows — soft, purple-tinted */
  --shadow-sm: 0 2px 8px rgba(60, 40, 120, 0.06);
  --shadow-md: 0 4px 18px rgba(60, 40, 120, 0.08);
  --shadow-lg: 0 10px 30px rgba(60, 40, 120, 0.12);
  --shadow-glow: 0 0 0 3px rgba(108, 99, 255, 0.2);
  --shadow-accent: 0 6px 20px rgba(108, 99, 255, 0.3);

  /* Other */
  --transition-fast: 0.12s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--color-bg-1) 0%, var(--color-bg-2) 100%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button { cursor: pointer; border: none; background: none; }

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-surface-2);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--color-accent-hot);
}

#app {
  max-width: 540px;
  margin: 0 auto;
  padding: var(--space-4);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  #app { padding: var(--space-6) var(--space-4); }
}

/* Headings — Plus Jakarta Sans, tight tracking */
h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
}
h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--color-ink);
}
h3 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (min-width: 720px) {
  h1 { font-size: 32px; }
}

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

.muted { color: var(--color-text-muted); }
.small { font-size: 13px; }

/* Hero badge — the signature uppercase pill above screen titles */
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent-hot);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--color-accent-soft);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

/* Hero block — used by landing/signup/empty states */
.hero {
  text-align: center;
  padding: var(--space-5) var(--space-2) var(--space-3);
}
.hero h1 { margin-bottom: var(--space-3); }
.hero-sub {
  color: var(--color-text-soft);
  font-size: 16px;
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.45;
}

.brand-header {
  text-align: center;
  padding: var(--space-6) 0 var(--space-4);
}
.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
.brand-subtitle {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.brand-footer {
  margin-top: auto;
  padding: var(--space-6) 0 var(--space-4);
  text-align: center;
}
.brand-footer .muted { color: var(--color-text-faint); }

/* Hand-drawn circle stamp — the Social Circle mark */
.brand-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-accent-hot);
  letter-spacing: 0.02em;
}
.brand-stamp svg {
  width: 18px; height: 18px;
}
