:root {
  --bg: #f7f9f7;
  --bg-card: #ffffff;
  --bg-card-alt: #f2f6f3;
  --border: #e5ece7;
  --text: #151b16;
  --text-muted: #5c6d63;
  --text-faint: #71857a;
  --green: #16a34a;
  --green-dark: #0f5132;
  --green-bg: #e3f5ea;
  --green-text: #0f7a4d;
  --discord: #5865F2;
  --discord-hover: #4752c4;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(21, 27, 22, 0.04);
  --shadow-pop: 0 12px 32px rgba(21, 27, 22, 0.10);
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 12px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: 30px; margin-bottom: 12px; }
.section-head { max-width: 560px; margin-bottom: 40px; }
.section-head p { color: var(--text-muted); font-size: 16px; margin-top: 8px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--discord); color: #fff; }
.btn-primary:hover { background: var(--discord-hover); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: #c9d6cd; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nav-wrap.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 12px rgba(21,27,22,0.04); }
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo .sq {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(155deg, #22c55e, #0f7a4d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-panel { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }
.hero-inner { max-width: 620px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-bg); color: var(--green-text);
  font-size: 13px; font-weight: 600; padding: 7px 16px 7px 12px; border-radius: 20px;
  margin-bottom: 24px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.badge .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--green); opacity: 0.5; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.8); opacity: 0; } }
.hero h1 { font-size: 46px; line-height: 1.2; margin-bottom: 20px; }
.hero .lede { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-note { font-size: 12px; color: var(--text-faint); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-card); }
.stat .v { font-size: 26px; font-weight: 700; }
.stat .l { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-copy p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--text); }
.pull-fact {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-card);
}
.pull-fact .num { font-size: 34px; font-weight: 700; color: var(--green-text); margin-bottom: 6px; }
.pull-fact .cap { font-size: 14px; color: var(--text-muted); }
.pull-fact hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ---------- Channel grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px; box-shadow: var(--shadow-card); transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: #c9d6cd; transform: translateY(-2px); }
.card .icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--green-bg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card .icon svg { width: 19px; height: 19px; color: var(--green-text); }
.card .t { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.card .s { font-size: 13px; color: var(--text-faint); }
.card .chan { font-size: 11.5px; color: var(--text-faint); background: var(--bg-card-alt); padding: 2px 8px; border-radius: 20px; display: inline-block; margin-top: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.belief-card { display: flex; align-items: center; gap: 14px; }
.belief-card .icon { margin-bottom: 0; flex-shrink: 0; }
.belief-card .t { font-size: 15px; font-weight: 600; margin-bottom: 0; }
.testimonial-card p { font-size: 15px; font-style: italic; color: var(--text); line-height: 1.6; margin: 0; }

.blog-status { text-align: center; color: var(--text-muted); font-size: 14px; padding: 20px 0; }
.blog-status a { color: var(--green-text); text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-date { font-size: 12px; color: var(--text-faint); margin-bottom: 8px; }
.blog-title { font-size: 16px; }
.blog-excerpt { line-height: 1.6; margin-bottom: 12px; }
.blog-readmore { font-size: 13px; font-weight: 600; color: var(--green-text); }

.post-back { display: inline-block; font-size: 14px; color: var(--text-muted); text-decoration: none; margin-bottom: 24px; }
.post-back:hover { color: var(--text); }
.post-footer { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; }
.post-footer a { font-size: 13px; color: var(--text-faint); text-decoration: underline; }

/* Normalizes Blogger's inline-styled post HTML to match site typography.
   !important is required since inline style="" attributes otherwise win. */
.prose, .prose * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  background: transparent !important;
}
.prose h1, .prose h2, .prose h3, .prose h4 { font-weight: 700 !important; margin: 32px 0 16px !important; }
.prose h1 { font-size: 26px !important; }
.prose h2 { font-size: 22px !important; }
.prose h3, .prose h4 { font-size: 18px !important; }
.prose b, .prose strong { font-weight: 700 !important; }
.prose i, .prose em { font-style: italic !important; }
.prose p { margin: 0 0 20px !important; }
.prose a { color: var(--green-text) !important; text-decoration: underline !important; }
.prose ul, .prose ol { margin: 0 0 20px !important; padding-left: 24px !important; }
.prose li { margin-bottom: 8px !important; }
.prose img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin: 20px 0; display: block; }
.prose blockquote { border-left: 2px solid var(--border-strong, #ccc) !important; padding-left: 16px !important; margin: 20px 0 !important; color: var(--text-muted) !important; }
.prose hr { border: none !important; border-top: 1px solid var(--border) !important; margin: 32px 0 !important; }

/* ---------- Quote ---------- */
.quote-block {
  background: var(--green-bg); border-radius: var(--radius-lg); padding: 44px; text-align: center;
}
.quote-block p { font-size: 20px; color: var(--green-dark); max-width: 620px; margin: 0 auto 14px; line-height: 1.55; font-weight: 500; }
.quote-block cite { font-size: 13px; color: var(--green-text); font-style: normal; opacity: 0.85; }

/* ---------- Founder ---------- */
.founder-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-card);
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(155deg, #22c55e, #0f7a4d);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px;
}
.founder-card h3 { font-size: 17px; margin-bottom: 2px; }
.founder-role { font-size: 13px; color: var(--green-text); font-weight: 600; margin-bottom: 12px; }
.founder-card p { color: var(--text-muted); font-size: 15px; }
.founder-card a { color: var(--green-text); font-weight: 600; text-decoration: none; font-size: 14px; display: inline-block; margin-top: 14px; }
.founder-card a:hover { text-decoration: underline; }

/* ---------- Highlights ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.msg { display: flex; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-card); }
.msg .av { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.msg .meta { font-size: 13px; margin-bottom: 3px; }
.msg .meta b { font-weight: 700; }
.msg .meta .chan { color: var(--text-faint); font-size: 11.5px; margin-left: 6px; }
.msg p { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.placeholder-note { font-size: 12px; color: var(--text-faint); margin-top: 16px; text-align: center; font-style: italic; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
details.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 4px 20px; margin-bottom: 10px;
}
details.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .chev { transition: transform 0.2s ease; color: var(--text-faint); flex-shrink: 0; margin-left: 12px; }
details.faq-item[open] summary .chev { transform: rotate(180deg); }
details.faq-item .faq-a { padding: 0 0 18px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--text); color: #fff; border-radius: var(--radius-lg);
  padding: 56px 32px; text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #b7c2ba; font-size: 15px; margin-bottom: 28px; }
.final-cta .btn-ghost { background: transparent; border-color: #3a423c; color: #fff; }
.final-cta .btn-ghost:hover { border-color: #565f58; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; color: var(--text-faint); max-width: 260px; }
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-link-btn {
  display: block; font-size: 14px; color: var(--text-muted); background: none; border: none;
  padding: 0; margin-bottom: 10px; cursor: pointer; font-family: inherit; text-align: left;
}
.footer-link-btn:hover { color: var(--text); }

/* ---------- Join modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(21, 27, 22, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative; background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 36px 32px 32px; max-width: 360px; width: 100%; text-align: center;
  box-shadow: var(--shadow-pop);
}
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: none; border: none; color: var(--text-faint); cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 8px;
}
.modal-close:hover { background: var(--bg-card-alt); color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
.modal-box h3 { font-size: 18px; margin-bottom: 8px; }
.modal-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
#join-form { text-align: left; }
.field-label { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
.field-label:first-child { margin-top: 0; }
.field-optional { font-weight: 400; color: var(--text-faint); }
.field-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg-card);
}
.field-input:focus { outline: none; border-color: #a9b6ae; }
#turnstile-container { display: flex; justify-content: center; margin: 18px 0 4px; min-height: 65px; }
.modal-error { font-size: 13px; color: #b42318; margin-top: 12px; }
.modal-check {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-bg); color: var(--green-text);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.modal-check svg { width: 24px; height: 24px; }
#modal-step-success .btn { width: 100%; justify-content: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }
.disclaimer { max-width: 620px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  nav { flex-wrap: nowrap; }
  .nav-cta { gap: 8px; flex-shrink: 0; }
}
@media (max-width: 420px) {
  .logo { font-size: 12.5px; gap: 6px; }
  .logo .sq { width: 24px; height: 24px; border-radius: 7px; }
  .btn-sm { padding: 8px 12px; font-size: 12.5px; }
  .mobile-panel.open {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 24px 20px; border-top: 1px solid var(--border);
  }
  .mobile-panel a { padding: 10px 0; font-size: 15px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--border); }
  .hero h1 { font-size: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; }
  section { padding: 56px 0; }
  .footer-grid { flex-direction: column; }
  .footer-cols { gap: 32px; }
}
