/* both. website. Colours match the app's "Two little houses" look. */
@font-face { font-family: 'Baloo 2'; font-weight: 500; font-display: swap; src: url('/fonts/baloo2-500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url('/fonts/baloo2-700Bold.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('/fonts/baloo2-800ExtraBold.woff2') format('woff2'); }

:root {
  --navy: #2D2A55;
  --night: #1E1C3A;
  --cream: #FFF6E3;
  --orange: #FFB86B;
  --lilac: #B9B4EC;
  --mint: #7FD6A8;
  --moon: #FFE9A8;
  --muted: #5B587E;
  --rust: #8A3B17;
  --line: #EADFC6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 500; font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
a:hover { color: #4A4590; }
:focus-visible { outline: 3px solid #6F6AB8; outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; line-height: 1.05; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* header: stays pinned to the top while you scroll */
.site { position: sticky; top: 0; z-index: 10; background: rgba(255, 246, 227, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(234, 223, 198, 0.8); }
[id] { scroll-margin-top: 96px; }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: baseline; gap: 3px; text-decoration: none; font-size: 32px; font-weight: 800; line-height: 1; }
.dot { width: 13px; height: 13px; border-radius: 50%; background: linear-gradient(90deg, var(--orange) 50%, var(--lilac) 50%); display: inline-block; }
.top nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 700; font-size: 17px; }
.top nav a { text-decoration: none; padding: 10px 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--navy); color: var(--cream); text-decoration: none; font-weight: 800; font-size: 17px; min-height: 48px; }
.btn:hover { background: #3A3670; color: var(--cream); }
.btn.light { background: #fff; color: var(--navy); }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 32px; padding-bottom: 72px; }
.hero-text { flex: 999 1 440px; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; color: var(--rust); }
.hero h1 { font-size: clamp(44px, 6.5vw, 74px); line-height: 1; }
.lead { font-size: 21px; color: #4A4770; max-width: 560px; }
.soon { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 16px; background: var(--night); color: #fff; font-weight: 700; }
.small { font-size: 16px; color: #6B6890; font-weight: 600; }
.hero-phone { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-phone .phone { border-radius: 44px; }
.phone img { width: 100%; height: auto; }
.phone.small { width: 230px; border-radius: 36px; border-width: 7px; }
.phone { width: 290px; border-radius: 44px; border: 9px solid var(--night); background: var(--cream); overflow: hidden; box-shadow: 0 24px 60px rgba(30, 28, 58, 0.22); }
.phone-head { background: var(--navy); padding: 26px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.phone-head .a { font-size: 14px; font-weight: 700; color: #ECEAFB; }
.phone-head .b { font-size: 46px; font-weight: 800; line-height: 1; color: var(--moon); }
.phone-head .c { font-size: 13px; font-weight: 700; color: var(--lilac); }
.phone-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.week span { height: 24px; border-radius: 6px; }
.o { background: var(--orange); } .l { background: var(--lilac); }
.mini { background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mini b { font-size: 17px; }
.mini span { font-size: 14px; font-weight: 600; color: #6B6890; }
.mini.ask { background: #ECEAFB; gap: 4px; }
.mini.ask span { color: #4A4590; }

/* bands and sections */
.band { background: var(--navy); color: var(--cream); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.band h2 { flex: 1 1 320px; font-size: 32px; line-height: 1.1; }
.band p { flex: 2 1 420px; color: #ECEAFB; }
section { padding-top: 72px; padding-bottom: 24px; }
section > .wrap > h2 { font-size: clamp(34px, 4.5vw, 44px); margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; color: var(--muted); }
.card svg { width: 34px; height: 34px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n { flex: none; width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.step p { font-weight: 600; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; }
.price { background: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.price .k { font-weight: 700; color: #6B6890; display: flex; align-items: center; gap: 10px; }
.price .v { font-size: 52px; font-weight: 800; line-height: 1; }
.price.dark { background: var(--navy); color: var(--cream); }
.price.dark .k, .price.dark .s { color: #ECEAFB; }
.save { padding: 2px 10px; border-radius: 999px; background: var(--moon); color: var(--navy); font-size: 13px; font-weight: 800; }
.price .s { font-size: 16px; font-weight: 600; color: #6B6890; }
.note { margin-top: 20px; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 28px; }
.faq div { padding: 18px 0; border-top: 2px solid var(--line); }
.faq h3 { font-size: 20px; margin-bottom: 6px; }
.faq p { font-size: 16px; color: var(--muted); }

/* calendar + notifications */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split-text { flex: 999 1 420px; display: flex; flex-direction: column; gap: 12px; }
.split-text h2 { font-size: clamp(32px, 4.2vw, 42px); margin-bottom: 8px; }
.split-text h3 { font-size: 22px; margin-top: 10px; }
.split-text p { color: #4A4770; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; color: #4A4770; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint); }
.split-pics { flex: 1 1 500px; display: flex; gap: 18px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.cal { width: 250px; background: #fff; border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 16px 40px rgba(30, 28, 58, 0.12); }
.cal-day { font-size: 14px; font-weight: 800; margin-top: 4px; }
.ev { border-left: 4px solid; border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.ev span { font-size: 12px; color: #6B6890; font-weight: 600; }
.ev.l { border-color: #8F89D9; background: #F1EFFC; }
.ev.o { border-color: #E8963A; background: #FFF1E2; }
.ev.g { border-color: #3FAE77; background: #E6F6EE; }
.ev.n { border-color: #B8B5C8; background: #F4F3F7; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 20px; }
.shots figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shots .phone { width: 100%; max-width: 250px; }
.shots figcaption { font-weight: 700; text-align: center; font-size: 16px; }

/* footer */
footer { margin-top: 80px; background: var(--night); color: #ECEAFB; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; font-size: 15px; font-weight: 600; }
footer a { color: #ECEAFB; }
footer .name { font-size: 26px; font-weight: 800; color: var(--cream); }
footer .by { margin-left: auto; color: var(--lilac); }
footer .by a.sd { color: var(--lilac); display: inline-flex; align-items: center; gap: 9px; text-decoration: none; vertical-align: middle; }
footer .by a.sd:hover { color: #fff; }
.sd-mark { height: 30px; width: auto; flex: none; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px 24px 0; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.legal .updated { color: #6B6890; font-weight: 600; margin-bottom: 28px; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
.legal .table { overflow-x: auto; margin: 8px 0 20px; border-radius: 16px; background: #fff; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid #F1EBDD; }
.legal th { font-weight: 800; background: #FBF4E4; }
.legal tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  /* phones: logo and button on one line, the links in a row underneath */
  .top { gap: 2px 12px; padding-top: 10px; padding-bottom: 6px; }
  .logo { font-size: 28px; }
  .top .btn { margin-left: auto; padding: 8px 16px; min-height: 40px; font-size: 15px; }
  .top nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: nowrap; gap: 8px; font-size: 15px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .top nav a { padding: 6px 0; }
  [id] { scroll-margin-top: 112px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .shots .phone { border-width: 6px; border-radius: 26px; }
  .shots figcaption { font-size: 14px; }
  .top nav:has(a[href="/"]) { justify-content: flex-start; gap: 24px; }
  footer .by { margin-left: 0; }
}
@media (max-width: 360px) {
  .top nav { font-size: 14px; gap: 6px; }
}

/* one home */
.onehome { background: var(--mint); color: var(--navy); }
.onehome .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.oh-text { flex: 1 1 380px; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.oh-text h2 { font-size: 36px; line-height: 1.1; }
.oh-text p { color: var(--navy); font-size: 19px; }
.onehome .phone { flex: 0 0 auto; margin: 0 auto; }
.oh-art { width: 220px; height: auto; display: block; }
.oh-art .ho { transform: translateX(36px); transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s; }
.oh-art .hl { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0.2); opacity: 0; transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s, opacity 0.15s linear 0.7s; }
.oh-art.play .ho { transform: none; }
.oh-art.play .hl { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .oh-art .ho, .oh-art .hl { transform: none; opacity: 1; transition: none; }
}

/* waitlist */
.wait { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.wait label { font-weight: 800; font-size: 17px; color: var(--navy); }
.wait-row { display: flex; gap: 10px; flex-wrap: wrap; }
.wait input[type=email] { flex: 1 1 240px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 17px; color: var(--navy); }
.wait input[type=email]:focus { outline: none; border-color: var(--navy); }
.wait .btn { border: 0; cursor: pointer; font-family: inherit; }
.wait .btn:disabled { opacity: 0.6; cursor: default; }
.wait-msg { min-height: 1.4em; font-weight: 700; font-size: 16px; margin: 0; }
.wait-msg.good { color: #1F6B45; }
.wait-msg.bad { color: var(--rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* kids first */
.kidsfirst .wrap { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 8px; padding-bottom: 56px; }
.kf { flex: 1 1 260px; background: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.kf h3 { font-size: 22px; }
.kf p { margin: 0; color: var(--muted); font-size: 17px; }
.kf-ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.kf-ic svg { width: 24px; height: 24px; }
.kf-ic.o { background: #FCE6CC; } .kf-ic.l { background: #ECEAFB; } .kf-ic.m { background: #E4F6EC; }

/* kinship care */
.kinship { background: var(--navy); color: var(--cream); }
.kinship .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.kin-text { flex: 1 1 380px; max-width: 580px; display: flex; flex-direction: column; gap: 16px; }
.kin-text .eyebrow { color: var(--mint); margin: 0; }
.kin-text h2 { font-size: 40px; line-height: 1.08; color: var(--cream); }
.kin-text p { margin: 0; color: #ECEAFB; font-size: 19px; }
.kin-text .small { color: var(--lilac); font-size: 16px; }
.kin-text .ticks li { color: #ECEAFB; }
.kin-text b { color: #fff; font-weight: 800; }
.kinship .phone { flex: 0 0 auto; margin: 0 auto; }
