/* V2's capsule, candy pill, card shadows and badge colors, scoped to V3. */
:root{--bar:94px;--candy-coral:#ec5a4a}
.prototype-bar,.prototype-bar.is-past-story{
  inset:14px auto auto 50%;transform:translateX(-50%);width:min(1120px,calc(100% - 24px));height:64px;
  padding:8px 8px 8px 20px;gap:24px;border-radius:100px;background:rgba(255,255,255,.94);color:#2f2a24;
  box-shadow:0 10px 30px rgba(0,50,80,.18);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)
}
.prototype-bar .wordmark{font:600 32px/1 var(--display);letter-spacing:-.04em;color:var(--candy-coral);gap:10px}
.prototype-bar .wordmark img{width:42px;height:42px;border-radius:11px;box-shadow:0 3px 10px rgba(0,50,80,.25)}
.prototype-bar .site-nav{display:flex;gap:24px;font:600 17px/1.2 var(--display);margin-left:auto}
.prototype-bar .site-nav a{padding:12px 0;white-space:nowrap}
.prototype-bar .site-nav a:nth-child(2){display:block}
.prototype-bar .site-nav a:hover{text-decoration-thickness:3px}
.prototype-bar .bar-actions{margin-left:0;gap:18px}
.coming-soon,.footer-actions .primary{
  display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:100px;color:#fff;
  background:linear-gradient(180deg,#ff7a68,var(--candy-coral) 55%,#d9443a);
  box-shadow:inset 0 2px 0 #ffffff70,inset 0 -3px 0 #8f241a33,0 5px 0 #b8362b40,0 12px 24px rgba(160,40,30,.25);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1)
}
.coming-soon{min-height:48px;padding:10px 20px;font:600 16px/1.2 var(--display)}
.coming-soon:hover,.footer-actions .primary:hover{transform:translateY(-3px) scale(1.03);box-shadow:inset 0 2px 0 #ffffff70,inset 0 -3px 0 #8f241a33,0 5px 0 #b8362b40,0 12px 24px rgba(160,40,30,.25)}
.coming-soon:active,.footer-actions .primary:active{transform:scale(.95)}
.prototype-bar :focus-visible{outline:3px solid #2f2a24;outline-offset:3px;box-shadow:0 0 0 7px #fff}
.prototype-bar{transition:background .2s,box-shadow .2s,color .2s}
.prototype-bar .wordmark{transition:color .2s}
.prototype-bar:not(.is-scrolled){background:transparent;color:#fff;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.prototype-bar:not(.is-scrolled) .wordmark{color:#fff}
.prototype-bar:not(.is-scrolled) .site-nav{text-shadow:0 1px 2px #164460,0 0 2px #164460}
.prototype-bar:not(.is-scrolled) :focus-visible{outline-color:#fff;box-shadow:0 0 0 7px #153d4e66}

.parent-promises{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:56px 0 0;text-align:left}
.parent-promises article{
  padding:24px 24px 26px;border:0;border-radius:28px;background:#fff;
  box-shadow:0 6px 0 rgba(0,70,110,.14),0 24px 50px -26px rgba(0,40,70,.5)
}
.parent-promises h3{margin:17px 0 0;max-width:none;font:600 26px/1.1 var(--display);letter-spacing:-.02em;color:#2f2a24}
.parent-promises p{margin:10px 0 0;max-width:none;font-size:16px;line-height:1.6;color:#6f6253;text-wrap:pretty}
.promise-badge{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:#fff;box-shadow:inset 0 2px 0 #ffffff55,inset 0 -3px 0 #00000014}
.promise-badge svg{display:block;width:27px;height:27px}
.badge-coral{background:linear-gradient(180deg,#ff7a68,#ec5a4a)}
.badge-sea{background:linear-gradient(180deg,#62c6ee,#2f9fd6)}
.badge-leaf{background:linear-gradient(180deg,#7cc46c,#4f9a45)}
.badge-sun{background:linear-gradient(180deg,#ffc35a,#f4a62a)}

.ocean-footer{background:var(--ocean) url('assets/frames-expanded/frame-000.webp') center/cover no-repeat;border-top:0;padding:88px 0 0;color:var(--ink);isolation:isolate}
.ocean-footer::before{top:-1px;height:28px;background:var(--paper);border-radius:0 0 50% 50% / 0 0 100% 100%}
.footer-water-logo{width:min(680px,86%);margin:0 auto 26px;aspect-ratio:2060 / 751;isolation:isolate}
.footer-water-logo .footer-lettering{width:100%;max-width:none;height:auto;margin:0;transform:none}
.footer-water-logo .intro-bob,.footer-water-logo .intro-foam img{animation-play-state:paused}
.footer-water-logo.is-visible .intro-bob,.footer-water-logo.is-visible .intro-foam img{animation-play-state:running}
.ocean-footer .footer-release-heading{font:600 clamp(2.2rem,5vw,3.8rem)/1 var(--display);letter-spacing:-.04em;text-wrap:balance;color:var(--ink);text-shadow:none}
.ocean-footer>div>.footer-release-copy{font:400 clamp(1.05rem,1.7vw,1.25rem)/1.5 system-ui,-apple-system,sans-serif;max-width:36rem;margin:21px auto 0;color:var(--ink);text-wrap:balance}
.footer-release-copy span{display:inline-block}
.ocean-footer .footer-actions .primary{font:600 19px/1.3 var(--display);min-height:52px;padding:12px 26px;margin:28px 0 60px;gap:10px}
.ocean-footer .footer-actions .primary span{margin:0}
.ocean-footer .footer-actions .primary:disabled{cursor:default;opacity:1;filter:none;transform:none}
.ocean-footer .footer-bottom{color:#173f56}
.ocean-footer :focus-visible{outline-color:#fff}

@media(max-width:1000px){
  .prototype-bar,.prototype-bar.is-past-story{gap:18px;padding-left:17px}
  .prototype-bar .wordmark{font-size:30px}
  .prototype-bar .site-nav{gap:18px;font-size:15px}
  .prototype-bar .bar-actions{gap:15px}
  .coming-soon{font-size:15px;padding:10px 17px}
  .parent-promises{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(max-width:859px){.prototype-bar .site-nav{display:none}.prototype-bar .bar-actions{margin-left:auto}}
@media(max-width:760px){
  :root{--bar:86px}
  .prototype-bar,.prototype-bar.is-past-story{top:10px;height:60px;gap:12px;padding:7px 7px 7px 13px;width:calc(100% - 20px)}
  .prototype-bar .wordmark{font-size:28px;gap:8px}
  .prototype-bar .wordmark img{width:36px;height:36px;border-radius:10px}
  .prototype-bar .bar-actions{gap:13px}
  .coming-soon{min-height:44px;padding:10px 15px;font-size:14px}
  .parent-promises{margin-top:40px;gap:21px}
  .parent-promises article{padding:23px 23px 25px;border-radius:26px}
  .parent-promises h3{font-size:25px;margin-top:16px}
  .parent-promises p{font-size:15px;line-height:1.6;margin-top:9px}
  .offline-note{margin-top:36px}
  .ocean-footer{padding-top:65px}
  .footer-water-logo{width:100%;margin-bottom:26px}
}
@media(max-width:639px){.parent-promises{grid-template-columns:1fr}}
@media(max-width:370px){
  :root{--bar:80px}
  .prototype-bar,.prototype-bar.is-past-story{height:56px;padding:6px 6px 6px 13px;gap:10px}
  .prototype-bar .wordmark{font-size:29px}
  .prototype-bar .wordmark img{display:none}
  .prototype-bar .bar-actions{gap:12px}
  .coming-soon{font-size:13px;min-height:44px;padding:10px 15px}
}
@media(prefers-reduced-motion:reduce){.footer-water-logo .intro-bob,.footer-water-logo .intro-foam img{animation:none!important}}
