/* CommStack — commstack.makeyourown.website */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:    #4338ca;
  --purple:    #6d28d9;
  --violet:    #8b5cf6;
  --violet-lt: #a78bfa;
  --bg-tint:   #f5f3ff;
  --border:    #ede9fe;
  --navy:      #1e1b4b;
  --gray:      #6b7280;
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; }
h3 { font-size: 0.9375rem; font-weight: 700; }
p  { font-size: 1rem; }

.eyebrow {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet);
  display: block;
  margin-bottom: 0.625rem;
}

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

section { padding: 5rem 0; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--indigo);
  text-decoration: none;
}

.nav-cta {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.125rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.nav-cta:hover { background: var(--indigo); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--indigo) 0%, #7c3aed 60%, var(--violet-lt) 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
  text-align: center;
}

.hero .eyebrow { color: rgba(255,255,255,0.75); }

.hero h1 { margin-bottom: 1.25rem; }

.hero p {
  font-size: 1.0625rem;
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

.hero-btn {
  display: inline-block;
  background: var(--white);
  color: var(--indigo);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}

.hero-btn:hover { background: var(--bg-tint); }

/* ── Features ── */
.features { background: var(--white); }

.features h2 { margin-bottom: 2.5rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  background: var(--bg-tint);
}

.feature-icon { font-size: 1.375rem; margin-bottom: 0.625rem; display: block; }
.feature-card h3 { margin-bottom: 0.375rem; }
.feature-card p  { font-size: 0.8125rem; color: var(--gray); }

/* ── Audience ── */
.audience { background: var(--bg-tint); }

.audience h2 { margin-bottom: 2.5rem; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.audience-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--violet);
}

.audience-card h3 { margin-bottom: 0.625rem; }
.audience-card p  { font-size: 0.8125rem; color: var(--gray); }

/* ── Contact ── */
.contact { background: var(--white); text-align: center; }

.contact h2 { margin-bottom: 0.75rem; }

.contact > .container > p {
  font-size: 0.9375rem;
  color: var(--gray);
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.heyform-embed {
  max-width: 540px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.heyform-embed iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: var(--violet-lt);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8125rem;
}

.site-footer a { color: #c4b5fd; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .features-grid,
  .audience-grid { grid-template-columns: 1fr; }

  .heyform-embed iframe { height: 600px; }
}
