/* freeregistrationform.com — friendly community/event, violet + mint */

:root {
  --bg: #faf9ff;
  --bg-soft: #f5f3ff;
  --surface: #ffffff;
  --surface-2: #f8f7fc;
  --border: #e4e0f5;
  --border-strong: #c4b5fd;
  --text: #3b0764;
  --text-body: #374151;
  --muted: #6b7280;
  --violet: #7c3aed;
  --violet-dark: #6d28d9;
  --violet-deep: #5b21b6;
  --violet-light: #ede9fe;
  --violet-pale: #f5f3ff;
  --mint: #5eead4;
  --mint-dark: #2dd4bf;
  --mint-light: #ccfbf1;
  --mint-pale: #f0fdfa;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 16px 40px rgba(124, 58, 237, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --content-max: 72rem;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 2.85rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

p { margin: 0 0 1em; }

a {
  color: var(--violet-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(109, 40, 217, 0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover { color: var(--violet-deep); text-decoration-color: var(--violet-deep); }

img, svg { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto;
  padding: 10px 16px; background: var(--violet-dark); color: #fff;
  border-radius: var(--radius-pill); z-index: 1000; text-decoration: none;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.brand-logo { height: 38px; width: auto; max-width: min(300px, 72vw); }

.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  font-size: 0.9rem; font-weight: 600;
}

.nav-links a {
  color: var(--muted); text-decoration: none;
  padding: 0.45rem 0.85rem; border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--violet-deep);
  background: var(--violet-pale);
}

.page-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem;
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  font-size: 0.875rem; color: var(--muted);
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--violet-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border-strong); }

.prose { max-width: 65ch; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand { display: inline-block; margin-bottom: 0.75rem; text-decoration: none; }
.footer-logo { height: 34px; width: auto; }

.footer-desc { font-size: 0.9rem; color: var(--muted); max-width: 28rem; margin: 0; }

.footer-col h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  font-size: 0.9rem;
}

.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { text-decoration: none; color: var(--text-body); }
.footer-col a:hover { color: var(--violet-dark); }

.footer-util {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem;
  font-size: 0.875rem; margin-bottom: 1rem;
}

.footer-util a { text-decoration: none; color: var(--muted); }
.footer-util a:hover { color: var(--violet-dark); }
.footer-util-sep { color: var(--border-strong); }

.footer-sisters { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin: 0 0 1rem; }
.footer-sisters-label { font-weight: 600; color: var(--text-body); }
.footer-sisters a { text-decoration: none; color: var(--violet-dark); }
.footer-sisters a:hover { text-decoration: underline; }
.footer-sisters-sep { color: var(--border-strong); }

.footer-copy { font-size: 0.8rem; color: var(--muted); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-pill);
  border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-outline {
  background: var(--surface);
  color: var(--violet-dark);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--violet-pale);
  text-decoration: none;
}

.faq-list { margin: 0; padding: 0; list-style: none; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: var(--violet-pale);
}

.faq-answer {
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.content-page h1 { margin-bottom: 0.5rem; }
.content-page .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }
