/* A compact centered hero inside the established Clickvited Kids identity. */
.hero-founder{--cv-on-blue-muted:var(--cv-canvas)}
.hero-panel:has(.hero-founder){padding-bottom:16px}
body.conversion-site[data-page=home] .sales-hero.hero-founder{
  display:block;
  width:calc(100% - 80px);
  max-width:1120px;
  padding:16px 0 0;
}
.hero-founder-heading{text-align:center;margin-inline:auto;max-width:1120px}
.hero-founder h1{
  margin:0;
  font-family:var(--cv-font-display);
  font-size:clamp(42px,4vw,56px);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.02em;
  text-transform:uppercase;
}
.hero-founder h1>span{display:inline}
.hero-founder .hero-description{
  max-width:720px;
  margin:12px auto 0;
  color:var(--cv-surface);
  font-size:16px;
  line-height:1.55;
  text-wrap:pretty;
}
.hero-founder .hero-animated-phrase{--marker-side:.65em;max-width:100%}
.hero-founder-stage{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-top:16px;
  container-type:inline-size;
  container-name:founder-stage;
}
.founder-video{
  width:100%;
  max-width:560px;
  aspect-ratio:auto;
  min-width:0;
  position:relative;
  display:grid;
  place-items:center;
  margin:0;
  border-radius:20px;
  background:linear-gradient(145deg,var(--cv-surface),color-mix(in srgb,var(--cv-soft) 70%,var(--cv-surface)));
  color:var(--cv-night);
  box-shadow:0 16px 32px -20px color-mix(in srgb,var(--cv-night) 60%,transparent);
}
.founder-video::before{content:"";grid-area:1/1;width:100%;padding-top:56.25%;pointer-events:none}
.founder-player{grid-area:1/1;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border:0;border-radius:inherit;background:var(--cv-night)}
.founder-player:focus-visible{outline:3px solid var(--cv-yellow);outline-offset:4px}
.founder-video-content{grid-area:1/1;max-width:400px;padding:2em;text-align:center}
.founder-video-symbol{
  display:block;
  width:56px;
  height:56px;
  margin:0 auto 20px;
  fill:none;
  stroke:var(--cv-primary);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.founder-video h2{
  font-size:clamp(20px,2.2vw,28px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.2;
}
.founder-video p{max-width:34ch;margin:12px auto 0;color:var(--cv-muted);font-size:14px;line-height:1.65}
.founder-video-format{position:absolute;right:20px;bottom:16px;color:var(--cv-muted);font-size:12px;font-weight:700;letter-spacing:.02em}
.founder-video-status{position:absolute;top:18px;left:20px;color:var(--cv-muted);font-size:12px;font-weight:600}
/* The real link stays fixed; the small approved Dino and button face animate beside it. */
.founder-action{position:relative;width:min(320px,100%);min-height:72px;display:flex;align-items:center;padding:0}
.dino-action{position:relative;width:100%;isolation:isolate}
.dino-canvas{position:absolute;right:calc(100% - 1.1px);top:50%;width:168px;height:92px;transform:translateY(-50%);pointer-events:none;z-index:2;opacity:0}
.dino-action[data-dino-ready=true] .dino-canvas{opacity:1}
.dino-fallback{position:absolute;right:calc(100% + 4px);top:50%;width:136px;height:61px;transform:translateY(-50%);pointer-events:none;z-index:1;overflow:visible}
.dino-action[data-dino-ready=true] .dino-fallback{visibility:hidden}
.hero-founder .dino-main-action{display:block;width:100%;height:auto;min-height:58px;margin:0;padding:0;border:0;border-radius:20px;background:none;color:var(--cv-night);box-shadow:none;font-size:15px;font-weight:800;line-height:1.35;position:relative;z-index:1}
.dino-button-face{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:inherit;padding:15px 20px;border-radius:inherit;background:var(--cv-yellow);box-shadow:0 10px 22px -14px color-mix(in srgb,var(--cv-night) 53%,transparent);transform-origin:left center}
.dino-button-label{min-width:0;text-align:left;text-wrap:balance;overflow-wrap:anywhere}
.dino-button-face .action-icon{flex:none}
.hero-founder .dino-main-action:hover .dino-button-face{background:color-mix(in srgb,var(--cv-yellow) 70%,var(--cv-surface))}
.hero-founder .dino-main-action:focus-visible{outline:3px solid var(--cv-surface);outline-offset:5px}
.hero-founder .dino-main-action:active{transform:none;box-shadow:none}
@media(min-width:851px){.hero-founder .founder-video{max-width:640px}}
@media(max-width:700px){
 .founder-action{width:min(474px,100%);min-height:80px;padding-left:154px}
 .hero-founder .dino-main-action{min-height:64px;font-size:14px}
 .dino-button-face{padding:10px 12px;gap:8px}
 .dino-canvas{width:184px;height:102px;right:calc(100% - 1.2px)}
 .dino-fallback{width:150px;height:67px}
}
@media(max-width:360px){
 .founder-action{padding-left:140px;min-height:72px}
 .hero-founder .dino-main-action{min-height:58px}
 .dino-button-face{padding:10px}
 .dino-button-face .action-icon{display:none}
 .dino-canvas{width:168px;height:92px;right:calc(100% - 1.1px)}
 .dino-fallback{width:136px;height:61px}
}
.founder-action-note{margin-top:0;color:var(--cv-on-blue-muted);font-size:12px;text-align:center;line-height:1.5}
.founder-demo-link{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin-top:0;color:var(--cv-surface);font-size:14px;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.founder-demo-link:hover{text-decoration-thickness:2px}
.founder-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:24px;row-gap:0}
.founder-helper{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:4px 0;border:0;background:transparent;color:var(--cv-on-blue-muted);font-size:13px;font-weight:500}
.founder-helper:hover{color:var(--cv-surface);text-decoration:underline;text-underline-offset:4px}
.hero-founder ::selection{background:var(--cv-yellow);color:var(--cv-night)}
@media(max-width:1100px){
  body.conversion-site[data-page=home] .sales-hero.hero-founder{width:calc(100% - 56px);padding-top:20px}
}
@media(max-width:850px){
  .hero-founder-heading{max-width:720px}
  .hero-founder .hero-description{font-size:15px}
  .founder-video-content{max-width:420px;padding:1.75em}
}
@media(max-width:600px){
  body.conversion-site[data-page=home] .sales-hero.hero-founder{width:calc(100% - 36px);padding:20px 0 0}
  .hero-founder h1{font-size:clamp(27px,8.5vw,49px);line-height:1.12;letter-spacing:-.015em}
  .hero-founder h1>span{display:block}
  .hero-founder .hero-description{margin-top:12px;font-size:14px;line-height:1.6}
  .hero-founder .hero-animated-phrase{font-size:inherit;--marker-side:.3em;max-width:100%}
  .hero-founder-stage{margin-top:12px;gap:8px}
  .founder-video{border-radius:16px}
  .founder-video-content{padding:2.125em 20px 1.625em}
  .founder-video-symbol{width:34px;height:34px;margin-bottom:12px}
  .founder-video h2{font-size:19px}
  .founder-video p{font-size:12px;line-height:1.5;margin-top:8px;max-width:30ch}
  .founder-video-status{top:10px;left:14px;font-size:12px}
  .founder-video-format{display:none}
  .founder-links{column-gap:16px;row-gap:0}
  .founder-action-note{font-size:12px}
  .founder-demo-link{margin:0;font-size:13px}
  .founder-helper{font-size:12px;line-height:1.5}
}
@media(max-width:360px){
  body.conversion-site[data-page=home] .sales-hero.hero-founder{width:calc(100% - 28px)}
  .hero-founder h1{font-size:27px}
  .hero-founder .hero-description{font-size:14px;line-height:1.8}
  .founder-video-content{width:100%;padding:2.125em 10px .75em}
  .founder-video-symbol{width:26px;height:26px;margin-bottom:8px}
  .founder-video h2{font-size:17px}
  .founder-video p{max-width:none;font-size:12px}
  .hero-founder .peek-main-action{font-size:14px;padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){.dino-button-face{transition:none}}
/* Large user text gets the full button width; the decorative sticker moves above. */
@container founder-stage (max-width:15em){
 .founder-action{width:100%;padding-left:0;padding-top:74px}
 .dino-canvas{display:none}
 .hero-founder .dino-action .dino-fallback{visibility:visible;left:0;right:auto;top:-8px;transform:translateY(-100%)}
}
