/* Kindertide — "Daylight tide" design system v1 (approved 2026-08-26) */
:root {
  --deep: #14424e;       /* Deep Tide — headings, footer */
  --teal: #1e7d8c;       /* Tide Teal — brand, links */
  --shallow: #7cc4cb;    /* waves, tints */
  --coral: #ef7d5d;      /* THE action color */
  --coral-deep: #d95f3f; /* text links on light */
  --gold: #f2b950;       /* sparks, badges */
  --gold-deep: #c9922e;  /* icon strokes on gold pools */
  --sand: #fbf7f0;       /* page background */
  --pool: #e3f2f2;       /* card tints */
  --pool-coral: #fdeee8;
  --pool-gold: #fbf3dd;
  --line: #eee4d4;
  --ink-soft: #5b6f76;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Figtree", "Trebuchet MS", sans-serif; color: var(--deep); background: var(--sand); font-size: 17px; line-height: 1.6; }
h1, h2, h3, .disp { font-family: "Baloo 2", "Trebuchet MS", sans-serif; color: var(--deep); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 0 0 8px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--coral-deep); }
ul, ol { margin: 0 0 1rem 1.3rem; }
li { margin-bottom: 0.4rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.sub { color: var(--ink-soft); max-width: 620px; }

/* Buttons — rounded like river stones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--coral); color: #fff; font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.02rem; padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer; transition: transform 0.2s ease; }
.btn:hover { transform: scale(1.04); color: #fff; }
.btn.ghost { background: transparent; color: var(--deep); border: 2px solid var(--deep); }
.btn.ghost:hover { color: var(--deep); }
.btn.ghost.ondark { color: #fff; border-color: rgba(255,255,255,0.75); }
.btn.ghost.ondark:hover { color: #fff; }
.cta-link { font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; color: var(--coral-deep); }

/* Header */
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; gap: 22px; min-height: 72px; max-width: var(--maxw); margin: 0 auto; padding: 10px 22px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { width: 165px; height: auto; display: block; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #48606a; font-weight: 600; font-size: 0.94rem; }
.nav-links a.active, .nav-links a:hover { color: var(--deep); }
.nav-spacer { flex: 1; }
.nav .btn.pill { font-size: 0.92rem; padding: 10px 20px; }
details.agemenu { position: relative; }
details.agemenu summary { list-style: none; cursor: pointer; color: #48606a; font-weight: 600; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 5px; }
details.agemenu summary::-webkit-details-marker { display: none; }
details.agemenu[open] summary { color: var(--deep); }
details.agemenu .menu { position: absolute; top: 34px; left: -10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgba(20,66,78,0.14); padding: 10px; min-width: 210px; display: flex; flex-direction: column; z-index: 60; }
details.agemenu .menu a { padding: 9px 12px; border-radius: 9px; font-weight: 600; color: var(--deep); }
details.agemenu .menu a:hover { background: var(--pool); }
details.agemenu .menu a small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }

/* Hero */
.hero { background: linear-gradient(175deg, #14424e 0%, #1a5a68 55%, #1e7d8c 100%); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { padding: 64px 22px 130px; position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 680px; }
.hero .lede { color: #cfe7e9; font-size: 1.13rem; max-width: 540px; margin-top: 16px; line-height: 1.55; }
.hero .crumbs { font-size: 0.85rem; color: #a9cdd2; margin-bottom: 14px; }
.hero .crumbs a { color: #cfe7e9; }
.seasonchip { display: inline-flex; align-items: center; gap: 8px; background: rgba(242,185,80,0.16); border: 1px solid rgba(242,185,80,0.5); color: #f6d492; border-radius: 999px; padding: 6px 16px; font-size: 0.8rem; font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero.tint { background: var(--pool); color: var(--deep); }
.hero.tint h1 { color: var(--deep); }
.hero.tint .lede { color: #3d5a63; }
.hero.tint .crumbs { color: #48606a; }
.hero.tint .crumbs a { color: var(--teal); }
.hero.tint .wrap { padding: 44px 22px 84px; }

/* Sections */
section.band { padding: 52px 0 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 2px 10px rgba(20,66,78,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(20,66,78,0.14); }
.grid5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .grid5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid5, .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid5, .grid3 { grid-template-columns: 1fr; } }
.stagecard { padding: 22px 16px; text-align: center; display: block; color: var(--deep); }
.stagecard .pool { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.stagecard h3 { margin: 12px 0 2px; font-size: 1.15rem; }
.stagecard p { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 12px; }

/* Dark promise band */
.promise { background: var(--deep); border-radius: 22px; padding: 38px 40px; color: #fff; position: relative; overflow: hidden; }
.promise h2 { color: #fff; }
.promise .kicker { color: var(--shallow); }
.promise-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 20px; }
@media (max-width: 800px) { .promise-steps { grid-template-columns: 1fr; } }
.pstep { display: flex; gap: 14px; }
.pstep .n { min-width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.1rem; }
.pstep p { color: #b9d6da; font-size: 0.85rem; margin: 5px 0 0; line-height: 1.5; }
.promise .goldlink { color: #f6d492; font-weight: 700; font-size: 0.9rem; }

/* Honesty note */
.notebox { background: var(--pool-gold); border: 1px solid #ecd9a8; border-radius: 18px; padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start; }
.notebox p { font-size: 0.88rem; color: #6b5a2a; margin: 6px 0 0; line-height: 1.55; }

/* Milestone chips */
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chips span { background: #fff; border-radius: 999px; padding: 7px 15px; font-size: 0.82rem; font-weight: 600; color: var(--deep); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 15px 18px; list-style: none; position: relative; padding-right: 42px; color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 11px; font-size: 1.35rem; color: var(--shallow); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 18px 15px; font-size: 0.95rem; color: #2e4b55; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* Waitlist band + form */
.waitband { background: linear-gradient(120deg, var(--teal), var(--deep)); border-radius: 22px; padding: 38px 42px; color: #fff; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.waitband h2 { color: #fff; margin: 0 0 6px; }
.waitband p { color: #cfe7e9; margin: 0; font-size: 0.98rem; }
.waitform { display: flex; gap: 10px; flex-wrap: wrap; }
.waitform input[type="email"] { border: 0; border-radius: 999px; padding: 13px 22px; min-width: 250px; font-size: 0.95rem; font-family: inherit; color: var(--deep); }
.waitmsg { font-size: 0.88rem; margin-top: 10px; color: #f6d492; min-height: 1.2em; }

/* Prose pages */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; margin-bottom: 0.4rem; }
.sources { font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.1rem; }
.disclaimer { font-size: 0.85rem; color: var(--ink-soft); background: #f4efe6; border-radius: 10px; padding: 12px 16px; margin: 1.5rem 0; }

/* Footer */
footer.site { background: var(--deep); color: #b9d6da; margin-top: 64px; padding: 44px 0 28px; font-size: 0.9rem; }
footer.site .cols { display: flex; gap: 50px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
footer.site a { color: #cfe7e9; }
footer.site a:hover { color: #fff; }
footer.site strong { color: #fff; display: block; margin-bottom: 10px; }
footer.site .col ul { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 7px; }
footer.site .goldlink { color: #f6d492; }
footer.site .fine { max-width: var(--maxw); margin: 30px auto 0; padding: 16px 22px 0; border-top: 1px solid #1e5560; font-size: 0.76rem; color: #7fa0a7; }

/* Waves */
.wavebottom { position: absolute; bottom: -2px; left: 0; width: 100%; z-index: 1; }

/* Motion — "gentle tide": ambient, slow, never blinking */
@keyframes swell { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(7px) } }
.tidewaves path { animation: swell 9s ease-in-out infinite; }
.tidewaves path:nth-child(1) { animation-duration: 12s; }
.tidewaves path:nth-child(2) { animation-duration: 8s; animation-delay: -3s; }
.tidewaves path.still { animation: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg) } 50% { transform: translateY(-7px) rotate(1.5deg) } }
.boat { animation: bob 6s ease-in-out infinite; transform-origin: center; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
.fadeup { animation: fadeup 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.f2 { animation-delay: 0.12s } .f3 { animation-delay: 0.24s } .f4 { animation-delay: 0.36s }
@media (prefers-reduced-motion: reduce) { .tidewaves path, .boat, .fadeup { animation: none } .card, .btn { transition: none } }

/* Accessibility */
.skip { position: absolute; left: -9999px; top: 0; background: var(--coral); color: #fff; padding: 10px 18px; z-index: 100; font-weight: 700; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
