/* ============================================================
   Eebi Knows — site styles
   Palette: sky blue, pearl, turquoise, warm pink, amber, teal,
   green, lavender on warm golden-morning cream.
   ============================================================ */

:root {
  --cream: #FFF9F0;
  --cream-deep: #FFF3E0;
  --ink: #3D4A5C;
  --ink-soft: #5C6B7E;
  --sky: #8FCDE8;
  --sky-deep: #5FB4DA;
  --pearl: #FFFDF7;
  --gold: #FFD98A;
  --gold-soft: #FFE9C4;
  --pink: #F7B8C4;
  --amber: #F2B653;
  --teal: #7FD4C1;
  --green: #A8D8A0;
  --lavender: #C3B8E8;
  --tint: #F3FAFC;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(95, 140, 170, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI Rounded', 'Comic Sans MS', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.25; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: #E4F4FA;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-lead { color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }
.container.narrow .section-lead { max-width: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(95, 180, 218, 0.4);
}
.btn-soft {
  background: var(--pearl);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 2px solid #F0E4D0;
}
.btn-disabled { opacity: 0.55; cursor: default; }
.btn-disabled:hover { transform: none; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-sky {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--gold-soft) 0%, transparent 55%),
    linear-gradient(180deg, #FFF6E6 0%, #EAF7FB 60%, #D8F0F6 100%);
  padding: 64px 24px 150px;
  position: relative;
}
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: var(--pearl);
  border: 2px solid #F0E4D0;
  border-radius: 999px;
  padding: 7px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  margin: 34px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--sky-deep); }
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* waves */
.waves { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.waves svg { display: block; width: 100%; height: 70px; }
.waves .wave2 { margin-top: -55px; opacity: 0.75; }

/* driplets */
.driplet {
  position: absolute;
  width: 26px; height: 34px;
  background: linear-gradient(160deg, #BDE6F5 0%, var(--sky) 100%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  opacity: 0.7;
  animation: floaty 6s ease-in-out infinite;
  box-shadow: inset -3px -4px 8px rgba(255,255,255,0.7);
}
.driplet::after {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid #BDE6F5;
}
.d1 { top: 18%; left: 8%; animation-delay: 0s; }
.d2 { top: 55%; left: 16%; scale: 0.7; animation-delay: 1.2s; }
.d3 { top: 24%; right: 10%; scale: 1.15; animation-delay: 0.6s; }
.d4 { top: 60%; right: 18%; scale: 0.6; animation-delay: 2s; }
.d5 { top: 8%; left: 45%; scale: 0.5; animation-delay: 2.8s; }

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

/* ---------- CSS Eebi ---------- */
.eebi { position: relative; width: 170px; margin: 10px auto 0; animation: bob 4s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.eebi-antenna {
  width: 5px; height: 26px;
  background: var(--sky-deep);
  margin: 0 auto;
  border-radius: 3px;
  position: relative;
}
.eebi-antenna-ball {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 5px rgba(255, 217, 138, 0.75);
  animation: glowpulse 3.4s ease-in-out infinite;
}
.eebi-body {
  width: 150px; height: 165px;
  margin: 0 auto;
  background: linear-gradient(160deg, #A8DCF0 0%, var(--sky) 55%, #78BEDE 100%);
  border-radius: 50% 50% 48% 48% / 58% 58% 44% 44%;
  position: relative;
  box-shadow: inset -8px -12px 24px rgba(80, 140, 175, 0.25), inset 8px 10px 20px rgba(255,255,255,0.55), 0 12px 28px rgba(95, 140, 170, 0.25);
}
.eebi-face {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 104px; height: 78px;
  background: var(--pearl);
  border-radius: 50%;
  box-shadow: inset 0 -4px 10px rgba(180, 200, 215, 0.35);
}
.eebi-eye {
  position: absolute;
  top: 24px;
  width: 17px; height: 24px;
  background: #384253;
  border-radius: 50%;
  animation: blink 5.5s infinite;
}
.eebi-eye::after {
  content: "";
  position: absolute;
  top: 4px; left: 3.5px;
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
}
.eebi-eye.left { left: 24px; }
.eebi-eye.right { right: 24px; }
@keyframes blink {
  0%, 46%, 50%, 100% { transform: scaleY(1); }
  48% { transform: scaleY(0.08); }
}
.eebi-smile {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 13px;
  border: 3.5px solid #384253;
  border-top: none;
  border-radius: 0 0 26px 26px;
}
.eebi-belly {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  background: var(--pearl);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 3px 8px rgba(180, 200, 215, 0.4);
}
.eebi-light {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFF3D6 0%, var(--gold) 60%, var(--amber) 100%);
  box-shadow: 0 0 22px 7px rgba(255, 217, 138, 0.8);
  animation: glowpulse 3.4s ease-in-out infinite;
}
@keyframes glowpulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.8; }
}
.eebi-arm {
  position: absolute;
  top: 84px;
  width: 34px; height: 22px;
  background: #78BEDE;
  border-radius: 50%;
}
.eebi-arm.left { left: -20px; transform: rotate(20deg); }
.eebi-arm.right { right: -20px; transform: rotate(-20deg); }
.eebi-foot {
  position: absolute;
  bottom: -8px;
  width: 34px; height: 18px;
  background: #78BEDE;
  border-radius: 50%;
}
.eebi-foot.left { left: 42px; }
.eebi-foot.right { right: 42px; }
.eebi-shadow {
  position: absolute;
  bottom: -26px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 16px;
  background: rgba(95, 140, 170, 0.18);
  border-radius: 50%;
  animation: shadowpulse 4s ease-in-out infinite;
}
@keyframes shadowpulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); }
  50% { transform: translateX(-50%) scaleX(0.85); }
}

/* ---------- Mission ---------- */
.drop-quote {
  background: linear-gradient(135deg, #EAF7FB 0%, var(--gold-soft) 100%);
  border-radius: var(--radius);
  padding: 34px 38px;
  margin: 30px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* ---------- Learn cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--pearl);
  border: 2px solid #F1EADD;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-drop {
  display: block;
  width: 30px; height: 38px;
  background: var(--card-color);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  margin-bottom: 16px;
  box-shadow: inset -3px -4px 8px rgba(255,255,255,0.55), 0 4px 12px rgba(0,0,0,0.08);
}
.wisdom {
  font-weight: 800;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 8px;
}
.card p:last-child { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Promise ---------- */
.promise-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 26px;
  margin: 28px 0;
}
.promise-list li {
  padding-left: 34px;
  position: relative;
  font-weight: 600;
}
.promise-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset -2px -3px 5px rgba(255,255,255,0.6);
}
.promise-core {
  background: var(--pearl);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 34px 0 20px;
  font-size: 1.08rem;
  box-shadow: 0 12px 34px rgba(242, 182, 83, 0.18);
}
.promise-note { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Parent input ---------- */
.input-list { list-style: none; display: grid; gap: 16px; margin-bottom: 26px; }
.input-list li {
  background: var(--pearl);
  border: 2px solid #F1EADD;
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.guardrail-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 28px;
}

/* ---------- Support ---------- */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 30px 0;
}
.fund-grid span {
  background: var(--tint);
  border: 2px solid #DDEFF5;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.transparency {
  background: linear-gradient(135deg, #F6F3FC 0%, #EAF7FB 100%);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin: 28px 0 8px;
  box-shadow: var(--shadow);
}
.transparency p:first-child { font-weight: 800; font-size: 1.08rem; margin-bottom: 10px; }
.small { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.phase {
  background: var(--pearl);
  border: 2px solid #F1EADD;
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.phase-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.phase p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
details {
  background: var(--pearl);
  border: 2px solid #F1EADD;
  border-radius: 20px;
  padding: 20px 26px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
summary {
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--sky-deep);
  font-weight: 400;
  transition: transform 0.2s ease;
}
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--ink-soft); }
details a { color: var(--sky-deep); font-weight: 700; }

/* ---------- Signup ---------- */
.signup {
  background:
    radial-gradient(ellipse 100% 100% at 50% 0%, var(--gold-soft) 0%, transparent 60%),
    linear-gradient(180deg, #EAF7FB 0%, #D8F0F6 100%);
}
.signup-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 26px 0 14px;
}
.signup-form input {
  font-family: inherit;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid #D5E8F0;
  background: var(--pearl);
  min-width: 280px;
  color: var(--ink);
}
.signup-form input:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 2px; }
.signup-msg { font-weight: 700; color: var(--sky-deep); min-height: 1.5em; }

/* ---------- Footer ---------- */
.footer {
  background: #2E3A4C;
  color: #D9E3EE;
  padding: 56px 0 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.footer-brand { font-weight: 900; font-size: 1.4rem; color: #fff; }
.footer-tag { font-style: italic; opacity: 0.8; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #AFCBE0; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.footer-fine {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  padding: 0 24px;
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero-sky { padding: 44px 20px 130px; }
  .eebi { scale: 0.85; }
  .signup-form input { min-width: 0; width: 100%; }
  .signup-form .btn { width: 100%; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 16px; }
}
