/* KidSync page layer on top of the taste-skill system.
   Styling follows the KidSync moodboard (Inter, Ink and Action purple, coral as warmth, child colours,
   Ink-tinted shadows, generous radius). Layout, rhythm, motion and access come from assets/system.css. */

:root {
  /* KidSync tokens mapped onto the kit's palette slots (moodboard wins over the kit's palette rules) */
  --p-bg: #ffffff; --p-surface: #f9f8fc; --p-ink: #1a1628; --p-muted: #555169;
  --p-accent: #6941c6; --p-accent-ink: #ffffff; --p-action: #6941c6; --p-action-ink: #ffffff;
  --p-inv-bg: #2c1c5f; --p-inv-surface: #3a2a72; --p-inv-ink: #ffffff; --p-inv-muted: #d9cff5;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #2c1c5f; --p-inv-action: #ffffff; --p-inv-action-ink: #2c1c5f;
  --font-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --display-tracking-xl: -0.035em;

  --ks-ink: #2c1c5f; --ks-action: #6941c6; --ks-action-hover: #53389e; --ks-lavender: #9e77ed;
  --ks-brand-50: #f9f5ff; --ks-brand-100: #f4ebff; --ks-brand-200: #e9d7fe;
  --ks-coral: #ff7a66; --ks-coral-text: #b13a2a; --ks-coral-50: #fff2ef; --ks-coral-line: #ffd5cc;
  --ks-gray-50: #f9f8fc; --ks-gray-100: #f2f1f7; --ks-gray-200: #e6e4ef; --ks-gray-300: #d2cfde;
  --ks-gray-500: #6e6a82; --ks-gray-600: #555169; --ks-gray-700: #433f57; --ks-gray-900: #1a1628;
  --ks-warn-50: #fffaeb; --ks-warn-200: #fedf89; --ks-warn-700: #b54708;
  --ks-err-50: #fff1f3; --ks-err-700: #c01048; --ks-ok-50: #ecfdf3; --ks-ok-700: #067647;
  --c1-bg: #eff4ff; --c1-border: #b2ccff; --c1-fg: #2970ff; --c1-text: #004eeb;
  --c2-bg: #f0fdf9; --c2-border: #99f6e0; --c2-fg: #15b79e; --c2-text: #107569;
  --c3-bg: #fdf2fa; --c3-border: #fcceee; --c3-fg: #ee46bc; --c3-text: #c11574;
  --ks-shadow-rest: 0 1px 2px rgba(44,28,95,.05), 0 1px 3px rgba(44,28,95,.07);
  --ks-shadow-raised: 0 4px 8px -2px rgba(44,28,95,.05), 0 14px 28px -8px rgba(44,28,95,.12);
  --ks-shadow-float: 0 8px 16px -4px rgba(44,28,95,.06), 0 28px 56px -14px rgba(44,28,95,.22);
  --ks-grad-button: linear-gradient(90deg, #6941c6 0%, #b55541 100%);
  --ks-grad-deep: linear-gradient(150deg, #9e77ed -10%, #6a2c98 35%, #2c1c5f 85%);
}

h1, h2, h3 { color: var(--ks-ink); }
h1 { font-weight: 800; }
.ground-inverse h2, .ground-inverse h3 { color: #fff; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline-color: var(--ks-action); }

/* Logo */
.nav__logo img, .closing__links .nav__logo img { display: block; height: 28px; width: auto; }

/* Notice badge (coral = good news, travels with purple) */
.ks-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 20px;
  background: var(--ks-coral-50); color: var(--ks-coral-text); border: 1px solid var(--ks-coral-line); }
.ks-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ks-coral); }
.hero-copy > .ks-badge { align-self: flex-start; width: max-content; max-width: 100%; }

/* Countdown and spots */
.countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.countdown .unit { background: var(--ks-gray-50); border: 1px solid var(--ks-gray-100); border-radius: 14px; padding: 10px 6px 8px; text-align: center; }
.countdown .val { display: block; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; font-weight: 800; color: var(--ks-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown .lbl { display: block; margin-top: 6px; font-size: 13px; color: var(--ks-gray-600); }
.spots { display: grid; gap: 8px; }
.spots-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ks-gray-700); }
.spots-row strong { color: var(--ks-gray-900); font-weight: 600; }
.meter { height: 8px; border-radius: 999px; background: var(--ks-gray-100); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ks-action), var(--ks-coral)); transition: width .8s cubic-bezier(.2,.7,.2,1); }
.spots[data-state="unknown"] .meter span { width: 100%; background: var(--ks-gray-200); }

/* Waitlist form */
.wl-form { display: grid; gap: 12px; }
.wl-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; }
.wl-form .field { display: grid; gap: 6px; min-width: 0; }
.wl-form label { font-size: 14px; font-weight: 500; color: var(--ks-gray-700); }
.wl-form input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ks-gray-300); border-radius: 12px; background: #fff; font: 400 16px/1.2 var(--font-text); color: var(--ks-gray-900); }
.wl-form input:focus { border-color: var(--ks-action); }
.wl-form input[aria-invalid="true"] { border-color: #e31b54; }
.wl-form .btn { width: 100%; }
.btn.btn--key { background: var(--ks-grad-button); color: #fff; border: 0; }
.btn.btn--key:hover { filter: brightness(.93); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.45; background: var(--ks-err-50); color: var(--ks-err-700); }
.form-msg.show { display: flex; }
.success { display: none; gap: 8px; }
.success.show { display: grid; }
.success-head { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--ks-ink); }
.success-head .tick { width: 32px; height: 32px; border-radius: 50%; background: var(--ks-ok-50); color: var(--ks-ok-700); display: grid; place-items: center; flex: none; }
.success p { color: var(--ks-gray-700); }
.ks-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* The action card (hero and offer) */
.action-card { display: grid; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--ks-gray-200); border-radius: 20px; box-shadow: var(--ks-shadow-raised); color: var(--ks-gray-900); }
.action-card .label { font-size: 14px; font-weight: 600; color: var(--ks-gray-700); }

/* Browser frame around the app's own screens */
.browser { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ks-gray-200); border-radius: 16px; overflow: hidden; box-shadow: var(--ks-shadow-float); height: 100%; }
.browser__bar { display: flex; align-items: center; gap: 12px; height: 36px; flex: none; padding: 0 14px; background: var(--ks-gray-50); border-bottom: 1px solid var(--ks-gray-200); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ks-gray-300); display: block; }
.browser__dots { display: flex; gap: 6px; }
.browser__url { flex: 1; max-width: 300px; margin: 0 auto; height: 22px; border-radius: 999px; background: #fff; border: 1px solid var(--ks-gray-200); display: grid; place-items: center; font-size: 12px; color: var(--ks-gray-600); }
.browser__spacer { width: 42px; }
.browser__view { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--ks-gray-50); }
.browser__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.lit { background: radial-gradient(60% 60% at 30% 30%, rgba(158,119,237,.22), transparent 70%), radial-gradient(50% 50% at 75% 75%, rgba(255,122,102,.16), transparent 72%), var(--ks-gray-50); border-radius: 24px; padding: 40px; }

/* Pain moments with the real app icons */
.moment-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--ks-gray-200); }
.moment-card .app { width: 48px; height: 48px; border-radius: 12px; background: var(--ks-gray-50); display: grid; place-items: center; }
.moment-card .app img { width: 28px; height: 28px; object-fit: contain; }
.moment-card time { display: block; font-size: 14px; font-weight: 600; color: var(--ks-gray-600); font-variant-numeric: tabular-nums; }
.moment-card h3 { margin-top: 4px; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ks-gray-900); letter-spacing: -.01em; }
.moment-card p { margin-top: 6px; font-size: 16px; color: var(--ks-gray-600); }

/* App panels (to-dos, village) */
.panel-ui { background: #fff; border-radius: 16px; box-shadow: var(--ks-shadow-raised); padding: 20px; display: grid; gap: 14px; }
.panel-ui__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.panel-ui__head small { font-size: 14px; font-weight: 400; color: var(--ks-gray-600); }
.todo-list { display: grid; }
.todo-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 2px; list-style: none; }
.todo-list li + li { border-top: 1px solid var(--ks-gray-100); }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--ks-gray-300); flex: none; margin-top: 1px; }
.todo-list .t { font-size: 16px; font-weight: 500; color: var(--ks-gray-900); }
.todo-list .s { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--ks-gray-600); }
.todo-list .s.ai { color: var(--ks-coral-text); }
.todo-list .s.warn { color: var(--ks-warn-700); }
.todo-list .s .ks-ico { width: 15px; height: 15px; }
.event { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--c2-border); background: var(--c2-bg); }
.event b { color: var(--c2-text); font-weight: 600; font-size: 16px; }
.event span { color: var(--ks-gray-700); font-size: 14px; font-variant-numeric: tabular-nums; }
.handoff { display: flex; align-items: center; gap: 14px; }
.avs { display: flex; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: none; border: 2px solid #fff; }
.avs .av + .av { margin-left: -10px; }
.av.j { background: var(--ks-brand-100); color: var(--ks-action); }
.av.a { background: #ffe7e1; color: #c2412f; }
.av.d { background: var(--c2-bg); color: var(--c2-text); }
.handoff b { display: block; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.handoff span { font-size: 14px; color: var(--ks-gray-600); }
.toast { display: flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 14px; border-radius: 12px; background: var(--ks-gray-900); color: #fff; font-size: 14px; box-shadow: var(--ks-shadow-float); }
.toast .ks-ico { color: #75e0a7; }

/* Favorites grid inside the app frame */
.favs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px; }
.fav { background: #fff; border-radius: 16px; box-shadow: var(--ks-shadow-rest); padding: 8px; display: grid; gap: 10px; min-width: 0; }
.fav .ph { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--ks-gray-100); }
.fav .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav b { display: block; padding: 0 6px; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); line-height: 1.3; }
.fav span { display: block; padding: 0 6px 6px; font-size: 14px; color: var(--ks-gray-600); }

/* Browser icons row (FAQ) */
.browsers { display: flex; flex-wrap: wrap; gap: 12px; }
.browsers span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--ks-gray-50); font-size: 15px; font-weight: 500; color: var(--ks-gray-900); }
.browsers img { width: 24px; height: 24px; }

/* News */
.news-outlet { height: 100%; display: grid; place-items: center; border-radius: 20px; background: var(--ks-gray-50); border: 1px dashed var(--ks-gray-300); color: var(--ks-gray-600); font-size: 18px; font-weight: 600; text-align: center; padding: 24px; }
.news-meta { font-size: 14px; color: var(--ks-gray-600); font-variant-numeric: tabular-nums; }

/* Offer band: the Deep gradient is the page's one brand moment */
.ks-offer.ground-inverse { background: var(--ks-grad-deep); }
.ks-offer .checks li { color: #f4efff; font-size: 17px; }
.ks-offer .t-lead { color: #ede6ff; }

/* Footer socials */
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, var(--ks-gray-200)); color: var(--ks-gray-700); }
.socials a:hover { color: var(--ks-action); }
.socials .ic-svg { width: 20px; height: 20px; }

@media (max-width: 639px) {
  .wl-fields { grid-template-columns: 1fr; }
  .countdown .unit { padding: 8px 2px 6px; }
  .moment-card { padding: 18px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .moment-card .app { width: 40px; height: 40px; }
  .favs { padding: 12px; gap: 10px; }
  .lit { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .meter span { transition: none; } }

/* Discover: the wide app frame, cut to the screen's content window */
.ks-discover { height: min(540px, 60svh); margin-top: var(--s-7, 48px); }
@media (max-width: 1023px) { .ks-discover { height: 420px; } }
@media (max-width: 639px) { .ks-discover { height: 300px; } }

/* Fit: the hero inside one screen, split visuals filling their screen */
.hero h1 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.03em; max-width: 15ch; }
.hero .t-lead { max-width: 34em; }
.hero .action-card { padding: 20px; gap: 14px; }
.section .grid > .lit { min-height: 560px; display: grid; align-content: center; }
.section .grid > .lit > .browser { height: auto; }
.moment-card { min-height: 196px; padding: 28px; }
.moment-card h3 { font-size: 22px; }
@media (max-width: 1023px) { .section .grid > .lit { min-height: 0; } }
@media (max-height: 820px) and (min-width: 1024px) {
  .hero .t-lead { display: none; }
  .hero h1 { font-size: clamp(34px, 3.2vw, 46px); }
}

/* Round 2 fixes */
.ks-notice { color: var(--ks-coral-text); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.moments .moment-card { background: transparent; border: 0; padding: 0; min-height: 0; border-radius: 0; }
.moments .moment-card .app { background: #fff; box-shadow: var(--ks-shadow-rest); }
.moments { row-gap: 48px; margin-top: 16px; }
.moment-card h3, .faq__item h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ks-headline { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; font-weight: 700; color: var(--ks-ink); letter-spacing: -.015em; }
.ks-news-photo { height: 560px; width: 100%; border-radius: 24px; overflow: hidden; }
@media (max-width: 1023px) { .ks-news-photo { height: 420px; } }
@media (max-width: 639px) { .ks-news-photo { height: 320px; } }
.ks-news-photo img { object-position: 50% 20%; }
.browsers { gap: 24px; }
.browsers span { background: none; padding: 0; }

.av.a { color: #b13a2a; }
.close__word { line-height: 1; padding-bottom: .04em; }

.moments .moment-card { grid-template-columns: 1fr; gap: 14px; }
.moments .moment-card .app { width: 56px; height: 56px; border-radius: 14px; }
.moments .moment-card .app img { width: 32px; height: 32px; }
.moment-title { margin-top: 4px; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--ks-gray-900); letter-spacing: -.01em; }
.action-card .btn--primary { background: var(--ks-action); color: #fff; }
.action-card .btn--primary:hover { background: var(--ks-action-hover); }
/* Sign-up buttons: the purple-to-coral Brand gradient from the moodboard */
.action-card .btn.btn--key { background: var(--ks-grad-button); border: 0; }
.action-card .btn.btn--key:hover { background: var(--ks-grad-button); filter: brightness(.92); }
.lit > .favs { padding: 0; }

/* Problem: a stack of notifications found too late */
.notes { display: grid; gap: 12px; }
.note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; }
.note + .note { border-top: 1px solid var(--ks-gray-100); }
.notes.panel-ui { gap: 0; }
.note img { width: 32px; height: 32px; object-fit: contain; margin: 4px; }
.note b { display: block; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.note span { display: block; font-size: 14px; color: var(--ks-gray-600); }
.note .note__meta { font-size: 13px; font-weight: 500; color: var(--ks-gray-500); margin-bottom: 2px; }
/* Favorites list */
.fav-list { display: grid; margin: 0; padding: 0; }
.fav-list li { list-style: none; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; }
.fav-list li + li { border-top: 1px solid var(--ks-gray-100); }
.fav-list img { width: 88px; height: 60px; border-radius: 10px; object-fit: cover; display: block; }
.fav-list b { display: block; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.fav-list span { display: block; font-size: 14px; color: var(--ks-gray-600); }

.drivers { display: grid; margin: 0; padding: 0; }
.drivers li { list-style: none; display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--ks-gray-700); }
.drivers li + li { border-top: 1px solid var(--ks-gray-100); }
.drivers b { font-weight: 600; color: var(--ks-gray-900); }
@media (max-width: 639px) {
  .hero .t-lead { display: none; }
  .hero .wl-fields { grid-template-columns: 1fr 1fr; }
  .hero .action-card { padding: 16px; gap: 12px; }
  .hero h1 { font-size: 32px; }
  .drivers li { grid-template-columns: 84px minmax(0,1fr) auto; font-size: 14px; }
}

.faq > .faq__item { padding-block: 28px; }
.faq > .faq__item:first-child { padding-top: 0; }
.action-card :focus-visible { outline-color: var(--ks-action); }
.ks-offer.ground-inverse { background: linear-gradient(150deg, #6a2c98 0%, #2c1c5f 70%); }
.action-card { --action: #6941c6; --action-ink: #ffffff; }
.action-card { --ink: #1a1628; --bg: #ffffff; --muted: #555169; --line-strong: #d2cfde; }
@media (max-width: 639px) {
  #week .checks, #todos .checks, #village .checks, #favorites .checks { display: none; }
  .ks-offer.ground-inverse { background: var(--p-inv-bg); }
  .ks-news-photo { height: 280px; }
}
@media (max-width: 639px) {
  #todos .todo-list li:nth-child(2), #favorites .fav-list li:nth-child(4), #village .drivers { display: none; }
}
@media (max-width: 639px) { #problem .t-lead, #faq .browsers { display: none; } }
@media (min-width: 640px) {
  .ks-offer .action-card { padding: 36px; gap: 24px; }
  .ks-offer .countdown .unit { padding: 18px 6px 14px; }
  .ks-offer h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; }
  .faq > .faq__item { padding-block: 36px; }
}
.launch-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 64px 0 0; padding: 0; }
.launch-steps li { list-style: none; display: grid; gap: 6px; color: #ede6ff; font-size: 16px; }
.launch-steps b { color: #fff; font-size: 18px; font-weight: 600; }
.launch-steps .step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
@media (max-width: 1023px) { .launch-steps { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; } }

/* About and Contact */
.pillars { display: grid; gap: 18px; margin: 0; padding: 0; }
.pillars li { list-style: none; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 14px; align-items: start; }
.pillars .ks-ico { color: var(--ks-action); margin-top: 2px; }
.pillars b { display: block; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.pillars span { display: block; font-size: 15px; color: var(--ks-gray-600); }
.prose p { font-size: 17px; line-height: 1.65; color: var(--ks-gray-700); }
.signoff { display: grid; gap: 2px; }
.signoff b { font-size: 18px; font-weight: 700; color: var(--ks-ink); }
.signoff span { font-size: 15px; color: var(--ks-gray-600); }
.ks-founder { height: 640px; border-radius: 24px; overflow: hidden; }
.ks-founder img { object-position: 50% 20%; }
.email-text a { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--ks-ink); text-decoration: none; }
.social-list { display: grid; gap: 12px; margin: 0; padding: 0; }
.social-list li { list-style: none; }
.social-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ks-gray-50); color: var(--ks-gray-900); text-decoration: none; min-height: 44px; }
.social-list a > span { display: grid; }
.social-list b { font-weight: 600; }
.social-list a > span span { font-size: 14px; color: var(--ks-gray-600); }
.hero-visual.lit { display: grid; align-content: center; }
@media (max-width: 1023px) { .ks-founder { height: 480px; } }
@media (max-width: 639px) { .ks-founder { height: 360px; } }
#platform .pillars { gap: 28px; }
#platform .panel-ui { padding: 32px; gap: 24px; }
@media (max-width: 639px) { .ks-founder { height: 300px; } }
@media (max-width: 639px) { .ks-founder { height: 600px; } }
@media (min-width: 640px) { .ks-story-cta { display: none; } }
@media (max-width: 639px) { .ks-founder { height: 680px; } }
@media (max-width: 639px) { #problem .note:nth-child(3), #problem .note:nth-child(4), #faq .faq__item:nth-child(4) { display: none; } #problem .notes.panel-ui { padding: 16px; } }
@media (max-width: 639px) { #faq .faq__item:nth-child(6) { display: none; } }

/* ===== Moodboard pass: lavender closing ground, rounded bands, glass ===== */
/* The kit's default lit ground was sand (khaki). KidSync's is Brand 100 lavender with Ink text. */
:root {
  --ground-bg: #f4ebff; --ground-surface: #ffffff; --ground-ink: #2c1c5f; --ground-muted: #4f4a66; --ground-accent: #6941c6;
  --ks-glass-bg: rgba(255, 255, 255, .72); --ks-glass-line: rgba(255, 255, 255, .9); --ks-glass-blur: blur(22px) saturate(1.4);
}
.footer--statement { --action: var(--ks-action); --action-ink: #fff; }

/* Rounded bands: the offer and the closing footer sit as inset cards with the moodboard's 3xl radius */
.ks-offer.ground-inverse, footer.footer--statement { margin-inline: 16px; border-radius: 28px; overflow: hidden; }
footer.footer--statement { margin-bottom: 16px; }
@media (max-width: 639px) {
  .ks-offer.ground-inverse, footer.footer--statement { margin-inline: 8px; border-radius: 24px; }
  footer.footer--statement { margin-bottom: 8px; }
}

/* Glass: white at 72%, 22px blur, 1px white border (moodboard Surfaces) */
.glass { background: var(--ks-glass-bg); -webkit-backdrop-filter: var(--ks-glass-blur); backdrop-filter: var(--ks-glass-blur); border: 1px solid var(--ks-glass-line); }
header.nav { background: var(--ks-glass-bg); -webkit-backdrop-filter: var(--ks-glass-blur); backdrop-filter: var(--ks-glass-blur); border-bottom-color: rgba(44, 28, 95, .08); }
@media (max-width: 639px) {
  .actionbar { background: var(--ks-glass-bg); -webkit-backdrop-filter: var(--ks-glass-blur); backdrop-filter: var(--ks-glass-blur); border-top-color: rgba(44, 28, 95, .08); }
}
/* the hero's floating glass note over the Home screen */
.hero-visual { position: relative; }
.glass-note { position: absolute; left: -16px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 320px; padding: 14px 18px 14px 14px; border-radius: 20px; box-shadow: var(--ks-shadow-float); color: var(--ks-gray-900); }
.glass-note .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-warn-50); color: var(--ks-warn-700); }
.glass-note .ico .ks-ico { width: 20px; height: 20px; }
.glass-note b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.glass-note span { display: block; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); }
@media (max-width: 1023px) { .glass-note { left: 16px; bottom: 16px; } }
@media (max-width: 639px) { .glass-note { display: none; } }
/* launch steps as glass cards on the offer band */
.launch-steps li.glass { padding: 24px; border-radius: 20px; gap: 4px; color: var(--ks-gray-700); }
.launch-steps li.glass b { color: var(--ks-ink); }
.launch-steps li.glass .step-num { background: var(--ks-brand-100); color: var(--ks-action); }
@media (max-width: 1023px) { .launch-steps li.glass { padding: 16px 20px; } }
@media (prefers-reduced-transparency: reduce) {
  .glass, header.nav, .actionbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* keep the inset bands' content on the page's shared left and right lines */
.ks-offer.ground-inverse, footer.footer--statement { --inset: 16px; }
.ks-offer.ground-inverse > .wrap, footer.footer--statement > .wrap { width: min(100% - 2 * var(--gut) + 2 * var(--inset), var(--container)); }
@media (max-width: 639px) {
  .ks-offer.ground-inverse, footer.footer--statement { --inset: 8px; }
  .launch-steps li.glass { padding: 12px 16px; grid-template-columns: 32px 1fr; align-items: center; column-gap: 12px; }
  .launch-steps li.glass .step-num { margin: 0; }
  .launch-steps li.glass > span:not(.step-num) { display: none; }
}
/* Buttons: the moodboard's pill (full radius), semibold label, no arrow */
html[data-buttons] { --r-btn: 999px; }
.btn, .btn.btn--key { font-weight: 600; padding-inline: 24px; border-radius: 999px; }
:root { --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-btn: 999px; }
.btn > .m-arrow, .btn::after { display: none; content: none; }

/* Copy pass: reassurance under the sign-up button, privacy line, research quotes */
.form-note { font-size: 14px; line-height: 1.4; color: var(--ks-gray-600); text-align: center; margin: 0; }
.ks-privacy { font-size: 15px; line-height: 1.5; color: var(--ks-gray-700); }
.ks-quotes { gap: 0; padding: 8px 24px; }
.ks-quote { margin: 0; padding: 20px 0; display: grid; gap: 10px; }
.ks-quote + .ks-quote { border-top: 1px solid var(--ks-gray-200); }
.ks-quote p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ks-gray-900); }
.ks-quote footer { font-size: 14px; color: var(--ks-gray-600); }
.ks-quote footer b { color: var(--ks-ink); font-weight: 600; }
.ks-quote--inline { max-width: 760px; padding: 0; margin-top: 16px; }
.ks-quote--inline p { color: var(--ks-gray-700); }
@media (max-width: 639px) {
  .ks-quote { padding: 14px 0; } .ks-quote p { font-size: 15px; }
  .ks-quotes { padding: 4px 16px; }
  #research .t-lead, .ks-privacy, .ks-quote--inline { display: none; }
}
@media (max-width: 639px) { .hero .form-note { display: none; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .ks-quotes { padding: 16px 32px; }
  .ks-quote { padding: 28px 0; gap: 14px; }
  .ks-quote p { font-size: 20px; }
}

/* v3 copy: hero scene line, survey strip, extension mock */
.ks-scene { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ks-gray-700); }
.ks-stats { display: grid; gap: 10px; padding-top: 8px; }
.ks-stats dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 20px; max-width: 440px; }
.ks-stats dt { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ks-ink); }
.ks-stats dd { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ks-gray-700); }
.ks-stats__src { margin: 0; font-size: 13px; color: var(--ks-gray-600); }
.ks-ext { position: relative; }
.ks-ext__fields { margin: 0; display: grid; }
.ks-ext__fields > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 2px; font-size: 15px; }
.ks-ext__fields > div + div { border-top: 1px solid var(--ks-gray-100); }
.ks-ext__fields dt { color: var(--ks-gray-600); }
.ks-ext__fields dd { margin: 0; color: var(--ks-gray-900); font-weight: 500; }
.ks-ext__pop { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ks-gray-200); box-shadow: var(--ks-shadow-floating, 0 16px 40px rgba(44, 28, 95, .16)); }
.ks-ext__brand { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ks-ink); }
.ks-ext__pop > p:not(.ks-ext__brand) { margin: 0; display: grid; gap: 2px; font-size: 15px; color: var(--ks-gray-700); }
.ks-ext__pop b { font-weight: 600; color: var(--ks-gray-900); font-size: 16px; }
.ks-ext__btns { display: flex; gap: 8px; }
.ks-ext__btns span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ks-ext__yes { background: #6941c6; color: #fff; }
.ks-ext__no { color: var(--ks-gray-700); border: 1px solid var(--ks-gray-300); }
@media (max-width: 639px) {
  .ks-scene { font-size: 15px; }
  .ks-stats dl { gap: 12px; }
  .ks-stats dt { font-size: 22px; }
  .ks-stats dd { font-size: 13px; }
  #forms .checks, #forms .t-lead { display: none; }
  .ks-ext__fields > div { grid-template-columns: 120px minmax(0, 1fr); font-size: 14px; padding: 10px 2px; }
  .ks-ext__fields > div:nth-child(3) { display: none; }
}
@media (max-height: 820px) and (min-width: 1024px) { #faq .faq__item:nth-child(4), #faq .faq__item:nth-child(6) { display: none; } }

/* v4: the KidSync fix under each problem card */
.note .note__fix { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ks-ink); }
.note__fix .ks-ico { width: 16px; height: 16px; flex: none; color: var(--ks-action); }

/* Village: group chat now vs KidSync */
.ks-compare { display: grid; gap: 12px; align-content: center; }
.ks-before { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--ks-gray-50); border: 1px dashed var(--ks-gray-300); }
.ks-tag { margin: 0; font-size: 13px; font-weight: 600; color: var(--ks-gray-600); }
.ks-tag--after { color: var(--ks-ink); margin-top: 4px; }
.ks-bubble { justify-self: start; max-width: 85%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid var(--ks-gray-200); font-size: 14px; line-height: 1.4; color: var(--ks-gray-900); }
.ks-bubble b { display: block; font-size: 12px; font-weight: 600; color: var(--ks-gray-600); }
.ks-bubble--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--ks-brand-50); border-color: var(--ks-brand-200); }
@media (min-width: 640px) { #village .drivers { display: none; } }
@media (max-width: 639px) { .ks-before .ks-bubble--3 { display: none; } #village .toast { display: none; } }
@media (max-width: 639px) { #village .event { display: none; } #village .ks-before { padding: 12px; } }

/* Audit fixes: short hero line where the subhead is hidden, proof under the forms */
.ks-short-lead { display: none; margin: 0; font-size: 17px; line-height: 1.45; color: var(--ks-gray-700); }
@media (max-width: 639px) { .ks-short-lead { display: block; font-size: 16px; } }
@media (max-height: 820px) and (min-width: 1024px) { .ks-short-lead { display: block; } }
.ks-proof { margin: 16px 0 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ks-gray-700); max-width: 34em; }
.ks-proof b { font-weight: 600; color: var(--ks-ink); }
.ks-proof__press { font-size: 13px; font-weight: 600; color: var(--ks-gray-600); }
.ks-offer .ks-proof { color: #ede6ff; }
.ks-offer .ks-proof b, .ks-offer .ks-proof__press { color: #ffffff; }
@media (max-width: 639px) { .hero .ks-proof, .ks-notice__more { display: none; } }
.ks-discover-lead { margin-top: 12px; max-width: 40em; color: var(--ks-gray-700); }
@media (max-width: 639px) { #discover .checks { display: none; } }
.ks-discover-side { align-self: end; }
.ks-discover-side .ks-quote--inline { margin-top: 40px; }

/* Parent quotes: one distinctive look everywhere (purple mark, soft glow) */
.ks-quote--inline { position: relative; max-width: none; margin-top: 24px; padding: 28px 28px 24px; border-radius: 24px; border: 1px solid var(--ks-brand-200);
  background: radial-gradient(120% 140% at 0% 0%, rgba(158,119,237,.24), transparent 60%), radial-gradient(90% 120% at 100% 100%, rgba(242,120,96,.14), transparent 55%), #fbf9ff; }
.ks-quote--inline::before, .ks-quotes .ks-quote::before { content: "\201C"; display: block; height: 30px; font-size: 72px; line-height: .8; font-weight: 800; color: var(--ks-action); }
.ks-quote--inline p { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-quote--inline footer { font-size: 15px; }
.ks-quotes { border: 1px solid var(--ks-brand-200);
  background: radial-gradient(120% 90% at 0% 0%, rgba(158,119,237,.22), transparent 60%), radial-gradient(90% 90% at 100% 100%, rgba(242,120,96,.12), transparent 55%), #fbf9ff; }
.ks-quotes .ks-quote p { color: var(--ks-ink); font-weight: 600; }
.ks-quotes .ks-quote + .ks-quote { border-top-color: var(--ks-brand-200); }
@media (min-width: 1024px) { .ks-quotes .ks-quote p { font-size: 19px; } }
/* Reminders: mirrored layout (to-do panel left, words right) so it differs from the forms section */
@media (min-width: 1024px) {
  #todos .grid > .stack-5 { grid-column: 8 / span 5; grid-row: 1; }
  #todos .grid > .lit { grid-column: 1 / span 6; grid-row: 1; }
  #todos .todo-list li { padding-block: 18px; }
}

/* Layout variety for the benefit sections (desktop only; phones and tablets stack as before)
   week: wide screenshot right · discover: full-width screenshot · favorites: mirrored
   village: centred words over a side-by-side now / with KidSync · todos: mirrored · forms: inset card */
@media (min-width: 1024px) {
  #week .grid > .stack-5 { grid-column: 1 / span 5; }
  #week .grid > .lit { grid-column: 6 / span 7; }

  #favorites .grid > .stack-5 { grid-column: 8 / span 5; grid-row: 1; }
  #favorites .grid > .lit { grid-column: 1 / span 6; grid-row: 1; }

  #village .grid > .stack-5 { grid-column: 3 / span 8; grid-row: 1; text-align: center; justify-items: center; }
  #village .checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
  #village .checks li { text-align: left; }
  #village .grid > .ks-compare { grid-column: 2 / span 10; grid-row: 2; margin-top: 40px;
    grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 12px; align-content: start; }
  #village .ks-compare > .ks-before { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; align-content: start; }
  #village .ks-compare > .ks-tag--after { grid-column: 2; grid-row: 1; margin: 0; }
  #village .ks-compare > .panel-ui { grid-column: 2; grid-row: 2; }

  #forms > .wrap > .grid { padding: 56px; border-radius: 32px; background: var(--ks-brand-50); border: 1px solid var(--ks-brand-100); }
}
@media (min-width: 1024px) {
  #village .ks-privacy, #village .event { display: none; }
  #village .grid > .ks-compare { margin-top: 24px; }
  #village .grid > .stack-5 { gap: 16px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  #village .checks, #village .toast, #village .ks-before .ks-bubble--3 { display: none; }
}
@media (min-width: 1024px) { #village .ks-compare > .panel-ui { align-self: start; } #village .ks-compare > .ks-before { align-self: start; } }
@media (min-width: 1024px) { #village .grid > .ks-compare { min-height: 0; } }

/* Motion: simple scroll reveal (kidsync.js adds .ks-reveal and [data-reveal]; nothing hides without JS) */
html.ks-reveal [data-reveal] { opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--ks-d, 0) * 90ms); }
html.ks-reveal :is(.lit, .browser.ks-discover)[data-reveal] { transform: translateY(24px) scale(.985); }
html.ks-reveal [data-reveal].is-in { opacity: 1; transform: none; }
html.ks-reveal .ks-bubble[data-reveal] { transform: translateY(10px) scale(.96); transition-delay: calc(var(--ks-d, 0) * 220ms + 150ms); }
html.ks-reveal .ks-compare > [data-reveal]:is(.ks-tag--after, .panel-ui) { transition-delay: 750ms; }
html.ks-reveal .note[data-reveal] .note__fix { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--ks-d, 0) * 90ms + 450ms); }
html.ks-reveal .note[data-reveal].is-in .note__fix { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.ks-reveal [data-reveal], html.ks-reveal .note__fix { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Small hover touches on things people act on */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .faq__item .moment-title { transition: color .2s ease; }
  .faq__item:hover .moment-title { color: var(--ks-action); }
}

/* Discover screenshot: on desktop, light up each activity card on hover (kidsync.js places the areas over the cropped screenshot) */
.ks-hot { display: none; }
@media (min-width: 1024px) and (hover: hover) {
  #discover .ks-hot { display: block; position: absolute; border-radius: 18px; cursor: pointer;
    box-shadow: 0 0 0 0 rgba(105,65,198,0); background: rgba(105,65,198,0);
    transition: box-shadow .25s cubic-bezier(.2,.7,.2,1), background-color .25s ease, transform .25s cubic-bezier(.2,.7,.2,1); }
  #discover .ks-hot:hover { background: rgba(105,65,198,.06);
    box-shadow: 0 0 0 3px #6941c6, 0 18px 40px -12px rgba(44,28,95,.35); }
}
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: reduce) { #discover .ks-hot:hover { transform: none; } }
/* Desktop: frame the screenshot on the activity cards so they show in full (the page header strip is cropped off) */
@media (min-width: 1024px) {
  #discover .ks-discover { height: auto; }
  #discover .ks-discover .browser__view { flex: none; aspect-ratio: 1650 / 480; }
  #discover .ks-discover .browser__view img { object-position: 0 94%; }
}

/* To-do panel: a to-do is typed and added, then KidSync suggests one (kidsync.js runs it once, in view) */
.ks-todo-input { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ks-gray-200); border-radius: 12px; font-size: 15px; color: var(--ks-gray-900); background: #fff; }
.ks-todo-plus { color: var(--ks-action); font-weight: 600; font-size: 18px; line-height: 1; }
.ks-todo-ph { color: var(--ks-gray-500); }
.ks-caret { display: none; width: 1.5px; height: 18px; margin-left: -8px; background: var(--ks-action); animation: ks-blink 1s steps(1) infinite; }
.ks-todos.is-typing .ks-caret { display: block; }
.ks-todos.is-typing .ks-todo-ph { display: none; }
.ks-todos.is-typing .ks-todo-input { border-color: var(--ks-action); box-shadow: 0 0 0 3px var(--ks-brand-100); }
@keyframes ks-blink { 50% { opacity: 0; } }
html.ks-todo-anim .ks-todo-new { max-height: 0; opacity: 0; padding-block: 0; overflow: hidden; border-top-color: transparent; transform: translateY(-6px);
  transition: max-height .45s cubic-bezier(.2,.7,.2,1), padding .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease .1s, transform .45s cubic-bezier(.2,.7,.2,1); }
html.ks-todo-anim .ks-todo-new.is-added { max-height: 120px; opacity: 1; padding-block: 14px; border-top-color: var(--ks-gray-100); transform: none; }
.ks-todo-sugg.is-added { animation: ks-sugg 2.4s ease .3s 1; border-radius: 10px; }
@keyframes ks-sugg { 0%, 100% { background: transparent; } 25%, 60% { background: var(--ks-brand-50); box-shadow: 0 0 0 6px var(--ks-brand-50); } }

/* Hero: launch date callout, top right of the app screenshot */
.ks-launch-badge { position: absolute; right: -16px; top: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); color: var(--ks-gray-900); }
.ks-launch-badge .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-launch-badge .ico .ks-ico { width: 20px; height: 20px; }
.ks-launch-badge b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ks-ink); }
.ks-launch-badge span { display: block; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); }
@media (max-width: 1023px) { .ks-launch-badge { right: 16px; top: 16px; } }
@media (max-width: 639px) { .ks-launch-badge { display: none; } }

/* More motion (all skipped under reduced motion) */
#week .lit { position: relative; }
.ks-week-chip { position: absolute; right: -12px; bottom: -18px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); }
.ks-week-chip .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-warn-50); color: var(--ks-warn-700); }
.ks-week-chip .ico .ks-ico { width: 20px; height: 20px; }
.ks-week-chip b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ks-gray-900); }
.ks-week-chip span { display: block; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); }
@media (max-width: 1023px) { .ks-week-chip { right: 16px; bottom: 16px; } }
@media (max-width: 639px) { .ks-week-chip { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* floating callouts on the screenshots: a slow, small bob (uses translate, so it never fights other transforms) */
  .glass-note, .ks-launch-badge, .ks-week-chip { animation: ks-float 6s ease-in-out infinite; }
  .ks-launch-badge { animation-delay: -2s; }
  .ks-week-chip { animation-delay: -4s; }
  @keyframes ks-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

  /* pop-ins that land a beat after their panel */
  html.ks-reveal .ks-week-chip[data-reveal] { transform: translateY(14px) scale(.92); transition-delay: .6s; }
  html.ks-reveal .ks-ext__pop[data-reveal] { transform: translateY(22px) scale(.94); transition-delay: .9s; }
  html.ks-reveal #village .toast[data-reveal] { transform: translateY(12px); transition-delay: 1.2s; }
  html.ks-reveal .ks-ext__fields > div[data-reveal] { transform: translateX(-10px); }
  html.ks-reveal :is(.fav-list li, .todo-list li)[data-reveal] { transform: translateX(-12px); }

  /* buttons: a soft purple glow on hover */
  .btn--primary { transition: box-shadow .25s ease, transform .2s ease, background-color .2s ease; }
  .btn--primary:hover { box-shadow: 0 10px 28px -10px rgba(105,65,198,.7); }

  /* activity favorites: hearts get a little life on hover */
  .fav-list li { transition: background-color .2s ease; border-radius: 12px; }
  .fav-list li:hover { background: var(--ks-brand-50); }
}
html.ks-reveal [data-reveal][data-reveal].is-in { opacity: 1; transform: none; }

/* Founder photo: name and title tag */
.ks-news-photo { position: relative; }
.ks-photo-tag { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: grid; gap: 2px; padding: 12px 18px; border-radius: 16px; box-shadow: var(--ks-shadow-float); }
.ks-photo-tag b { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ks-ink); }
.ks-photo-tag span { font-size: 14px; color: var(--ks-gray-700); }
.hero h1 + .ks-short-lead { margin-top: 24px; }
/* the frame kit sets its children to position: relative; pin the tag to the photo's bottom-left corner */
#news .frame .ks-photo-tag { position: absolute; left: 16px; bottom: 16px; top: auto; right: auto; width: auto; height: auto;
  background: var(--ks-ink); box-shadow: 0 12px 30px -10px rgba(44,28,95,.6); }
#news .frame .ks-photo-tag b { color: #fff; }
#news .frame .ks-photo-tag span { color: #d9ccff; }
/* Discover on shorter laptop screens: drop the quote so the screenshot keeps its full card row */
@media (min-width: 1024px) and (max-height: 860px) { #discover .ks-discover-side .ks-quote--inline { display: none; } #discover .ks-discover { margin-top: 32px; } }
/* Keep the whole framed screenshot inside the section: size its width from the screen height (card row is 1650 x 480) */
@media (min-width: 1024px) {
  #discover .ks-discover { flex: none; margin-inline: auto; width: min(100%, calc((100svh - 610px) * 3.4375)); }
}
@media (min-width: 1024px) and (max-height: 860px) {
  #discover .ks-discover { width: min(100%, calc((100svh - 480px) * 3.4375)); }
}

/* Group chat comparison: an X on the problem side, a check on the KidSync side */
.ks-tag { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ks-mark { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.ks-mark .ks-ico { width: 16px; height: 16px; stroke-width: 2.4; }
.ks-mark--bad { background: var(--ks-err-50); color: var(--ks-err-700); }
.ks-mark--good { background: var(--ks-ok-50); color: var(--ks-ok-700); }
.ks-tag--bad { color: var(--ks-err-700); }
.ks-tag--after { color: var(--ks-ok-700); }

/* ===== v5: experience-led layout ===== */
/* proof line: the features, small, under each outcome */
.ks-proofline { margin: 0; padding-top: 16px; border-top: 1px solid var(--ks-gray-200); font-size: 14px; line-height: 1.5; color: var(--ks-gray-600); max-width: 36em; }
@media (min-width: 1024px) { #village .ks-proofline { border-top: 0; padding-top: 0; } }

/* outcome 1: shared-list chip on the Discover screenshot */
#discover .ks-discover { position: relative; }
.ks-fav-chip { position: absolute; right: 16px; top: 52px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); }
.ks-fav-chip .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-fav-chip .ico .ks-ico { width: 20px; height: 20px; }
.ks-fav-chip b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ks-ink); }
.ks-fav-chip span { display: block; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); }
@media (max-width: 639px) { .ks-fav-chip { display: none; } }
@media (prefers-reduced-motion: no-preference) { .ks-fav-chip { animation: ks-float 6s ease-in-out infinite; animation-delay: -3s; } }

/* the week story: a vertical timeline beside the shared calendar */
.ks-story { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; display: grid; gap: 18px; position: relative; }
.ks-story::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--ks-brand-200), #f6c7bd); }
.ks-story li { position: relative; display: grid; gap: 2px; }
.ks-story li::before { content: ""; position: absolute; left: -22px; top: 4px; width: 12px; height: 12px; border-radius: 999px; background: var(--ks-action); box-shadow: 0 0 0 4px var(--ks-brand-100); }
.ks-story__when { font-size: 13px; font-weight: 600; color: var(--ks-action); }
.ks-story b { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ks-ink); }
.ks-story li > span:last-child { font-size: 15px; line-height: 1.45; color: var(--ks-gray-700); }
.ks-story-visual { position: relative; }
@media (min-width: 1024px) { #story .grid > .stack-5 { grid-column: 1 / span 5; } #story .grid > .ks-story-visual { grid-column: 6 / span 7; align-self: center; } }
@media (max-width: 639px) { #story .t-lead, .ks-story-visual { display: none; } .ks-story b { font-size: 16px; } }

/* parents section: founder and press, one compact line */
.ks-founder-line { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--ks-brand-50); border: 1px solid var(--ks-brand-100); max-width: 30em; }
.ks-founder-line img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: 50% 20%; flex: none; }
.ks-founder-line div { display: grid; gap: 2px; }
.ks-founder-line b { font-size: 16px; font-weight: 600; color: var(--ks-ink); }
.ks-founder-line span { font-size: 14px; color: var(--ks-gray-700); }
.ks-founder-line .link { font-size: 14px; font-weight: 600; color: var(--ks-action); margin-top: 2px; }

/* Claim dialog: the short sign-up form */
.ks-claim { width: min(460px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.ks-claim::backdrop { background: rgba(44, 28, 95, .45); backdrop-filter: blur(4px); }
.ks-claim .action-card { position: relative; padding: 32px 28px 24px; gap: 16px; box-shadow: 0 30px 80px -20px rgba(44,28,95,.5); }
.ks-claim h2 { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-claim__sub { margin: -6px 0 4px; font-size: 15px; line-height: 1.5; color: var(--ks-gray-700); }
.ks-claim .wl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ks-claim .wl-fields .field:nth-child(3) { grid-column: 1 / -1; }
.ks-claim__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--ks-gray-100); color: var(--ks-gray-700); cursor: pointer; }
.ks-claim__close:hover { background: var(--ks-gray-200); }
.ks-claim__close .ks-ico { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .ks-claim[open] { animation: ks-pop .28s cubic-bezier(.2,.7,.2,1); }
  .ks-claim[open]::backdrop { animation: ks-fade .25s ease; }
  @keyframes ks-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
  @keyframes ks-fade { from { opacity: 0; } }
}
@media (max-width: 639px) { .ks-claim .wl-fields { grid-template-columns: 1fr; } .ks-claim .action-card { padding: 28px 20px 20px; } }
/* the kit's error color variable isn't defined on this page; set it so invalid fields keep a visible red border */
.wl-form { --error: #e31b54; }
.wl-form .field input[aria-invalid="true"] { border: 1.5px solid #e31b54; }

/* Problem notifications: rounder panel, and the four cards pop up one by one like phone alerts */
#problem .notes.panel-ui { border-radius: 28px; }
@media (prefers-reduced-motion: no-preference) {
  html.ks-reveal #problem .note[data-reveal] { transform: translateY(28px) scale(.92); transform-origin: 50% 100%;
    transition: opacity .45s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--ks-d, 0) * 320ms + 250ms); }
  html.ks-reveal #problem .note[data-reveal] .note__fix { transition-delay: calc(var(--ks-d, 0) * 320ms + 750ms); }
}
html.ks-reveal #problem .note[data-reveal].is-in { opacity: 1; transform: none; }

/* Discover: quote moved below the screenshot; the section grows to fit instead of shrinking the screenshot */
.ks-quote--after { margin: 32px auto 0; max-width: 860px; }
@media (min-width: 1024px) {
  main > #discover.section { height: auto; min-height: 100vh; min-height: 100svh; }
  #discover .ks-discover { width: 100%; }
}

/* Outcome 2: a bigger now / with KidSync comparison on desktop */
@media (min-width: 1024px) {
  #village .grid > .ks-compare { grid-column: 1 / -1; column-gap: 40px; margin-top: 8px; }
  #village .ks-before { padding: 28px; gap: 12px; border-radius: 24px; }
  #village .ks-bubble { font-size: 17px; padding: 12px 16px; border-radius: 18px 18px 18px 6px; }
  #village .ks-bubble--me { border-radius: 18px 18px 6px 18px; }
  #village .ks-bubble b { font-size: 13px; }
  #village .ks-tag { font-size: 16px; }
  #village .ks-mark { width: 30px; height: 30px; }
  #village .ks-compare > .panel-ui { padding: 28px; gap: 16px; border-radius: 24px; }
  #village .ks-compare > .panel-ui .panel-ui__head { font-size: 18px; }
  #village .ks-compare > .panel-ui .event { display: grid; padding: 16px 18px; }
  #village .ks-compare > .panel-ui .handoff b { font-size: 17px; }
  #village .toast { font-size: 15px; padding: 12px 16px; }
  main > #village.section { height: auto; min-height: 100vh; min-height: 100svh; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  #village .toast { display: flex; } #village .ks-before .ks-bubble--3 { display: block; }
}
@media (min-width: 1024px) { #village .ks-proofline { text-align: center; max-width: none; } }

/* Group chat sequence (kidsync.js adds .ks-chat-anim; without it everything shows as written) */
.ks-typing { display: none; justify-self: start; gap: 5px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--ks-gray-200); }
.ks-typing.is-me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--ks-brand-50); border-color: var(--ks-brand-200); }
.ks-typing.is-on { display: inline-flex; }
.ks-typing i { width: 7px; height: 7px; border-radius: 999px; background: var(--ks-gray-500); animation: ks-dot 1s ease-in-out infinite; }
.ks-typing i:nth-child(2) { animation-delay: .15s; } .ks-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ks-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

html.ks-chat-anim #village .ks-bubble { display: none; }
html.ks-chat-anim #village .ks-bubble.is-shown { display: block; animation: ks-bubble-in .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes ks-bubble-in { from { opacity: 0; transform: translateY(8px) scale(.94); } }
html.ks-chat-anim #village .ks-mark--bad.is-nudge { animation: ks-nudge .5s ease; }
@keyframes ks-nudge { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg) scale(1.12); } 40% { transform: rotate(10deg) scale(1.12); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }

html.ks-chat-anim #village .ks-compare > .ks-tag--after,
html.ks-chat-anim #village .ks-compare > .panel-ui { opacity: 0; transform: translateX(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
html.ks-chat-anim #village .ks-compare > .is-shown { opacity: 1; transform: none; }
html.ks-chat-anim #village .ks-mark--good.is-pop { animation: ks-check-pop .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes ks-check-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
html.ks-chat-anim #village .handoff.is-flash { animation: ks-flash-row 1.6s ease; border-radius: 12px; }
@keyframes ks-flash-row { 0%, 100% { background: transparent; } 30%, 60% { background: var(--ks-ok-50); box-shadow: 0 0 0 6px var(--ks-ok-50); } }
html.ks-chat-anim #village .toast { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
html.ks-chat-anim #village .toast.is-shown { opacity: 1; transform: none; }
@media (max-width: 639px) { html.ks-chat-anim #village .ks-bubble--3.is-shown { display: none; } }
.ks-week-chip { max-width: 340px; }
/* Offer card: urgent orange pill for the countdown label */
.action-card .ks-urgent-pill { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: #fff3e6; color: #c4320a; border: 1px solid #fdc9a3; font-size: 14px; font-weight: 600; }
.action-card .ks-urgent-pill .ks-ico { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .action-card .ks-urgent-pill .ks-ico { animation: ks-tick 2s ease-in-out infinite; } @keyframes ks-tick { 0%, 80%, 100% { transform: none; } 88% { transform: rotate(-14deg); } 94% { transform: rotate(10deg); } } }
/* Group chat: unread count that climbs while the chat plays */
.ks-unread { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--ks-err-50); color: var(--ks-err-700); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
html.ks-chat-anim .ks-unread.is-hot { animation: ks-throb 1.2s ease-in-out infinite; }
@keyframes ks-throb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.ks-tag--bad { width: 100%; }

/* More breathing room between the problem text and Jennifer's quote */
#problem .ks-quote--inline { margin-top: 48px; }
@media (max-width: 1023px) { #problem .ks-quote--inline { margin-top: 32px; } }

/* Discover: the proof line sits under the screenshot */
#discover .ks-proofline--after { margin: 20px auto 0; padding-top: 0; border-top: 0; text-align: center; max-width: 860px; }

/* Small proof bullets (group chat section) */
.ks-checks-sm li { font-size: 15px; }
@media (min-width: 1024px) { #village .ks-checks-sm { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; } }
@media (max-width: 639px) { #village .ks-checks-sm { display: none; } }
@media (min-width: 1024px) and (max-height: 820px) { #village .ks-checks-sm { display: flex; } }

/* Privacy policy: a long reading page, so it grows with its content instead of one screen per section */
main > section.ks-legal { height: auto; min-height: 0; padding-top: calc(var(--nav) + 64px); padding-bottom: 96px; }
.ks-legal > .wrap { height: auto; display: block; }
.ks-legal__head { max-width: 760px; margin-bottom: 56px; display: grid; gap: 16px; }
.ks-legal__kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--ks-action); }
.ks-legal__head h1 { margin: 0; }
.ks-legal__body { align-items: start; }
.ks-legal__toc { position: sticky; top: calc(var(--nav) + 24px); max-height: calc(100vh - var(--nav) - 48px); overflow: auto; padding: 20px; border-radius: 20px; background: var(--ks-gray-50); border: 1px solid var(--ks-gray-200); }
.ks-legal__toc summary { font-size: 14px; font-weight: 600; color: var(--ks-gray-900); cursor: pointer; list-style: none; }
.ks-legal__toc summary::-webkit-details-marker { display: none; }
.ks-legal__toc ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.ks-legal__toc a { display: block; padding: 6px 10px; border-radius: 10px; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); text-decoration: none; }
.ks-legal__toc a:hover { background: var(--ks-brand-100); color: var(--ks-ink); }
.ks-legal__text { max-width: 720px; }
.ks-legal__text h2 { margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--ks-gray-200); font-size: 26px; line-height: 1.25; letter-spacing: -.015em; color: var(--ks-ink); scroll-margin-top: calc(var(--nav) + 24px); }
.ks-legal__text h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ks-legal__text h3 { margin: 32px 0 12px; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--ks-gray-900); scroll-margin-top: calc(var(--nav) + 24px); }
.ks-legal__text p, .ks-legal__text li { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--ks-gray-700); }
.ks-legal__text b { color: var(--ks-gray-900); font-weight: 600; }
.ks-legal__text a { overflow-wrap: anywhere; }
.ks-legal__text .legal-list { margin: 0 0 16px; padding-left: 22px; }
.ks-legal__text .legal-list li { margin-bottom: 6px; }
@media (max-width: 1023px) {
  .ks-legal__toc { position: static; max-height: none; margin-bottom: 32px; }
  .ks-legal__text { max-width: none; }
}
@media (max-width: 639px) {
  main > section.ks-legal { padding-top: calc(var(--nav) + 32px); padding-bottom: 64px; }
  .ks-legal__head { margin-bottom: 32px; }
  .ks-legal__text h2 { font-size: 22px; margin-top: 40px; }
}
.ks-legal__text a { color: var(--ks-action); text-decoration: underline; text-underline-offset: 3px; }
.ks-legal__text a:hover { color: var(--ks-action-hover); }

/* Footer legal links: privacy, terms and data retention on the app */
.ks-legal-links { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }
.ks-legal-links a { text-decoration: underline; text-underline-offset: 3px; }

/* Three-step sign-up in the claim dialog */
.ks-flow { gap: 20px; }
.ks-steps { list-style: none; margin: 0 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ks-steps li { display: grid; gap: 8px; }
.ks-steps__bar { display: block; height: 6px; border-radius: 999px; background: var(--ks-gray-100); overflow: hidden; position: relative; }
.ks-steps__bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ks-action); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ks-steps li.is-on .ks-steps__bar::after, .ks-steps li.is-done .ks-steps__bar::after { transform: none; }
.ks-steps__lbl { font-size: 13px; line-height: 1.3; color: var(--ks-gray-600); }
.ks-steps li.is-on .ks-steps__lbl { color: var(--ks-ink); font-weight: 600; }
.ks-step { display: grid; gap: 14px; }
.ks-step[hidden] { display: none; }
.ks-step__h { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--ks-ink); outline: none; }
.ks-flow .wl-fields { grid-template-columns: 1fr 1fr; }
.ks-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--ks-gray-100); }
.ks-seg label { position: relative; display: block; cursor: pointer; }
.ks-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ks-seg span { display: grid; place-items: center; min-height: 40px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ks-gray-700); transition: background .15s ease, color .15s ease; }
.ks-seg input:checked + span { background: #fff; color: var(--ks-ink); box-shadow: var(--ks-shadow-rest); }
.ks-seg input:focus-visible + span { outline: 2px solid var(--ks-action); outline-offset: 2px; }
.ks-consent { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ks-gray-600); }
.ks-consent a, .ks-next a { color: var(--ks-action); text-decoration: underline; text-underline-offset: 2px; }
.ks-back { justify-self: center; padding: 8px 12px; min-height: 40px; border: 0; background: none; font: 600 15px/1 var(--font-text); color: var(--ks-gray-700); cursor: pointer; border-radius: 999px; }
.ks-back:hover { background: var(--ks-gray-100); color: var(--ks-ink); }
.ks-done { justify-items: start; }
.ks-done .tick { width: 44px; height: 44px; border-radius: 50%; background: var(--ks-ok-50); color: var(--ks-ok-700); display: grid; place-items: center; }
.ks-done .tick .ks-ico { width: 22px; height: 22px; }
.ks-done__lead { margin: -4px 0 0; font-size: 16px; line-height: 1.5; color: var(--ks-gray-700); }
.ks-next, .ks-share { width: 100%; display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--ks-gray-50); border: 1px solid var(--ks-gray-200); }
.ks-next__h, .ks-share__h { margin: 0; font-size: 15px; font-weight: 600; color: var(--ks-gray-900); }
.ks-next ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ks-next li, .ks-share__p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ks-gray-700); }
.ks-share { background: var(--ks-brand-50); border-color: var(--ks-brand-200); }
.ks-share__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ks-share__btns .btn { width: 100%; padding-inline: 12px; }
.ks-btn-soft { background: #fff; color: var(--ks-ink); border: 1px solid var(--ks-brand-200); }
.ks-btn-soft:hover { background: var(--ks-brand-100); }
.ks-preview-note { margin: 0; font-size: 13px; color: var(--ks-gray-600); }
@media (max-width: 639px) {
  .ks-flow .wl-fields { grid-template-columns: 1fr; }
  .ks-step__h { font-size: 22px; }
  .ks-share__btns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ks-steps__bar::after { transition: none; } }
.ks-next ol { list-style: decimal; }
.ks-next li::marker { color: var(--ks-action); font-weight: 600; }

/* About page: mission line, press line, why-visual and the feedback invite */
.ks-mission { margin: 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ks-action); }
.ks-press { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ks-gray-700); }
.ks-press a, .ks-invite a { color: var(--ks-action); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ks-invite { margin: var(--s-6) 0 0; font-size: 16px; color: var(--ks-gray-700); }
.ks-why-visual { display: grid; align-content: center; }
.ks-why-visual .ks-quote--inline { margin: 0; background: #fff; }
@media (max-width: 639px) { #our-story .ks-press { font-size: 14px; } }
.ks-why-visual { gap: 20px; }
.ks-job { gap: 14px; }
.ks-job__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ks-job__tag { padding: 4px 12px; border-radius: 999px; background: var(--ks-brand-100); color: var(--ks-action); font-size: 13px; font-weight: 600; }
.ks-job__where { font-size: 13px; color: var(--ks-gray-600); }
.ks-job__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-job__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.ks-job__facts div { padding: 10px 12px; border-radius: 12px; background: var(--ks-gray-50); border: 1px solid var(--ks-gray-200); }
.ks-job__facts dt { font-size: 12px; color: var(--ks-gray-600); }
.ks-job__facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ks-gray-900); }
.ks-job__duties { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ks-job__duties li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ks-gray-700); }
.ks-job__duties li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ks-gray-400, #a3a0b5); }
.ks-why-visual .ks-quote--inline p { font-size: 18px; }
@media (max-width: 639px) {
  .ks-why-visual .ks-quote--inline { display: none; }
  .ks-job__facts { grid-template-columns: 1fr 1fr 1fr; }
  .ks-job__facts div { padding: 8px; }
}
.hero .ks-mission { margin-top: 16px; color: var(--ks-ink); font-weight: 600; }

/* Header button: the same purple-to-coral gradient as the sign-up buttons */
header.nav .nav__actions .btn--primary { background: var(--ks-grad-button); border: 0; color: #fff; }
header.nav .nav__actions .btn--primary:hover { background: var(--ks-grad-button); filter: brightness(.92); }
#problem .ks-quote--inline { margin-top: 64px; }
@media (max-width: 1023px) { #problem .ks-quote--inline { margin-top: 40px; } }

/* Discover: heading left, intro right on the same row */
#discover > .wrap > .grid { align-items: end; }
.ks-discover-lead .t-lead { margin: 0; }
@media (max-width: 1023px) { .ks-discover-lead { margin-top: 16px; } }
#research .ks-founder-line { margin-top: 32px; }
@media (max-width: 1023px) { #research .ks-founder-line { margin-top: 20px; } }

/* Countdown boxes: stronger contrast so they stand out on the white card */
.countdown .unit { background: var(--ks-brand-100); border: 1px solid var(--ks-brand-200); }
.countdown .val { color: var(--ks-ink); }
.countdown .lbl { color: var(--ks-gray-700); font-weight: 500; }

/* FAQ: collapsed questions with a chevron; the answer opens on click */
#faq .ks-faq > details.ks-faq-item { display: block; padding: 0; border-bottom: 1px solid var(--ks-gray-200); }
#faq .ks-faq > details.ks-faq-item:first-child { border-top: 1px solid var(--ks-gray-200); }
#faq .ks-faq details.ks-faq-item summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 4px; font: 600 17px/1.35 var(--font-text); color: var(--ks-gray-900); list-style: none; border-radius: 12px; }
#faq .ks-faq details.ks-faq-item summary:hover { color: var(--ks-action); }
#faq .ks-faq details.ks-faq-item summary:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 2px; }
#faq .ks-faq details.ks-faq-item p { margin: 0; padding: 0 40px 18px 4px; font-size: 16px; line-height: 1.6; color: var(--ks-gray-700); }
.ks-chev { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--ks-gray-600); transition: transform .2s ease; }
details.ks-faq-item[open] .ks-chev { transform: rotate(180deg); color: var(--ks-action); }
#faq .ks-faq { align-self: center; }
@media (prefers-reduced-motion: reduce) { .ks-chev { transition: none; } }

/* Closing: the Claim button sits in the top right corner, larger */
footer.closing .closing__cta > .section-head--split { align-items: flex-start; flex-wrap: nowrap; }
footer.closing .closing__cta > .section-head--split > .btn { flex: none; height: 64px; padding-inline: 40px; font-size: 19px; box-shadow: 0 12px 30px -12px rgba(105, 65, 198, .55); }
@media (max-width: 1023px) {
  footer.closing .closing__cta > .section-head--split { flex-wrap: wrap; }
}
@media (max-width: 639px) {
  footer.closing .closing__cta > .section-head--split > .btn { width: 100%; height: 56px; font-size: 17px; }
}

/* Hero sign-up card: narrower and taller, so the button isn't stretched */
@media (min-width: 1024px) {
  .hero .action-card[data-form-card="hero"] { max-width: 460px; padding: 28px; gap: 18px; }
  .hero .action-card[data-form-card="hero"] .countdown .unit { padding: 16px 6px 12px; }
}
.hero .action-card[data-form-card="hero"] > .btn { height: 56px; font-size: 17px; }

/* Hero: a faint Glow wash from the moodboard (lavender top left, coral blush bottom right) */
main > section#join.hero {
  background:
    radial-gradient(60% 70% at 8% 0%, rgba(158, 119, 237, .14), transparent 70%),
    radial-gradient(55% 65% at 100% 100%, rgba(255, 122, 102, .10), transparent 70%),
    linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
}

/* Closing button: a clear wiggle every 3 seconds to catch the eye. Uses the separate rotate and scale
   properties so it doesn't fight the hover and press motion; off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  footer.closing .closing__cta > .section-head--split > .btn { animation: ks-wiggle 3s ease-in-out .8s infinite; transform-origin: 50% 50%; }
  @keyframes ks-wiggle {
    0%, 70%, 100% { rotate: 0deg; scale: 1; }
    74% { rotate: -6deg; scale: 1.08; }
    78% { rotate: 6deg; scale: 1.08; }
    82% { rotate: -5deg; scale: 1.06; }
    86% { rotate: 4deg; scale: 1.04; }
    90% { rotate: -2deg; scale: 1.02; }
    94% { rotate: 0deg; scale: 1; }
  }
}

/* ===== Messaging refresh: discovery bullets, shared planning list, reminders, calendar crop ===== */
.ks-checks-row { margin: 20px 0 0; }
@media (min-width: 1024px) { .ks-checks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; } }
@media (max-width: 639px) { #discover .ks-checks-row { display: none; } }

.ks-collab { gap: 14px; }
.ks-collab__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ks-collab__head b { display: block; font-size: 18px; font-weight: 700; color: var(--ks-ink); }
.ks-collab__head span { display: block; font-size: 14px; color: var(--ks-gray-600); }
.ks-avatars { display: flex; }
.ks-avatars .av { width: 34px; height: 34px; font-size: 13px; margin-left: -8px; border: 2px solid #fff; }
.ks-avatars .av--1 { background: var(--ks-brand-100); color: var(--ks-action); }
.ks-avatars .av--2 { background: var(--c2-bg, #e6f7f4); color: var(--c2-text, #0e7563); }
.ks-avatars .av--3 { background: var(--ks-coral-50); color: var(--ks-coral-text); }
.ks-collab__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ks-collab__list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 14px; }
.ks-collab__list li:first-child { background: var(--ks-brand-50); }
.ks-collab__list img { width: 72px; height: 48px; border-radius: 10px; object-fit: cover; display: block; }
.ks-collab__list b { display: block; font-size: 15px; font-weight: 600; color: var(--ks-gray-900); }
.ks-collab__list span { display: block; font-size: 13px; line-height: 1.4; color: var(--ks-gray-600); }
.ks-collab__add { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--ks-gray-300); font-size: 14px; color: var(--ks-gray-600); }
@media (max-width: 639px) { #plan .checks, .ks-collab__list li:nth-child(4) { display: none; } }

.ks-remind__list { margin: 0; padding: 0; list-style: none; display: grid; }
.ks-remind__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; }
.ks-remind__list li + li { border-top: 1px solid var(--ks-gray-100); }
.ks-remind__list .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-remind__list .ico--warn { background: var(--ks-warn-50); color: var(--ks-warn-700); }
.ks-remind__list .ico .ks-ico { width: 20px; height: 20px; }
.ks-remind__kind { display: block; font-size: 13px; font-weight: 600; color: var(--ks-gray-700); font-variant-numeric: tabular-nums; }
.ks-remind__list b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--ks-gray-900); }
.ks-remind__list div > span:last-child { display: block; font-size: 14px; color: var(--ks-gray-600); }
@media (max-width: 639px) { #reminders .checks { display: none; } }

/* story calendar: show only the first week of the month view */
.ks-cal-crop { aspect-ratio: 1205 / 470; flex: none; }
.ks-cal-crop img { object-position: top left; }
.event span + span { color: var(--ks-gray-600); }
/* keep Discover and the scheduling section to one screen on laptop heights */
@media (min-width: 1024px) and (max-height: 960px) {
  #discover .ks-quote--after { display: none; }
  #village .ks-privacy { display: none; }
}
.ks-avatars .av { display: grid; place-items: center; border-radius: 999px; font-weight: 600; line-height: 1; flex: none; }
@media (min-width: 1024px) {
  #village .ks-checks-sm { max-width: none; flex-wrap: nowrap; gap: 6px 24px; }
  #village .t-lead { max-width: 60rem; margin-inline: auto; }
}
@media (min-width: 1024px) and (max-height: 960px) { #village .toast { display: none; } #village .grid > .ks-compare { margin-top: 24px; } }
@media (min-width: 1024px) and (max-height: 960px) { #village .ks-before { padding: 20px; gap: 10px; } #village .ks-compare > .panel-ui { padding: 22px; gap: 12px; } #village .ks-bubble { padding: 10px 14px; } }
@media (min-width: 1024px) and (max-height: 960px) { #village .grid > .stack-5 { gap: 14px; } #village .grid > .ks-compare { margin-top: 16px; } }
#story .ks-story-visual { align-self: center; }

/* Discover: the search hero screenshot, shown from the top */
#discover .ks-discover .browser__view { aspect-ratio: 1758 / 715; flex: none; }
#discover .ks-discover .browser__view img { object-fit: cover; object-position: 50% 0; }
#discover .ks-hot { display: none !important; }
@media (min-width: 1024px) { #discover .ks-discover { margin-inline: auto; width: min(100%, calc((100svh - 490px) * 2.46)); } }

/* Planning together: the real Favorites list with a note about a friend adding to it */
.ks-plan-visual { position: relative; display: grid; align-content: center; }
.ks-plan-visual .browser { height: auto; }
.ks-plan-visual .browser__view { flex: none; aspect-ratio: 1030 / 730; }
.ks-plan-visual .browser__view img { object-position: top left; }
.ks-plan-chip { position: absolute; left: -16px; bottom: 28px; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 320px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); }
.ks-plan-chip .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-coral-50); color: var(--ks-coral-text); }
.ks-plan-chip .ico .ks-ico { width: 20px; height: 20px; }
.ks-plan-chip b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ks-gray-900); }
.ks-plan-chip span { display: block; font-size: 14px; line-height: 1.35; color: var(--ks-gray-700); }
@media (max-width: 1023px) { .ks-plan-chip { left: 16px; bottom: 16px; } }
@media (max-width: 639px) { .ks-plan-chip { display: none; } }

/* Week story: more space between the intro and the timeline */
#story .ks-story { margin-top: 24px; }
@media (max-width: 639px) { #story .ks-story { margin-top: 12px; } }

/* ===== Offer band animation ===== */
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 640px) {
    #offer.ks-offer.ground-inverse { background-size: 180% 180%; animation: ks-drift 14s ease-in-out infinite alternate; }
    @keyframes ks-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
  }
  html.ks-offer-anim #offer .action-card { opacity: 0; transform: translateY(32px) scale(.96); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: .15s; }
  html.ks-offer-anim #offer.is-live .action-card { opacity: 1; transform: none; }
  html.ks-offer-anim #offer .checks li::before { transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
  html.ks-offer-anim #offer.is-live .checks li::before { transform: scale(1); }
  html.ks-offer-anim #offer.is-live .checks li:nth-child(1)::before { transition-delay: .5s; }
  html.ks-offer-anim #offer.is-live .checks li:nth-child(2)::before { transition-delay: .75s; }
  html.ks-offer-anim #offer.is-live .checks li:nth-child(3)::before { transition-delay: 1s; }
  #offer.is-live .ks-urgent-pill { animation: ks-pill-pulse 2.4s ease-out 1.2s infinite; }
  @keyframes ks-pill-pulse { 0% { box-shadow: 0 0 0 0 rgba(181, 71, 8, .35); } 70%, 100% { box-shadow: 0 0 0 10px rgba(181, 71, 8, 0); } }
  .countdown .val.is-flip { animation: ks-flip .5s cubic-bezier(.2,.8,.2,1); }
  @keyframes ks-flip { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
}

/* Social icons: plain icons, no circles (the tap area stays 44px) */
.footer__legal .socials a, .socials a { border: 0; border-radius: 8px; outline: 0; }
.socials a[data-placeholder] { outline: 0; }
.socials a:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 2px; }
.socials a .ic-svg { width: 22px; height: 22px; }

/* Discover: text left, the search screenshot right with an activity card floating over it */
.ks-disc-visual { position: relative; display: grid; align-content: center; padding-bottom: 56px; }
.ks-disc-visual .browser { height: auto; }
.ks-disc-visual .browser__view { flex: none; aspect-ratio: 1758 / 1180; }
.ks-disc-visual .browser__view img { object-position: top center; }
.ks-disc-card { position: absolute; right: -12px; bottom: 8px; width: 42%; height: auto; border-radius: 22px; box-shadow: var(--ks-shadow-float), 0 24px 48px -20px rgba(44, 28, 95, .35); z-index: 2; }
@media (min-width: 1024px) { #discover .grid { align-items: center; } }
@media (max-width: 1023px) { .ks-disc-card { right: 16px; width: 38%; } }
@media (max-width: 639px) { .ks-disc-card { width: 46%; right: 8px; bottom: 0; } .ks-disc-visual { padding-bottom: 40px; } #discover .checks { display: none; } }
/* Planning together: a bigger Favorites screenshot */
@media (min-width: 1024px) { #plan .ks-plan-visual.lit { padding: 24px; } #plan .grid { align-items: center; } }

/* Planning together: the note pops up like a fresh notification */
@media (prefers-reduced-motion: no-preference) {
  html.ks-chip-anim .ks-plan-chip { opacity: 0; transform: translateY(24px) scale(.7); transform-origin: 20% 100%; transition: opacity .3s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1); }
  html.ks-chip-anim .ks-plan-chip.is-pop { opacity: 1; transform: none; }
  html.ks-chip-anim .ks-plan-chip.is-pop .ico { animation: ks-chip-check .6s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
  @keyframes ks-chip-check { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
}

/* Scheduling bullets: two columns of two, stacked */
@media (min-width: 1024px) {
  #village .ks-checks-sm { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-template-columns: repeat(2, max-content); justify-content: center; gap: 8px 48px; max-width: none; }
}
@media (min-width: 1024px) and (max-height: 960px) { #village .grid > .stack-5 { gap: 10px; } #village .ks-checks-sm { row-gap: 4px; } #village .ks-before { gap: 8px; } }
@media (min-width: 1024px) and (max-height: 960px) { #village .ks-compare > .panel-ui { gap: 8px; padding: 18px 22px; } }

/* Reminders heading: narrower so it breaks into shorter lines */
#reminders-h { max-width: 14ch; }

/* ===== Week story: a big calendar across the section, with the week as a row of moments below ===== */
.ks-story-head { align-items: end; }
.ks-story-head .t-lead { margin: 0; }
#story .ks-story-visual.lit { margin-top: 28px; padding: 24px; display: block; }
#story .ks-story-visual .browser { height: auto; margin-inline: auto; }
@media (min-width: 1024px) {
  #story .ks-story-visual .browser { width: min(100%, calc((100svh - 560px) * 2.56)); }
  #story .ks-story--row { margin-top: 28px; padding: 22px 0 0; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  #story .ks-story--row::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--ks-brand-200), #f6c7bd); }
  #story .ks-story--row li::before { left: 0; top: -22px; }
  #story .ks-story--row b { font-size: 15px; }
  #story .ks-story--row li > span:last-child { font-size: 14px; }
  #story .ks-week-chip { right: 12px; bottom: -14px; }
}
@media (max-width: 1023px) { #story .ks-story-visual.lit { padding: 16px; } }
@media (max-width: 639px) { #story .ks-story-visual { display: none; } .ks-story-head .t-lead { display: none; } }
#story .ks-story-visual.lit { width: 100%; max-width: none; align-self: stretch; }
@media (min-width: 1024px) {
  #story .ks-story-visual .browser { width: min(100%, calc((100svh - 500px) * 2.56)); }
  #story .ks-story--row li { align-content: start; }
}

/* Hero sign-up card: glass over the hero's soft gradient */
.hero .action-card[data-form-card="hero"] {
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 24px 60px -24px rgba(44, 28, 95, .28);
}
.hero .action-card[data-form-card="hero"] .countdown .unit { background: rgba(244, 235, 255, .75); border-color: rgba(233, 215, 254, .9); }
@media (prefers-reduced-transparency: reduce) { .hero .action-card[data-form-card="hero"] { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Hero: more breathing room under the nav */
@media (min-width: 1024px) { #join.hero > .wrap { padding-top: 40px; } }
@media (max-width: 1023px) { #join.hero > .wrap { padding-top: 20px; } }

/* Hero sign-up card: rounder, with clearer glass and a soft brand glow around it */
.hero .action-card[data-form-card="hero"] { border-radius: 32px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42)); border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 30px 70px -24px rgba(105, 65, 198, .45), -30px 30px 70px -30px rgba(255, 122, 102, .35); }
.hero .action-card[data-form-card="hero"] .countdown .unit { border-radius: 20px; background: rgba(244, 235, 255, .7); border-color: rgba(255,255,255,.9); }
@media (max-width: 639px) { .hero .action-card[data-form-card="hero"] { border-radius: 26px; } }

/* Contact: an on-brand envelope graphic in place of the app screenshot */
.ks-mail { position: relative; height: 100%; min-height: 420px; display: grid; place-items: center; border-radius: 32px; padding: 32px; }
.ks-mail__art { width: min(100%, 460px); height: auto; overflow: visible; }
.ks-mail__chip { position: absolute; left: 24px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); }
.ks-mail__chip .ico { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-mail__chip .ico .ks-ico { width: 20px; height: 20px; }
.ks-mail__chip b { display: block; font-size: 15px; font-weight: 600; color: var(--ks-gray-900); }
.ks-mail__chip span { display: block; font-size: 14px; color: var(--ks-gray-700); }
@media (prefers-reduced-motion: no-preference) {
  .ks-mail__letter { animation: ks-letter 4.5s ease-in-out infinite; }
  @keyframes ks-letter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}
@media (max-width: 1023px) { .ks-mail { min-height: 360px; } }
@media (max-width: 639px) { .ks-mail { min-height: 0; padding: 20px; } .ks-mail__chip { display: none; } }

/* Offer sign-up card: same glass styling as the hero card. The white is a little denser
   because it sits on the dark purple band, so the text keeps full contrast. */
#offer .action-card[data-form-card="offer"] { border-radius: 32px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.74));
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 30px 70px -24px rgba(105, 65, 198, .45), -30px 30px 70px -30px rgba(255, 122, 102, .35); }
#offer .action-card[data-form-card="offer"] .countdown .unit { border-radius: 20px; background: rgba(244, 235, 255, .7); border-color: rgba(255,255,255,.9); }
@media (max-width: 639px) { #offer .action-card[data-form-card="offer"] { border-radius: 26px; } }
@media (prefers-reduced-transparency: reduce) { #offer .action-card[data-form-card="offer"] { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Teaser video: the first screen. Its background matches the video's own (#f7f7fc), so the frame
   reads as part of the page; the video fills as much of the screen as it can at 16:9. */
main > section.ks-teaser { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav) + 24px) clamp(16px, 3vw, 48px) 32px; background: #f7f7fc; box-sizing: border-box; }
.ks-teaser__frame { position: relative; width: min(100%, calc((100svh - var(--nav) - 56px) * 16 / 9)); aspect-ratio: 16 / 9;
  border-radius: 28px; overflow: hidden; background: #f7f7fc;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 80px -30px rgba(44, 28, 95, .28), 0 0 0 1px rgba(44, 28, 95, .06); }
.ks-teaser__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ks-teaser__toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: var(--ks-ink); cursor: pointer; box-shadow: 0 8px 24px -10px rgba(44, 28, 95, .35); transition: background .2s ease, transform .2s ease; }
.ks-teaser__toggle:hover { background: #fff; transform: scale(1.05); }
.ks-teaser__toggle:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 3px; }
.ks-teaser__toggle .ks-ico { width: 18px; height: 18px; }
.ks-teaser__toggle .ks-teaser__play { display: none; fill: currentColor; stroke: none; }
.ks-teaser__toggle.is-paused .ks-teaser__play { display: inline; }
.ks-teaser__toggle.is-paused .ks-teaser__pause { display: none; }
@media (max-width: 1023px) {
  main > section.ks-teaser { min-height: 0; padding: calc(var(--nav) + 16px) 16px 24px; }
  .ks-teaser__frame { width: 100%; border-radius: 20px; }
}
@media (max-width: 639px) { .ks-teaser__frame { border-radius: 16px; } .ks-teaser__toggle { right: 10px; bottom: 10px; width: 40px; height: 40px; } }
@media (prefers-reduced-transparency: reduce) { .ks-teaser__toggle { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Keep a faint solid base under both glass cards' gradients so the card reads as one box (also for the layout check) */
.hero .action-card[data-form-card="hero"], #offer .action-card[data-form-card="offer"] { background-color: rgba(255, 255, 255, .04); }
/* Below desktop a 16:9 video can't fill a tall screen: the teaser keeps its one screen, the video sits
   in the middle and a quiet cue under it points on to the rest of the page */
.ks-teaser__cue { display: none; }
@media (max-width: 1023px) {
  main > section.ks-teaser.ks-teaser { align-content: center; justify-items: center; row-gap: 28px; }
  .ks-teaser__cue { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ks-gray-700); font-size: 15px; font-weight: 500; text-decoration: none; }
  .ks-teaser__cue .ks-ico { width: 20px; height: 20px; color: var(--ks-action); }
  .ks-teaser__cue:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 4px; border-radius: 8px; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .ks-teaser__cue .ks-ico { animation: ks-cue 2.2s ease-in-out infinite; }
  @keyframes ks-cue { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }
}

/* Closing footer: at least one screen, but it grows on short screens (a laptop at 800px tall) so the big
   KidSync word never lands on the footer links */
@media (min-width: 640px) {
  footer.closing.footer--statement.g2m { height: auto; min-height: 100vh; min-height: 100svh; }
  footer.closing.footer--statement.g2m > .wrap { grid-template-rows: minmax(min-content, 1fr) auto; }
  footer.closing.footer--statement.g2m .closing__cta { min-height: min-content; }
}

/* Closing subhead under "Family life, in sync" */
footer.closing .close__sub { margin: 12px 0 0; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ks-ink, #2C1C5F); }
footer.closing .close__sub + .t-lead { margin-top: 16px; }
@media (max-width: 639px) { footer.closing .close__sub { font-size: 20px; } }

/* Offer card: launch facts instead of the countdown */
.ks-offer-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ks-offer-facts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.ks-offer-facts .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-offer-facts .ks-ico { width: 20px; height: 20px; }
.ks-offer-facts b { display: block; color: var(--ks-ink); font-size: 18px; font-weight: 600; }
.ks-offer-facts span:not(.ico) { display: block; color: var(--ks-gray-700); font-size: 15px; }
@media (max-width: 639px) { .ks-offer-facts { gap: 14px; } .ks-offer-facts b { font-size: 16px; } }

/* Sign-up step 2: notice for ZIP codes outside the launch area */
.ks-area-note { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--ks-brand-50, #f9f5ff); border: 1px solid var(--ks-brand-200, #e9d7fe); color: var(--ks-gray-800, #2f2a45); }
.ks-area-note[hidden] { display: none; }
.ks-area-note .ks-ico { color: var(--ks-action); margin-top: 2px; }
.ks-area-note p { margin: 0; font-size: 15px; line-height: 1.45; }

/* Hero card: the offer, above the countdown */
.ks-card-promo { display: grid; gap: 4px; }
.ks-card-promo b { color: var(--ks-ink); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.ks-card-promo p { margin: 0; color: var(--ks-gray-700); font-size: 15px; line-height: 1.45; }
@media (max-width: 639px) { .ks-card-promo b { font-size: 17px; } .ks-card-promo p { font-size: 14px; } }

/* Hero: KidSync modules as one connected system (concept art, not screens) */
.ks-os { position: relative; height: 100%; min-height: 440px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 56px; padding: 40px;
  border-radius: 32px; background: radial-gradient(60% 60% at 50% 50%, rgba(158,119,237,.28), transparent 70%), linear-gradient(150deg, #f6f0ff 0%, #efe7ff 55%, #fff1ee 100%); border: 1px solid rgba(255,255,255,.9); }
.ks-os__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ks-os__lines path { fill: none; stroke: var(--ks-lavender); stroke-width: .35; stroke-dasharray: 1.2 1.2; vector-effect: non-scaling-stroke; stroke-width: 2; opacity: .7; }
.ks-os__mod { position: relative; z-index: 1; display: grid; align-content: start; gap: 16px; padding: 20px; border-radius: 24px; background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--ks-shadow-float); }
.ks-os__name { margin: 0; display: flex; align-items: center; gap: 12px; }
.ks-os__name .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--ks-brand-100); color: var(--ks-action); }
.ks-os__name .ks-ico { width: 20px; height: 20px; }
.ks-os__name b { display: block; font-size: 17px; font-weight: 700; color: var(--ks-ink); letter-spacing: -0.01em; }
.ks-os__name small { display: block; font-size: 14px; color: var(--ks-gray-700); }
.ks-os .c1 { --tone: #9e77ed; } .ks-os .c2 { --tone: #ff7a66; } .ks-os .c3 { --tone: #6941c6; }
.ks-os__home { display: grid; gap: 10px; }
.ks-os__home span { display: flex; align-items: center; gap: 10px; }
.ks-os__home span::after { content: ""; height: 10px; width: var(--w); border-radius: 999px; background: var(--ks-gray-100, #f2f0f7); }
.ks-os__home i { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--tone); box-shadow: 0 0 0 3px #fff; }
.ks-os__cal { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 16px); gap: 6px; padding: 10px; border-radius: 14px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--ks-gray-100, #f2f0f7) calc(20% - 1px) 20%), #fbfaff; }
.ks-os__cal i { grid-column: var(--c); grid-row: var(--r) / span var(--h); border-radius: 6px; background: color-mix(in srgb, var(--tone) 22%, #fff); border-left: 3px solid var(--tone); }
.ks-os__disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ks-os__disc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.ks-os__fav { display: grid; gap: 10px; }
.ks-os__fav > span { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; }
.ks-os__fav img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; display: block; }
.ks-os__fav > span > i { height: 10px; width: 80%; border-radius: 999px; background: var(--ks-gray-100, #f2f0f7); }
.ks-os__who { display: flex; font-style: normal; }
.ks-os__who i { width: 20px; height: 20px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 2px #fff; margin-left: -6px; }
.ks-os__hub { position: absolute; z-index: 2; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 18px 40px -12px rgba(105,65,198,.55); }
.ks-os__hub img { width: 40px; height: 40px; }
@media (prefers-reduced-motion: no-preference) { .ks-os__hub { animation: ks-hub 4s ease-in-out infinite; } @keyframes ks-hub { 50% { box-shadow: 0 0 0 14px rgba(255,255,255,.35), 0 18px 40px -12px rgba(105,65,198,.55); } } }
@media (prefers-reduced-transparency: reduce) { .ks-os__mod { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-height: 820px) and (min-width: 1024px) { .ks-os { gap: 40px; padding: 28px; } .ks-os__mod { padding: 16px; gap: 12px; } }
@media (max-width: 1023px) { .ks-os { min-height: 0; gap: 32px; padding: 24px; } }
@media (max-width: 639px) { .ks-os { gap: 16px; padding: 16px; border-radius: 24px; } .ks-os__mod { padding: 12px; gap: 10px; border-radius: 18px; }
  .ks-os__name small { display: none; } .ks-os__name .ico { width: 32px; height: 32px; border-radius: 10px; } .ks-os__name b { font-size: 15px; }
  .ks-os__hub { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 16px; } .ks-os__hub img { width: 28px; height: 28px; }
  .ks-os__lines { display: none; } .ks-os__disc { grid-template-columns: repeat(2, 1fr); } .ks-os__disc img:nth-child(3) { display: none; } }

/* ks-os: let each module's picture fill its card */
.ks-os__mod { grid-template-rows: auto 1fr; }
.ks-os__home, .ks-os__fav { align-content: space-evenly; }
.ks-os__home i { width: 26px; height: 26px; }
.ks-os__home span::after { height: 12px; }
.ks-os__cal { grid-template-rows: repeat(4, minmax(14px, 1fr)); }
.ks-os__disc { align-items: stretch; }
.ks-os__disc img { aspect-ratio: auto; height: 100%; min-height: 64px; }
.ks-os__fav > span { grid-template-columns: 44px 1fr auto; }
.ks-os__fav img { width: 44px; height: 44px; }
@media (max-width: 639px) { .ks-os__home span:nth-child(4), .ks-os__fav > span:nth-child(3) { display: none; } .ks-os__disc img { min-height: 48px; } }
/* ks-os on smaller screens: keep the hero to one screen */
@media (max-width: 1023px) {
  .ks-os { gap: 20px; padding: 16px; } .ks-os__mod { padding: 14px; gap: 10px; }
  .ks-os__home span:nth-child(4), .ks-os__fav > span:nth-child(3) { display: none; }
  .ks-os__disc img { min-height: 56px; } .ks-os__cal { grid-template-rows: repeat(4, 12px); }
}
@media (max-width: 639px) {
  .ks-os { gap: 10px; padding: 10px; }
  .ks-os__mod { grid-template-rows: auto; padding: 10px 12px; }
  .ks-os__home, .ks-os__cal, .ks-os__disc, .ks-os__fav { display: none; }
  .ks-os__hub { display: none; }
}
@media (max-width: 1023px) { .ks-os { height: auto; grid-template-rows: auto auto; } }
.ks-os__mod { min-height: 0; min-width: 0; overflow: hidden; }
@media (min-width: 1024px) and (max-width: 1279px), (min-width: 1024px) and (max-height: 820px) {
  .ks-os { gap: 28px; padding: 22px; } .ks-os__mod { padding: 14px; gap: 10px; border-radius: 20px; }
  .ks-os__name small { display: none; } .ks-os__name .ico { width: 32px; height: 32px; border-radius: 10px; } .ks-os__name b { font-size: 16px; }
  .ks-os__home span:nth-child(4), .ks-os__fav > span:nth-child(3), .ks-os__disc img:nth-child(3) { display: none; }
  .ks-os__disc { grid-template-columns: 1fr 1fr; } .ks-os__disc img { min-height: 56px; }
  .ks-os__fav > span { grid-template-columns: 36px 1fr auto; } .ks-os__fav img { width: 36px; height: 36px; }
  .ks-os__cal { grid-template-rows: repeat(4, minmax(10px, 1fr)); padding: 8px; gap: 4px; }
  .ks-os__hub { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 18px; } .ks-os__hub img { width: 32px; height: 32px; }
}

/* ks-os Discover: a search and nearby activities, implied */
.ks-os__find { display: grid; grid-template-rows: auto 1fr; gap: 12px; min-height: 0; }
.ks-os__search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ks-gray-200); color: var(--ks-action); }
.ks-os__search .ks-ico { width: 18px; height: 18px; }
.ks-os__search i { height: 10px; width: 60%; border-radius: 999px; background: var(--ks-gray-100); }
.ks-os__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-height: 0; }
.ks-os__tiles span { display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 8px; padding: 12px 8px 10px; border-radius: 14px; min-height: 64px;
  background: color-mix(in srgb, var(--tone) 14%, #fff); color: var(--tone); }
.ks-os__tiles .ks-ico { width: 22px; height: 22px; }
.ks-os__tiles i { height: 8px; width: 70%; border-radius: 999px; background: color-mix(in srgb, var(--tone) 30%, #fff); }
@media (min-width: 1024px) and (max-width: 1279px), (min-width: 1024px) and (max-height: 820px) {
  .ks-os__search { height: 32px; } .ks-os__tiles { grid-template-columns: 1fr 1fr; } .ks-os__tiles span:nth-child(3) { display: none; } .ks-os__tiles span { min-height: 52px; } }
@media (max-width: 639px) { .ks-os__find { display: none; } }

/* ks-os Favorites: a shared list of saved activities */
.ks-os__list { display: grid; align-content: space-evenly; gap: 8px; min-height: 0; }
.ks-os__shared { margin: 0 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--ks-brand-50); font-size: 13px; font-weight: 600; color: var(--ks-action); }
.ks-os__item { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; }
.ks-os__item b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ks-coral-50); color: var(--ks-coral); }
.ks-os__item .ks-ico { width: 16px; height: 16px; fill: currentColor; }
.ks-os__item > i { height: 10px; width: var(--w); border-radius: 999px; background: var(--ks-gray-100); }
.ks-os__who i { width: 18px; height: 18px; }
@media (min-width: 1024px) and (max-width: 1279px), (min-width: 1024px) and (max-height: 820px), (max-width: 1023px) { .ks-os__item:nth-child(4) { display: none; } }
@media (max-width: 639px) { .ks-os__list { display: none; } }

/* ===== Hero: KidSync modules in orbit around the hub (replaces the 2x2 grid) ===== */
.ks-orb { position: relative; height: 100%; min-height: 480px; display: grid; place-items: center; padding: 16px; border-radius: 32px; container-type: size;
  background: radial-gradient(55% 55% at 50% 50%, rgba(158,119,237,.30), transparent 72%), linear-gradient(150deg, #f6f0ff 0%, #efe7ff 55%, #fff1ee 100%); border: 1px solid rgba(255,255,255,.9); }
.ks-orb .c1 { --tone: #9e77ed; } .ks-orb .c2 { --tone: #ff7a66; } .ks-orb .c3 { --tone: #6941c6; }
.ks-orb__stage { position: relative; width: min(100cqw - 8px, 100cqh - 8px); aspect-ratio: 1; container: orb / inline-size; }
.ks-orb__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ks-orb__glow { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 7; }
.ks-orb__path { fill: none; stroke: var(--ks-lavender); stroke-width: .5; stroke-dasharray: 1.4 1.6; stroke-linecap: round; }
.ks-orb__spokes { fill: none; stroke: var(--ks-lavender); stroke-width: .4; stroke-dasharray: 1 1.4; opacity: .6; }
.ks-orb__mod { position: absolute; width: 35%; translate: -50% -50%; z-index: 1; }
.ks-orb__mod--n { left: 50%; top: 18%; } .ks-orb__mod--e { left: 81%; top: 50%; } .ks-orb__mod--s { left: 50%; top: 82%; } .ks-orb__mod--w { left: 19%; top: 50%; }
.ks-orb .ks-os__mod { grid-template-rows: auto auto; padding: 14px; gap: 10px; border-radius: 22px; }
.ks-orb .ks-os__name { gap: 10px; } .ks-orb .ks-os__name .ico { width: 34px; height: 34px; border-radius: 10px; }
.ks-orb .ks-os__name b { font-size: 16px; } .ks-orb .ks-os__name small { font-size: 13px; }
.ks-orb .ks-os__home { gap: 8px; } .ks-orb .ks-os__home i { width: 20px; height: 20px; } .ks-orb .ks-os__home span:nth-child(4) { display: none; }
.ks-orb .ks-os__cal { grid-template-rows: repeat(4, 10px); padding: 8px; gap: 4px; }
.ks-orb .ks-os__search { height: 30px; } .ks-orb .ks-os__tiles span { min-height: 44px; padding: 8px 4px 6px; gap: 4px; } .ks-orb .ks-os__tiles .ks-ico { width: 18px; height: 18px; }
.ks-orb .ks-os__item { grid-template-columns: 26px 1fr auto; gap: 8px; } .ks-orb .ks-os__item b { width: 26px; height: 26px; border-radius: 8px; } .ks-orb .ks-os__item:nth-child(4) { display: none; }
.ks-orb .ks-os__shared { font-size: 12px; padding: 4px 6px 4px 10px; }
/* Smaller stage: keep each module to its icon and name */
@container orb (max-width: 540px) {
  .ks-orb .ks-os__home, .ks-orb .ks-os__cal, .ks-orb .ks-os__find, .ks-orb .ks-os__list { display: none; }
  .ks-orb .ks-os__mod { padding: 12px; } .ks-orb__mod { width: 38%; }
}
@container orb (max-width: 400px) { .ks-orb .ks-os__name small { display: none; } }
/* Floating: each module drifts gently; the ring's dashes flow toward the hub */
@media (prefers-reduced-motion: no-preference) {
  .ks-orb__mod { animation: ks-orb-float 6s ease-in-out infinite; }
  .ks-orb__mod--e { animation-delay: -1.5s; } .ks-orb__mod--s { animation-delay: -3s; } .ks-orb__mod--w { animation-delay: -4.5s; }
  @keyframes ks-orb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .ks-orb__path { animation: ks-orb-flow 18s linear infinite; }
  @keyframes ks-orb-flow { to { stroke-dashoffset: -30; } }
}
/* Tablet: the stage sits under the copy at a fixed size */
@media (max-width: 1023px) { .ks-orb { height: auto; min-height: 0; container-type: normal; padding: 16px; } .ks-orb__stage { width: min(100%, 396px); } }
/* Phone: a compact 2x2 of module tiles */
@media (max-width: 639px) {
  .ks-orb { padding: 10px; border-radius: 24px; }
  .ks-orb__stage { width: 100%; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ks-orb__ring, .ks-orb .ks-os__hub { display: none; }
  .ks-orb__mod { position: static; width: auto; translate: none; animation: none; }
  .ks-orb .ks-os__mod { padding: 10px 12px; }
  .ks-orb__mod--w { order: 4; } .ks-orb__mod--s { order: 3; }
}
/* More room between the hero line and the sign-up card */
.hero .hero-copy > .ks-glass-wrap { margin-top: calc(var(--s-5) + 24px); }
@media (max-height: 820px) and (min-width: 1024px) { .hero .hero-copy > .ks-glass-wrap { margin-top: calc(var(--s-5) + 12px); } }
@media (max-width: 639px) { .hero .hero-copy > .ks-glass-wrap { margin-top: calc(var(--s-5) + 8px); } }

/* Hero card glass: two soft color blobs behind the card so the frosting reads */
.ks-glass-wrap { position: relative; isolation: isolate; }
@media (min-width: 1024px) { .ks-glass-wrap { max-width: 460px; } }
.ks-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.ks-blob--a { width: 240px; height: 240px; right: -56px; top: -48px; background: radial-gradient(circle at 35% 35%, #b692f6, #7f56d9 70%); opacity: .75; }
.ks-blob--b { width: 190px; height: 190px; left: -48px; bottom: -40px; background: radial-gradient(circle at 60% 40%, #ffb4a6, #ff7a66 75%); opacity: .6; }
.hero .action-card[data-form-card="hero"] { background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(255,255,255,.38)); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
@media (prefers-reduced-motion: no-preference) {
  .ks-blob--a { animation: ks-blob 12s ease-in-out infinite alternate; } .ks-blob--b { animation: ks-blob 14s ease-in-out -4s infinite alternate-reverse; }
  @keyframes ks-blob { to { transform: translate(-18px, 14px) scale(1.06); } }
}
@media (max-width: 639px) { .ks-blob--a { width: 170px; height: 170px; right: -24px; top: -30px; } .ks-blob--b { width: 140px; height: 140px; left: -20px; } }
@media (prefers-reduced-transparency: reduce) { .ks-blob { display: none; } }
.hero { overflow-x: clip; }
@media (max-width: 1023px) { .ks-blob--a { right: -12px; } .ks-blob--b { left: -12px; } }
.ks-blob--a { width: 220px; height: 220px; right: -36px; top: -36px; opacity: .55; } .ks-blob--b { width: 170px; height: 170px; left: -32px; bottom: -28px; opacity: .45; }
@media (max-width: 639px) { .ks-blob--a { width: 150px; height: 150px; right: -12px; top: -24px; } .ks-blob--b { width: 120px; height: 120px; left: -12px; } }
/* Week story without the calendar picture: the six moments as day cards */
@media (min-width: 1024px) {
  #story .ks-story--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; padding: 0; }
  #story .ks-story--row::before, #story .ks-story--row li::before { display: none; }
  #story .ks-story--row li { display: grid; align-content: start; gap: 6px; padding: 24px 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--ks-gray-200); box-shadow: var(--ks-shadow-raised); }
  #story .ks-story--row li:nth-child(odd) { background: linear-gradient(160deg, #fff 55%, var(--ks-brand-50)); }
  #story .ks-story--row li:last-child { background: linear-gradient(160deg, #fff 40%, var(--ks-coral-50)); border-color: var(--ks-coral-line); }
  #story .ks-story--row .ks-story__when { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--ks-brand-100); color: var(--ks-action); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  #story .ks-story--row b { font-size: 19px; line-height: 1.3; }
  #story .ks-story--row li > span:last-child { font-size: 16px; line-height: 1.5; color: var(--ks-gray-700); }
}
@media (min-width: 1024px) and (max-height: 820px) { #story .ks-story--row { margin-top: 28px; gap: 14px; } #story .ks-story--row li { padding: 18px 20px; } #story .ks-story--row b { font-size: 17px; } #story .ks-story--row li > span:last-child { font-size: 15px; } }
/* ===== Week story: heading on the left, a staggered vertical timeline on the right ===== */
#story .ks-week { align-items: center; }
#story .ks-week__intro .t-lead { margin: 0; }
#story .ks-story--vert { margin: 0; padding: 0 0 0 36px; gap: 12px; }
#story .ks-story--vert::before { left: 11px; top: 18px; bottom: 18px; }
#story .ks-story--vert li { gap: 2px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ks-gray-200); box-shadow: var(--ks-shadow-raised); max-width: 520px; }
#story .ks-story--vert li::before { left: -31px; top: 20px; }
#story .ks-story--vert li:nth-child(even) { margin-left: 56px; }
#story .ks-story--vert li:last-child { background: linear-gradient(160deg, #fff 40%, var(--ks-coral-50)); border-color: var(--ks-coral-line); }
#story .ks-story--vert li:last-child::before { background: var(--ks-coral); box-shadow: 0 0 0 4px var(--ks-coral-50); }
#story .ks-story--vert b { font-size: 17px; }
#story .ks-story--vert li > span:last-child { font-size: 15px; }
/* Scroll-in: each moment slides in from its side as it comes into view */
html.ks-reveal #story .ks-story--vert li[data-reveal] { transform: translateX(-28px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--ks-d, 0) * 90ms); }
html.ks-reveal #story .ks-story--vert li:nth-child(even)[data-reveal] { transform: translateX(28px); }
html.ks-reveal #story .ks-story--vert li[data-reveal].is-in { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  #story .ks-story--vert li.is-in::before { animation: ks-dot-pop .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--ks-d, 0) * 90ms + .2s); }
  @keyframes ks-dot-pop { from { transform: scale(0); } }
}
@media (min-width: 1024px) and (max-height: 820px) { #story .ks-story--vert { gap: 8px; } #story .ks-story--vert li { padding: 10px 16px; } #story .ks-story--vert b { font-size: 16px; } #story .ks-story--vert li > span:last-child { font-size: 14px; } }
@media (max-width: 1023px) { #story .ks-week__intro { margin-bottom: 24px; } }
@media (max-width: 639px) { #story .ks-story--vert li:nth-child(even) { margin-left: 24px; } #story .ks-story--vert li { padding: 12px 14px; } #story .ks-week__intro { margin-bottom: 12px; } }
@media (min-width: 1024px) and (max-height: 820px) { #story .ks-story--vert { gap: 6px; } #story .ks-story--vert li { padding: 8px 14px; } #story .ks-story--vert::before { top: 14px; bottom: 14px; } #story .ks-story--vert li::before { top: 14px; } }
@media (max-width: 639px) {
  #story .ks-story--vert { padding-left: 22px; gap: 18px; } #story .ks-story--vert::before { left: 5px; top: 8px; bottom: 8px; }
  #story .ks-story--vert li, #story .ks-story--vert li:last-child { padding: 0; margin-left: 0; background: none; border: 0; box-shadow: none; }
  #story .ks-story--vert li::before { left: -22px; top: 4px; }
}
#story .ks-week__intro .t-lead { margin-top: 20px; }
#story .ks-story--vert li:nth-child(even)::before { left: -87px; }
@media (max-width: 639px) { #story .ks-story--vert li:nth-child(even)::before { left: -22px; } }
/* Offer without the step cards: larger type so the band holds its screen */
@media (min-width: 1024px) {
  #offer .grid { align-items: center; }
  #offer h2 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; }
  #offer .t-lead { font-size: 21px; line-height: 1.5; }
  #offer .checks { gap: 16px; margin-top: 8px; } #offer .checks li { font-size: 18px; }
  #offer .action-card[data-form-card="offer"] { padding: 44px; gap: 28px; }
  #offer .ks-offer-facts { gap: 24px; } #offer .ks-offer-facts .ico { width: 48px; height: 48px; border-radius: 14px; }
  #offer .ks-offer-facts li { grid-template-columns: 48px 1fr; } #offer .ks-offer-facts b { font-size: 19px; } #offer .ks-offer-facts span:not(.ico) { font-size: 16px; }
  #offer .action-card[data-form-card="offer"] > .btn { height: 60px; font-size: 18px; }
}
@media (min-width: 1024px) { #offer > .wrap { display: grid; align-content: center; min-height: 100%; } #offer .checks { margin-top: 28px; } }

/* ===== Hero: KidSync logo hub with module bubbles orbiting it ===== */
.ks-hub__stage { position: relative; width: min(100cqw - 8px, 100cqh - 8px); aspect-ratio: 1; }
.ks-hub__core { position: absolute; left: 50%; top: 50%; width: 54%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff 0%, #fbf9ff 70%, #f4efff 100%); box-shadow: 0 0 0 10px rgba(255,255,255,.45), 0 30px 70px -24px rgba(105,65,198,.45), 0 10px 24px -12px rgba(44,28,95,.18); }
.ks-hub__core img { width: 62%; height: auto; }
.ks-hub__b { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; translate: -50% -50%; z-index: 1; border-radius: 50%; display: grid; place-items: center; color: #fff;
  border: 2px solid rgba(255,255,255,.7); box-shadow: 0 14px 30px -12px rgba(44,28,95,.45), inset 0 1px 0 rgba(255,255,255,.45); }
.ks-hub__b .ks-ico { width: 44%; height: 44%; stroke-width: 1.9; }
.ks-hub__b.t1 { background: linear-gradient(145deg, #c9b5fb, #9e77ed); }
.ks-hub__b.t2 { background: linear-gradient(145deg, #8b6be0, #6941c6); }
.ks-hub__b.t3 { background: linear-gradient(145deg, #ffa595, #ff7a66); }
.ks-hub__b.t4 { background: linear-gradient(145deg, #9a5fd0, #6a2c98); }
.ks-hub__b.t5 { background: linear-gradient(145deg, #ffb09f, #f0705b); }
.ks-hub__b.t6 { background: linear-gradient(145deg, #b692f6, #7f56d9); }
.ks-hub__b.t7 { background: linear-gradient(145deg, #6a4fc2, #2c1c5f); }
.ks-hub__b.t3 .ks-ico, .ks-hub__b.t3 .ks-ico * { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .ks-hub__b { animation: ks-hub-float 6.5s ease-in-out var(--dl, 0s) infinite; }
  .ks-hub__b:nth-child(odd) { animation-duration: 7.5s; }
  @keyframes ks-hub-float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(3px, -7px); } 66% { transform: translate(-3px, 4px); } }
  .ks-hub__core { animation: ks-core-breathe 6s ease-in-out infinite; }
  @keyframes ks-core-breathe { 50% { box-shadow: 0 0 0 16px rgba(255,255,255,.3), 0 30px 70px -24px rgba(105,65,198,.5), 0 10px 24px -12px rgba(44,28,95,.18); } }
}
@media (max-width: 1023px) { .ks-hub__stage { width: min(100%, 396px); } }
@media (max-width: 639px) { .ks-hub__stage { width: min(100%, 250px); aspect-ratio: 1; display: block; } .ks-hub__b { border-width: 1.5px; } }
#problem .ks-why-visual .ks-quote--inline { margin-top: 0; }
/* Hero hub: no panel box, and a larger graphic */
.ks-orb.ks-hub { background: none; border: 0; border-radius: 0; padding: 0; overflow: visible; }
.ks-hub .ks-hub__stage { width: min(100cqw, 100cqh + 40px); }
.ks-hub__b--family .ks-ico { width: 52%; height: 52%; }
@media (max-width: 1023px) { .ks-hub .ks-hub__stage { width: min(100%, 460px); } }
@media (max-width: 639px) { .ks-hub .ks-hub__stage { width: min(100%, 300px); } }
.ks-hub .ks-hub__core { width: 62%; box-shadow: 0 0 0 12px rgba(244,235,255,.7), 0 36px 80px -26px rgba(105,65,198,.5), 0 12px 28px -12px rgba(44,28,95,.2); }
.ks-hub .ks-hub__b { width: calc(var(--s) * 1.22); }
.ks-h1-line { display: block; }
@media (max-width: 639px) { .ks-hub .ks-hub__stage { width: min(100%, 264px); } }
/* Job listing: four facts (adds "Consequences") */
.ks-job__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1279px) { .ks-job__facts { grid-template-columns: 1fr 1fr; } }
/* Job listing animation (kidsync.js adds .ks-job-anim and, in view, .is-live). Reduced motion: shown as written. */
.ks-job__duties li::after { content: ""; position: absolute; left: 6px; top: calc(.6em + 1px); width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); opacity: 0; }
html.ks-job-anim .ks-job__facts > div { opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(.35s + var(--i, 0) * .12s); }
html.ks-job-anim .ks-job.is-live .ks-job__facts > div { opacity: 1; transform: none; }
html.ks-job-anim .ks-job__duties li { opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .45s ease, color .4s ease; transition-delay: calc(.9s + var(--i, 0) * .12s); }
html.ks-job-anim .ks-job.is-live .ks-job__duties li { opacity: 1; transform: none; }
html.ks-job-anim .ks-job__duties li::before { transition: background-color .3s ease, border-color .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(1.9s + var(--i, 0) * .45s); }
html.ks-job-anim .ks-job__duties li::after { transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .2s ease; transition-delay: calc(2s + var(--i, 0) * .45s); }
html.ks-job-anim .ks-job.is-live .ks-job__duties li::before { background: var(--ks-action); border-color: var(--ks-action); transform: scale(1.5); }
html.ks-job-anim .ks-job.is-live .ks-job__duties li::after { opacity: 1; transform: rotate(45deg) scale(.75); }
html.ks-job-anim .ks-job.is-live .ks-job__duties li { color: var(--ks-gray-500, #7a7690); transition-delay: calc(.9s + var(--i, 0) * .12s), calc(.9s + var(--i, 0) * .12s), calc(2s + var(--i, 0) * .45s); }
@media (prefers-reduced-motion: no-preference) {
  .ks-job__tag { position: relative; padding-left: 24px; }
  .ks-job__tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ks-action); animation: ks-hiring 2s ease-out infinite; }
  @keyframes ks-hiring { 0% { box-shadow: 0 0 0 0 rgba(105,65,198,.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(105,65,198,0); } }
}
/* ===== Discover: a product-marketing concept of search (not the real screen) ===== */
.ks-disc-visual { padding-bottom: 0; }
.ks-find { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--ks-gray-200); box-shadow: var(--ks-shadow-float); overflow: visible; }
.ks-find__chrome { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--ks-gray-100); }
.ks-find__chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--ks-gray-200); }
.ks-find__body { display: grid; gap: 16px; padding: 22px 22px 24px; background: linear-gradient(180deg, var(--ks-brand-50), #fff 45%); border-radius: 0 0 24px 24px; }
.ks-find__search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ks-brand-200); box-shadow: 0 10px 24px -14px rgba(105,65,198,.45); color: var(--ks-gray-900); font-size: 16px; }
.ks-find__search .ks-ico { width: 20px; height: 20px; color: var(--ks-action); flex: none; }
.ks-find__search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-find__search b { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; display: grid; place-items: center; background: var(--ks-action); color: #fff; font-size: 14px; font-weight: 600; }
.ks-find__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-find__chips span { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ks-gray-200); font-size: 13px; font-weight: 500; color: var(--ks-gray-700); }
.ks-find__chips .is-on { background: var(--ks-action); border-color: var(--ks-action); color: #fff; }
.ks-find__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ks-find__card { display: grid; gap: 2px; padding: 8px 8px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--ks-gray-100); box-shadow: var(--ks-shadow-raised); }
.ks-find__img { position: relative; margin-bottom: 8px; }
.ks-find__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.ks-find__heart { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ks-gray-600); }
.ks-find__heart .ks-ico { width: 16px; height: 16px; }
.ks-find__heart.is-on { color: var(--ks-coral); } .ks-find__heart.is-on .ks-ico { fill: currentColor; }
.ks-find__card b { padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--ks-ink); }
.ks-find__card span { padding: 0 4px; font-size: 13px; color: var(--ks-gray-600); }
.ks-find__toast { position: absolute; left: -24px; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; box-shadow: var(--ks-shadow-float); }
.ks-find__toast .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ks-coral-50); color: var(--ks-coral); }
.ks-find__toast .ico .ks-ico { width: 20px; height: 20px; fill: currentColor; }
.ks-find__toast b { display: block; font-size: 15px; font-weight: 600; color: var(--ks-ink); } .ks-find__toast span:not(.ico) { display: block; font-size: 14px; color: var(--ks-gray-700); }
@media (prefers-reduced-motion: no-preference) {
  html.ks-reveal .ks-find__card { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
  html.ks-reveal .ks-find__card:nth-child(2) { transition-delay: .12s; } html.ks-reveal .ks-find__card:nth-child(3) { transition-delay: .24s; } html.ks-reveal .ks-find__card:nth-child(4) { transition-delay: .36s; }
  html.ks-reveal .is-in .ks-find__card { opacity: 1; transform: none; }
  html.ks-reveal .ks-find__toast { opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .5s ease .8s, transform .6s cubic-bezier(.34,1.56,.64,1) .8s; }
  html.ks-reveal .is-in .ks-find__toast { opacity: 1; transform: none; animation: ks-float 6s ease-in-out 1.6s infinite; }
}
@media (min-width: 1024px) and (max-height: 820px) { .ks-find__body { gap: 12px; padding: 16px; } .ks-find__img img { aspect-ratio: 2 / 1; } .ks-find__search { height: 48px; } }
@media (max-width: 1023px) { .ks-find__toast { left: 12px; bottom: -20px; } }
@media (max-width: 639px) { .ks-find__grid .ks-find__card:nth-child(n+3), .ks-find__chips span:nth-child(n+4) { display: none; } .ks-find__search { font-size: 14px; height: 48px; } .ks-find__search b { display: none; } .ks-find__toast { display: none; } .ks-find__body { padding: 14px; } }
.ks-find__img img { aspect-ratio: 2 / 1; }
.ks-find__body { gap: 14px; padding: 18px 18px 20px; }
@media (min-width: 1024px) and (max-height: 820px) { .ks-find__img img { aspect-ratio: 5 / 2; } .ks-find__card span:last-child { display: none; } .ks-find__chrome { padding: 10px 16px; } }
@media (max-width: 1023px) { .ks-find__grid .ks-find__card:nth-child(n+3) { display: none; } }
@media (max-width: 639px) { .ks-find__img img { aspect-ratio: 16 / 9; } .ks-find__card span:last-child { display: none; } .ks-find__chrome { display: none; } }
@media (min-width: 1024px) { .ks-find__toast { bottom: -26px; left: -28px; } }
.ks-disc-visual { grid-template-columns: minmax(0, 1fr); } .ks-find { min-width: 0; } .ks-find__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ks-find__body { grid-template-columns: minmax(0, 1fr); } .ks-find__search, .ks-find__chips, .ks-find__grid { min-width: 0; }
@media (max-width: 1279px) { .ks-disc-visual.lit { padding: 20px; } .ks-find__toast { display: none; } }
@media (min-width: 1280px) { .ks-find__toast { bottom: -34px; } }
@media (min-width: 1280px) { .ks-find__toast { bottom: -62px; } }
/* ===== Discover: zoomed-in search concept (typing, then filters, then results) ===== */
.ks-seek { display: grid; gap: 20px; width: 100%; }
.ks-seek__bar { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 28px; border-radius: 999px; background: #fff; border: 2px solid var(--ks-brand-200);
  box-shadow: 0 0 0 8px rgba(255,255,255,.55), 0 24px 50px -20px rgba(105,65,198,.45); font-size: 22px; font-weight: 500; color: var(--ks-ink); letter-spacing: -0.01em; }
.ks-seek__bar > .ks-ico { width: 26px; height: 26px; color: var(--ks-action); flex: none; stroke-width: 2.2; }
.ks-seek__text { white-space: nowrap; overflow: hidden; }
.ks-seek__caret { width: 2px; height: 28px; margin-left: -10px; background: var(--ks-action); border-radius: 2px; animation: ks-blink 1s steps(1) infinite; }
@keyframes ks-blink { 50% { opacity: 0; } }
.ks-seek__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ks-seek__chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ks-gray-200); font-size: 15px; font-weight: 600; color: var(--ks-gray-800, #2f2a45);
  box-shadow: var(--ks-shadow-raised); transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.ks-seek__chip .ks-ico { width: 18px; height: 18px; color: var(--ks-action); transition: color .3s ease; }
.ks-seek__chip, .ks-seek.is-anim .ks-seek__chip.is-on { background: var(--ks-action); border-color: var(--ks-action); color: #fff; }
.ks-seek__chip .ks-ico, .ks-seek.is-anim .ks-seek__chip.is-on .ks-ico { color: #fff; }
.ks-seek__results { display: grid; gap: 10px; }
.ks-seek__row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 20px; background: #fff; box-shadow: var(--ks-shadow-raised);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.ks-seek__row img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: block; }
.ks-seek__row b { display: block; font-size: 16px; font-weight: 600; color: var(--ks-ink); }
.ks-seek__row div span { display: block; font-size: 14px; color: var(--ks-gray-600); }
.ks-seek__heart { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ks-gray-50); color: var(--ks-gray-500, #7a7690); }
.ks-seek__heart .ks-ico { width: 17px; height: 17px; }
.ks-seek__heart.is-on { background: var(--ks-coral-50); color: var(--ks-coral); } .ks-seek__heart.is-on .ks-ico { fill: currentColor; }
/* animated states (only while kidsync.js runs the loop) */
.ks-seek.is-anim .ks-seek__chip { background: #fff; border-color: var(--ks-gray-200); color: var(--ks-gray-800, #2f2a45); opacity: 0; transform: translateY(8px) scale(.9); }
.ks-seek.is-anim .ks-seek__chip .ks-ico { color: var(--ks-action); }
.ks-seek.is-anim .ks-seek__chip.is-in { opacity: 1; transform: none; }
.ks-seek.is-anim .ks-seek__row { opacity: 0; transform: translateY(14px); }
.ks-seek.is-anim .ks-seek__row.is-in { opacity: 1; transform: none; }
.ks-seek.is-fading .ks-seek__chip, .ks-seek.is-fading .ks-seek__row { opacity: 0 !important; transition-duration: .4s; }
.ks-seek:not(.is-anim) .ks-seek__caret { display: none; }
@media (min-width: 1024px) { .ks-disc-visual.lit { padding: 40px; } }
@media (min-width: 1024px) and (max-height: 820px) { .ks-seek { gap: 14px; } .ks-seek__bar { height: 64px; font-size: 19px; } .ks-seek__row { padding: 8px 14px 8px 8px; } .ks-seek__row img { width: 46px; height: 46px; } .ks-disc-visual.lit { padding: 28px; } }
@media (max-width: 639px) { .ks-seek { gap: 14px; } .ks-seek__bar { height: 58px; padding: 0 18px; font-size: 17px; } .ks-seek__bar > .ks-ico { width: 20px; height: 20px; } .ks-seek__chip { height: 34px; font-size: 13px; } .ks-seek__row:nth-child(3) { display: none; } .ks-seek__row img { width: 44px; height: 44px; } }
@media (max-width: 639px) { .ks-seek__row div span { display: none; } .ks-seek__row { padding: 8px 12px 8px 8px; } .ks-seek__row b { font-size: 15px; } }
/* ===== Plan together: save an activity, then build the list with a friend (concept + loop) ===== */
.ks-collab { position: relative; min-height: 470px; width: 100%; }
.ks-collab__card { position: absolute; left: 0; top: 0; z-index: 2; width: 46%; display: grid; gap: 2px; padding: 10px 10px 14px; border-radius: 22px; background: #fff; box-shadow: var(--ks-shadow-float); transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.ks-collab__img { position: relative; margin-bottom: 8px; }
.ks-collab__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.ks-collab__heart { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--ks-coral); box-shadow: 0 6px 14px -6px rgba(44,28,95,.35); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.ks-collab__heart .ks-ico { width: 20px; height: 20px; fill: currentColor; transition: fill .2s ease; }
.ks-collab__card > b { padding: 0 6px; font-size: 16px; font-weight: 600; color: var(--ks-ink); }
.ks-collab__card > span { padding: 0 6px; font-size: 13px; color: var(--ks-gray-600); }
.ks-collab__saved { display: inline-flex !important; align-items: center; gap: 6px; justify-self: start; margin: 8px 6px 0; padding: 4px 10px 4px 8px !important; border-radius: 999px; background: var(--ks-brand-100); color: var(--ks-action) !important; font-weight: 600; transition: opacity .3s ease, transform .4s cubic-bezier(.34,1.56,.64,1); }
.ks-collab__saved .ks-ico { width: 14px; height: 14px; stroke-width: 2.4; }
.ks-collab__list { position: absolute; right: 0; bottom: 0; width: 68%; padding: 18px; border-radius: 24px; background: #fff; box-shadow: var(--ks-shadow-float); display: grid; gap: 12px; }
.ks-collab__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ks-collab__head b { display: block; font-size: 18px; font-weight: 700; color: var(--ks-ink); }
.ks-collab__head span { display: block; font-size: 13px; color: var(--ks-gray-600); }
.ks-collab__who { display: flex; }
.ks-collab i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; flex: none; }
.ks-collab i.me { background: var(--ks-action); } .ks-collab i.fr { background: var(--ks-coral); }
.ks-collab__who i { box-shadow: 0 0 0 3px #fff; } .ks-collab__who i + i { margin-left: -8px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.ks-collab__joined { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--ks-coral-50); color: var(--ks-coral-text); font-size: 13px; font-weight: 600; transition: opacity .3s ease, max-height .4s ease, margin .4s ease; max-height: 30px; }
.ks-collab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ks-collab li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--ks-gray-50); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1), max-height .5s ease, padding .5s ease; max-height: 120px; }
.ks-collab li img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; display: block; }
.ks-collab li b { display: block; font-size: 15px; font-weight: 600; color: var(--ks-ink); }
.ks-collab li span { display: block; font-size: 13px; color: var(--ks-gray-600); }
.ks-collab__note { display: inline-block; margin-top: 6px; padding: 5px 10px; border-radius: 12px 12px 12px 4px; background: var(--ks-coral-50); color: var(--ks-coral-text); font-style: normal; font-size: 13px; font-weight: 500; transition: opacity .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
/* loop states, only while kidsync.js runs it */
.ks-collab.is-anim:not(.s-saved) .ks-collab__heart .ks-ico { fill: none; }
.ks-collab.is-anim:not(.s-saved) .ks-collab__heart { color: var(--ks-gray-500, #7a7690); }
.ks-collab.is-anim.s-tap .ks-collab__heart { transform: scale(.85); }
.ks-collab.is-anim.s-saved .ks-collab__heart { transform: scale(1.15); }
.ks-collab.is-anim:not(.s-saved) .ks-collab__saved { opacity: 0; transform: translateY(6px) scale(.9); }
.ks-collab.is-anim:not(.s-mine) [data-collab-row="mine"], .ks-collab.is-anim:not(.s-friend) [data-collab-row="friend"] { opacity: 0; transform: translateY(-8px); max-height: 0; padding-block: 0; margin-top: -8px; }
.ks-collab.is-anim:not(.s-joined) [data-collab-friend] { opacity: 0; transform: scale(0); }
.ks-collab.is-anim:not(.s-joined) .ks-collab__joined { opacity: 0; max-height: 0; margin-bottom: -12px; }
.ks-collab.is-anim:not(.s-note) .ks-collab__note { opacity: 0; transform: translateY(6px) scale(.9); }
.ks-collab.is-fading .ks-collab__list li[data-collab-row], .ks-collab.is-fading .ks-collab__note { opacity: 0 !important; }
@media (min-width: 1024px) and (max-height: 820px) { .ks-collab { min-height: 420px; } .ks-collab li { padding-block: 6px; } }
@media (max-width: 1023px) { .ks-collab { min-height: 440px; } }
@media (max-width: 639px) {
  .ks-collab { min-height: 0; display: grid; gap: 12px; }
  .ks-collab__card { position: relative; width: 70%; } .ks-collab__list { position: relative; width: 100%; padding: 14px; }
  .ks-collab li:first-child { display: none; } .ks-collab__card > span:not(.ks-collab__saved) { display: none; }
}
/* collab layout v2: card and list side by side with a slight overlap */
.ks-collab { min-height: 0; display: flex; align-items: center; }
.ks-collab__card { position: relative; left: auto; top: auto; flex: 0 0 40%; width: auto; }
.ks-collab__list { position: relative; right: auto; bottom: auto; flex: 1 1 auto; width: auto; margin-left: -24px; padding-left: 40px; }
@media (min-width: 1024px) and (max-height: 820px) { .ks-collab { min-height: 0; } }
@media (max-width: 1023px) { .ks-collab { min-height: 0; } }
@media (max-width: 639px) { .ks-collab { display: block; } .ks-collab__card { display: none; } .ks-collab__list { margin: 0; padding: 14px; } }
@media (min-width: 1280px) and (min-height: 821px) { .ks-collab__list { padding: 24px 24px 24px 44px; gap: 14px; } .ks-collab li { grid-template-columns: 52px 1fr auto; padding: 10px 12px 10px 10px; } .ks-collab li img { width: 52px; height: 52px; } .ks-collab li b { font-size: 16px; } .ks-collab__head b { font-size: 20px; } }
@media (max-width: 639px) { .ks-collab__joined { display: none; } }
#reminders-h { max-width: 16ch; }
/* Offer band hugs its content instead of filling the screen (client request) */
#offer.section { height: auto !important; min-height: 0 !important; padding-block: 88px; margin-block: 48px; }
#offer > .wrap { min-height: 0 !important; height: auto; }
@media (max-width: 1023px) { #offer.section { padding-block: 64px; margin-block: 32px; } }
@media (max-width: 639px) { #offer.section { padding-block: 48px; margin-block: 24px; } }
/* Offer headline: word-by-word pop-in */
html.ks-reveal #offer h2.ks-words[data-reveal] { opacity: 1; transform: none; }
.ks-words .ks-word { display: inline-block; opacity: 0; transform: translateY(.45em) scale(.92); transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i) * 110ms + 150ms); }
.ks-words.is-live .ks-word { opacity: 1; transform: none; }
/* ===== Mobile fixes ===== */
/* The header's glass blur makes it the containing block for position:fixed children, which trapped the
   open menu inside the 56px bar. While the menu is open, the header is solid and unblurred. */
@media (max-width: 1023px) {
  header.nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav.is-open .nav__links { background: #fff; z-index: 50; }
  .nav.is-open .nav__actions { background: #fff; }
}
/* Phones: sections size to their content with even padding, instead of filling a whole screen each */
@media (max-width: 639px) {
  main > section.section, main > section.section.ground-surface, main > section.section.ground-inverse { height: auto !important; min-height: 0 !important; padding-top: 56px !important; padding-bottom: 56px !important; }
  main > section.section > .wrap { min-height: 0 !important; }
  footer.closing.footer--statement { height: auto !important; min-height: 0 !important; padding-top: 48px; padding-bottom: 32px; }
  footer.closing.footer--statement > .wrap { grid-template-rows: auto auto !important; min-height: 0 !important; row-gap: 40px; }
  footer.closing .close__word { margin-top: 32px; }
}
@media (max-width: 639px) {
  .ks-teaser { height: auto !important; min-height: 0 !important; padding: calc(var(--nav, 56px) + 20px) 16px 28px !important; }
  .nav.is-open .nav__links { animation: none; }
}
@media (max-width: 639px) { main > section.hero#join { height: auto !important; min-height: 0 !important; padding-top: 40px !important; padding-bottom: 56px !important; } }
@media (max-width: 639px) {
  main > section.hero:first-child { height: auto !important; min-height: 0 !important; padding-top: calc(var(--nav, 56px) + 32px) !important; padding-bottom: 56px !important; }
}
@media (max-width: 639px) { .ks-mail { height: auto !important; min-height: 0 !important; padding: 24px 16px !important; } .ks-mail__art { width: min(100%, 260px); } }
@media (min-width: 1024px) { #discover .grid > .stack-5 { padding-right: 64px; } }
#problem .ks-why-visual.lit { background: none; border: 0; box-shadow: none; padding: 0; }
#problem .ks-why-visual.lit::before, #problem .ks-why-visual.lit::after { display: none; }
/* Discover: graphic on the left, words on the right (desktop) */
@media (min-width: 1024px) {
  #discover .grid > .stack-5 { grid-column: 7 / span 6; grid-row: 1; padding-right: 0; padding-left: 64px; }
  #discover .grid > .ks-disc-visual { grid-column: 1 / span 6; grid-row: 1; }
}
@media (min-width: 1024px) { #discover .grid > .stack-5 { grid-column: 8 / span 5; padding-left: 0; } }
/* Reminders: notification-style pop-in loop */
.ks-remind__count { transition: background-color .3s ease, color .3s ease; padding: 2px 10px; border-radius: 999px; }
.ks-remind__count.is-on, .ks-remind:not(.is-anim) .ks-remind__count { background: var(--ks-brand-100); color: var(--ks-action); font-weight: 600; }
.ks-remind__list li { border-radius: 14px; transition: opacity .35s ease, transform .5s cubic-bezier(.34,1.56,.64,1), background-color .6s ease, box-shadow .6s ease, padding .3s ease; }
.ks-remind.is-anim .ks-remind__list li { opacity: 0; transform: translateY(-16px) scale(.96); }
.ks-remind.is-anim .ks-remind__list li.is-in { opacity: 1; transform: none; }
.ks-remind.is-anim .ks-remind__list li.is-new { background: var(--ks-brand-50); box-shadow: 0 10px 24px -14px rgba(105,65,198,.45); padding-inline: 10px; }
.ks-remind.is-anim .ks-remind__list li.is-new .ico { animation: ks-ring .7s ease-in-out 1; }
@keyframes ks-ring { 0%, 100% { transform: none; } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.ks-remind.is-fading .ks-remind__list li { opacity: 0 !important; }
/* Research quotes pop in one by one */
.ks-quotes.is-pop .ks-quote { opacity: 0; transform: translateY(18px) scale(.94); transform-origin: 20% 100%; transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(.35s + var(--i, 0) * .55s); }
.ks-quotes.is-pop.is-live .ks-quote { opacity: 1; transform: none; }
/* Founder card, larger */
#research .ks-founder-line { gap: 22px; padding: 22px 26px 22px 22px; border-radius: 24px; max-width: 34em; }
#research .ks-founder-line img { width: 96px; height: 96px; }
#research .ks-founder-line b { font-size: 20px; }
#research .ks-founder-line span { font-size: 16px; }
#research .ks-founder-line .link { font-size: 16px; margin-top: 4px; }
@media (max-width: 639px) { #research .ks-founder-line { gap: 16px; padding: 16px; } #research .ks-founder-line img { width: 72px; height: 72px; } #research .ks-founder-line b { font-size: 18px; } #research .ks-founder-line span, #research .ks-founder-line .link { font-size: 15px; } }
/* Offer card icons: solid purple tiles, white icons, for stronger contrast */
.ks-offer-facts .ico { background: var(--ks-action); color: #fff; box-shadow: 0 8px 18px -10px rgba(105,65,198,.7); }
.ks-offer-facts .ks-ico { stroke-width: 2.1; }
/* FAQ hugs its content (client request) */
#faq.section { height: auto !important; min-height: 0 !important; padding-block: 72px 88px; }
#faq > .wrap { min-height: 0 !important; height: auto; }
#faq .grid { align-items: start; }
@media (max-width: 1023px) { #faq.section { padding-block: 56px 64px; } }
/* About and Contact: more room between the nav bar and the page heading */
@media (min-width: 1024px) { main > section.hero:first-child > .wrap { padding-top: 40px; } }
@media (min-width: 640px) and (max-width: 1023px) { main > section.hero:first-child > .wrap { padding-top: 24px; } }
@media (max-width: 639px) { main > section.hero:first-child { padding-top: calc(var(--nav, 56px) + 48px) !important; } }
/* About hero: centered, no graphic, shorter */
main > section.ks-about-hero { height: auto !important; min-height: 0 !important; padding-block: 72px 88px; }
.ks-about-hero .hero-split { display: block; }
/* left-aligned with the sections below it (Ann Marie, Nov 30); was centred */
.ks-about-hero .ks-about-copy { max-width: 760px; text-align: left; display: grid; justify-items: start; }
.ks-about-hero .ks-about-copy .t-lead { max-width: 40em; }
.ks-about-hero .btn-row { justify-content: center; }
@media (max-width: 639px) { main > section.ks-about-hero { padding-top: calc(var(--nav, 56px) + 40px) !important; padding-bottom: 56px !important; } }
@media (min-width: 640px) { main > section.ks-about-hero { padding-top: calc(var(--nav, 72px) + 48px); padding-bottom: 96px; } }
@media (max-width: 639px) { .ks-about-hero .t-lead { display: block !important; font-size: 16px; } }
/* One consistent gap between the nav bar and the first content, on every page */
:root { --ks-top-gap: 120px; }
@media (max-width: 1023px) { :root { --ks-top-gap: 88px; } }
@media (max-width: 639px) { :root { --ks-top-gap: 48px; } }
main > section.hero:first-child, main > section.ks-about-hero { padding-top: calc(var(--nav, 72px) + var(--ks-top-gap)) !important; }
main > section.hero:first-child > .wrap { padding-top: 0 !important; }
main > section.ks-teaser { padding-top: calc(var(--nav, 72px) + var(--ks-top-gap)) !important; align-content: start !important; }
@media (min-width: 1024px) { .ks-teaser__frame { width: min(100%, calc((100svh - var(--nav) - var(--ks-top-gap) - 56px) * 16 / 9)); } }
/* About: "As seen in PCWorld" running strip between the hero and Our story */
.ks-pressbar { display: block; overflow: hidden; padding: 18px 0; background: var(--ks-ink); color: #fff; text-decoration: none; }
.ks-pressbar:focus-visible { outline: 3px solid var(--ks-lavender); outline-offset: -3px; }
.ks-pressbar__track { display: flex; width: max-content; }
.ks-pressbar__run { display: flex; align-items: center; flex: none; }
.ks-pressbar__item { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 28px; font-size: 17px; font-weight: 500; color: #e9e3ff; white-space: nowrap; }
.ks-pressbar__mark { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.ks-pressbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ks-coral); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ks-pressbar__track { animation: ks-marquee 32s linear infinite; }
  .ks-pressbar:hover .ks-pressbar__track { animation-play-state: paused; }
  @keyframes ks-marquee { to { transform: translateX(-50%); } }
}
@media (max-width: 639px) { .ks-pressbar { padding: 14px 0; } .ks-pressbar__item { font-size: 15px; padding: 0 20px; } .ks-pressbar__mark { font-size: 19px; } }

/* Founder sign-off: LinkedIn link and more room before the PCWorld line */
.ks-signoff__name { display: inline-flex !important; align-items: center; gap: 10px; }
.ks-linkedin { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: #0a66c2; transition: transform .2s ease, color .2s ease; }
.ks-linkedin svg { width: 22px; height: 22px; }
.ks-linkedin:hover { transform: translateY(-1px); color: #004182; }
.ks-linkedin:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 2px; }
#our-story .signoff + .ks-press { margin-top: 20px; }
/* Hero card: back to the original soft purple shadow (the coral glow read too pink) */
.hero .action-card[data-form-card="hero"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 24px 60px -24px rgba(44, 28, 95, .28); }
/* ===== Section backgrounds: soft variety from the moodboard (Gray 50, Brand 100, Blush, Wash, Glow), never bold ===== */
main > section#problem.section   { background: linear-gradient(180deg, #f4ebff 0%, #faf7ff 100%); }                                   /* Brand 100 wash */
main > section#discover.section  { background: #ffffff; }                                                                             /* white */
main > section#plan.section      { background: linear-gradient(160deg, #fff4f0 0%, #fffaf8 55%, #ffffff 100%); }                      /* Blush */
main > section#village.section   { background: #f9f8fc; }                                                                             /* Gray 50 */
main > section#story.section     { background: linear-gradient(135deg, #f4ebff 0%, #fbf7ff 50%, #ffefe9 100%); }                      /* Wash: lavender into blush */
main > section#reminders.section { background: #ffffff; }                                                                             /* white */
main > section#research.section  { background: radial-gradient(60% 80% at 15% 20%, rgba(158,119,237,.16), transparent 70%), radial-gradient(50% 70% at 90% 90%, rgba(255,122,102,.10), transparent 70%), #fbf9ff; } /* Glow */
main > section#faq.section       { background: #f9f8fc; }                                                                             /* Gray 50 */
/* About page */
.ks-about-hero { background: linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%); }
main > section#our-story.section { background: linear-gradient(160deg, #fff4f0 0%, #fffaf8 60%, #ffffff 100%); }
main > section#platform.section  { background: linear-gradient(180deg, #f4ebff 0%, #faf7ff 100%); }
main > section#voices.section    { background: #f9f8fc; }
/* Cards that sat on white keep their edge on the new tints */
#village .ks-before, #faq .ks-faq-item { background-color: transparent; }
/* Stacking benefit cards (kidsync.js adds html.ks-stack on desktop) */
html.ks-stack main > section:is(#discover, #plan, #village, #story, #reminders) { position: sticky; border-radius: 36px 36px 0 0; box-shadow: 0 -24px 48px -28px rgba(44, 28, 95, .28); }
html.ks-stack main > section#discover { border-radius: 0; box-shadow: none; }
html.ks-stack main > section#research { position: relative; z-index: 10; box-shadow: 0 -24px 48px -28px rgba(44, 28, 95, .22); border-radius: 36px 36px 0 0; }
html.ks-stack main > section:is(#offer, #faq) { position: relative; z-index: 10; }
/* Founder card: white card with a clear edge so it stands off the Glow background */
#research .ks-founder-line { background: #fff; border: 1px solid var(--ks-brand-200); box-shadow: var(--ks-shadow-raised); }
#research .ks-founder-line img { box-shadow: 0 0 0 3px var(--ks-brand-100); }
#research .ks-founder-line span { color: var(--ks-gray-700); }
/* Built with parents: drop the tinted panel behind the quotes; the quotes card is solid white with a clear edge */
#research .grid > .lit { background: none !important; padding: 0 !important; border: 0; box-shadow: none; }
#research .grid > .lit::before, #research .grid > .lit::after { display: none; }
#research .ks-quotes { background: #fff !important; border: 1px solid var(--ks-brand-200); box-shadow: var(--ks-shadow-float); }
html.ks-stack.ks-stack-done main > section:is(#discover, #plan, #village, #story, #reminders) { visibility: hidden; }
/* FAQ: a bit more room above and below */
#faq.section { padding-block: 120px 136px; }
@media (max-width: 1023px) { #faq.section { padding-block: 80px 96px; } }
/* ===== Teaser v5: plays once, ends on the end card, a real button under it ===== */
main > section.ks-teaser { display: grid; justify-items: center; align-content: center; row-gap: 24px; }
.ks-teaser__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ks-teaser__cta .btn { height: 56px; padding-inline: 36px; font-size: 17px; }
.ks-teaser__cue { display: inline-flex !important; }
@media (min-width: 1024px) {
  .ks-teaser__frame { width: min(100%, calc((100svh - var(--nav) - var(--ks-top-gap, 120px) - 160px) * 16 / 9)); }
  .ks-teaser__cue { display: none !important; }
}
@media (max-width: 639px) {
  .ks-teaser__frame { aspect-ratio: 4 / 5; width: min(100%, 420px); }
  .ks-teaser__cta .btn { width: 100%; }
  .ks-teaser__cta { width: min(100%, 420px); }
}
.ks-teaser__toggle .ks-teaser__replay { display: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ks-teaser__toggle.is-ended .ks-teaser__replay { display: inline; }
.ks-teaser__toggle.is-ended .ks-teaser__pause, .ks-teaser__toggle.is-ended .ks-teaser__play { display: none; }
/* Teaser sound button: bottom left of the video */
.ks-teaser__sound { position: absolute; left: 16px; bottom: 16px; z-index: 2; height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--ks-ink); font: 600 14px/1 var(--font-text, Inter, sans-serif);
  cursor: pointer; box-shadow: 0 8px 24px -10px rgba(44, 28, 95, .35); transition: background .2s ease, transform .2s ease; }
.ks-teaser__sound:hover { background: #fff; transform: scale(1.03); }
.ks-teaser__sound:focus-visible { outline: 2px solid var(--ks-action); outline-offset: 3px; }
.ks-teaser__sound .ks-ico { width: 20px; height: 20px; }
.ks-teaser__sound .ks-snd-spk { fill: currentColor; stroke: none; }
.ks-teaser__sound .ks-snd-on { display: none; }
.ks-teaser__sound.is-on .ks-snd-on { display: inline; } .ks-teaser__sound.is-on .ks-snd-off { display: none; }
@media (max-width: 639px) { .ks-teaser__sound { left: 10px; bottom: 10px; height: 40px; padding: 0 12px 0 10px; font-size: 13px; } }
@media (prefers-reduced-transparency: reduce) { .ks-teaser__sound { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Teaser: no button under the video; the frame takes the room back, with the quiet cue below */
@media (min-width: 1024px) {
  .ks-teaser__frame { width: min(100%, calc((100svh - var(--nav) - var(--ks-top-gap, 120px) - 100px) * 16 / 9)); }
  .ks-teaser__cue { display: inline-flex !important; flex-direction: column; align-items: center; gap: 6px; color: var(--ks-gray-700); font-size: 15px; font-weight: 500; text-decoration: none; }
  .ks-teaser__cue .ks-ico { width: 20px; height: 20px; color: var(--ks-action); }
}
/* Teaser: never wider than the page (the 1920px video was stretching the grid track on mid-size windows) */
main > section.ks-teaser { grid-template-columns: minmax(0, 1fr); }
.ks-teaser__frame { max-width: 100%; justify-self: center; }
.ks-teaser__video { object-fit: contain; }
@media (min-width: 640px) and (max-width: 1023px) { .ks-teaser__frame { width: min(100%, calc((100svh - var(--nav) - var(--ks-top-gap, 88px) - 100px) * 16 / 9)); } }
/* Teaser background a shade darker so the white video frame stands out */
main > section.ks-teaser { background: linear-gradient(180deg, #ece8f6 0%, #f1eef8 100%) !important; }
.ks-teaser__frame { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 30px 80px -30px rgba(44, 28, 95, .34), 0 0 0 1px rgba(44, 28, 95, .08); }
/* "Parenting came with a second job": headline pops in word by word, then a soft marker sweeps under the key phrases */
.ks-sweep { background: linear-gradient(transparent 58%, var(--ks-brand-100) 58%, var(--ks-brand-100) 92%, transparent 92%); color: inherit; padding: 0 2px; }
.ks-sweep--2 { background: linear-gradient(transparent 58%, #ffe7e1 58%, #ffe7e1 92%, transparent 92%); }
html.ks-sweep-anim .ks-sweep { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size 1s cubic-bezier(.2,.8,.2,1) 1.1s; }
html.ks-sweep-anim .ks-sweep--2 { transition-delay: 1.9s; }
html.ks-sweep-anim .is-swept .ks-sweep { background-size: 100% 100%; }
html.ks-reveal #problem h2.ks-words[data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.ks-sweep-anim .ks-sweep { background-size: 100% 100%; transition: none; } }
.ks-sweep { background-image: linear-gradient(transparent 56%, #ddc8fd 56%, #ddc8fd 94%, transparent 94%); }
.ks-sweep--2 { background-image: linear-gradient(transparent 56%, #ffd5cc 56%, #ffd5cc 94%, transparent 94%); }
/* Week timeline: cards pop up one by one, each dot pops onto the line with it */
html.ks-reveal #story .ks-story--vert li[data-reveal] { opacity: 0; transform: translateY(22px) scale(.92); transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--ks-d, 0) * 380ms + 200ms); }
html.ks-reveal #story .ks-story--vert li:nth-child(even)[data-reveal] { transform: translateY(22px) scale(.92); }
html.ks-reveal #story .ks-story--vert li[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { #story .ks-story--vert li.is-in::before { animation-delay: calc(var(--ks-d, 0) * 380ms + 380ms); } }
/* Research quotes populate one by one: clearer spacing between each */
html.ks-reveal #research .ks-quotes[data-reveal] { opacity: 1; transform: none; }
.ks-quotes.is-pop .ks-quote { transform: translateY(26px) scale(.9); transition-delay: calc(.3s + var(--i, 0) * .9s); }
.ks-quotes.is-pop.is-live .ks-quote { transform: none; }
/* More room between the research paragraph and Ann Marie's card */
#research .ks-founder-line { margin-top: 56px; }
@media (max-width: 1023px) { #research .ks-founder-line { margin-top: 36px; } }
/* Research quotes: three separate cards, stacked with a gap, each popping in on its own */
#research .ks-quotes { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: grid; gap: 16px; }
#research .ks-quotes .ks-quote { margin: 0; padding: 22px 26px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--ks-brand-200); box-shadow: var(--ks-shadow-raised); border-top: 1px solid var(--ks-brand-200) !important; }
#research .ks-quotes .ks-quote + .ks-quote { border-top: 1px solid var(--ks-brand-200); }
#research .ks-quotes .ks-quote:nth-child(2) { margin-left: 32px; }
#research .ks-quotes .ks-quote:nth-child(3) { margin-left: 64px; }
@media (max-width: 1023px) { #research .ks-quotes .ks-quote:nth-child(n) { margin-left: 0; } #research .ks-quotes .ks-quote { padding: 18px 20px; } }
/* FAQ taller still: room for answers to open without crowding */
@media (min-width: 1024px) { #faq.section { min-height: 760px !important; display: grid; align-content: center; padding-block: 128px 144px; } }
/* Our story: blush leaned toward lavender (less orange) */
main > section#our-story.section { background: linear-gradient(160deg, #fbf1f7 0%, #f9f5ff 55%, #ffffff 100%); }
/* Teaser background: a neutral soft gray (less purple), still a touch darker than white */
main > section.ks-teaser { background: linear-gradient(180deg, #efeff3 0%, #f3f3f6 100%) !important; }
/* Give everyone clarity: plain white section, no gradient panel behind the chat and plan */
main > section#village.section { background: #ffffff; }
#village .grid > .lit { background: #ffffff !important; }
#village .grid > .lit::before, #village .grid > .lit::after { display: none; }
/* Founder card: frosted glass, so it reads differently from the solid white quote cards */
#research .ks-founder-line { position: relative; isolation: isolate; background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(244,235,255,.38)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid rgba(255,255,255,.95) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 24px 50px -24px rgba(105, 65, 198, .45) !important; overflow: visible; }
#research .ks-founder-line::before { content: ""; position: absolute; z-index: -1; inset: -18px auto auto -18px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(158,119,237,.55), transparent 70%); filter: blur(4px); }
#research .ks-founder-line::after { content: ""; position: absolute; z-index: -1; right: -10px; bottom: -14px; width: 110px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,102,.35), transparent 70%); filter: blur(6px); }
#research .ks-founder-line img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ks-brand-200) !important; }
@media (prefers-reduced-transparency: reduce) { #research .ks-founder-line { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* Mobile polish */
.ks-unread { white-space: nowrap; }
@media (max-width: 639px) { #research .ks-founder-line::after { display: none; } #research .ks-founder-line::before { width: 90px; height: 90px; } }
/* Job listing finale: once every duty is checked, a "Handled by KidSync" stamp lands on the card */
.ks-job { position: relative; }
.ks-job__stamp { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 14px;
  background: #fff; border: 2px solid var(--ks-action); color: var(--ks-action); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; transform: rotate(-6deg);
  box-shadow: 0 14px 30px -14px rgba(105,65,198,.55); }
.ks-job__stamp img { width: 22px; height: 22px; }
html.ks-job-anim .ks-job__stamp { opacity: 0; transform: rotate(-14deg) scale(1.6); transition: opacity .25s ease 3.9s, transform .45s cubic-bezier(.34,1.56,.64,1) 3.9s; }
html.ks-job-anim .ks-job.is-live .ks-job__stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
/* Jennifer's quote slides in after the card */
html.ks-reveal #problem .ks-quote--inline[data-reveal] { transform: translateX(28px); transition-delay: .5s; }
html.ks-reveal #problem .ks-quote--inline[data-reveal].is-in { transform: none; }
@media (max-width: 639px) { .ks-job__stamp { right: 14px; bottom: 14px; font-size: 13px; padding: 8px 12px 8px 10px; } }
/* Founder card: more frosted (milkier surface, fine grain, heavier blur, softer glows) */
#research .ks-founder-line {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(246,240,255,.6)) !important;
  -webkit-backdrop-filter: blur(34px) saturate(1.6) brightness(1.04); backdrop-filter: blur(34px) saturate(1.6) brightness(1.04);
  border: 1px solid rgba(255,255,255,1) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6), inset 0 -18px 40px -24px rgba(158,119,237,.25), 0 24px 50px -24px rgba(105, 65, 198, .45) !important; }
#research .ks-founder-line::before { filter: blur(18px); opacity: .9; }
#research .ks-founder-line::after { filter: blur(20px); opacity: .7; }

/* Hero photo (Nov 28): replaces the bubbles box; rounded, keeps its shape at every width. */
.hero-visual:has(.ks-hero-photo) { display: grid; align-content: center; }
.ks-hero-photo { display: block; width: 100%; height: auto; border-radius: 32px; }

/* Hero button (Nov 28): "Limited time" sits inside the claim button, so it's the free month that's limited. Brand Coral Blush / Coral Deep. */
.hero .action-card[data-form-card="hero"] > .btn.ks-btn-offer, .ks-btn-offer { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; height: auto; min-height: 56px; padding-block: 12px; line-height: 1.2; }
.ks-btn-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #ffe7e1; color: #c2412f; font-size: 12px; font-weight: 600; letter-spacing: .01em; line-height: 1.4; white-space: nowrap; }
.ks-btn-tag .ks-ico { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) { .ks-btn-tag .ks-ico { animation: ks-tick 2s ease-in-out infinite; } }

/* Offer card (Nov 28): the limited-time chip sits beside "Your first month is free". */
#offer .ks-offer-facts span.ks-btn-tag, .ks-offer-facts span.ks-btn-tag { display: inline-flex; margin-left: 8px; vertical-align: middle; font-size: 12px; color: #c2412f; }

/* Smaller laptop screens (Nov 28): let a section grow past one screen instead of
   hiding the hero button under the next section. Unchanged at 1440x900. */
@media (min-width: 640px) { main > section#join.hero { height: auto !important; min-height: 100svh; } }
@media (min-width: 1280px) { main > :is(section, .section):not(#offer):not(#faq), footer.closing { height: auto !important; min-height: 100svh; } }

/* ===== Calmer, bolder look (Nov 28 plan, phase 1) =====
   Calm: nothing loops or bounces; sections still fade in (kidsync.js CALM). The sign-up dialog keeps its pop.
   Colour: white and Gray 50 sections instead of blush and peach washes; the deep purple of the offer band
   also carries "Built with parents"; coral stays for small accents only. */
html.ks-calm *:not(.ks-claim), html.ks-calm *:not(.ks-claim)::before, html.ks-calm *:not(.ks-claim)::after { animation: none !important; }
main > section#join.hero { background: linear-gradient(180deg, #f7f3ff 0%, #ffffff 100%); }
main > section#problem.section   { background: #f9f8fc; }
main > section#discover.section  { background: #ffffff; }
main > section#plan.section      { background: #f9f8fc; }
main > section#village.section   { background: #ffffff; }
main > section#story.section     { background: #f9f8fc; }
main > section#reminders.section { background: #ffffff; }
main > section#research.section.ks-deep { background: linear-gradient(150deg, #6a2c98 0%, #2c1c5f 70%); margin-inline: 16px; border-radius: 28px; }
main > section#faq.section       { background: #ffffff; }

/* ===== Benefit tiles in "Parenting came with a full-time logistics job" (Nov 29) =====
   Replace the job-listing card: four Life360-style benefits, each linking to the section that shows how.
   Deep purple art panels (Swirl -> Ink) with small white app moments; Ink headlines; coral only for tiny accents. */
.ks-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ks-why__tile { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 18px; border-radius: 24px; background: #ffffff; border: 1px solid #ece6f8; box-shadow: 0 18px 40px -28px rgba(44, 28, 95, .35); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ks-why__tile:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -26px rgba(44, 28, 95, .45); }
.ks-why__tile:focus-visible { outline: 3px solid var(--ks-lavender); outline-offset: 3px; }
.ks-why__art { display: grid; align-content: center; gap: 8px; min-height: 150px; padding: 14px 12px; border-radius: 18px; background: linear-gradient(150deg, #6a2c98 0%, #2c1c5f 75%); }
.ks-why__tile h3 { margin: 6px 8px 0; font-size: 18px; line-height: 1.2; color: var(--ks-ink); }
.ks-why__tile p { margin: 0 8px; font-size: 14px; line-height: 1.5; color: #4f4a66; }
.ks-why__more { margin: auto 8px 0; padding-top: 4px; font-weight: 600; font-size: 14px; color: #6941c6; }
.ks-mini { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px; background: #ffffff; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .45); font-size: 13px; color: var(--ks-ink); }
.ks-mini--soft { background: rgba(255, 255, 255, .88); margin-left: 16px; }
.ks-mini > div { display: grid; gap: 2px; min-width: 0; }
.ks-mini b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-mini small { color: #625a7a; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-mini__av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #9e77ed; color: #fff; font-weight: 700; font-size: 12px; }
.ks-mini__av--c { background: #ff7a66; }
.ks-mini__stack { display: flex; margin-left: auto; } .ks-mini__stack .ks-mini__av + .ks-mini__av { margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.ks-mini__ok { margin-left: auto; color: #067647; font-weight: 700; }
.ks-mini__heart { margin-left: auto; color: #c2412f; }
.ks-mini--card img { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ks-mini--week { padding: 7px 11px; }
.ks-mini--week .d { width: 32px; font-weight: 600; color: #625a7a; }
.ks-mini--week .e { padding: 3px 10px; border-radius: 8px; font-weight: 600; font-size: 12px; }
.ks-mini--week .e1 { background: #f4ebff; color: #6941c6; } .ks-mini--week .e2 { background: #ffe7e1; color: #c2412f; } .ks-mini--week .e3 { background: #e9d7fe; color: #53389e; }
@media (max-width: 600px) { .ks-why__grid { grid-template-columns: 1fr; } }


/* ===== Ann Marie's Nov 30 mockup: hero rows, FAQs in the toolbar, longer benefit tiles =====
   Hero: big headline beside the school photo, the sub headline as a dark banner (coral "finally"),
   then the four pickup photos beside the sign-up card. Phones: headline, banner, card, then the photos. */
main > section#join.hero { padding-top: calc(var(--nav, 72px) + 40px) !important; padding-bottom: 48px !important; }
.ks-hero2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.ks-hero2 > h1 { grid-column: 1 / span 6; margin: 0; max-width: none; font-size: clamp(48px, 6.4vw, 96px); line-height: 1; }
.ks-hero2 > .ks-hero-photo { grid-column: 7 / -1; aspect-ratio: 16 / 9; object-fit: cover; }
.ks-hero2__lead { grid-column: 1 / -1; margin: 0; padding: 18px 28px; border-radius: 20px; background: var(--ks-ink); color: #fff; text-align: center; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.ks-hero2__lead em { color: var(--ks-coral); font-weight: 700; }
.ks-hero2__photos { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ks-hero2__photos img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.ks-hero2 > .ks-glass-wrap { grid-column: 9 / -1; max-width: none; }
.ks-hero2 .action-card[data-form-card="hero"] { max-width: none; padding: 22px; gap: 14px; }
.ks-hero2 .form-note { color: var(--ks-coral-text); font-weight: 600; }
@media (max-width: 1279px) {
  /* smaller laptops: the photos sit two by two so they stay as tall as the card */
  .ks-hero2__photos { grid-column: 1 / span 7; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-hero2 > .ks-glass-wrap { grid-column: 8 / -1; }
}
@media (max-width: 1023px) {
  .ks-hero2__photos, .ks-hero2 > .ks-glass-wrap { grid-column: 1 / -1; }
  .ks-hero2__photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ks-hero2 > .ks-glass-wrap { order: 1; }
  .ks-hero2__photos { order: 2; }
}
@media (max-width: 639px) {
  .ks-hero2 { gap: 16px; }
  .ks-hero2 > h1, .ks-hero2 > .ks-hero-photo { grid-column: 1 / -1; }
  .ks-hero2 > h1 { font-size: 44px; }
  .ks-hero2__lead { padding: 14px 18px; border-radius: 16px; font-size: 17px; text-align: left; }
  .ks-hero2 > .ks-hero-photo { order: 2; }
  /* the four photos become a swipeable row */
  .ks-hero2__photos { order: 3; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .ks-hero2__photos li { flex: 0 0 72%; scroll-snap-align: center; }
  .hero .ks-hero2 .form-note { display: block; }
}

/* Benefit tiles: one row of four under the heading, a short line each and a coral "See how" button that opens the slide */
.ks-why__grid--row { margin-top: 40px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ks-why__grid--row .ks-why__tile p { font-size: 15px; }
.ks-why__grid--row .ks-why__more { align-self: flex-start; margin: auto 8px 0; padding: 10px 18px; border-radius: 999px; background: #c2412f; color: #fff; font-weight: 700; transition: background .2s ease; }
.ks-why__grid--row .ks-why__tile:hover .ks-why__more { background: #a53524; }
.ks-why__grid--row .ks-why__tile > p { margin-bottom: 14px; }
@media (max-width: 1023px) { .ks-why__grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ks-why__grid--row { grid-template-columns: 1fr; margin-top: 24px; } }
#problem .ks-why-visual { min-height: 0; }

/* ===== Shorter page (Nov 30): the four feature sections open as full-screen slides; the FAQ is its own page ===== */
/* Smaller than the screen on every side, so there is always backdrop to click or tap to close it */
.ks-slides { position: fixed; inset: 44px 12px 16px; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 24px; background: #fff; color: inherit; overflow-y: auto; overscroll-behavior: contain; }
.ks-slides[open] { display: flex; flex-direction: column; }
.ks-slides::backdrop { background: rgba(44, 28, 95, .55); backdrop-filter: blur(4px); }
.ks-slides__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(44, 28, 95, .08); }
.ks-slides__bar .ks-claim__close { position: static; width: 44px; height: 44px; }
.ks-slides > section.section { flex: 1 0 auto; display: grid; align-content: center; padding-block: 20px; background: none; }
.ks-slides > section[hidden] { display: none; }
@media (min-width: 1024px) {
  .ks-slides { inset: 0; margin: auto; width: min(1200px, calc(100vw - 160px)); height: fit-content; max-height: calc(100dvh - 72px); border-radius: 28px; }
  .ks-slides__bar { padding-inline: 40px; }
}
/* FAQ page: the questions are the first thing under the toolbar */
main > section#faq:first-child { padding-top: calc(var(--nav, 72px) + 72px) !important; }
@media (max-width: 639px) { main > section#faq:first-child { padding-top: calc(var(--nav, 56px) + 32px) !important; } }

/* ===== Ann Marie, Nov 30 evening: about half the blank space between sections, one headline size ===== */
@media (min-width: 640px) {
  /* sections are as tall as their content instead of a full screen each */
  main > section#join.hero, main > section#problem.section, main > section#research.section { min-height: 0 !important; }
  main > section#join.hero { padding-bottom: 40px !important; }
  main > section#problem.section, main > section#research.section { padding-block: 64px !important; }
}
/* "Join your friends and family" matches the other section headlines */
#offer h2 { font-size: var(--t-h2); line-height: 1.1; }

/* Second quote beside "Your full-time family logistics manager" (Ann Marie, Nov 30 11:23pm): stepped in like the "Built with parents" quotes */
#problem .ks-why-visual .ks-quote--inline + .ks-quote--inline { margin-left: 32px; }
@media (max-width: 1023px) { #problem .ks-why-visual .ks-quote--inline + .ks-quote--inline { margin-left: 0; } }
