/* Kaleido — listmonk public pages.
 *
 * Paste into Settings → Appearance → Public pages → Custom CSS.
 * This file is the source of truth; listmonk stores its own copy in the
 * settings table, so edit here and re-paste rather than the other way round.
 *
 * Every colour below was read off kaleido.bhcskids.com, not chosen here.
 * Loaded after listmonk's own style.css, so equal specificity wins. */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');

:root {
  --k-cream:  #fffbf0;   /* page ground; the site's dominant surface */
  --k-navy:   #244868;   /* interactive + headings. On the site this is the
                            nav hover background, i.e. the anchor colour */
  --k-ink:    #252525;
  --k-muted:  #4b4b4b;
  --k-gold:   #F4B740;   /* the three confetti colours. Decoration only -- */
  --k-coral:  #F26F5E;   /* none has enough contrast on white to be text.  */
  --k-green:  #7DBA5D;
  --k-line:   #f0e7d8;
  --k-field:  #fffdf8;
  --k-radius: 1rem;
}

body {
  background: var(--k-cream);
  color: var(--k-ink);
  font-family: "Fredoka", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.container { max-width: 560px; }

.wrap {
  background: #fff;
  border: 0;
  border-radius: var(--k-radius);
  padding: 40px 44px 36px;
  box-shadow: 0 18px 40px -26px rgba(36, 72, 104, .45);
}

/* The one bold mark: three hard-stop blocks in the confetti colours,
 * echoing the rounded rects (rx="3") scattered across the Kaleido page.
 * Hard stops, not a gradient wash -- the site uses these as solid shapes. */
.header {
  border-bottom: 0;
  padding-bottom: 22px;
  margin-bottom: 28px;
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg,
    var(--k-gold)  0    33.33%,
    var(--k-coral) 33.33% 66.66%,
    var(--k-green) 66.66% 100%);
}
.header .logo img { max-width: 172px; }

h1, h2, h3 {
  color: var(--k-navy);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
section > h2 { font-size: 1.6rem; margin: 0 0 6px; }

label { color: var(--k-muted); font-weight: 500; }

input[type="text"], input[type="email"], input[type="password"], select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 15px;
  background: var(--k-field);
  border: 1.5px solid #e6ded0;
  border-radius: .7rem;
  box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: var(--k-navy);
  box-shadow: 0 0 0 3px rgba(36, 72, 104, .14);
  outline: none;
}
input[type="checkbox"] { accent-color: var(--k-navy); }

.button {
  font-family: inherit;
  font-size: 1.02em;
  font-weight: 600;
  background: var(--k-navy);
  color: var(--k-cream);
  border-radius: 999px;
  padding: 14px 34px;
  transition: background .15s, transform .08s;
}
.button:hover  { background: #1b3853; color: var(--k-cream); }
.button:active { transform: translateY(1px); }
.button:focus-visible { outline: 3px solid var(--k-gold); outline-offset: 2px; }

a         { color: var(--k-navy); text-decoration-color: rgba(36, 72, 104, .35); }
a:hover   { color: var(--k-coral); }

/* With a single list, "Lists" is a heading above one checkbox -- a label
 * with nothing to distinguish. Delete this rule when a second list exists. */
.lists h2 { display: none; }

.lists li {
  background: var(--k-field);
  border: 1.5px solid var(--k-line);
  border-radius: .7rem;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.lists label       { color: var(--k-ink); font-weight: 500; }
.lists .description { color: var(--k-muted); margin-left: 24px; }

.error { color: var(--k-coral); }

footer.container { color: #b6a892; }
footer a         { color: #b6a892; }
footer a:hover   { color: var(--k-navy); }

/* Uncomment to drop listmonk's credit line. Your call -- it costs nothing
 * to leave, and these pages are seen by parents, not developers.
footer.container { display: none; }
*/

@media screen and (max-width: 650px) {
  .container { margin-top: 0; }
  .wrap { border-radius: 0; padding: 28px 22px; }
}
