/* Ia Tangata — run by QueerSpace.
   QueerSpace secondary palette (teal + plum), not the lime+purple primary.
   Contrast-safe: plum for text/headings, deep teal for interactive. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Nunito:wght@700;800;900&family=Poppins:wght@300;400;500&display=swap');

:root {
  /* Brand — QueerSpace secondary palette */
  --plum: #7B2D6B;          /* headings / deep brand (AA on white) */
  --plum-deep: #5E2151;
  --plum-50: #F7EEF5;
  --teal: #2A9E9E;          /* bright accent / fills */
  --teal-deep: #167373;     /* buttons / links (AA on white) */
  --teal-50: #E8F6F6;
  --gold: #F4A460;
  --coral: #FF6B6B;
  --success: #46BD6F;

  /* Neutrals */
  --ink: #1B1220;
  --gray-900: #23202A;
  --gray-700: #4A4552;
  --gray-600: #635D6E;
  --gray-500: #8A8394;
  --gray-300: #D8D3DF;
  --gray-200: #E7E3EC;
  --gray-100: #F2EFF5;
  --gray-50: #F9F7FB;
  --white: #FFFFFF;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Nunito', var(--font);
  --font-sub: 'Poppins', var(--font);

  /* Shape */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(27,18,32,.08), 0 1px 2px rgba(27,18,32,.06);
  --shadow-md: 0 6px 20px rgba(27,18,32,.10);
  --shadow-lg: 0 16px 40px rgba(27,18,32,.16);
  --transition: .2s ease;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--gray-900);
  background: var(--white); line-height: 1.65; font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo { height: 30px; width: auto; }
.site-header .header-cta {
  font-family: var(--font-sub); font-weight: 500; font-size: .95rem;
  color: var(--white); background: var(--teal-deep); text-decoration: none;
  padding: 9px 18px; border-radius: 999px; transition: transform var(--transition), background var(--transition);
}
.site-header .header-cta:hover { transform: translateY(-1px); background: var(--plum); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--font-sub); font-weight: 500;
  font-size: 1.02rem; padding: 14px 28px; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary { background: var(--teal-deep); color: var(--white); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(22,115,115,.32); }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--gray-300); }
.btn-ghost:hover { border-color: var(--plum); background: var(--plum-50); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--teal-50) 0%, transparent 60%),
    linear-gradient(180deg, var(--plum-50) 0%, var(--white) 62%);
  padding: 64px 0 40px;
}
.hero-grid { display: grid; gap: 36px; align-items: start; }
.kicker {
  font-family: var(--font-sub); font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; font-size: .82rem; color: var(--teal-deep); margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--font-heading); font-weight: 900; color: var(--plum);
  font-size: clamp(2.1rem, 5.6vw, 3.4rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 16px;
}
.hero .lead {
  font-family: var(--font-sub); font-weight: 300; color: var(--gray-700);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem); line-height: 1.6; margin: 0 0 8px; max-width: 40ch;
}

/* Signature card + counter */
.sign-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px; position: relative;
}
.counter { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.counter .num {
  font-family: var(--font-heading); font-weight: 900; color: var(--teal-deep);
  font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; letter-spacing: -.02em;
}
.counter .label { font-family: var(--font-sub); color: var(--gray-600); font-size: .98rem; }
.coverage { font-size: .86rem; color: var(--gray-500); margin: 0 0 18px; }

/* Form */
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--font-sub); font-weight: 500; font-size: .92rem; margin-bottom: 6px; color: var(--gray-900); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--gray-900);
  padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus { outline: 0; border-color: var(--teal-deep); box-shadow: 0 0 0 3px var(--teal-50); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gray-700); margin: 10px 0; }
.consent input { margin-top: 3px; flex: 0 0 auto; }
.form-note { font-size: .82rem; color: var(--gray-500); margin: 12px 0 0; }
.form-note strong { color: var(--gray-700); font-weight: 600; }
.turnstile-box { margin: 12px 0; min-height: 65px; }
.form-msg { font-size: .92rem; margin: 10px 0 0; }
.form-msg.error { color: #B4231F; }
.form-msg.ok { color: #1F7A44; }
.sign-card .btn-primary { width: 100%; margin-top: 6px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--gray-50); }
section h2 {
  font-family: var(--font-heading); font-weight: 800; color: var(--plum);
  font-size: clamp(1.5rem, 3.8vw, 2.1rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em;
}
section p { color: var(--gray-700); }
.eyebrow { font-family: var(--font-sub); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; color: var(--teal-deep); margin: 0 0 8px; }

/* Pillars */
.pillars { display: grid; gap: 18px; margin-top: 24px; }
.pillar {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--teal);
}
.pillar:nth-child(2) { border-top-color: var(--plum); }
.pillar:nth-child(3) { border-top-color: var(--gold); }
.pillar h3 { font-family: var(--font-heading); font-weight: 800; color: var(--gray-900); font-size: 1.15rem; margin: 0 0 8px; }
.pillar p { font-size: .98rem; margin: 0; }

/* Myths — details/summary */
.myth { border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); margin-bottom: 10px; overflow: hidden; }
.myth summary {
  cursor: pointer; padding: 16px 18px; font-family: var(--font-sub); font-weight: 500;
  color: var(--gray-900); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.myth summary::-webkit-details-marker { display: none; }
.myth summary::after { content: "+"; color: var(--teal-deep); font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.myth[open] summary::after { content: "\2212"; }
.myth .myth-body { padding: 0 18px 18px; color: var(--gray-700); font-size: .97rem; }

/* Receipts */
.receipts { display: grid; gap: 10px; margin-top: 18px; }
.receipt { display: flex; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: .94rem; }
.receipt a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--plum-deep); color: #EAD9E6; padding: 40px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer .logo { height: 26px; }
.site-footer a { color: #fff; }
.site-footer .by { font-size: .86rem; color: #C9AEC3; }

/* Responsive */
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 84px 0 56px; }
}

/* --- additions --- */

/* Bigger, clearer QueerSpace branding */
.site-header .logo { height: 46px; }
.site-footer .logo { height: 40px; }
.brand-link { display: inline-flex; align-items: center; }

.header-nav { display: flex; align-items: center; gap: 20px; }
.header-nav > a:not(.header-cta) {
  font-family: var(--font-sub); font-weight: 500; font-size: .95rem;
  color: var(--plum); text-decoration: none;
}
.header-nav > a:not(.header-cta):hover { color: var(--teal-deep); }
@media (max-width: 560px) { .header-nav > a:not(.header-cta) { display: none; } }

.muted { color: var(--gray-500); font-weight: 400; }

/* The ask (top of the sign card) */
.ask {
  font-family: var(--font-heading); font-weight: 800; color: var(--plum);
  font-size: 1.35rem; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em;
}
.ask-sub { font-family: var(--font-sub); font-weight: 500; color: var(--gray-700); margin: 0 0 16px; }

/* Counter goal (shown until the total passes the threshold) */
.counter-goal {
  font-family: var(--font-heading); font-weight: 800; color: var(--teal-deep);
  font-size: 1.15rem; line-height: 1.2; margin: 0 0 16px;
}

/* Plain "what it means" list */
.plain-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.plain-list li {
  position: relative; padding-left: 30px; color: var(--gray-800, var(--gray-700));
  font-size: 1.02rem; line-height: 1.55;
}
.plain-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--teal); box-shadow: inset 0 0 0 4px var(--teal-50);
}

/* Thank-you state */
.form-thanks h3 { font-family: var(--font-heading); color: var(--plum); margin: 0 0 8px; }
.form-thanks p { margin: 0; color: var(--gray-700); }

/* Footer links */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: #fff; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .wrap { align-items: center; }
