/* ==========================================================================
   quell landing
   Unlayered theme (intentionally overrides all quell layers)
   ========================================================================== */

/* ---------- Layout ---------- */
:root {
  --text-muted-grey: #8d8a8a;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(90%, 70rem);
  margin-inline: auto;
}

section {
  padding-block: 5rem;
}

/* ---------- Header ---------- */

header {
  border-bottom: 1px solid var(--color-border);
}

header .container {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
}

/* ---------- Hero ---------- */

#hero {
  text-align: center;
}

#hero .container {
  max-width: 42rem;
}

#hero p:first-of-type {
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: var(--font-size-sm);
}

#hero h1 {
  margin-block: 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

#hero p:last-of-type {
  color: var(--color-text-secondary);
  margin-inline: auto;
  max-width: 38rem;
}

#hero a {
  display: inline-block;
  margin-top: 2rem;
  padding: .875rem 1.5rem;
  background: var(--color-accent);
  color: whitesmoke;
  text-decoration: none;
  border-radius: var(--radius-md);
}

/* ---------- Shared Sections ---------- */

#product,
#features,
#audience {
  border-top: 1px solid var(--color-border);
}

h2 {
  margin-bottom: 1.5rem;
}

ul {
  display: grid;
  gap: .75rem;
}

/* Target the sibling layout sections directly */
#product,
#features,
#audience {
  display: inline-block;
  vertical-align: top; 
  width: 31%;          
  margin-right: 2%;    
}

/* Remove the margin trailing the final structural section */
#audience {
  margin-right: 0;
}

/* ---------- CTA ---------- */

#cta {
  text-align: center;
  border-top: 1px solid var(--color-border);
}

#cta a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .875rem 1.5rem;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--color-border);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 2rem;
  flex-wrap: wrap;
}

footer nav {
  display: flex;
  gap: 1.25rem;
}