:root {
  --cream: #FDF6EC;
  --cream-soft: #FBF0DE;
  --terracotta: #E07A5F;
  --terracotta-dark: #C9603F;
  --teal: #2A7F7E;
  --teal-dark: #1F5F5E;
  --sage: #81B29A;
  --ink: #3D3229;
  --ink-soft: #6B5F52;
  --border: #E8DCC8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 20px rgba(61, 50, 41, 0.08);
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal); }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terracotta);
  color: white;
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-dark);
}
.btn-ghost:hover { background: rgba(42, 127, 126, 0.08); }
.btn-small { padding: 10px 20px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 246, 236, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--terracotta), var(--sage) 75%);
  display: inline-block;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--teal-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 26px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--terracotta-dark);
  margin-bottom: .75em;
}
.hero-sub { font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 1.8rem; flex-wrap: wrap; }

.hero-art {
  position: relative;
  height: 320px;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: .9;
}
.c1 { width: 190px; height: 190px; background: var(--terracotta); top: 10%; left: 15%; }
.c2 { width: 130px; height: 130px; background: var(--teal); top: 45%; left: 55%; opacity: .85; }
.c3 { width: 90px; height: 90px; background: var(--sage); top: 5%; left: 60%; }
.c4 { width: 60px; height: 60px; background: var(--cream-soft); border: 3px solid var(--terracotta); top: 65%; left: 10%; }

/* How it works */
.how-it-works { padding: 80px 0; background: var(--cream-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: white;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Board preview */
.board-preview { padding: 88px 0; }
.board-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.board-question {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--cream-soft);
}
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-question { background: var(--teal); color: white; }
.board-meta { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.board-solutions { display: flex; flex-direction: column; }
.solution {
  display: flex;
  gap: 18px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}
.solution:last-child { border-bottom: none; }
.vote-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 700;
  gap: 2px;
}
.vote-btn:hover { background: var(--sage); color: white; border-color: var(--sage); }
.vote-arrow { font-size: .8rem; line-height: 1; }
.solution-body p:last-of-type { margin-bottom: .6em; }
.attachments { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
}
.chip-image { background: var(--terracotta); }
.chip-video { background: var(--teal); }
.chip-doc { background: var(--ink-soft); }
.chip-link { background: var(--sage); }

/* Trust */
.trust { padding: 88px 0; background: var(--teal-dark); color: white; }
.trust h2, .trust .section-sub { color: white; }
.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2rem;
}
.trust-point h3 { color: white; }
.trust-point p { color: rgba(255,255,255,0.85); }

/* Get involved */
.get-involved { padding: 88px 0; }
.get-involved-inner { max-width: 560px; }
.waitlist-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: .9rem; }
.form-row input, .form-row select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream-soft);
}
.form-success {
  margin-top: 16px;
  font-weight: 600;
  color: var(--teal-dark);
}

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 48px 0; }
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.footer-tagline { margin-bottom: 6px; }
.footer-copy { font-size: .85rem; margin: 0; color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 220px; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-points { grid-template-columns: 1fr; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
