/* Tinkerfizz page. The cup is the app icon, with moving layers and rising bubbles. */
.tf { --ink:#22306B; --ink-soft:#3B4680; --paper:#FFF8EE; --paper-2:#FFEFC9; --card:#fff; --line:rgba(34,48,107,.16); background:var(--paper); color:var(--ink); }
.tf h1, .tf h2 { color:var(--ink); letter-spacing:-.045em; line-height:1; }
.tf-hero { background:#FFC93C; overflow:hidden; border-radius:0 0 clamp(36px,7vw,96px) clamp(36px,7vw,96px); }
.tf-hero__grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr); gap:clamp(24px,5vw,72px); align-items:end; padding-top:clamp(56px,8vw,110px); }
.tf-hero__grid > div:first-child { padding-bottom:clamp(56px,8vw,120px); }
.tf-kicker { font-weight:700; margin-bottom:22px; }
.tf-hero h1 { font-size:clamp(3rem,7.4vw,7rem); max-width:10ch; }
.tf-hero h1 em { font-style:normal; color:#B4232F; display:block; }
.tf-lede { font-size:clamp(1.1rem,1.8vw,1.4rem); max-width:30ch; margin-top:26px; color:var(--ink); }
.tf-pills { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }
.tf-pills span { padding:10px 18px; border-radius:999px; border:2px solid var(--ink); font-weight:700; font-size:.92rem; }
.tf-pills .tf-soon { background:var(--ink); color:#fff; }
.tf-cup { align-self:end; justify-self:center; width:min(100%,430px); margin-bottom:-34px; }
.tf-cup svg { display:block; width:100%; overflow:visible; }
.tf-bubbles circle { transform-box:fill-box; transform-origin:center; animation:tf-rise 5.5s cubic-bezier(.3,.1,.4,1) infinite; }
.tf-bubbles circle:nth-child(2) { animation-duration:7s; animation-delay:-2.2s; }
.tf-bubbles circle:nth-child(3) { animation-duration:4.6s; animation-delay:-1.1s; }
.tf-bubbles circle:nth-child(4) { animation-duration:4.2s; animation-delay:-3s; }
.tf-bubbles circle:nth-child(5) { animation-duration:5s; animation-delay:-3.8s; }
.tf-bubbles circle:nth-child(6) { animation-duration:6.2s; animation-delay:-4.6s; }
@keyframes tf-rise { 0% { transform:translateY(90px) scale(.35); opacity:0; } 18% { opacity:1; } 55% { transform:translate(10px,-50px) scale(1); opacity:1; } 88% { transform:translate(-8px,-150px) scale(1.06); opacity:1; } 92%,100% { transform:translate(-8px,-156px) scale(1.35); opacity:0; } }
.tf-w { animation:tf-wave 6s linear infinite; }
.tf-w2 { animation-duration:8.5s; animation-direction:reverse; }
@keyframes tf-wave { to { transform:translateX(300px); } }
.tf-sec { padding:clamp(72px,10vw,140px) 0; }
.tf-sec h2 { font-size:clamp(2.3rem,5vw,4.6rem); max-width:14ch; }
.tf-intro { max-width:56ch; margin-top:22px; font-size:1.15rem; color:var(--ink-soft); }
.tf-phones { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(18px,4vw,56px); margin-top:clamp(40px,6vw,80px); }
.tf-phones figure:nth-child(2) { margin-top:clamp(0px,6vw,90px); }
.tf figure img { width:100%; height:auto; display:block; border:8px solid #15171C; border-radius:clamp(24px,3.4vw,46px); box-shadow:0 34px 60px -30px rgba(34,48,107,.55); }
.tf-phones figure:nth-child(1) img { transform:rotate(-2.5deg); }
.tf-phones figure:nth-child(3) img { transform:rotate(2.5deg); }
.tf figcaption { margin-top:26px; text-align:center; font-weight:700; color:var(--ink); }
.tf-note { margin-top:clamp(40px,6vw,72px); font-weight:700; font-size:1.1rem; }
.tf-grown { background:#CFE4FF; border-radius:clamp(36px,7vw,96px) clamp(36px,7vw,96px) 0 0; }
.tf-grown__grid { display:grid; grid-template-columns:minmax(220px,360px) minmax(0,1fr); gap:clamp(32px,7vw,110px); align-items:center; }
.tf-list { list-style:none; padding:0; margin:36px 0; display:grid; gap:20px; max-width:56ch; }
.tf-list li { padding-left:34px; position:relative; color:var(--ink); }
.tf-list li::before { content:""; position:absolute; left:0; top:.28em; width:14px; height:14px; border-radius:50%; background:#fff; border:4px solid var(--ink); }
.tf-list b { display:block; }
.tf-link { color:var(--ink); font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.tf-motion .tf-rise { opacity:0; translate:0 60px; transition:opacity .7s, translate .9s cubic-bezier(.2,.8,.2,1); }
.tf-motion .tf-rise.in { opacity:1; translate:0 0; }
.tf-motion .tf-phones .tf-rise:nth-child(2) { transition-delay:.12s; }
.tf-motion .tf-phones .tf-rise:nth-child(3) { transition-delay:.24s; }
@media (max-width:760px) {
  .tf-hero__grid, .tf-grown__grid { grid-template-columns:1fr; }
  .tf-hero__grid > div:first-child { padding-bottom:0; }
  .tf-cup { width:min(74%,300px); margin-top:60px; }
  .tf-phones { grid-template-columns:1fr; max-width:300px; margin-inline:auto; gap:56px; }
  .tf-phones figure:nth-child(2) { margin-top:0; }
  .tf-grown__grid figure { max-width:280px; margin-inline:auto; }
}
@media (prefers-reduced-motion: reduce) { .tf-bubbles circle, .tf-w { animation:none; } }
.tf .nav { background:var(--paper); }
@media (max-width:480px) { .tf .nav__links a[href="#grownups"] { display:none; } }
