/* ============================================
   Shower Challenge — shared brand stylesheet
   ============================================ */

:root {
  --sky: #eaf1f9;
  --sky-deep: #dce9f8;
  --white: #ffffff;
  --navy: #2e3564;
  --navy-soft: #5b6aa0;
  --blue: #4f8ef7;
  --purple: #6c63e8;
  --whale: #8cbbff;
  --dot-inactive: #e1e4ea;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --shadow-soft: 0 20px 40px -20px rgba(46, 53, 100, 0.25);
  --shadow-card: 0 8px 24px -12px rgba(46, 53, 100, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 53, 100, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(108, 99, 232, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-primary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--sky-deep);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.badge-note {
  font-size: 0.78rem;
  color: var(--navy-soft);
  opacity: 0.75;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--sky);
  overflow: hidden;
  position: relative;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .card {
  background: var(--sky);
  border-radius: var(--radius-lg);
  padding: 10px;
  max-width: 320px;
}

.hero-art img {
  animation: bob 3.4s ease-in-out infinite;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--whale) 70%);
  opacity: 0.55;
}

.bubble.b1 { width: 26px; height: 26px; top: 10%; left: 6%; animation: rise 6s ease-in-out infinite; }
.bubble.b2 { width: 16px; height: 16px; top: 60%; right: 4%; animation: rise 5s ease-in-out infinite 1s; }
.bubble.b3 { width: 40px; height: 40px; bottom: 4%; left: 12%; animation: rise 7s ease-in-out infinite 0.5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  0% { transform: translateY(0); opacity: 0.2; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-18px); opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .bubble { animation: none; }
}

/* ---------- Section basics ---------- */
section { padding: 84px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.kicker {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
  display: block;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: center;
}

.step-card figure {
  margin: 0;
  background: var(--sky);
}

.step-card img { width: 100%; }

.step-card .body { padding: 22px 18px 26px; }

.step-num {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Impact ---------- */
.impact {
  background: var(--sky-deep);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.counter {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.counter .num {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
}

.progress-track {
  width: 100%;
  height: 14px;
  background: var(--sky);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 16px 0 8px;
}

.progress-fill {
  height: 100%;
  width: 12%;
  background: var(--gradient);
  border-radius: var(--radius-pill);
}

.impact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }

.impact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.impact li .emoji { font-size: 1.4rem; }
.impact li strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* ---------- Challenges ---------- */
.challenges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.challenge-card {
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--sky);
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.challenge-card:hover { border-color: var(--blue); transform: translateY(-4px); }

.challenge-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.challenge-card h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.challenge-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Organizations ---------- */
.orgs {
  background: var(--navy);
  color: #dfe4f7;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.orgs h2 { color: #fff; }
.orgs p { color: #c4cbec; }
.orgs .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.orgs .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 64px 24px;
}

.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.9); max-width: 46ch; margin: 0 auto 28px; }
.final-cta .btn-primary { background: #fff; color: var(--purple); box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0 32px;
  text-align: center;
}

.site-footer .logo { justify-content: center; margin-bottom: 14px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.footer-links a { text-decoration: none; color: var(--navy-soft); }
.footer-links a:hover { color: var(--blue); }

.copyright { font-size: 0.82rem; color: var(--navy-soft); opacity: 0.7; }

/* ---------- Simple / legal pages ---------- */
.page-hero {
  background: var(--sky);
  padding: 56px 0 40px;
}

.page-hero .kicker { display: inline-block; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 8px; }
.page-hero .meta { font-size: 0.9rem; opacity: 0.75; }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.content h2 {
  font-size: 1.3rem;
  margin-top: 44px;
  margin-bottom: 14px;
}

.content h2:first-of-type { margin-top: 0; }

.content p, .content li { line-height: 1.7; font-size: 1rem; }
.content ul { padding-left: 22px; }
.content li { margin-bottom: 8px; }

/* FAQ accordion */
.faq-item {
  background: var(--sky);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-card {
  margin-top: 40px;
  background: var(--sky-deep);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  text-align: center;
}

.contact-card a { color: var(--blue); font-weight: 700; text-decoration: none; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 30px;
  font-size: 0.92rem;
}

.data-table th, .data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--sky-deep);
}

.data-table th {
  font-family: 'Baloo 2', sans-serif;
  color: var(--navy);
}

.note-box {
  background: var(--sky);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin: 24px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  .challenges { grid-template-columns: 1fr; }
  .orgs { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; margin: 0 16px; }
  .final-cta { margin: 0 16px; }
}

@media (max-width: 560px) {
  .site-nav { gap: 16px; font-size: 0.85rem; }
  section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
}
